登录
首页 » Others » PID

PID

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

  • worldmap4
    temportort meeting jakepl
    2010-02-03 12:22:34下载
    积分:1
  • PLL-techniology-Floyd-M.Garder
    Garder 大作,通信领域同步大拿Garder的经典著作!精通锁相环!(Garder masterpiece, the communication field synchronization big take Garder classics! Proficient in phase-locked loop!)
    2012-09-05 21:35:54下载
    积分:1
  • pca1
    用PCA主成分分析進行錯誤訊號分離 可應用在晶圓製程資料的分析(PCA principal component analysis of the error signal separation can be applied to the wafer process data analysis)
    2013-05-21 20:10:33下载
    积分:1
  • qpsk_mapper
    This file includes QPSK mapping function.
    2021-04-28 16:48:44下载
    积分:1
  • 基于深度优先搜索算法的球形译码SEAL_det_v1.0
    基于深度优先搜索算法的球形译码,具体文献可以参考03年information thoery上的那篇经典文章(Depth-first search algorithm based on spherical decoding, can refer to specific literature in 2003 on information thoery came across a classic article)
    2020-07-06 14:58:58下载
    积分:1
  • Arrays-on-DIFAR
    外文文献,在这一领域较为领先实验室的精华。(Foreign literature, the leading laboratory in this area is more the essence.)
    2011-08-12 15:23:56下载
    积分:1
  • channel_impulse_response
    大规模多输入多输出非平稳无线信道冲击响应(Large-scale multi-input multi-output non-stationary wireless channel impulse response)
    2014-12-09 11:03:47下载
    积分:1
  • 神经网络r2
    说明:  完全自主实现的神经网络代码,对于深刻理解神经网络和BP算法很有帮助。(The neural network code, which is implemented autonomously, is very helpful for us to deeply understand the neural network and BP algorithm.)
    2021-03-19 17:56:29下载
    积分:1
  • matlab
    mat lab code for linear convolution.
    2011-02-16 08:02:59下载
    积分:1
  • Radar_Systems_MatLab
    雷达系统分析与设计使用MATLAB第二版 Pdf(Radar Systems Analysis and Design Using MATLAB Second Edition Pdf)
    2013-08-15 14:12:45下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载