-
这是一个比较典型的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开发板上的源代码A,里面有16x16点阵,1602+1302+18b20,adc0804演示,AT24C02EEPROM,dac0832演示,ds1
自已制的51开发板上的源代码A,里面有16x16点阵,1602+1302+18b20,adc0804演示,AT24C02EEPROM,dac0832演示,ds1302+lcd12864+1802,ds1302数字钟(lcd1602),ds1302数字钟(led)等代码。-51 developed their own system on-board source code A, which has 16x16 dot matrix, 1602+ 1302+ 18b20, adc0804 demo, AT24C02EEPROM, dac0832 demo, ds1302+ Lcd12864+ 1802, ds1302 digital clock (lcd1602), ds1302 digital clock (led ), etc. code.
- 2023-03-11 08:55:04下载
- 积分:1
-
一个完整的用51单片机控制温度传感器采集并显示的程序,温度传感器选用DS18B20,显示器为1602...
一个完整的用51单片机控制温度传感器采集并显示的程序,温度传感器选用DS18B20,显示器为1602-An integrated temperature sensor with 51 control procedures for collecting and display, temperature sensor selection DS18B20, display for the 1602
- 2023-07-22 06:00:03下载
- 积分:1
-
SN75176,用51系列的单片机,波特率为9600,串口方式1,发送数据...
SN75176,用51系列的单片机,波特率为9600,串口方式1,发送数据-SN75176
- 2022-03-16 16:56:45下载
- 积分:1
-
完整的俄罗斯方块程序及(Proteus)仿真 很值得看哦
完整的俄罗斯方块程序及(Proteus)仿真 很值得看哦-Complete procedures and Tetris (Proteus) is worthy of emulation看哦
- 2022-03-15 00:55:52下载
- 积分:1
-
ad转换0809的引用实例,次程序调试过,用作数字电压表,精度还不错。...
ad转换0809的引用实例,次程序调试过,用作数字电压表,精度还不错。-ad conversion of the quoted examples of 0809, sub-program debugging, and used as a digital voltage meter, accuracy was not bad.
- 2022-02-11 13:41:38下载
- 积分:1
-
使用效果不错而且成本很低很有市场通过本次希望向大家学习...
使用效果不错而且成本很低很有市场通过本次希望向大家学习-good use of effects and low cost market is through this we hope to learn
- 2023-05-03 20:45:03下载
- 积分:1
-
程序用C51实现:
单片机对LCD1602的控制显示
采用总线方式
程序用C51实现:
单片机对LCD1602的控制显示
采用总线方式-procedures used C51 : SCM right LCD1602 control shows that using the bus way
- 2022-03-06 02:47:28下载
- 积分:1
-
9052开发
9052开发-9052 Development
- 2022-08-10 10:45:12下载
- 积分:1
-
Microcontroller is a Microcontroller Pac
单片机小精灵是一款单片机辅助开发工具,提供常用51系列单片机的参数计算和资料查询功能。
-Microcontroller is a Microcontroller Pac-assisted development tools, providing popular 51 series microcontroller parameters and data query capabilities.
- 2022-01-20 22:34:46下载
- 积分:1