-
这是一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID 参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制...
这是一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID 参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制,一般不采用浮点数运算,而将所有参数全部用整数,运算 到最后再除以一个2的N次方数据(相当于移位),作类似定点数运算,可大大提高运算速度,根据控制精度的不同要求,当精度要求很 高时,注意保留移位引起的“余数”,做好余数补偿。这个程序只是一般常用pid算法的基本架构,没有包含输入输出处理部分。-This is a typical PID process, as in the use of SCM control cpu, please slightly simplified, specific PID parameters to be specific targets identified by experiments. As SCM processing speed and ram resource constraints, generally do not use floating-point operations, and will use all the parameters of all integers, and the final calculations to divide one of the Nth 2 data (the equivalent displacement), will count for a similar operation, it will greatly increase the computing speed, control Accuracy of different requirements and high precision, displacement caused reservations to the attention of the "I", which I do several compensation. This procedure is commonly used algorithm pid the basic structure does not include input and output processing.
- 2022-03-19 08:10:44下载
- 积分:1
-
详细介绍 智能仪器的基本数据处理算法 适合系统学习的人员 仅供参考...
详细介绍 智能仪器的基本数据处理算法 适合系统学习的人员 仅供参考-The basic details of intelligent instruments systematic study of data-processing algorithm is suitable for staff reference
- 2023-05-26 08:50:03下载
- 积分:1
-
简单的AVR单片机的脉冲发生器
Simple AVR impulse generator
- 2022-03-20 23:18:00下载
- 积分:1
-
C8051F9XX单片机人体感应按键的示例程序
C8051F9XX单片机人体感应按键的示例程序-Singlechip C8051F9XX key examples of human induction procedures
- 2022-07-12 14:33:32下载
- 积分:1
-
A character overlay module' s source code, mainly for the characters superimp...
一个字符叠加模块的源代码,主要用于可视对讲上的字符叠加,包括了整个工程文件-A character overlay module" s source code, mainly for the characters superimposed on the video intercom, including the entire project file
- 2022-09-28 07:45:04下载
- 积分:1
-
4 years of study done as well as the Teacher of the competition accumulated rese...
学4年来做过的竞赛以及老师的科研项目所积累下来的c51源代码,一共有40-4 years of study done as well as the Teacher of the competition accumulated research c51 source code, a total of 40
- 2023-04-24 12:55:03下载
- 积分:1
-
AT89C2051驱动步进电机
AT89C2051驱动步进电机-AT89C2051 driver stepping motor.
- 2022-11-17 12:25:03下载
- 积分:1
-
use MCU fuzzy algorithm
使用MCU实现模糊算法-use MCU fuzzy algorithm
- 2023-02-22 17:30:03下载
- 积分:1
-
UCOS2在51上的移植源码V1.1。学习UCOS的代码
UCOS2在51上的移植源码V1.1。学习UCOS的代码-UCOS2 51 on the transplant source V1.1. UCOS learning code
- 2023-04-14 21:05:04下载
- 积分:1
-
单片机控制的数字温度计程序源码,带1602液晶显示,并实时刷新温度值...
单片机控制的数字温度计程序源码,带1602液晶显示,并实时刷新温度值-Single-chip digital thermometer control procedures for source code, with 1602 liquid crystal display, and real-time refresh temperature
- 2022-08-06 01:15:13下载
- 积分:1