PIDmcu

所属分类:单片机开发
开发工具:Others
文件大小:21KB
下载次数:4
上传日期:2011-09-18 14:47:35
上 传 者liuzhe666
说明:  这是一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID 参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制,一般不采用浮点数运算, 而将所有参数全部用整数,运算到最后再除以一个2的N次方数据(相当于移位),作类似定点数运算,可 大大提高运算速度,根据控制精度的不同要求,当精度要求很高时,注意保留移位引起的“余数”,做好余 数补偿。这个程序只是一般常用pid算法的基本架构,没有包含输入输出处理部分
(This is 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 ram chip processing speed and 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 be Greatly enhance the computing speed, according to the different requirements of precision control, when high precision, attention to retain the shift caused by the "remainder", do I Number of compensation. This procedure is commonly used basic structure pid algorithm, does not include input and output processing section)

文件列表:
实验29分析pid算法在51单片机上实现\pid (10290, 2008-11-17)
实验29分析pid算法在51单片机上实现\pid.c (4439, 2008-11-17)
实验29分析pid算法在51单片机上实现\pid.lnp (54, 2008-11-17)
实验29分析pid算法在51单片机上实现\pid.LST (6915, 2008-11-17)
实验29分析pid算法在51单片机上实现\pid.M51 (10662, 2008-11-17)
实验29分析pid算法在51单片机上实现\pid.OBJ (8391, 2008-11-17)
实验29分析pid算法在51单片机上实现\pid.Opt (1885, 2009-01-13)
实验29分析pid算法在51单片机上实现\pid.plg (187, 2009-01-13)
实验29分析pid算法在51单片机上实现\pid.Uv2 (2026, 2008-05-26)
实验29分析pid算法在51单片机上实现\pid_Opt.Bak (1073, 2008-11-17)
实验29分析pid算法在51单片机上实现\STARTUP.A51 (5115, 2002-04-16)
实验29分析pid算法在51单片机上实现\STARTUP.LST (11665, 2008-11-17)
实验29分析pid算法在51单片机上实现\STARTUP.OBJ (749, 2008-11-17)
实验29分析pid算法在51单片机上实现 (0, 2010-08-07)

近期下载者

相关文件


收藏者