登录
首页 » Others » PID

PID

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

  • tsplot
    ctd data program,salnity,temperature,depth(ctd data program, salnity, temperature, depth)
    2010-07-12 16:39:54下载
    积分:1
  • fsk
    FSK信号仿真及分析 结合铁路轨道电路分析(FSK signal simulition)
    2021-05-12 21:30:03下载
    积分:1
  • FMCW_RADAR
    a useful code for simulation of fmcw radar
    2014-12-02 05:27:18下载
    积分:1
  • lat
    aircraft lateral dynamics evaluation code from a stability and control book. unfortunately the exact name of the book is not known. the file works fine.
    2011-12-02 19:47:48下载
    积分:1
  • deblurring
    用charal函数实现对加噪降晰图像的反降晰.charal函数实现约束最小二乘法的算法,其中alpha(1/lamda)由Charalambous确定.反降晰的图像相对于降晰加噪图像清晰度有所提升,但是反降晰的图像存在较为明显的寄生波纹。(Deblurring the blurred image with noise by using Charal function. Charal function implements constrained least squares algorithm, where alpha (1/lamda) is determined by Charalambous. Compared to the blurred image, the sharpness of the image deblurred has improved, but obvious parasitic ripples arise.)
    2013-12-02 18:55:00下载
    积分:1
  • cbf_mvdr_music
    空间谱估计的经典算法,包括常规波束形成,最小方差无畸变法,以及MUSIC方法的算法比较(Classical spatial spectrum estimation algorithms, including conventional beamforming, minimum variance distortion method, and the method of comparison algorithm MUSIC)
    2020-12-24 16:59:05下载
    积分:1
  • 97847556interleaver
    program about ofdm for transmitter and receiver signal run using matlab
    2014-02-19 18:40:48下载
    积分:1
  • peak_searching
    MATLAB从光谱仪生成的excel读取数据,并将根据读取的数据绘图,然后进行多峰值检测,将检测的峰值生成excel(peak searching)
    2015-12-22 17:26:33下载
    积分:1
  • Constant_PQ_Microgid
    微电网并网及其控制策略研究,运用PQ控制策略进行能量的分配(Research on Grid-connected Microgrid and Its Control Strategy)
    2019-07-11 16:39:37下载
    积分:1
  • optimal WTand-SVC
    含分布式发电的配电网无功优化论文源程序,里面含有风机和光伏的预测模型程序。(Active/reactive power integrated optimization in distribution networks with distributed generation)
    2016-07-24 21:50:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载