登录
首页 » Others » PID

PID

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

  • FIRDIEDAI
    matlab重要的学习资料 初学者的好帮手 程序代码非常重要,在滤波器设计方面有参考价值(matlab important information for beginners to learn a good helper program code is very important in the design of a reference filter)
    2010-10-06 19:58:02下载
    积分:1
  • program1
    matlab 通信仿真。好(communication matlab simulation. Well)
    2008-07-29 17:17:16下载
    积分:1
  • knn
    knn matlab algorithm
    2011-12-20 16:52:55下载
    积分:1
  • mouse_simulation
    用此程序中您可以控制鼠标并单击或双击您想要的位置,而不必鼠标!这些项目有利于教学软件。这些程序中还用到C库!(With this program you can control mouse and click or double click anywhere you like without touching mouse ! also upload keyboard_simulation for controlling keyboard without touching it ! These programs is good for teaching softwares. In these programs c library is used ! )
    2009-03-07 10:19:37下载
    积分:1
  • homework6
    数字信号处理实现滤波器的功能,此程序中有几个滤波器的实现(Digital signal processing filter function, this procedure several filter)
    2012-03-31 10:29:57下载
    积分:1
  • pcode-sh42r8
    matlab实现的遗传算法和蚁群算法,结合了JwZIYT算法的优点,解决Agzwzah问题,求其最优解的整个步骤,是个不错的程序,调试没有错误 (Genetic algorithm and ant colony algorithm matlab implementation, combined with the advantages ofJwZIYT algorithm to solve Agzwzah problem, the entire step of seeking the optimal solution, is a good program, no error debugging )
    2015-12-26 11:23:18下载
    积分:1
  • coloriz
    一个效果非常理想的图像颜色变换程序%The goal of this application is to change the colors of a picture, (truecolor or grayscale, *.jpg, *.jpeg), without moving the mouse, looking at them in a slideshow.(One of the effects very good image color conversion process The goal of this application is to change the colors of a picture, (truecolor or grayscale,*. jpg,*. jpeg), without moving the mouse, looking at them in a slideshow.)
    2021-03-03 18:39:32下载
    积分:1
  • matlab
    matlab实用程序百例源代码,主要涉及图形应用、界面设计、图形处理和数值分析。(matlab source code for 100 cases of practical procedures, mainly related to graphics applications, interface design, graphics processing and numerical analysis.)
    2009-05-05 09:24:22下载
    积分:1
  • xiaobo
    说明:   小波神经网络MATLAB程序(Wavelet Neural Network MATLAB program)
    2010-03-26 12:49:40下载
    积分:1
  • Fuzzy-Tunning-PID-Control
    PID控制算法:模糊自适应整定PID控制算法(The PID control algorithm: fuzzy adaptive PID control algorithm)
    2012-09-25 12:17:42下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载