登录
首页 » Others » PID

PID

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

  • lifegenesis
    Play life genesis game and compete with computer. Good example for interactive GUI.
    2007-12-25 13:15:59下载
    积分:1
  • multifactor
    matlab多因子选股模型,计算每只股票的得分,根据股票的得分划分为n个区间(matlab multi-factor stock selection model to calculate the score for each stock, based on the stock s score is divided into n intervals)
    2013-08-05 10:17:31下载
    积分:1
  • hmm1
    matlab 下隐马尔科夫的经典实现,本人也是初学者,所以非常适合初学者学习(Matlab HMM classic application, very straightforward, simple to understand, it s worth downloading)
    2014-08-29 16:06:35下载
    积分:1
  • matlabimageregistration
    matlab图像配准源程序,很实用的源码。(Image Registration matlab source code, source code is very useful.)
    2009-07-05 10:01:38下载
    积分:1
  • yima
    说明:  卷积码的编码及维特比译码的过程,描述了系统经过卷积码编码后的性能(sss)
    2010-03-25 20:00:51下载
    积分:1
  • DigitalImageProcessing-2
    Digital Image Processing Using Matlab Additional Material
    2011-05-27 22:40:54下载
    积分:1
  • computing
    统计模拟(蒙特卡洛法),港口设计,泊位研究等;(Statistical simulation (Monte Carlo method), the port design, berth studies )
    2012-08-30 16:18:46下载
    积分:1
  • xiaoboceshi2
    应用小波神经网络进行分类的代码(failed to translate)
    2013-05-03 20:33:01下载
    积分:1
  • Lyapunov
    一种最大Lyapunov指数的改进算法,以交通流混沌判别为例(Improved algorithm for maximum Lyapunov exponent, for example in order to determine the chaotic traffic flow)
    2013-12-04 17:09:19下载
    积分:1
  • xcyms
    采用了小波去噪的思想,独立成分分析算法降低原始数据噪声,一个师兄的毕设。( Using wavelet denoising thought, Independent component analysis algorithm reduces the raw data noise, A complete set of brothers.)
    2017-05-25 17:08:55下载
    积分:1
  • 696518资源总数
  • 105111会员总数
  • 25今日下载