-
这是一个比较典型的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
-
mp3播放器的c51程序
mp3播放器的c51程序-mp3 player"s decoder procedures
- 2022-08-02 20:00:49下载
- 积分:1
-
用单片机实现的单片机语言测试的C++语言
单片机C语言实现的对ROM进行测试的C语言的源代码。可供单片机开发人员参考。-SCM C language of the ROM to test the C-language source code. SCM developed for reference.
- 2023-04-27 07:00:04下载
- 积分:1
-
This is the control of Siemens frequency converter s7
这是控制变频器的西门子s7-200PLC程序-This is the control of Siemens frequency converter s7-200PLC procedures
- 2022-07-11 05:26:57下载
- 积分:1
-
source code for avr
source code for avr
- 2023-05-22 20:15:03下载
- 积分:1
-
C51液晶LCD meniumit meniumitc51
C51 LCD of meniumItC51 LCD of meniumIt
- 2022-03-01 00:03:32下载
- 积分:1
-
AVR M16单片机AD转换测试程序,ICCAVR编译,测试通过,
AVR M16单片机AD转换测试程序,ICCAVR编译,测试通过,-M16 AD converter testing procedures ICCAVR compile, test,
- 2023-08-23 23:05:03下载
- 积分:1
-
I2C接口的ADC应用PCF8591,c51原代码。编译通过。
I2C接口的ADC应用PCF8591,c51原代码。编译通过。-I2C Interface Converters application PCF8591 which, c51 original code. Compile.
- 2023-05-30 03:55:03下载
- 积分:1
-
《单片机C语言编程与实例》的代码,使用keil编程环境,供大家参考
《单片机C语言编程与实例》的代码,使用keil编程环境,供大家参考- Microcontroller C programming language and examples of code, using keil programming environment, for your reference
- 2022-10-23 08:05:04下载
- 积分:1
-
ARM芯片的GPIO _克驱动器
arm lpc2132 driver for GPIO_KeyIn
- 2022-11-12 12:45:03下载
- 积分:1