登录
首页 » Others » PID

PID

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

  • 提高密码的抗攻击性
    摘要:为提高密码的抗攻击性,利用超混沌系统随机性好!可确定再生,且密钥空间较大的特性,提出了一种基于四维连续超混沌系统和扩展映射的实时视频流加密算法"(Abstract: In order to improve the password anti-aggressive use of system randomness hyperchaos good! Regeneration can be identified, and key characteristics of the larger space, a row based on four-dimensional hyperchaotic system and expansion of mapping real-time video stream encryption algorithm )
    2021-03-07 16:39:29下载
    积分:1
  • Julia
    THIS IS ABOUT JULIA SET COSTRUCTION
    2012-10-02 13:49:06下载
    积分:1
  • nnrarmx1
    one neccessary program for neural network training in control process
    2009-11-14 01:56:09下载
    积分:1
  • GA_beibao
    遗传算法求解背包问题Genetic Algorithm for Knapsack Problem(Genetic Algorithm for Knapsack Problem)
    2015-03-04 11:25:54下载
    积分:1
  • kanagi-100p-coding
    mimo code for using the ldpc
    2013-12-09 17:54:25下载
    积分:1
  • cross_sections
    使用matlab计算多种气体的碰撞截面。(Calculate cross-section )
    2009-06-25 21:53:39下载
    积分:1
  • jizhizhongzhi
    极值中值滤波编码,在matlab环境下的编码,采用极值中值编码。(Extreme Value Filtering coding, in the Matlab environment coding, using the maximum value coding.)
    2006-06-10 10:11:35下载
    积分:1
  • image
    program to get an image in matlab
    2014-09-24 12:07:57下载
    积分:1
  • chuanbuzixitong
    自己建的一个串联补偿系统的仿真模型,很实用的东西。(Build their own simulation model, a series compensation system is very practical things.)
    2012-09-06 21:23:07下载
    积分:1
  • LDA
    LDA算法在matlab中的实例程序代码以及算法原理的讲解(LDA algorithm in matlab example code and algorithm explain)
    2013-05-13 16:58:40下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载