Professional Documents
Culture Documents
Motion Control Engineering l1
Motion Control Engineering l1
https://www.youtube.com/watch?v=y7fVuVfTPmU
AET - HUST
Content
• Introduce for DC motor
• Modelling DC motor
• Understand for PID controller
• Introduce the current sensor and position sensors.
• Design the speed and torque controller.
• Practice on Simulink - Matlab
3/9/2021 2
AET - HUST
Electric motor Classification
• DC motor:
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Electric motor Classification
• AC motor:
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Power Quadrants
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
DC motor
1. Introduction
A DC motor is a rotating electric machine
Where
• The stator of a permanent magnet DC
motor is composed of two or more
permanent magnet pole pieces
• The rotor is composed of windings
which are connected to a mechanical
commutator
https://www.youtube.com/watch?v=CWulQ1ZSE3c
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
DC motor
1. Introduction
Just as the rotor reaches alignment, the brushes move across the commutator contacts
and energize the next winding
The commutator is staggered from the rotor poles. If the connections of a DC motor
are reversed, the motor will change directions.
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
DC motor
2. Modeling
𝑇 = 𝑘𝑚 𝐼
𝑘𝑚 : motor torque constant (Nm/A)
𝑒 = 𝑘𝑣 ∗ 𝜔
𝑘𝑣 - electromotive force constant (v/rad/s)
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
DC motor
2. Modeling
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
DC motor
Brush DC Motor Speed-Torque Curves
• At a constant torque, increasing voltage on the motor terminals, the speed will go
up proportionally
• At a constant speed, increasing current on the motor terminals, the torque will go
up proportionally
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
DC motor
2. Modeling
𝜔 𝐾
𝑃𝑥 = =
𝑉 𝐽𝑠 + 𝑏 𝐿𝑠 + 𝑅 + 𝐾 2
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
DC motor
The physical parameters for our example are:
(J) moment of inertia of the rotor 0.01 kg.m^2
(b) motor viscous friction constant 0.1 N.m.s
(Kv) electromotive force constant 0.01 V/rad/sec
(Km) motor torque constant 0.01 N.m/Amp
(R) electric resistance 1 Ohm
(L) electric inductance 0.5 H
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
MATLAB representation
We can represent the above open-loop transfer function of the motor in MATLAB
by defining the parameters and transfer function as follows. Running this code in
the command window produces the output shown below.
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Building the model with Simulink
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Control Structure
• Feed-Forward approach
• Feedback Approach
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Control Structure
• Cascaded Control Structures
Cascade control involves the use of two controllers with the output of the first
controller providing the set point for the second controller, the feedback loop for one
controller nestling inside the other (Figure 13.19). Such a system can give a improved
response to disturbances.
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Control Structure
• Parallel PI Controller • Series PI Controller
k
G k p
i
G k p 1 k i
s s
• The proportional term —providing an overall control action proportional to the error
signal through the all-pass gain factor.
• The integral term —reducing steady-state errors through low-frequency compensation
by an integrator
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Control Structure
• Anti-Windup
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Control Structure
Assess the quality of control for a system at time domain:
• When apply the unit step signal to the system:
•Settling time (ts) is the time required for a response to become steady. It is
defined as the time required by the response to reach and steady within specified
range of 2 % to 5 % of its final value.
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Control Structure
• Delay time (td) is the time required to reach at 50% of its final value by a time
response signal during its first cycle of oscillation.
• Rise time (tr) is the time required to reach at final value by a under damped time
response signal during its first cycle of oscillation. If the signal is over damped, then
rise time is counted as the time required by the response to rise from 10% to 90% of its
final value.
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
DC motor
• Design Torque Controller
v LsI RI E
I 1 1/ R
P
V Ls R ( L / R ) s 1
Using parallel PI:
ki
G kp
s
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
DC motor
Design the torque control:
k
i 1/ R
k p
s Ts 1
H
1/ R
1 k p k i
s Ts 1
T pis 1 1/ R
s
Ts 1
H ki
k p
with T pi
T pis 1 1 / R
k i
1
s
Ts 1
ki
1 1
Set H G
s 1 0.001s 1
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
DC motor
Design the torque control:
k L
p
T pi
ki R
k i
5*R /
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
DC motor
Design the speed control
i
*
Assuming that torque control is designed successful. It means that i
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
DC motor
Design the speed control
k 1
k p i
k m
s Js
H close
When k 0i
1 k p k i k m
1
s Js
1
k p k m Js k k 1 J
With
p m
H close s 1
1 k pk m
1 Js k k p m
k k
Js p m
J
kp 0.01s
k m
Choosing the
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Design the speed control
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Design control DC motor
• Current Sensor
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Design control DC motor
• Position Sensor
Encoder is no absolute position
sensor
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Design control DC motor
PWM- Pulse Width Modulation
Pulse-width modulation uses a rectangular pulse
wave whose pulse width is modulated resulting in the
variation of the average value of the waveform
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Design control DC motor
• H-bridge motor driver circuit
Half-bridge – When two transistors are connected in a totem-pole arrangement as
shown below, they are said to be in a half bridge configuration.
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Design control DC motor
• H-bridge motor driver circuit
H-Bridges are named after the “H” shape created by the transistors and load, and are
typically used with brush-DC motors to accommodate bi-direction speed control, since
you can reverse the voltage on the motor terminals without needing two power supply
voltages.
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Design control DC motor
• Gate Drivers
The drive capability of these PWM outputs is not sufficient to handle the current
requirements or the isolation requirements of the transistors in the inverter.
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Design control DC motor
• Dead Time
With a half-bridge power structure, you must make sure that the bottom
transistor and the top transistor NEVER get turned on at the same time.
Doing so will result in large currents flowing through the transistor pair, as a
short is created across the DC bus. This condition is called shoot through.
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING
Design control DC motor
AETPower Electronics
– AUTOMATION Laboratory
ENGINEER TRAINING