登录
首页 » Others » PID

PID

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

  • 232
    说明:  一种小型二极管泵浦固体激光测距仪的发射和接收电路
    2009-08-07 13:44:00下载
    积分:1
  • PLS
    PCA 主成分分析 程序 采用主成分分析法(PCA),对大沽夹河流域水质进行了定量化综合评价。 (matlab PCA(Principal Component Analysis) programmer is deserved ,it s good to learn.The water quality in Dagujia River basin was assessed by using the PCA method)
    2012-04-06 19:33:20下载
    积分:1
  • bkk
    Matlab code for describing linear discriminant analysis
    2010-05-31 03:49:24下载
    积分:1
  • direction-vario
    semivariogram structure function ,it is about 2D semivariogram.
    2012-05-07 22:05:40下载
    积分:1
  • disfolwtree
    树状网潮流程序,MATLAB代码编写,附1998年文献说明(tree network trend procedures, the preparation of MATLAB code, with the literature in 1998)
    2007-05-25 23:48:17下载
    积分:1
  • 01288052
    On the Convergence of a Class of Estimation of Distribution Algorithms(On the Convergence of a Class of Estimation Distribution of Algorithms)
    2007-05-27 11:59:30下载
    积分:1
  • malaNasobilka_ThienLongNgo
    Small multiplication table.
    2015-02-13 21:49:58下载
    积分:1
  • current
    目标跟踪,程序利用卡尔曼滤波器实现了对机动目标的跟踪。效果较好的运动模型。 (Target tracking, procedures realize the use of Kalman filter for maneuvering target tracking. Better model of the movement.)
    2007-10-02 16:28:23下载
    积分:1
  • music
    this file generate a MUSIC function
    2010-10-19 16:06:51下载
    积分:1
  • Lutz_simulation
    仿真陆地移动卫星通信信道模型——Lutz模型(simulating channel s model of satellite mobile communication ——Lutz model)
    2021-01-27 16:18:37下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载