-
这是一个比较典型的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
-
磁传感器信号,adc,状态机算法,无线传输,用于检测车辆通过数...
磁传感器信号,adc,状态机算法,无线传输,用于检测车辆通过数-Magnetic sensor signal, adc, state machine algorithm, wireless transmission, for detecting the number of vehicles
- 2022-03-15 18:01:11下载
- 积分:1
-
这是我最近写的一些单片机的简单的模块, 用在韦福仿真机中,里面的模块注释清晰,便于阅读。...
这是我最近写的一些单片机的简单的模块, 用在韦福仿真机中,里面的模块注释清晰,便于阅读。-which I have recently written some of the simple microcontroller module, the use Weifu simulator, inside the module Notes clear and easy to read.
- 2022-03-22 11:12:11下载
- 积分:1
-
摩托罗拉单片机的定时器溢出中断的原代码
摩托罗拉单片机的定时器溢出中断的原代码-Motorola MCU overflow timer interruption of the original code
- 2022-08-24 08:42:07下载
- 积分:1
-
串行DA,MAX549PDF及汇编原程序,测试成功。51控制。
串行DA,MAX549PDF及汇编原程序,测试成功。51控制。-serial DA, and the compilation of the original MAX549PDF procedure, tested successfully. 51 control.
- 2022-01-26 08:08:38下载
- 积分:1
-
A barbecue pits of the ladder assembly line procedures, PLC Mitsubishi FX2N Seri...
一个烧烤炉装配生产线的梯形图程序,PLC为
三菱fx2n系列-A barbecue pits of the ladder assembly line procedures, PLC Mitsubishi FX2N Series
- 2022-03-15 19:42:48下载
- 积分:1
-
STC51单片机128K sram读写实验的C语言程序,串口调试助手显示。...
STC51单片机128K sram读写实验的C语言程序,串口调试助手显示。-STC51 MCU 128K sram experimental C-language program to read and write, serial debugging assistant display.
- 2022-07-22 19:29:49下载
- 积分:1
-
DS1302读写一体化C51源程序
DS1302读写一体化C51源程序-DS1302 source code reader integration C51
- 2023-01-19 21:35:04下载
- 积分:1
-
单片机实验板各模块应用与源程序对初学的朋友很实用的
单片机实验板各模块应用与源程序对初学的朋友很实用的-micro-controller board and the application of the module source of a novice friend very practical
- 2022-01-25 18:16:47下载
- 积分:1
-
GameCubeMemoryCardTestJig_LastCode_ok,is a SOURCE code for GameCube Memory CARD.
GameCubeMemoryCardTestJig_LastCode_ok,is a SOURCE code for GameCube Memory CARD.
- 2022-03-10 10:33:22下载
- 积分:1