登录
首页 » Others » PID

PID

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

  • TMA_1
    双阵纯方位TMA,包含卡尔曼滤波及修正卡尔曼滤波 以及快速分解算法 个人感觉很实用(Double array of pure orientation TMA contains the Kalman filter and correction Kalman filter and the rapid decomposition algorithm personal feeling very practical)
    2020-11-20 08:59:36下载
    积分:1
  • impulsive_noise
    The function impulsive_noise generates non-gaussian noise with inputs of beta, gamma,and the power of noise is 1 in W or 0 in dB. The noise can be defined either real or complex. The other functions generate QAM symbol and insert a vector to another vetor with specific locations
    2014-01-06 17:07:01下载
    积分:1
  • DES
    数据加密标准DES算法的Matlab实现 (NEWPNN- Designed probabilistic neural network SIM- on probabilistic neural network simulation)
    2009-03-09 16:38:08下载
    积分:1
  • matlab_motor
    MATLAB电机仿真精华50例,源代码,各种电机仿真模型,以及控制仿真(MATLAB simulation of the essence of motor 50 cases, source code, all kinds of electrical simulation model, as well as the control simulation)
    2008-07-12 16:47:16下载
    积分:1
  • work
    MATLAB的一般的M文件;很有用很好,是MATLAB没有自带,但却很实用的M文件,很好用(MATLAB M-files in general useful good is not native MATLAB, but very practical M-file, useful)
    2010-05-29 17:24:31下载
    积分:1
  • signal
    说明:  matlab 数字信号处理工具箱 含有非常完整的信号处理函数(signal_processing)
    2010-04-01 23:39:30下载
    积分:1
  • IEEE14
    使用MATLAB中的simulink,搭建配电网14节点模型。(Using Simulink in the MATLAB, build 14 node model of distribution network. )
    2020-11-04 22:29:53下载
    积分:1
  • vibration-signal-
    求解振动信号的幅值的对数 对信号分析初学者有帮助( logarithm of the amplitude of vibration signal )
    2016-12-30 13:10:06下载
    积分:1
  • BLDC1
    UN PROGRAMM DE BRUSHLESS DC MOTOR IN M FILE PART 1
    2012-09-03 00:47:49下载
    积分:1
  • Sliding-Mode-Control
    系统论述了滑模变结构控制的基本理论、基本方法和应用技术,并全部给出了MATLAB仿真分析。全书内容涵盖了滑模变结构控制发展综述、连续系统滑模控制、自适应鲁棒滑模控制、欠驱动系统滑模控制、反演及动态面滑模控制、基于滤波器及观测器的滑模控制、离散系统滑模控制、模糊滑模控制、神经滑模控制和机械手滑模控制等。(The basic theory, basic method and application technology of sliding mode variable structure control are discussed systematically, and all MATLAB simulation analysis is given. The book covers the development of sliding mode variable structure control, continuous system sliding mode control, adaptive robust sliding mode control, underactuated system sliding mode control, inversion and dynamic surface sliding mode control, based on the filter and observer sliding Mode control, sliding mode control of discrete systems, fuzzy sliding mode control, neural sliding mode control and manipulator sliding mode control.)
    2016-12-27 16:26:52下载
    积分:1
  • 696518资源总数
  • 106235会员总数
  • 12今日下载