登录
首页 » Others » PID

PID

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

  • SVOKM_lilght_toolkit_32342-
    SVM light 工具箱 包含例子和说明文件 包含windows版本和matlab版本222,Matlab的一个辅助库(this is a matlab ass lib,hope everyone enjob it.)
    2013-08-23 11:54:16下载
    积分:1
  • psk31_r13
    基于simulink的载波恢复模型,可以观察星座图(carrier recovery)
    2009-05-29 14:35:11下载
    积分:1
  • SATSP
    使用模拟退火算法(SA)解决TSP问题的Matlab代码(use SA for solving TSP problem)
    2011-11-22 23:47:48下载
    积分:1
  • ANN_MATLAB
    类神经网路─MATLAB的应用(范例程式)(─ MATLAB neural network application (sample code))
    2007-11-22 18:28:01下载
    积分:1
  • LSL-RLSYULMS
    本自适应算法考查了LMS,RLS与LSL三种自适应算法的对比。(The adaptive algorithm examines the LMS, RLS and LSL comparison of three kinds of adaptive algorithms.)
    2011-10-04 12:49:25下载
    积分:1
  • PAPER3
    距离扩展目标的双门限恒虚警检测器及性能分析.pdf(Double Threshold CFAR Detector of Range-spread Target and Its Performance Analysis)
    2012-09-16 12:24:24下载
    积分:1
  • shiyan4
    数字图像处理课程上机实验4_Matlab图像锐化-Sobel,Laplacian算子(Digital Image Processing courses on experiments 4_Matlab image sharpening-Sobel, Laplacian operator)
    2014-01-02 17:13:42下载
    积分:1
  • modeling-PV-MPPT
    对光伏电板进行详细建模,在simulink里面搭建,并进行最大功率跟踪(modeling PV,MPPT)
    2014-02-19 15:20:36下载
    积分:1
  • newmark_time-domain
    基于newmark法的多自由度系统瞬态分析( Transient Analysis of Multi-degree system based on Newmark method)
    2017-01-31 02:02:57下载
    积分:1
  • 11
    说明:  谱减法的测试程序,能够测试谱减法的去噪能力以及相关信息。(Spectral subtraction of test procedures to test spectral subtraction denoising and related information)
    2012-05-23 23:09:28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载