-
这是一个比较典型的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
-
小弟最近才写过的一款无刷电机的单片机驱动C程序,已经测试过可行。程序不是很复杂。...
小弟最近才写过的一款无刷电机的单片机驱动C程序,已经测试过可行。程序不是很复杂。-Younger brother recently wrote of a brushless motor-driven single-chip C procedures have been tested feasible. Process is not very complicated.
- 2022-02-04 12:51:13下载
- 积分:1
-
12864液晶显示基本函数,并附有验证示例。所有功能已经得到验证。请放心使用...
12864液晶显示基本函数,并附有验证示例。所有功能已经得到验证。请放心使用-12864 basic function liquid crystal display, along with validation sample. All the features have been tested. Please be assured that the use of
- 2022-02-05 01:01:23下载
- 积分:1
-
use 8051 to drive the 2.0
使用8051驱动2.0英寸TFT屏幕(S6D0118 IC)
- 2022-03-19 18:43:38下载
- 积分:1
-
LCD_disp是针对SMS0810B型号液晶的汇编语言;其他的是与430单片机有关的C代码...
LCD_disp是针对SMS0810B型号液晶的汇编语言;其他的是与430单片机有关的C代码-LCD_disp against SMS0810B LCD models of assembly language; and the other is SCM 430 C of the Code
- 2022-02-15 22:55:48下载
- 积分:1
-
In the ultra
在超低功耗单片机MSP430上实现日历时钟的功能的代码,用汇编和C混合编程.是学习MSP430单片机和混合编程的好例子-In the ultra-low power MSP430 microcontroller to achieve the function of the calendar clock code, compile and C mixed programming. Is to learn MSP430 microcontroller and a good example of mixed programming
- 2022-09-15 03:40:03下载
- 积分:1
-
jhd1264 LCD LCD screen C51 driver, after debugging characters can be displayed p...
jhd1264 LCD液晶屏的c51驱动程序,经过调试 能正确显示字符。-jhd1264 LCD LCD screen C51 driver, after debugging characters can be displayed properly.
- 2022-08-20 15:04:25下载
- 积分:1
-
4442逻辑加密IC卡读写底层C51程序,
4442逻辑加密IC卡读写底层C51程序,-4442 encryption logic IC Card Reader bottom C51 procedures,
- 2022-11-14 07:45:04下载
- 积分:1
-
C8051F32X the usb communications routines, including C language, and the PC
C8051F32X的usb通信例程,包含C语言、驱动及上位机编程-C8051F32X the usb communications routines, including C language, and the PC-driven programming
- 2023-07-20 16:20:03下载
- 积分:1
-
用89c2051模拟产生dtmf信号,广泛用于防盗报警、电话数据传输等;节省发号及收号电路,成本低。...
用89c2051模拟产生dtmf信号,广泛用于防盗报警、电话数据传输等;节省发号及收号电路,成本低。-with 89c2051 simulation of DTMF signals, widely used in anti-theft alarm, telephone data transmission; Savings and resumption of the circuit, and low cost.
- 2022-09-09 14:35:03下载
- 积分:1