登录
首页 » c » PID经典程序

PID经典程序

于 2022-08-19 发布 文件大小:2.86 MB
0 92
下载积分: 2 下载次数: 1

代码说明:

比较典型的PID电机处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制,一般不采用浮点数运算,而将所有参数全部用整数,运算到最后再除以一个2的N次方数据(相当于移位),作类似定点数运算,可大大提高运算速度,根据控制精度的不同要求,当精度要求很高时,注意保留移位引起的“余数”,做好余数补偿。这个程序只是一般常用pid算法的基本架构,没有包含输入输出处理部分。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 遥控小车
    说明:  遥控51单片机为核心的小车,包含发送和接收两部分(Remote control 51 single chip microcomputer as the core of the car,It includes two parts: sending and receiving)
    2020-11-19 17:02:04下载
    积分:1
  • 老杜代码
    c的基本应用与方法.包括阶乘算法,字符操作等等(c programming lauguage basic.such like n! string method.and so on.)
    2019-03-02 15:51:27下载
    积分:1
  • pic18f6390 无线电子门密码锁
    改代码适用于18系列的pic单片机,不同款式的单片机可以更改相关配置加以运用,代码已经投入实际运用中,是c 语言编写的。无线传输方式采用的是 ZigBee,控制门的开启或关闭采用的是舵机,欢迎大家下载使用交流。。。。。
    2022-02-26 07:05:28下载
    积分:1
  • five
    FIFO和LRU页面置换算法,使用c++写的,有功能号,可以选择功能,进行相应的操作!(FIFO and LRU page replacement algorithm, using c++ written in the functional number, you can choose functions to carry out the appropriate action!)
    2010-01-14 16:39:34下载
    积分:1
  • j
    说明:  基于数字全息和离散余弦变换的数字水印技术(Digital watermarking technology based on digital holography and discrete cosine transform)
    2013-03-18 15:47:09下载
    积分:1
  • Image01.0
    Manejo de Imagenes usando haarcascade en QT+opencv
    2014-02-25 01:32:17下载
    积分:1
  • McniSerial
    说明:  使用SerialPort类实现串口通信的小程序(Mini Programs using SerialPort Class to realize Serial Communication)
    2019-04-01 23:20:31下载
    积分:1
  • 最佳适应算法 信安 陆华锋 20022638
    最佳适应算法是动态内存分区分配算法的一种。所谓“最佳”是指每次为作业分配内存时,总是把能满足要求、又是最小的空闲分区分配给作业,避免“大材小用”。为了加速寻找,该算法要求将所有的空闲分区按其内容以从小到大的顺序形成一空闲分区链。这样,第一次找到的能满足要求的空闲区,必然是最佳的。(best adaptation algorithm is a dynamic memory allocation through an algorithm. The so-called "best" means the operation of each memory allocation, always meet requirements, and also the smallest area allocated to idle operations, to avoid "a waste of talent." To speed up the search, the algorithm requires that all leisure district according to content from small to large order of the formation of a regional chain idle. So, the first found to meet the requirements of the free zone will be the best.)
    2005-07-04 08:18:40下载
    积分:1
  • itunnet
    Exploit by tunnelling (for testing)
    2010-03-25 08:45:38下载
    积分:1
  • ex-03
    说明:  fluent速度入口UDF案例,包括fluent文件及UDF源代码(Fluent speed entry UDF case, including fluent file and UDF source code)
    2021-03-24 16:19:15下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载