登录
首页 » Others » PID

PID

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

  • DE
    说明:  差分进化运算 matlab的源代码 操作简便,可以直接带入。(Differential evolution source computing)
    2013-09-03 09:57:58下载
    积分:1
  • MRAC-Adaptive-2010
    Notes on Model Reference Adaptive Control
    2012-09-28 12:59:59下载
    积分:1
  • Astar
    Astar算法MATLAB实现。最短路径检索。(Astar algorithm MATLAB. The shortest route search.)
    2013-12-24 14:14:04下载
    积分:1
  • KimDB
    Matlab code for following paper> A Deblocking Filter with Two Separate Modes in Block-Based Video Coding IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, VOL. 9, NO. 1, FEBRUARY 1999
    2012-08-02 21:21:30下载
    积分:1
  • Target_Tracking_Simulation_Program
    MATLAB雷达信号处理程序,非常完整的MATLAB程序(MATLAB radar signal processing coding)
    2013-08-27 15:39:02下载
    积分:1
  • pengnun
    有详细的注释,用蒙特卡洛模拟的方法计算美式期权的价格以及基本描述,最小均方误差(MMSE)的算法。( There are detailed notes, Monte Carlo simulation method of calculating the American option price and basic description, Minimum mean square error (MMSE) algorithm.)
    2016-12-22 21:04:11下载
    积分:1
  • laplacian_enhancement
    lapla图像增强,可用于图像的增强处理,以有利于后期的特征提取等应用(lapla image enhancement, can be used for image enhancement in order to facilitate the later feature extraction applications)
    2010-11-21 13:43:53下载
    积分:1
  • preprop_implementation
    matlab captcha crack
    2012-02-07 00:01:30下载
    积分:1
  • temporalMP.m
    Matching pursuit algorithm
    2015-04-22 11:47:17下载
    积分:1
  • equation_Solve
    方程求根的MATLAB程序,包括各种数值方法,如黄金分割法,联合法等(Equation Roots of MATLAB programs, including a variety of numerical methods, such as the golden section method, the joint law)
    2010-02-09 10:05:49下载
    积分:1
  • 696518资源总数
  • 106222会员总数
  • 14今日下载