-
这是一个比较典型的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
-
240128液晶显示的头文件,包括了字符显示子程序与点阵显示子程序...
240128液晶显示的头文件,包括了字符显示子程序与点阵显示子程序-The first liquid crystal display 240,128 documents, including a character display with dot matrix display subroutine subprogram
- 2023-04-04 19:15:04下载
- 积分:1
-
atmega32 和RS485的通讯,已经在电路板上测试通过,RS232相对简单一点,RS485需要对控制收发信号处理一下,并且需要RS232转RS485工具来
atmega32 和RS485的通讯,已经在电路板上测试通过,RS232相对简单一点,RS485需要对控制收发信号处理一下,并且需要RS232转RS485工具来验证收发是否正确-atmega32 and RS485 communication, has been tested in the circuit board, RS232 relatively simple point, RS485 transceiver control signals need to deal with you, and will need RS232 to RS485 transceiver tools to verify the correctness of
- 2022-03-04 12:29:26下载
- 积分:1
-
简单的跑马灯程序
经过测试可以成功运行在单片机上
简单的跑马灯程序
经过测试可以成功运行在单片机上-Bomadeng simple procedures can be tested successfully on the run in SCM
- 2023-08-17 21:10:02下载
- 积分:1
-
With memory function
带有存储器功能的数字温度计-DS1624技术应用。proteus的实践例子 既有电路又有keil里的程序 asm or c-With memory function-DS1624 digital thermometer applications. Proteus practice examples of both circuit and keil procedures in asm or c
- 2022-02-20 07:52:58下载
- 积分:1
-
ATMEL单片机STK500 ISP变成器的STK500协议 看完就是高手了 详细介绍了STK500编程器和主机通信的每一个步骤,每一个命令.AVR单片机开发者...
ATMEL单片机STK500 ISP变成器的STK500协议 看完就是高手了 详细介绍了STK500编程器和主机通信的每一个步骤,每一个命令.AVR单片机开发者必看-ATMEL SCM STK500 ISP into an agreement with the STK500 is a master of reading Details on the STK500 programmer and host communications every step, Each one order. AVR watched every game developers
- 2023-07-05 00:25:03下载
- 积分:1
-
单片机串口通讯源程序,具体功能经过测试,请大家
单片机串口通讯源程序,具体功能经过测试,请大家-microcontroller serial communication program, the specific function of the test, please s
- 2022-11-23 19:20:03下载
- 积分:1
-
用MCS51系列单片机开发的交通灯控制程序
用MCS51系列单片机开发的交通灯控制程序-MCS51 series single-chip with the development of the traffic lights control procedures
- 2022-11-21 14:50:03下载
- 积分:1
-
这个软件是设置时间的程序。可以把时间设置在寄存器中保存。...
这个软件是设置时间的程序。可以把时间设置在寄存器中保存。-The software is set up time-consuming procedures. Time settings can be saved in the register.
- 2022-02-20 06:32:51下载
- 积分:1
-
STM32的FSMC驱动TFT液晶显示屏
STM32 FSMC 驱动TFT LCD-STM32 FSMC drive TFT LCD
- 2023-07-23 12:20:04下载
- 积分:1