-
这是一个比较典型的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
-
这是用ds18b20测试及显示温度的程序,主芯片是DS18B20
这是用ds18b20测试及显示温度的程序,主芯片是DS18B20-This is used to test and display the temperature ds18b20 procedures, the main chip is DS18B20
- 2022-01-26 03:29:48下载
- 积分:1
-
是一个关于C51和18B20的测温程序,大家可以参考一下.
是一个关于C51和18B20的测温程序,大家可以参考一下.-Is a study on the C51 and the temperature 18B20 procedure, we can reference.
- 2022-11-21 18:25:04下载
- 积分:1
-
avr单片机用的,有源代码,原理图(包括JTAG和STK500)
avr单片机用的,有源代码,原理图(包括JTAG和STK500)-avr Singlechip used, active code, schematics (including JTAG and STK500)
- 2023-02-03 23:55:03下载
- 积分:1
-
can总线硬件控制器开发源代码
can总线硬件控制器开发源代码-bus hardware controller can open source
- 2022-06-22 04:19:31下载
- 积分:1
-
用C51开发的单片机多机通讯程序,其中包括双口RAM的读写程序。
这个程序调试通过,应用在我开发的系统中,效果很好。...
用C51开发的单片机多机通讯程序,其中包括双口RAM的读写程序。
这个程序调试通过,应用在我开发的系统中,效果很好。-C51 Microcontroller with the development of multi-machine communication procedures, including dual-port RAM reading and writing process. Debugging through this process, the application in my development system, good results.
- 2022-11-07 15:45:02下载
- 积分:1
-
16c552驱动程序,两个穿口+1个并口的驱动程序
16c552驱动程序,两个穿口+1个并口的驱动程序-16c552 driver, two I wear a parallel port drivers
- 2022-02-21 17:35:18下载
- 积分:1
-
cc2x30_sw_examples: apply to SmartRF05EB support for CC2430, CC2530 provide Li...
cc2x30_sw_examples:
适用于SmartRF05EB 支持CC2430、CC2530 提供Light_Switch及perTest例程。-cc2x30_sw_examples: apply to SmartRF05EB support for CC2430, CC2530 provide Light_Switch and perTest routine.
- 2023-07-05 01:05:03下载
- 积分:1
-
51单片机各类源程序集锦,含有好多常见的单片机程序,学习的好资料。...
51单片机各类源程序集锦,含有好多常见的单片机程序,学习的好资料。-51 Single-chip Collection of all types of source, contains a lot of common single-chip process, learning good information.
- 2022-01-25 22:26:47下载
- 积分:1
-
时钟芯片H1380控制程序,实现单片机时钟功能
时钟芯片H1380控制程序,实现单片机时钟功能-Clock Chip H1380 control procedures, to achieve single-chip clock function
- 2022-02-06 13:52:22下载
- 积分:1