登录
首页 » Others » PID

PID

于 2011-07-17 发布 文件大小:1KB
0 255
下载积分: 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 个回复

  • how2across_the_river_safely
    用MATLAB实现“商人怎样安全过河”模型求解(Using MATLAB to solve“how to secure traders to cross the river” model )
    2009-04-28 10:06:31下载
    积分:1
  • zhiliyouxi
    智力游戏 可以在准备数学建模的时候作为练习资料(mathmodeling)
    2010-05-31 18:05:33下载
    积分:1
  • matlab7.0
    Matlab7.0经典教材书籍,可用于自学或课程教材,作者为北航张志涌(Matlab textbook classic books, can be used for self-study or course materials, the author of Northern Zhang Yong)
    2011-10-09 16:59:07下载
    积分:1
  • PLS
    PLS插件,用于spss17.0的PLS插件(PLS plug-in for the SPSS17.0 the PLS plug-ins)
    2013-04-06 16:23:20下载
    积分:1
  • LP-KSVD-master
    说明:  KSVD算法,利用LC-KSVD来进行算法的仿真,是一个不错的算法demo,希望能对大家有用。(KSVD algorithm, using lc-ksvd algorithm simulation, is a good algorithm demo, hope to be useful to you.)
    2019-10-15 23:56:06下载
    积分:1
  • dijkstra
    Dijkstra s algorithm, conceived by Dutch computer scientist Edsger Dijkstra in 1959, is a graph search algorithm that solves the single-source shortest path
    2009-10-28 17:30:16下载
    积分:1
  • bcjr_decoder
    This is a simulation matlab for simulating the process of BCJR decoder that decodes input data s from channel.
    2011-07-08 18:03:26下载
    积分:1
  • CP0702
    产生高斯脉冲的十五阶导数,显示脉冲形成因子对其产生的影响(Gaussian pulses generated 15 derivative, showing pulse form factor on the impact)
    2007-05-23 21:45:11下载
    积分:1
  • pl-log
    这个是对PL-logdist和PL-lognormal的一个仿真。程序简单易懂,但是意义不小。有专门的画图子程序。(This is a PL-logdist and PL-lognormal a simulation. Procedures are simple, but the meaning is not small. Have a special drawing routines.)
    2013-09-03 16:03:50下载
    积分:1
  • pncaofdm--estimation
    ofdm-pnc 系统信道估计算。包括LS,LMMSE,SVD等算法(ofdm-plc system channel estimator. Including the LS, MMSE, SVD algorithms)
    2016-02-21 20:00:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载