登录
首页 » Others » PID

PID

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

  • AR11
    说明:  AR参数模型各种算法比较以及matlab实现(AR model parameters as well as a variety of algorithms to achieve matlab)
    2009-07-30 17:03:04下载
    积分:1
  • Stochastic
    this file implement stochastic method in pattern recognition
    2013-11-02 23:39:02下载
    积分:1
  • 隐半马尔科夫
    说明:  隐式马尔科夫MATLAB代码小集合,可用于预测拟合等研究(Small collection of implicit Markov MATLAB codes for predictive fitting and other studies)
    2020-06-17 16:14:52下载
    积分:1
  • zoom
    说明:  matlab实现双线性插值算法,在界面上实现读取存放缩放图片(matlab bilinear interpolation algorithm to achieve, in the interface to read stored zoom picture)
    2008-10-09 10:38:37下载
    积分:1
  • dsp_C_code6
    数字信号处理的各种算法的c语言代码实现。 格式是pdg的。(digital signal processing algorithms in C language code to achieve. The format is pdg.)
    2006-12-22 16:29:10下载
    积分:1
  • Aircraft
    aircarft stability with adaptive controller
    2012-06-01 21:55:23下载
    积分:1
  • LISTING5_3
    Tactial+and+Strategic+Missile+Guidance book program source code (For Mac in Matlab)
    2013-10-04 10:46:23下载
    积分:1
  • IDCT_DCT
    基于IDCT_DCT域的全相位数字滤波和图像内插_赵黎丽,很不错(All phase digital filtering and image in IDCT_DCT domain based on Zhao Lili interpolation _)
    2015-04-11 19:53:08下载
    积分:1
  • fresnell
    说明:  计算全息中的非聂耳全息的数字全息图构建与重现(CGH in the number of non-Nie Er holographic hologram construction and reproduce)
    2021-04-14 16:38:55下载
    积分:1
  • 802.11a-OFDM-MATLAB
    IEEE802.11a系统级仿真完整程序,包含发送端,接收端以及信道建模等(IEEE802.11a complete system-level simulation, including the sending end, the receiver, channel modeling, can be used to run a bit error rate, frame error rate, etc.)
    2021-04-08 15:19:00下载
    积分:1
  • 696516资源总数
  • 106457会员总数
  • 15今日下载