登录
首页 » Others » PID

PID

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

  • matlab6
    说明:  《matlab小波分析》第6章的例题的源代码!(&quot Matlab wavelet analysis,&quot Chapter 6 example source code!)
    2009-08-11 11:29:08下载
    积分:1
  • guanliu
    互有平移加噪声的图像的获得和用光流进行估计,对做超分辨率图重像的同学很有帮助(Mutual translation plus noise image acquisition and optical flow to estimate the super-resolution map of the re-do the students as helpful)
    2010-05-06 07:47:42下载
    积分:1
  • bishecode
    这个程序是用在LDPC加EM中的,自己编的有很好的性能,用来估计依稀未知的参数,比如相偏频偏之类的(This procedure is used in LDPC EM in Canada, his series have good performance, used to estimate the unknown parameters vaguely, such as phase offset of the class of partial)
    2010-08-05 16:07:51下载
    积分:1
  • programme_of_bifurcation
    运行程序得到微分方程中x1随参数omega变化的分岔图。omega的范围选取可以调节。(Run the program to be differential equations with parameters x1 bifurcation diagram omega changes. omega scope of selection can be adjusted.)
    2021-04-10 15:18:58下载
    积分:1
  • matlab
    说明:  运用光反馈测距的部分程序,运用此程序可实现运用。希望大家参考,并且适当的修改。(The use of optical feedback ranging part of the process, use can be achieved using this procedure. Hope your reference, and the appropriate changes.)
    2011-03-24 17:36:45下载
    积分:1
  • ACS_Assignment_2
    sliding mode control files for advanced control system
    2011-05-16 19:50:22下载
    积分:1
  • PSO-optimize-matlab
    粒子群优化算法的matlab源码,供学习粒子群的同学参考(This is the Particle swarm optimization algorithm matlab source code, just provide reference for guys learning of the particle swarm.)
    2013-12-10 20:55:49下载
    积分:1
  • WangAIAA08L1
    abbout adaptive control
    2012-01-24 20:12:19下载
    积分:1
  • FordFulkerson
    有向图中求最大流的一种方法:feasible_match求最大流(Directed graph and maximum flow of a kind of methods: feasible_match for maximum flow)
    2012-09-01 16:37:10下载
    积分:1
  • harmonicwaveletprogram
    本源代码主要实现谐波小波的分解及重构的matlab程序。(Source code of the main harmonic wavelet decomposition and reconstruction of the matlab program.)
    2007-12-13 16:10:10下载
    积分:1
  • 696518资源总数
  • 104384会员总数
  • 26今日下载