DC Motor Speed control

Thread Starter

embpic

Joined May 29, 2013
189
Which is best method for controlling dc motor speed.?
PWM, ENCODER, PID???
I never used the Encode and PID so no idea which method is good to use.
I need bit precise movement.
 

Bill G

Joined Jul 14, 2014
8
A little more info would be helpful such as, horsepower and torque, voltage, type of motor - series, shunt, etc., power supply - battery or power supply application - heavy starting torque or light
 

MaxHeadRoom

Joined Jul 18, 2013
28,686
All three, PWM, smoother than Triac/SCR using mains frequency.
Encoder for position feedback.
PID to control the loop.
You could also design for velocity feedback using a DC tach, or digital tach converted for summing with the control signal.
What type of control method did you have in mind?
The current popular methods are ±10vdc analogue or step/direction pulses.
What is the purpose of the control?
Max.
 

Alberto

Joined Nov 7, 2008
169
PWM is the way you control the speed of the DC motor. Modifying the dutycycle you you apply more power or you reduce it.

Encoder is the way to know at which speed your motor is turning, counting the number of pulses it can tell you also how much travell you have done. In other words is your velocity feedback.

PID is an algoritm that collects information coming from the encoder and compare them with your velocity input and elaborate which is the best Duty CYCLE to keep the velocity you have input ( setpoint)

In conclusion you will need all three for a close loop velocity controller.

Cheers

Alberto
 

MaxHeadRoom

Joined Jul 18, 2013
28,686
I would not necessarily agree, there are velocity drives out there that operate purely with a DC tach, although they have dropped in favour of torque mode drives when used in position control.
Encoder is required for precise positioning, Tach if just used for precise rpm control.
Up until the early 70's velocity drives were the norm in CNC or servo positioning.
The encoder went back to the controller.
Max.
 

MaxHeadRoom

Joined Jul 18, 2013
28,686
which type of encoder's are used normally.
Resolution Depends mainly on the application, and type depends on what the controller is designed to receive.
The most common being the optical incremental quadrature encoder.
For very low resolution one can be constructed with a dual Opto slot sensor and a slotted disc.
If the controller is designed for it, the resolution can be increased by x4 in a fairly simple manner.
Max.
 

MaxHeadRoom

Joined Jul 18, 2013
28,686
If just RPM control a single pulse tach could be used, this could be a single slot opto and a disc with one or more slots.
This is the method that most Treadmill motors use.
You would need to decode it at the processor or controller end of course.
One method used with the Picmicro is the timer1 capture input (CCP module).
This method does not give position or direction though.
Max.
 
Top