Home > other >  The great spirit show application of PID control dc motor
The great spirit show application of PID control dc motor

Time:09-27

Explain how to generate Pwm timer and test program

CodePudding user response:

By timer flip gpio produces PWM, the program should be universal, p is the speed, I is stability d is error

CodePudding user response:

PWM_temp excuse me what does it mean, why to be 100 minus PWM

CodePudding user response:

PID is proportional, integral, differential control, PWM pulse width is output, the principle is based on the current velocity (used to calculate proportion P), acceleration (used to calculate the differential D), to (I) is used for calculating integral and accumulated set speed to calculate the adjust quantity, converted into PWM (square wave duty ratio), control the turning speed of the motor (PM space ratio, the greater the faster), automatic control, the principle of PWM waveforms timer is that the two Numbers to set the timer, one is the timing cycle, a weekly during the period of transformation,
  • Related