-
这是一个比较典型的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
-
DS1302的读写程序,经过测试的程序
欢迎大家拿去
我们进行交流和学习探讨...
DS1302的读写程序,经过测试的程序
欢迎大家拿去
我们进行交流和学习探讨-The DS1302 to read and write procedures, tested the procedures are welcome to take us to explore the exchange and learning
- 2022-01-26 04:05:27下载
- 积分:1
-
C51写的华邦8位单片机ISP程序,请配合本人用VB写的PC端ISP程序W78E516UpdataOfVB使用...
C51写的华邦8位单片机ISP程序,请配合本人用VB写的PC端ISP程序W78E516UpdataOfVB使用
- 2022-02-15 21:36:54下载
- 积分:1
-
单片机控制串口鼠标芯片范例,实现方向判断和数值计算功能...
单片机控制串口鼠标芯片范例,实现方向判断和数值计算功能-SCM serial mouse chip sample, judge and realize the direction of numerical functions
- 2023-04-21 02:35:03下载
- 积分:1
-
用ATmega8实现累加功能,并用数码管实现显示。
用ATmega8实现累加功能,并用数码管实现显示。-Cumulative function with ATmega8 realize, and realize digital tube display.
- 2023-08-19 07:15:03下载
- 积分:1
-
在单片机控制的液晶屏上显示汉字,uVision开发平台。
在单片机控制的液晶屏上显示汉字,uVision开发平台。-In single-chip microcomputer controlled LCD screen display of Chinese characters, uVision development platform.
- 2022-10-08 10:55:03下载
- 积分:1
-
AT91SAM7S64 debug AT91SAM7S64CommissioningNotes Notes
AT91SAM7S64调试笔记AT91SAM7S64CommissioningNotes-AT91SAM7S64 debug AT91SAM7S64CommissioningNotes Notes
- 2022-11-17 22:10:03下载
- 积分:1
-
man/machine/interface设计开发环境为ICC,可以编译成汇编,直接下栽到嵌入式avr单片机进行控制...
man/machine/interface设计开发环境为ICC,可以编译成汇编,直接下栽到嵌入式avr单片机进行控制-man/machine/interface design and development environment for the ICC, compile a compendium, crashed directly to the embedded microprocessor control avr
- 2022-02-26 11:21:23下载
- 积分:1
-
ADS7844串行模数转换芯片的原理及其在嵌入式的应用
ADS7844串行模数转换芯片的原理及其在嵌入式的应用-ADS7844 analog-to-digital converter serial chip embedded in the principle and its application
- 2022-08-22 06:53:58下载
- 积分:1
-
* 功能:LPC2100的IAP功能测试。
* 说明:调用IAP服务程序,完成FLASH编程操作。
* 将paramout添加到Watch窗口,观察返回...
* 功能:LPC2100的IAP功能测试。
* 说明:调用IAP服务程序,完成FLASH编程操作。
* 将paramout添加到Watch窗口,观察返回值。-* Function: LPC2100 the IAP function test.* Description: Call IAP service program, complete the FLASH programming operation.* Will paramout added to the Watch window to observe the return value.
- 2023-09-04 10:20:03下载
- 积分:1