登录
首页 » Others » PID

PID

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

  • GM-with-Markov
    带有markov链的灰色系统程序,自己编写的,效果不是特别的明显,但以改小误差(Grey theory model with markov chain to do prediction!)
    2012-01-21 15:15:17下载
    积分:1
  • mimoxiangguanjuzhen
    mimo系统通过波束到达角、角度扩展、天线之间的间隔和天线的个数,计算出发送端或接收端的相关矩阵(mimo system through the beam arrival angle, angle expansion of the interval between the antenna and the number of antennas, calculate the transmitter or receiver of the correlation matrix)
    2021-04-09 20:28:59下载
    积分:1
  • newton-steffensen
    方程的数值解法,包含牛顿迭代法和基于牛顿法的史蒂芬森加速法。matlab实现,注释很详细。(Numerical solutions of equations containing the Newton iteration method and newton-steffensen method.Matlab, very detailed comments.)
    2016-01-13 11:13:27下载
    积分:1
  • mm1
    this is source code for M/M/1 Queueing method simulation with matlab
    2012-07-09 05:09:29下载
    积分:1
  • ofdm
    OFDM AWGN and Rayleigh with Tap delay filter
    2014-01-12 15:43:47下载
    积分:1
  • ASAND_MAC.dev32.i0.pr
    MATLAB FILE NETWORK WSN
    2011-02-15 23:50:43下载
    积分:1
  • 多个脉冲积累后可以有效地提高信噪比 radar-Coherent-accumulation
    多个脉冲积累后可以有效地提高信噪比,中频积累时要求信号间有严格的相位关系,即信号时相参的,所以称为相参积累。(Multiple pulse accumulation can effectively improve SNR, if integration requires strict phase relationship between signals, whereby the signal coherent, so called coherent accumulation.)
    2020-11-08 14:19:49下载
    积分:1
  • trans_protection_mean
    电力变压器差动保护电力变压器差动保护电力变压器差动保护电力变压器差动保护电力变压器差动保护电力变压器差动保护(transformer differential protection)
    2010-05-31 19:10:46下载
    积分:1
  • AIC
    系统辨识AIC定阶法,用于进行模型阶次辨识(AIC fixed-order system identification method, used for model order identification)
    2011-08-16 22:04:52下载
    积分:1
  • matlab-introduction
    this is the basic instructions of matlab
    2011-10-31 14:58:28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载