-
这是一个比较典型的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
-
C language accepted by serial single
用c语言串口接受数据的功能 在单片机中很实用!-C language accepted by serial single-chip data at a very practical!
- 2023-07-12 09:55:04下载
- 积分:1
-
here with a 11 ICCAVR development of the source code, DEMO plate after debugging...
这里有11个用ICCAVR开发的源代码,经DEMO板调试后已经通过.-here with a 11 ICCAVR development of the source code, DEMO plate after debugging has been passed.
- 2022-03-18 06:35:56下载
- 积分:1
-
这是微软的一个USB同步传输例程,虽然它是基于Intel USB开发板的,但是也很值得我们好好的研究。...
这是微软的一个USB同步传输例程,虽然它是基于Intel USB开发板的,但是也很值得我们好好的研究。-This is a USB synchronization routines, although it is based on the Intel USB development board, but also worthy of our good look.
- 2023-08-02 06:40:03下载
- 积分:1
-
LCD12232显示实验源代码,适合51,AVR,ARM单片机使用。
LCD12232显示实验源代码,适合51,AVR,ARM单片机使用。-Experimental LCD12232 show source code, suitable for 51, AVR, ARM Singlechip use.
- 2022-02-27 01:30:33下载
- 积分:1
-
用51引脚模拟SPI,进行ad7706读写操作。
用51引脚模拟SPI,进行ad7706读写操作。-the source code which use 51 MCU read and write ad7706
- 2022-03-16 19:01:17下载
- 积分:1
-
16c552驱动程序,两个穿口+1个并口的驱动程序
16c552驱动程序,两个穿口+1个并口的驱动程序-16c552 driver, two I wear a parallel port drivers
- 2022-02-21 17:35:18下载
- 积分:1
-
IIC总线的c语言程序,介绍 IIC总线的时序和操作方法
IIC总线的c语言程序,介绍 IIC总线的时序和操作方法-IIC Bus c Language Program, introduced IIC bus timing and method of operation
- 2022-02-05 06:26:02下载
- 积分:1
-
Ginkgo Technology Co., Ltd. dsp development board Experimental Experimental proc...
银杏科技有限公司dsp实验开发板的实验程序-Ginkgo Technology Co., Ltd. dsp development board Experimental Experimental procedures
- 2022-04-30 08:01:59下载
- 积分:1
-
具有语音功能的水温控系统, 具有语音功能的水温控系统
具有语音功能的水温控系统, 具有语音功能的水温控系统-Voice-enabled water temperature control system, voice-enabled water temperature control system
- 2022-04-24 14:02:28下载
- 积分:1