-
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
-
daishuyunsuan
GUI系统进行点运算,即该矩阵对应元素的直接运算。(GUI system point operations, namely the direct calculation of the matrix corresponding to the element.)
- 2014-01-26 10:10:27下载
- 积分:1
-
chap5_1
二进制编码遗传算法求函数极大值,实现Rosenbrock函数极大值优化计算的二进制编码遗传算法
(Binary-coded genetic algorithm for maximum function, Rosenbrock function to achieve maximum optimization of the calculation of the binary-coded genetic algorithm)
- 2007-10-08 10:25:38下载
- 积分:1
-
radar-coortarns
雷达的坐标系相关变换说明文档,介绍了雷达坐标西与大地坐标系的变换关系,参考使用可以编织坐标变换代码(Radar Coordinate Transnate)
- 2015-02-10 22:15:05下载
- 积分:1
-
lorenz-xiangtu
lorenz系统的相图实现,参数a,b取固定值,变化c,从而观察lorenz系统解的性质的变化(lorenz phase diagram of the system implementation, parameters a, b take a fixed value, the change c, lorenz system solutions to observe the changing nature of)
- 2013-06-11 11:37:10下载
- 积分:1
-
Imm
目标跟踪的IMM算法的matlab参考程序
希望能帮到大家
(IMM target tracking algorithm matlab reference program)
- 2013-09-16 17:04:43下载
- 积分:1
-
DSTATCOM
simulink实现DSTATCOM功能(Simulink DSTATCOM function realization)
- 2013-03-06 16:17:50下载
- 积分:1
-
nonlinear_fighter16_model_matlab
非线性F16机体6-自由度飞行动力学模型,包含气动数据,姿态方程等,经典模型,值得学习。(matlab model of f16, coding by matlab script. useful)
- 2013-03-08 21:48:53下载
- 积分:1
-
particle_swarm_optimization
说明: 使用粒子群算法解决10个城市的旅行商问题 可绘制图形(Use the particle swarm algorithm to solve traveling salesman problem of 10 cities can draw pictures)
- 2011-02-25 21:39:51下载
- 积分:1
-
Untitled2
汽车驱动力分析、行驶阻力分析和功率平衡图的绘制,根据汽车的12345档进行编程分析(Car driving force analysis, driving resistance analysis and graph drawing power balance, 12345 file programming analyzed according to the car)
- 2013-11-27 16:51:16下载
- 积分:1