Beruflich Dokumente
Kultur Dokumente
D.Giandomenico
PWM Motor Control
with IFI Robotics Victor884
Electronic Speed Controller
David Giandomenico
Lynbrook High School Robotics
FIRST Team #846
DGiandomenico@lynbrookrobotics.com
(408)343-1183
September 15, 2007
D.Giandomenico
Linear Speed Control
Simple Linear Speed Control uses a fixed voltage source
and variable resistance
of a
square wave to convey either power or data.
=
DC V
R I
V EMF
battery
avg
battery
1
v NL battery
K V ~ e
V
K EMF = e
and
R
EMF V
DC I
battery
avg
) (
=
September 15, 2007
D.Giandomenico
The Math (continued)
(
(
=
DC V
R I
V EMF
battery
avg
battery
1
DC I
I
s
avg
NL
=1
e
e
DC T
T
N
N
s
avg
NL
=1
September 15, 2007
D.Giandomenico
Steady State Speed as a
Function of Duty Cycle
DC T
T
N
N
s
avg
NL
=1
% 25 % 15 / ~
s avg
T T
For a typical system designed for good operating efficiency,
1 / s s DC T T
s avg
s avg
T T DC / 0 < s
0 =
September 15, 2007
D.Giandomenico
Steady State Motor Speed for
Linear and Switched/PWM Power
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
0% 20% 40% 60% 80% 100%
% Duty Cycle
%
N
o
L
o
a
d
S
p
e
e
d
10% Load - Linear
10% Load - PWM
20% Load - Linear
20% Load - PWM
DC T
T
N
N
s
avg
NL
=1
September 15, 2007
D.Giandomenico
Duty Cycle vs. Steady State Speed
s
avg
NL
T
T
N
N
s s 1 0
1
1
|
|
.
|
\
|
=
s s
avg
N
N
T
T
DC
September 15, 2007
D.Giandomenico
Duty Cycle vs. Speed
0.0%
10.0%
20.0%
30.0%
40.0%
50.0%
60.0%
70.0%
80.0%
90.0%
100.0%
0.0% 10.0% 20.0% 30.0% 40.0% 50.0% 60.0% 70.0% 80.0% 90.0%
% No Load Speed
D
u
t
y
C
y
c
l
e
Load=30%
Load=20%
1
1
|
|
.
|
\
|
=
s s
avg
N
N
T
T
DC
September 15, 2007
D.Giandomenico
Excess Available Torque for Linear and
PWM-Switched Speed Control
0.0%
10.0%
20.0%
30.0%
40.0%
50.0%
60.0%
70.0%
80.0%
90.0%
100.0%
0.0% 10.0% 20.0% 30.0% 40.0% 50.0% 60.0% 70.0% 80.0% 90.0%
% No Load Speed
E
x
c
e
s
s
A
v
a
i
l
a
b
l
e
T
o
r
q
u
e
(
%
T
s
)
Linear
PWM Switched
Load=20%T
s
September 15, 2007
D.Giandomenico
Solutions for adverse affects of
switched/PWM power
Robot drive system is not linearly proportional to drivers input at the
joystick.
Solution: 1) Driver compensates.
or 2) Use closed-loop control.
Poor motor speed regulation when load changes when using a switched
ESC (e.g. Victor884) to set a constant speed on a system such as a
ball conveyor, or robotic arm.
Solution: 1) Use gears or other speed reducer to pick speed.
or 2) Use closed-loop control.
Closed loop systems (controlled motor speed systems with feedback)
will either not be stable at low speeds, or sluggish at high speeds.
Solution: Reduce proportional gain when speed is low.
September 15, 2007
D.Giandomenico
PWM Motor Control
with IFI Robotics Victor884
Electronic Speed Controller
David Giandomenico
Lynbrook High School Robotics
FIRST Team #846
DGiandomenico@lynbrookrobotics.com
(408)343-1183