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

PID经典程序

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

代码说明:

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

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

发表评论

0 个回复

  • PrCEDemo_Source
    WinCE PDA打印机测试程序,了解WinCE下PDA打印程序(WinCE PDA printer print test code)
    2009-02-13 16:43:38下载
    积分:1
  • STM8S_ADC例程 STVD工程
    STM8S103/STM8S105/STM8S903系列代码,本代码实现利用ADC模块采样多路模拟信号功能,ST单片机包含单次、连续、扫描等多种AD采集方式,STVD完整工程。
    2022-07-16 02:06:10下载
    积分:1
  • 体绘制区域生长、滤波、交互、测量、拾取等
    2022-08-22 06:45:30下载
    积分:1
  • C++实现的三种最大流算法。CS(容量
    用C++实现的3种最大流算法。CS(Capacity-Scaling Algorithm)、SAP(Shortest Augmenting Path Algorithm)、ISAP(Improved Shortest Augmenting Path Algorithm)。-C++ implementation with three kinds of maximum flow algorithms. CS (Capacity-Scaling Algorithm), SAP (Shortest Augmenting Path Algorithm), ISAP (Improved Shortest Augmenting Path Algorithm).
    2023-03-04 14:10:03下载
    积分:1
  • test
    一个万能的Makefile 文件,无需关心什么文件,什么目录结构,只需要在相关的目录下添加子目录(.c .h文件) ,编译即可。(目录采用递归查找方式,多级子目录均适用!)附上相关的Dome 使用例程。(A versatile Makefile, no need to care about what files, what directory structure, just add subdirectories (.c.h files) in the relevant directory, compile. (The directory uses recursive lookup mode, multi-level subdirectories are applicable!) Attach the relevant Dome usage routines.)
    2020-06-19 22:00:01下载
    积分:1
  • HTRI6.0全功能破解补丁
    说明:  htri6.0破解补丁1、换热器计算器支持包括所有的标准TEMA类型的计算 Xist 支持包括所有的标准TEMA类型的计算,并且集成了流动导致的震动计算, 管子排布工具等等。 进行空冷器和经济器的设计, 核算和模拟计算, 包括自然通风(风机停运)和强制通风条件下的计算。(Heat Exchanger Calculator Support Including All Standard TEMA Types of Calculations Xist supports all standard TEMA-type calculations, and integrates flow-induced vibration calculations, pipe layout tools, and so on. Design, calculate and simulate the air cooler and economizer, including natural ventilation (fan outage) and forced ventilation.)
    2020-06-16 09:00:01下载
    积分:1
  • LCD1602动态显示
    LCD的动态显示,每次右移一格,包含了全部的源文件,可以直接在keil里面打开使用,也可以用IDE软件直接打开使用,方便快捷。基于89c51单片机。
    2022-04-02 01:20:51下载
    积分:1
  • dtmf
    双音多频 DTMF(Dual Tone Multi Frequency),双音多频,由高频群和低频群组成,高低频群各包含4个频率。(Dual-tone multi-frequency signaling (DTMF) is used for telecommunication signaling over analog telephone lines in the voice-frequency band between telephone handsets and other communications devices and the switching center. The version of DTMF that is used in push-button telephones for tone dialing is known as Touch-Tone. It was developed by Western Electric and first used by the Bell System in commerce, using that name as a registered trademark. DTMF is standardized by ITU-T Recommendation Q.23. It is also known in the UK as MF4.)
    2014-01-01 23:21:31下载
    积分:1
  • 德飞莱m3s开发板 尼莫M3S-LED点亮和熄灭
    德飞莱m3s开发板,stm32f103zet6,led灯的点亮和熄灭(Lighting and extinguishing of LED lamp)
    2020-06-19 04:40:01下载
    积分:1
  • stm32读DS18B20序列号
    读DS18B20序列号。方便以后的电路一总线同时挂多个DS18B20温度传感器用。
    2022-01-26 00:05:07下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载