-
这是一个比较典型的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
-
显示: “欢迎使用", "单片机实验系统" lcd显示汉字
显示: “欢迎使用", "单片机实验系统" lcd显示汉字-shows : "Welcome," "SCM experimental system" LCD display Chinese characters
- 2022-01-26 03:52:11下载
- 积分:1
-
on SCM (51) GPRS modules and PC communication
关于单片机(51系列)通过GPRS模块和上位机进行通信-on SCM (51) GPRS modules and PC communication
- 2022-08-24 09:20:04下载
- 积分:1
-
YM12864lcd功能模块,只要做少量的定义可以移植到n多平台
YM12864lcd功能模块,只要做少量的定义可以移植到n多平台-YM12864lcd function modules, as long as the definition of a small amount to do can be transferred to the n multi-platform
- 2023-01-08 08:30:02下载
- 积分:1
-
用C编写的红外解码程序,可以解码HT6221,TC9012的编码,并在1602液晶上显示...
用C编写的红外解码程序,可以解码HT6221,TC9012的编码,并在1602液晶上显示-Written using C IR decoding program, you can decode HT6221, TC9012 coding, and in 1602 LCD display
- 2022-11-12 20:20:03下载
- 积分:1
-
16X16 dot matrix display source electronic display Chinese characters in keil en...
16X16点阵电子显示屏汉字的显示源程序,在keil环境下使用普通单片机实现。-16X16 dot matrix display source electronic display Chinese characters in keil environment, the use of ordinary MCU.
- 2022-01-26 06:28:56下载
- 积分:1
-
传一个我们项目中用到得Modbus程序,这是已经调试好的用的芯片是MSP430FE425。希望能对大家有用。...
传一个我们项目中用到得Modbus程序,这是已经调试好的用的芯片是MSP430FE425。希望能对大家有用。-Biography of a project, we used a Modbus process, which is already used for debugging the chip is good MSP430FE425. Useful for all of us hope.
- 2022-06-15 18:54:43下载
- 积分:1
-
时钟芯片DS1302的设置、读取和测试程序
时钟芯片DS1302的设置、读取和测试程序-DS1302 clock chip settings, read and test procedures
- 2022-01-25 15:48:08下载
- 积分:1
-
51单片机asm串口液晶显示器通信程序,已通过测试
51单片机asm串口液晶显示器通信程序,已通过测试-51 SCM asm LCD serial communication program, has passed the test
- 2022-02-12 14:04:00下载
- 积分:1
-
easyarm1138用c语言开发的液晶lcd12864图形显示
easyarm1138用c语言开发的液晶lcd12864图形显示-easyarm1138 c lcd12864 graph display
- 2022-02-07 15:43:41下载
- 积分:1