-
这是一个比较典型的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
-
基于mega64的lcd1602驱动,大家可以看下,互相参考
基于mega64的lcd1602驱动,大家可以看下,互相参考-Mega64 based on the lcd1602 drive, we can facie, be used as a reference
- 2023-02-15 13:10:03下载
- 积分:1
-
这是一个4*4键盘程序,已通过串口检测,效果还不错,给需要的朋友的一个参考。...
这是一个4*4键盘程序,已通过串口检测,效果还不错,给需要的朋友的一个参考。-This is a 4* 4 keyboard procedures have been detected through the serial port, the effect is also true that to a friend in need a reference.
- 2022-01-29 00:07:45下载
- 积分:1
-
德彪西是新星软件公司(源技术)的HDL开发调试
德彪西是NOVAS软件公司(源码技术)开发的HDL调试工具
- 2022-11-19 08:20:03下载
- 积分:1
-
51单
51单片机编写的DDS的串行驱动之类的c语言程序,可以产生波形。-51 single-chip DDS prepared by serial driver like c language program, can generate waveforms.
- 2023-06-28 00:00:03下载
- 积分:1
-
介绍了kellc软件的使用,并且拥有很多的的C程序
介绍了kellc软件的使用,并且拥有很多的的C程序-Kellc introduce the software and have a lot of the C program
- 2023-02-21 19:30:03下载
- 积分:1
-
跑马灯流动闪亮控制程序,可按键控制启动、停止、改变流动方向等。...
跑马灯流动闪亮控制程序,可按键控制启动、停止、改变流动方向等。-Marquee mobile flashing control procedures, key control can start, stop, change the flow direction.
- 2022-03-03 08:37:32下载
- 积分:1
-
我这是一个1602的液晶程序,是51的很精典的
我这是一个1602的液晶程序,是51的很精典的-I This is a 1602 LCD procedure is very classical 51
- 2022-08-31 17:15:03下载
- 积分:1
-
12864液晶画图原C代码
12864液晶画图原C代码
- 2022-03-07 08:03:26下载
- 积分:1
-
本程序是用 ATmega16 控制实时时钟芯片 DS12887 接口驱动的源程序文件。...
本程序是用 ATmega16 控制实时时钟芯片 DS12887 接口驱动的源程序文件。-this procedure is used to control real-time clock ATmega16 DS12887 interface-driven source files.
- 2022-03-11 08:12:11下载
- 积分:1