登录
首页 » Others » PID

PID

于 2011-07-17 发布 文件大小:1KB
0 157
下载积分: 1 下载次数: 13

代码说明:

  一个比较典型的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.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 61549842TDOA
    It s very important I hope It could help you (It s very important I hope It could help you)
    2008-12-25 14:58:49下载
    积分:1
  • wimax
    说明:  实现matlab的ofdm编程,可以实现的,(Implementation of ofdm matlab programming, can be achieved,)
    2011-04-07 10:58:14下载
    积分:1
  • psk
    说明:  本设计是基于Matlab集成环境下用M文件编制程序来实现PSK信号的解调(The design is based on the Matlab environment integrated with M documentation procedures to achieve PSK signal demodulation)
    2008-12-02 09:17:45下载
    积分:1
  • FIR_RLS
    经典的RLS算法,相信对做自适应滤波方向的人很有用哦(Classical RLS algorithm, adaptive filter do believe that one very useful direction Oh)
    2009-07-02 17:50:42下载
    积分:1
  • matlab
    in this folder we simulate the system of lorenz, vanderpol
    2012-03-30 01:34:09下载
    积分:1
  • MATLAB1-s2.0-S0965997808001919-main
    关于使用MATLAB的软件环境的线性系统的学术文章(Matlab software for inversion of describing functions)
    2013-12-11 10:29:04下载
    积分:1
  • matlab
    说明:  这是matlab的根轨迹程序代码,很好很好的代码(This is the root locus matlab code, very good very good code)
    2010-03-30 15:20:15下载
    积分:1
  • riceDisease_ip
    Rice Disease Identification using Pattern Recognition Techn iques
    2012-05-18 18:41:48下载
    积分:1
  • MutualInformation
    Employing Maximum Mutual Information for Bayesian Classification (Decision Theory)
    2010-10-25 17:20:01下载
    积分:1
  • ziegler-nichols-m-file
    ziegler nichols method with matlab
    2012-07-27 02:10:31下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载