登录
首页 » Others » PID

PID

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

  • PSD
    这是一个用matlab编的遗传算法问题。这是一个用matlab编的遗传算法问题。(MATLAB genetic algorithm toolbox and its application, pdg format.)
    2010-05-10 16:08:01下载
    积分:1
  • Matlab-image-
    比较全面的介绍matlab处理图像图形的命令,以及相关的说明和实例(More comprehensive introduction matlab image processing graphics commands, and related instructions and examples...)
    2014-09-02 14:50:27下载
    积分:1
  • FinalReportIrisRec
    A biometric system provides automatic identification of an individual based on a unique feature or characteristic possessed by the individual. Iris recognition is a part of the biometric identification methodologies which also include facial, fingerprint, palm and many other biological traits. They all offer new solutions for person identification, authentication and security. Currently users have to carry security badges or know certain pin/pass codes in order to get into secure zones or to log into a computer. In this paper we propose an algorithm for iris recognition, which can be applied in real time with standard webcam and with good matching result.
    2013-04-27 08:42:39下载
    积分:1
  • VideoDemosA
    实现对视频的三维重建和simulink仿真,对子系统进行封装(To achieve the three-dimensional reconstruction and simulink video simulation package on the subsystem)
    2011-05-12 20:50:29下载
    积分:1
  • ARMA
    ARIMA模型对化工厂生产浓度进行十步预测。内容简洁使用方便。(ARIMA model for chemical production concentration ten-step prediction. Concise and easy to use.)
    2014-11-03 11:50:13下载
    积分:1
  • ImageQualityAssessment2013
    Image Quality Assessment simple coding in Matlab
    2013-12-13 22:52:31下载
    积分:1
  • HuaDongPingJun
    本程序是matlab滑动平均算法。用于去除低频干扰。(This procedure is the matlab moving average algorithm.Used to remove the low frequency interference.)
    2013-08-25 13:16:37下载
    积分:1
  • BOCornerDetector
    This program can detect a corner
    2010-01-04 05:27:17下载
    积分:1
  • calcsnrs
    calculates the signal to noise ratio in each subchannel in DMT.(calculates the signal to noise ratio in eac h subchannel in DMT.)
    2007-06-07 19:09:59下载
    积分:1
  • xerrorbarcc
    xerrorbar - Just like errorbar, but for uncertainty in x
    2013-10-25 17:17:44下载
    积分:1
  • 696518资源总数
  • 106259会员总数
  • 28今日下载