Description: 典型的PID处理程序:这是从网上找来的一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID
参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制,一般不采用浮点数运算,
而将所有参数全部用整数,运算到最后再除以一个2的N次方数据(相当于移位),作类似定点数运算,可
大大提高运算速度,根据控制精度的不同要求,当精度要求很高时,注意保留移位引起的“余数”,做好余
数补偿。这个程序只是一般常用pid算法的基本架构,没有包含输入输出处理部分-typical PID processing : This is from the Internet, found a typical PID handling procedures, in the use of single chip controller cpu, please slightly simplified, PID parameters specific to the specific object must be determined through experiments. As microcontroller processing speed and ram resource constraints, not normally used floating point calculations. they will use an all parameters, calculation of a final divided by two of the Nth data (equivalent to shift), Points for similar operations will be greatly improved computational speed, precision control of the different requirements and high precision, reservations to the attention of displacement caused by the "I", which I do for compensation. This procedure is commonly used algorithm pid the basic framework did not conta Platform: |
Size: 1024 |
Author:jty |
Hits:
Description: 基于单片机的pid控制程序。pid算法主要用于水温控制等-Pid microcontroller-based control procedures. pid temperature control algorithm used, etc. Platform: |
Size: 1024 |
Author:shangyaowei |
Hits:
Description: 89C51单片机,通过键盘输入预设值,与DS18B20测得的实际值做比较,然后驱动制冷或加热电路。用keil C语言来实现PID的控制。-89C51 microcontroller, through keyboard input default, and DS18B20 measured to compare the actual value, and then drive circuit refrigeration or heating. Keil C language used to achieve PID control. Platform: |
Size: 3072 |
Author:赵云 |
Hits:
Description: 一个pid算法程序,使用的keilc编译。单片机使用的是sm89c52,算法简单,通过实际调试通过,好用,对编写pid温度控制程序的工程师有一定的参考价值-Pid algorithm of a program, use the keilc compiled. Microcontroller using sm89c52, algorithm is simple, practical debugging through the adoption of easy to use, pid temperature control procedures on the preparation of the engineers have some value ... ... Platform: |
Size: 1024 |
Author:ddg |
Hits:
Description: STM32单片机的PID算法实例,通过PID算法控制STM32的PWM输出,反馈量是PWM低通滤波后得到的AD-STM32 microcontroller PID algorithm instance, through the STM32 PID algorithm to control the PWM output, PWM amount of feedback is obtained after low-pass filter AD Platform: |
Size: 495616 |
Author:keyin |
Hits:
Description: 基于ATmega16单片机控制码盘直流电机,通过pid公式用pwm波控制电机转速-ATmega16 microcontroller-based DC motor encoder, the formula used by pid wave pwm motor speed control Platform: |
Size: 1024 |
Author:杨剑锋 |
Hits:
Description: 此程序用于单片机中实现模糊控制PID程序单片机系列-This program is used to implement fuzzy control PID microcontroller program microcontroller family Platform: |
Size: 1024 |
Author:yuanyinlong |
Hits:
Description: avr单片机,电机速度经典控制程序,ICCAVR编译通过,c语言程序-avr microcontroller, motor speed classic control procedures, ICCAVR compile, c language program Platform: |
Size: 3072 |
Author:tomven chen |
Hits:
Description: 基于mega128单片机的pid控制算法。本试验中,使用pid对电机进行转速控制,实现伺服电机的效果。PID参数可以随便调整,只需要一个电机一个速度传感器就可以实现~详细代码解释-Mega128 pid microcontroller-based control algorithm. In this experiment, using the pid of the motor speed control, servo motor to achieve the effect. PID parameters can be easily adjusted, only one motor can achieve a speed sensor code- detailed explanation Platform: |
Size: 33792 |
Author:shaohj |
Hits:
Description: PID单片机程序 用51单片机来控制直流电机的转速 从而达到平衡-PID microcontroller program with 51 to control the DC motor speed to achieve the balance Platform: |
Size: 4085760 |
Author:周振雷 |
Hits:
Description: 本软件通过串口收发数据,通过pid算法实现对底层的控制。(Through the TCP/IP protocol, the data is acquired, and the data is sent to the lower computer and the MCU through the serial port, so as to realize the control of the microcontroller.) Platform: |
Size: 389120 |
Author:david_zn315
|
Hits:
Description: 本程序代码通过AVR ATmega88单片机运行PID运算算法,对于智能化的跟踪控制是必不可少的,输出可通过PWM输出控制电机或者两位输出控制继电器输出,都能达到非常好的控制效果。(This program code through the AVR ATmega88 microcontroller operation PID algorithm, for intelligent tracking control is essential, the output can be output through the PWM control motor or two bit output control relay output, can achieve very good control effect.) Platform: |
Size: 50176 |
Author:老茂
|
Hits:
Description: 利用STM32单片机,通过STM32进行PID运算输出PWM的占空比来控制直流电机的速度。(STM32 microcontroller is used to carry out PID operation through STM32 and output PWM duty cycle to control the speed of DC motor.) Platform: |
Size: 1024 |
Author:另外一个QQ |
Hits: