-
PID
一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID
参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制,一般不采用浮点数运算,
而将所有参数全部用整数,运算到最后再除以一个2的N次方数据(相当于移位),作类似定点数运算,可
大大提高运算速度,根据控制精度的不同要求,当精度要求很高时,注意保留移位引起的“余数”,做好余
数补偿。这个程序只是一般常用pid算法的基本架构,没有包含输入输出处理部分。
(A typical PID process, using the microcontroller as a control cpu, make some simplification, the specific PID parameters must be determined experimentally by a specific object. As the chip processing speed and ram resource constraints, generally do not use floating-point operations, and all parameters of all integers, and divided by an operator to the last N-th power of 2 data (the equivalent of the shift) for a similar fixed-point operations, can greatly improve the speed of operation, according to the different requirements of precision control, when high precision, attention to retain the shift caused by the " remainder" and on the remainder of compensation. This procedure is commonly used basic structure pid algorithm, does not include input and output processing section.)
- 2011-07-17 23:45:45下载
- 积分:1
-
Attachments_2012_09_20
video transmission throgh MIMO testbed
- 2013-03-09 21:41:32下载
- 积分:1
-
pll
说明: 用matlab模拟仿真锁相环,一个很好的程序,希望能帮到你(PLL with matlab simulation, a very good program, hope you can help)
- 2011-03-23 22:43:29下载
- 积分:1
-
geneticTSP
这是个用matlab实现的关于旅行商TSP的程序
里面做的很全,(This is achieved using matlab TSP TSP procedures on the inside to do very wide,)
- 2007-11-13 10:33:16下载
- 积分:1
-
one_hyperbolic2
求解一维双曲方程。空间方向采用四阶差分格式,时间方向采用bvm法(Solving one-dimensional hyperbolic equation. Spatial orientation difference scheme with fourth order, the time direction by bvm method)
- 2011-01-04 14:38:38下载
- 积分:1
-
sa.-TSP
关于模拟退火解决旅行商问题的代码,简单易学,非常有用(simulated annealing)
- 2012-05-30 22:03:13下载
- 积分:1
-
y_bus_formation(2)
YBUS FORMATION IN POWER SYSTEM
- 2011-08-21 18:04:13下载
- 积分:1
-
mpc
Matlab中的模型预测控制工具箱英文详细介绍。(Model predictive control toolbox of Matlab detailed introduction in English.)
- 2013-10-16 10:21:00下载
- 积分:1
-
newton-raphsaon
newton raphson method
- 2015-02-04 23:59:18下载
- 积分:1
-
Turbdetect
湍流气象目标的检测算法仿真程序,用于气象雷达信号处理(turbulent flow target detect program)
- 2014-02-26 19:44:40下载
- 积分:1