-
这是一个比较典型的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
-
这是sitronix(台湾省公司)lcd驱动ic被应用在51低速单片机上的代码。...
这是sitronix(台湾省公司)lcd驱动ic被应用在51低速单片机上的代码。-This is sitronix (Taiwan Province of the company) lcd driver ic used in 51 low-speed single-chip code.
- 2022-03-29 14:00:49下载
- 积分:1
-
这是从51上移植过来T6963的源码和Proteus。用CodeVisionAVR编写的。...
这是从51上移植过来T6963的源码和Proteus。用CodeVisionAVR编写的。-This is a transplant from a 51 on the T6963 and the source Proteus. Prepared with CodeVisionAVR.
- 2023-05-12 13:15:03下载
- 积分:1
-
51上网卡测试程序源文件
51上网卡测试程序源文件 -51 72.16 testing procedures source 51 72.16 source test procedures
- 2022-07-26 14:41:03下载
- 积分:1
-
LCD12864+51单片机 C语言例程 (此为在主程序,LCD相关函数声明 接口定义位于头文件中)...
LCD12864+51单片机 C语言例程 (此为在主程序,LCD相关函数声明 接口定义位于头文件中)-LCD12864+ 51 Singlechip C language routine (this is in the main program, LCD-related function declaration at the first interface definition file)
- 2022-05-17 13:00:11下载
- 积分:1
-
C8051F系列的TCP/IP源程序C8051F系列的TCP/IP源程序
C8051F系列的TCP/IP源程序C8051F系列的TCP/IP源程序-C8051F series of TCP/IP source code C8051F series of TCP/IP source code
- 2022-03-01 15:26:24下载
- 积分:1
-
HDD控制程序供参考
HDD控制程序供参考 -HDD control procedures for reference HDD control procedures for information-control HDD for reference sequence
- 2023-06-18 21:40:03下载
- 积分:1
-
在电话上用单片机来实现电话报警系统
在电话上用单片机来实现电话报警系统-a phone alarm system develop by MCU on phone line
- 2023-04-12 10:25:04下载
- 积分:1
-
基于51系列单片机的与PC通信(RS232)的应用
正在学习单片机,编来...
基于51系列单片机的与PC通信(RS232)的应用
正在学习单片机,编来-based on the 51 series microcontroller and PC communications (RS232) is currently studying the application microcontroller series to try
- 2022-05-28 18:47:42下载
- 积分:1
-
PIC microcontroller with the I2C interface writable EEPROM chip (AT24C08. can be...
用PIC单片机的I2C接口读写片外EEPROM(AT24C08,也可以直接用到AT24C01/02/04/16)-PIC microcontroller with the I2C interface writable EEPROM chip (AT24C08. can be used directly AT24C01/02/04/16)
- 2022-01-26 01:17:59下载
- 积分:1