登录
首页 » Others » PID

PID

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

  • rrcmodulber
    this program do qam modulation and upsampling and downsampling and use raised cosine filteroj
    2013-12-26 21:32:15下载
    积分:1
  • matlab表面微结构生成源代码 concave
    matlab表面微结构生成源代码 图片中凹包凸包检测方法 (generate source code Matlab surface microstructure picture concave envelope convex hull detection method)
    2021-03-09 00:09:28下载
    积分:1
  • MATLAbpathplaning
    MATLAB 路径规划,效果还可以,可以做毕设截图只用。希望能给你帮助。(MATLAB path planning, the effect can be, they can do complete set up shots only. Hope that I can help you.)
    2009-12-11 21:54:06下载
    积分:1
  • 2D-and-3D-FDTD
    2D和3D在PML边界条件下的FDTD例子(The example of 2 d and 3 d of FDTD in PML boundary condition)
    2015-01-12 11:12:41下载
    积分:1
  • gold
    级数为7,长度为127的 平衡 GOLD序列 ,由m1序列和m2序列逐位模二加产生(Level 7, length of 127 GOLD sequence balanced by m1 and m2 sequence by sequence-bit analog two-plus-generated)
    2020-11-09 14:59:47下载
    积分:1
  • QPSK-MBOFDM
    QPSK-MBOFDM发射接收机 QPSK调制的多频带OFDM(MB-OFDM)发射机,经过加性高斯噪声信道,接收机判断误码率。 (QPSK-MBOFDM launch QPSK modulation receiver multiband OFDM (MB-OFDM) transmitter, through the additive Gaussian noise channel, the receiver determine the error rate.)
    2010-05-19 21:10:13下载
    积分:1
  • vblastML22
    在多天线QAM调制下,仿真误码率曲线图。(Multi antenna in QAM modulation, bit error rate curve simulation)
    2011-06-28 16:50:09下载
    积分:1
  • Spectrum_Bartlett
    对于周期图的功率谱估计,当数据长度N太大时,谱曲线起伏加剧, 若N太小,谱的分辨率又不好,因此需要改进。两种改进的估计法是 平均周期图法和平滑平均周期图法。Bartlett法:Bartlett平均周期图 的方法是将N点的有限长序列x(n)分段求周期图再平均。(For the power spectrum estimation of the periodogram, when the data length N is too large, the spectral curve fluctuation intensifies,   If N is too small, the spectral resolution is not good, so need to be improved. The two improved estimates are   Average Period Graph and Smooth Mean Period Graph. Bartlett method: Bartlett average cycle chart   Is to re-average the finite-length sequence x (n) of N points by periodogram.)
    2016-12-22 17:58:16下载
    积分:1
  • Pajek
    在Matlab上实现Pajek的复杂网络源程序(Pajek for Complex Network based on Matlab)
    2009-11-01 16:24:03下载
    积分:1
  • untitled2
    扩频系统sumlink仿真可以 将直接序列扩频(Spread spectrum the system sumlink simulation can direct sequence spread spectrum)
    2012-05-15 16:33:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载