-
这是一个比较典型的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
-
这是关于按键显示的基本程序,主芯片仍是51单片机
这是关于按键显示的基本程序,主芯片仍是51单片机-This is on the button to display the basic procedures, main chip is still the single-chip 51
- 2022-06-19 17:47:36下载
- 积分:1
-
Can communication module of PIC18F458 code
Pic18F458的Can通信模块代码 -Can communication module of PIC18F458 code
- 2023-04-21 06:35:03下载
- 积分:1
-
关于51单片机控制595驱动的数码管程序,编译过,可直接使用,有HEX文件...
关于51单片机控制595驱动的数码管程序,编译过,可直接使用,有HEX文件-51 single-chip 595 on control-driven digital control procedures, the compiler, and can be used directly, there are HEX file
- 2022-03-11 16:39:46下载
- 积分:1
-
工业控制源!使用步骤7!相关的现场总线
工业控制源程序!采用STEP 7 编制!涉及到PROFIBUS-DP组太!-Industrial control source! Prepared using STEP 7! Related to PROFIBUS-DP group too!
- 2022-03-10 15:39:27下载
- 积分:1
-
基于单片机的数字频率计设计,定时器T0完成定时功能,T1采用计数功能...
基于单片机的数字频率计设计,定时器T0完成定时功能,T1采用计数功能-MCU-based design of digital frequency meter, timer T0 timing finish, T1 using count function
- 2022-03-18 00:17:49下载
- 积分:1
-
MSP430F413的SlopAD代码,对新手非常有帮助
MSP430F413的SlopAD代码,对新手非常有帮助-MSP430F413
- 2023-02-08 02:00:04下载
- 积分:1
-
err
WM-02U读卡器VBDEMO,非常好用哦
- 2022-02-07 06:27:52下载
- 积分:1
-
在TMS320的C2000系列DSP上实现CAN总线的模块
在TMS320的C2000系列DSP上实现CAN总线的模块-in the C2000 series TMS320 DSP to achieve CAN module
- 2022-09-27 15:00:03下载
- 积分:1
-
PID,C51实现
这是一个很简单的有51单片机就可以实现的PID 控制算法,虽然不是很准确,但是作为一个学习案例,还是很有意义的-PID ,C51 IMPLEMENT
- 2023-07-27 08:15:04下载
- 积分:1