Professional Documents
Culture Documents
Control
EC3011: Electronic and Instrumentation
R. Valluvan
Department of Electrical and Electronic Engineering
Why study about motor control?
• Electric Motors are part of day to day life
• Ex: electric vehicles, elevators, robotics, consumer electronics, etc
• Engineers of all disciplines have to deal with electric motors
• This course will introduce some basics on controls of
• DC motor
• Servo motor
• Stepper motor
With pulse width modulation (PWM)
What is PWM?
• Output signal alternates between on and off within specified
period
• Controls power received by a device
• The voltage seen by the load is directly proportional to the
source voltage
• Duty Cycle (D): on-time / period
• Vlow is often zero
PWM output is
formed by the
intersection of
the saw-tooth
wave and
sinusoid
Generation of PWM – Digital (Delta)
• Counter used to handle
transitions
• Delta/Delta-sigma
method
• Output signal compared
with limits
• Every time limits
reached, changes state
Generation of PWM – Digital (Delta-sigma)
• PWM signal generated by
Delta method
• Error = output – reference
• Error integrated
• State changes when
integration reaches limits
• Advantage
• Circuit simpler
• Reduces quantization
• noise by high pass filter
PWM with 555 timer
Potentiometer is used to
adjust the duty cycle
Advantages of PWM
• average value proportional to duty cycle, D
• low power used in transistors used to switch the signal
• fast switching possible due to MOSFETS and power transistors at
speeds in excess of 100 kHz
• digital signal is resistant to noise
• less heat dissipated versus using resistors for intermediate voltage
values
Disadvantages of PWM
• Cost
• Complexity of circuit
• Radio Frequency Interference
• Voltage spikes
• Electromagnetic noise
Applications of PWM
• In the past, motors were controlled at intermediate speed by using
resistors to lower delivered power
• Electric stove heater
• Lamp dimmers
• Voltage regulation – convert 12 volts to 5 volts by having a 41.7% duty
cycle
• Sound production: PWM controlled signals give sound effects similar
to a chorus
• Power transfer: PWM used to reduce the total power given to a load
without relying on resistive losses
Frequency of the PWM Signal
Lower Limits Upper Limits
1. Must be at least 10 times higher 1. If too high the inductance of the
than the control system frequency motor causes the current drawn to
2. Higher than 20kHz – audible be unstable
frequency of sounds to avoid 2. MOSFET transistor generates heat
annoying sound disturbances, during switching
caused by magnetostriction 3. Limited by resolution of controller
3. If too low the motor is pulsed, not 4. Eddy currents generated in
continuous, because the motor’s electromagnetic coils which lead to
inductance can not maintain the adverse heating
current 5. Heat losses in electromagnetic
4. Inverse of frequency should be materials is proportional to
much less than the motor/load time frequency squared
constant
5. Higher error from ripple voltages
Applications to DC Motors
• The voltage supplied to a DC motor is proportional
to the duty cycle
• Both brushed and brushless motors can be used
with PWM
• Both analog and digital control techniques and
components are available
Example-DC motor: Specifying circuit
elements
Requirements
1. Maxon EC-16 brushless motor,
Time constant = 8.75 ms
1
8.5 ms f 117 Hz
f
2. Want to avoid audible frequencies
f ≥ 20 kHz
3. PID control loop running at 150 Hz
f ≥ 10 ∙ 150 Hz
Example: Specifying circuit elements
1.44
f
R1C1
Check constraints
Set f to 25 kHz to add in a factor of safety
≥ 117 Hz
Choosing C1 to be 100 nF, R1 is 576 Ω ~ 500 Ω
f ≥ 20 kHz
Recalculating with these values f = 28.8 kHz ≥ 1.5 kHz
Alternative ways to generate PWM
• Arduino
• Matlab
• Labview
Application to Servo Motors
• A servomotor is a rotary actuator that allows for precise control of
angular position, velocity and acceleration.
• It consists of a suitable motor coupled to a sensor for position
feedback. It also requires a relatively sophisticated controller, often a
dedicated module designed specifically for use with servomotors.
• Servomotors are not a specific class of motor although the term
servomotor is often used to refer to a motor suitable for use in a
closed-loop control system.
• Servomotors are used in applications such as robotics, CNC machinery
or automated manufacturing.
Inside a Servo Motor
Servo Motor position control with PWM