登录
首页 » Others » PID

PID

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

  • HSM-8000-User-Guide-V2.2
    HSM800 ATM MACHINE HARDWARE SPECS / ENGINEERING MANUAL
    2010-11-05 07:20:44下载
    积分:1
  • visual_callkmedoid
    it is about kmedoid clustering
    2011-08-08 04:17:55下载
    积分:1
  • MATLAB
    MATLAB最优化计算,各种最优化算法例程序,非常实用。(MATLAB optimization, the optimization algorithm were all kinds of procedures, very useful.)
    2021-05-09 23:28:34下载
    积分:1
  • 217
    说明:  (2,1,7)卷积码,用matlab实现((2,1,7) convolutional code with matlab implementation)
    2021-04-12 09:18:57下载
    积分:1
  • GLCM-feature-extraction-procedures
    灰度梯度共生矩阵 H 归一化灰度梯度矩阵 H_basic 小梯度优势 T1 大梯度优势 T2 灰度分布的不均匀性 T3 梯度分布的不均匀性 T4 能量 T5 灰度平均 T6 梯度平均 T7 灰度均方差 T8 梯度均方差 T9 相关 T10 灰度熵 T11 梯度熵 T12 混合熵 T13 惯性 T14 逆差矩 T15(GGCM H normalized gray gradient matrix H_basic small advantage T1 gradient big advantage T2 gradient gray uneven distribution of T3 gradient uneven distribution of energy T5 gray T4 average T6 average gradient gray T7 average gradient T8 variance variance T9 were related to T10 T11 gradient gray entropy entropy of mixing entropy T12 T13 inertia moment T15 T14 deficit)
    2021-04-26 12:08:45下载
    积分:1
  • boss1
    遗传算法去辨识一个系统:蒸汽锅炉汽包的水位函数,辨识阶数是2阶,而且最后有误差曲线分析(Genetic algorithm for the identification of a boiler steam water level transfer function. Based on the existing data, the transfer function is identified as order 2. And finally the error curve analysis)
    2017-05-26 16:58:38下载
    积分:1
  • UWB_BPSK_Fifth_Order_Derivative
    说明:  生成第五级的高斯函数,它用来作为uwb的发射脉冲(Gaussian function, it is used as the launch pulse UWB)
    2005-12-06 17:55:28下载
    积分:1
  • ANSYS-earthquake-wave-input-node-
    利用文中命令码,可以在ANSYS中实现如何输入地震波,这对结构动力分析非常重要!(Using text command code, can be implemented in ANSYS how to input seismic wave, which is very important for structural dynamic analysis!)
    2014-09-20 10:00:56下载
    积分:1
  • Complete
    a doctorate thesis for dynamic multi-objective optimization
    2015-01-18 16:44:08下载
    积分:1
  • OpenCV_2_Computer_Vision_Application_Programming_
    open cv 2 computer vision emgu
    2015-02-10 03:17:37下载
    积分:1
  • 696518资源总数
  • 106265会员总数
  • 10今日下载