登录
首页 » Others » PID

PID

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

  • P21_Roots_Newton_Raphson
    Newton Raphson method for mathematical operations in matlab language.
    2014-09-21 13:59:13下载
    积分:1
  • BED
    Autocad Files - Bed - 24 Files
    2011-12-29 19:50:17下载
    积分:1
  • electromyography_processing
    说明:  使用3种方法(卡尔曼,巴特沃斯,小波)处理肌电信号,得出了关于那一种动作的各快肌肉参与情况。(The three methods (Kalman, Butterworth, Wavelet) were used to process the EMG signal, and the fast muscle involvement of that type of action was obtained.)
    2019-06-13 14:24:53下载
    积分:1
  • 1234
    solving heat conduction in pcm
    2011-09-10 14:32:44下载
    积分:1
  • MincostMaxflow
    计算网络优化技术中的最小费用最大流问题。(Computing network optimization technology minimum cost maximum flow problem.)
    2013-04-25 22:24:53下载
    积分:1
  • getTemplate
    扇形模板,一共有七种,扇形处为灰色,其他为白色,可以旋转(sector)
    2009-11-18 16:15:28下载
    积分:1
  • dijk
    matlab code from friend shortest path (dijkstra)
    2010-11-26 08:42:46下载
    积分:1
  • GNSS-Receiver-for-Weak-Signal
    说明:  本论文介绍了几种用于高动态和弱信号环境下的GPS接收机捕获算法,并对其性能进行了分析(This dissertation develops Global Positioning System receiver algorithms for high dynamic and weak signal .)
    2011-03-05 17:01:40下载
    积分:1
  • arrayprocessing
    array processing code for communication engineering(array processing code for communication e ngineering)
    2007-03-08 13:53:02下载
    积分:1
  • Optimization-Case-Analysis-
    MATLAB优化算法案例分析与应用.pdf,余胜威所著,高清电子书,全本(MATLAB Optimization Case Analysis and Application .pdf, Yu Shengwei book, e-book definition, all of the)
    2016-08-12 23:16:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载