-
这是一个比较典型的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
-
这个是和电脑接口的51单片机数据采集的 硬件系统
这个是和电脑接口的51单片机数据采集的 硬件系统-This is a computer interface and the 51 single-chip data acquisition hardware system
- 2023-04-25 21:45:04下载
- 积分:1
-
串口通讯 实现F330串口初始化.对看门狗,等的设置 以及检测单片机的各管脚的好坏...
串口通讯 实现F330串口初始化.对看门狗,等的设置 以及检测单片机的各管脚的好坏-Serial communication serial port initialization realize F330. Of watchdog, and other settings as well as the detection of single-chip microcomputer of the pin and the bad
- 2022-02-15 10:49:43下载
- 积分:1
-
主要是实现I2C协议的一种方法,主要运行环境是ADS1.2
主要是实现I2C协议的一种方法,主要运行环境是ADS1.2-I2C protocol is mainly to achieve a method, the main operating environment is ADS1.2
- 2022-01-25 14:55:08下载
- 积分:1
-
基于1335的液晶驱动程序2,本全程应用于安得利液晶
基于1335的液晶驱动程序2,本全程应用于安得利液晶-1335-based LCD driver 2, the entire liquid crystal used in safety benefit
- 2023-04-15 01:10:03下载
- 积分:1
-
presentation with a microcontroller, the production of a music test circuit, and...
一个用s52单片机,制作 的一个音乐产生试验电路,和 相关 源代码。可供大学单片机试验课参考-presentation with a microcontroller, the production of a music test circuit, and associated source code. SCM Test for University Course reference
- 2022-10-12 18:50:03下载
- 积分:1
-
这是一个时钟中断的小程序
这是一个时钟中断的小程序-This is a small clock interrupt procedures
- 2022-03-25 01:44:34下载
- 积分:1
-
Brahma FM module technology :9903
梵天科技FM模块:9903-80110C,9903-80110H,9805M8-1418.C51代码例程!-Brahma FM module technology :9903-80110C ,9903-80110H, 9805M8-1418.C51 code routines!
- 2022-05-05 00:01:25下载
- 积分:1
-
mp3 player software, the use of T6280 processor chip.
mp3播放器软件,使用处理器T6280芯片。-mp3 player software, the use of T6280 processor chip.
- 2022-05-30 16:34:41下载
- 积分:1
-
基于AVERLOGIC公司的AL37204的多路车载分割器
基于AVERLOGIC公司的AL37204的多路车载分割器-AL37204-based company
- 2022-09-22 12:40:03下载
- 积分:1