登录
首页 » Others » PID

PID

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

  • Kannada_system
    Character recognition of kannada system
    2012-04-12 21:47:17下载
    积分:1
  • matlab-hibride
    hybrid control of a inverted pendulum
    2011-12-02 19:24:41下载
    积分:1
  • Dynamic_PSO_Code
    pso matlab code, function for the PSO ALGORITHM USAGES: 1.) [fxmin, xmin, Swarm, history] = PSO(psoOptions) 2.) [fxmin, xmin, Swarm, history] = PSO 3.) fxmin = PSO(psoOptions) 3.) PSO etc.
    2012-01-27 17:58:42下载
    积分:1
  • kmltoolbox_v1.4
    基于这个类的工具箱允许你创建在“Google地球”,许多不同的地块,由自动创建所需的基于XML的KML文件,而无需用户交互。 有了它,您可以创建: - 线图,散点图 - 二维和三维轮廓 - 2D和3D多边形 - 颤动地块 - 写在一个特定点的文本 - 将三维模型 - 覆盖图像 - 为图像传输更复杂的数字 - 文件夹,子文件夹,... 总相似图 - 动画三维模型到一个预定义的轨迹 安装到您的MATLAB路径工具箱,工具箱目录,并运行: >> kml.install 现在,每个功能和可用的参数文件。要查看帮助,在MATLAB中运行: >> kmldoc 或 >> kmldoc kml.plot%或任何其他可用的地块 如果你喜欢它,只是给我发电子邮件在说什么你使用它:) kml@rafael.aero。 灵感来自于原来的Google地球工具箱,但使用XML对象实现的,这使得它更容易使用。我只是检查在MATLAB 2011a释放,但它应该在旧版本的工作太... (让我知道如果不!)(Based on this class allows you to create a" toolbox in Google earth", many different plots, created automatically by the XML based on the KML file, without the need for user interaction. With it, you can create: - line graphs, scatter diagram -2D and 3D contour - 2D and3D polygon - fibrillation plots - written at a particular point in the text - the three-dimensional model - cover image For more complex digital image transmission Folder, subfolders, total similarity graph ... - Animated3D model into a predefined trajectory Install to your path to the MATLAB toolbox, toolbox directory, and run: > > kml.install Now, each function and the available parameter file. To view the help, running in the MATLAB: > > kmldoc Or > > kmldoc kml.plot or any other available plots If you like it, just email me say in what you use it ): kml@rafael.aero. Inspiration from the original Google earth toolbox, but using the XML object is achieved, which makes it easier to )
    2012-05-02 20:26:22下载
    积分:1
  • Speed-Control-of-Hybrid-Electric-Vehicle-Gravity-
    Speed Control of Hybrid Electric Vehicle Gravity search algorithm GSA
    2015-04-14 01:00:56下载
    积分:1
  • Radon-Ambiguitychirp
    基于Radon-Ambiguity变换和分数阶傅里叶变换的chirp信号检测及多参数估计(Based on Radon-Ambiguity Transform and Fractional Fourier transform of the chirp signal detection and multi-parameter estimation)
    2009-11-17 21:32:12下载
    积分:1
  • fenkong
    脉动风 谐波叠加 高层结构和高耸结构的顺风向的脉动效应(wind history)
    2012-04-10 15:13:21下载
    积分:1
  • matlab-algorithm
    matlab编写的一系列方程求解函数,适合搞科研的同学(matlab function to write a series of equations for the students to engage in scientific research)
    2011-09-23 22:27:48下载
    积分:1
  • Bhagavatula_May2006_talk
    bhagavtula development research
    2009-04-06 03:11:08下载
    积分:1
  • elect_hooter
    electrical hooter operated with power
    2014-09-01 20:18:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载