Академический Документы
Профессиональный Документы
Культура Документы
G
c
(s)
Controller
V
bias
+
+
Current
Amplifier
G(s)
Magnet + Ball
H(s)
Sensor
V
actual
X
i
Magnetic Levitation System
Block Diagram
Linear Feedback Control System
to Levitate Steel Ball
about an Equilibrium Position
Corresponding to Equilibrium Gap x
0
and Equilibrium Current i
0
Mechatronics
Magnetic Levitation System
K. Craig
16
Command and Error Signal
Generation
From Equilibrium:
As i , x, & V
sensor
As i , x , & V
sensor
+
-
V
sensor
V
command
-V
error
Difference
Op-Amp
+
-
Unity Gain
Buffer Op-Amp
V
command
+15V
10 K
100 K
100 K
100 K
100 K
Voltage
Divider
Mechatronics
Magnetic Levitation System
K. Craig
17
Active
Lead Controller
control 2 1 1 4 4
error 1 2 2 3 3
V R R C s 1 R R 0.01s 1
V R R C s 1 R R 0.001s 1
( ( ( ( + +
(
= =
( ( ( (
(
+ +
V
control
-V
error
Lead Controller
+
-
Inverting
Op-Amp
-
+
1
R 100 K =
1
C 0.1 F =
2
R 100 K =
2
C 0.01 F =
51 K
1.6 K
3
R 1.6 K =
4
R 50 K =
Mechatronics
Magnetic Levitation System
K. Craig
18
+
-
V
bias
V
control
V
bias
+
V
control
Summing
Op-Amp
+
-
V
bias
with
Unity Gain
Buffer Op-Amp
V
bias
+15V
Unity Gain
Inverting
Op-Amp
-
+
10 K
10 K
10 K
10 K
5.1 K
10 K
10 K
5.1 K
Voltage
Divider
V
bias
Generation &
Summation with V
control
V
bias
= 1.77 V
At Equilibrium
Mechatronics
Magnetic Levitation System
K. Craig
19
R
1
+
-
V
control
+
V
bias
+
-
npn BJT
Transistor
pnp BJT
Transistor
R
2
R
3
Electro-
Magnet
+V
supply
diode
( )
2
em control bias
1 3
R
i V V
R R
= +
i
em
1
2
3
R 1000
R 510
R 17.8 (20W)
=
=
=
0
0
i 0.222 A
x 3.0 mm
=
=
Current Amplifier
R
em
= 32
V
supply
= 15 V
supply
sat
em 3
V
i
R R
=
+
> 9.65 V
> 9.65 V
< 9.93 mA
< 9.93 V
Mechatronics
Magnetic Levitation System
K. Craig
20
+x
i
mg
f x i C
i
x
( , ) =
F
H
I
K
2
Electromagnet
Ball (mass m)
Magnetic Levitation System
Control System Design
Linearization:
2 2 2
2 2 3 2
i i 2i 2i
C C C x C i
x x x x
| | | | | | | |
+
| | | |
\ . \ . \ . \ .
Equation of Motion:
2
2
i
mx mg C
x
| |
=
|
\ .
2 2
2 3 2
i 2i 2i
mx mg C C x C i
x x x
| | | | | |
= +
| | |
\ . \ . \ .
At Equilibrium:
2
3 2
2i 2i
mx C x C i
x x
| | | |
=
| |
\ . \ .
2
2
i
mg C
x
| |
=
|
\ .
Mechatronics
Magnetic Levitation System
K. Craig
21
+
-
V
desired
G
c
(s)
Controller
V
bias
+
+
Current
Amplifier
G(s)
Magnet + Ball
H(s)
Sensor
V
actual
X
i
2
2
i
mg C
x
| |
=
|
\ .
m 0.008
g 9.81
x 0.003
i 0.222
=
=
=
=
C 1.4332E 5 =
2
3 2
2i 2i
mx C x C i
x x
| | | |
=
| |
\ . \ .
x 6540x 88i =
( )
2
x 88
s 6540 i
=
K
amp
= 0.0287 A/V
K
sensor
4 V/mm
Mechatronics
Magnetic Levitation System
K. Craig
22
( )
( )( )
2
88
0.0287 3000
s 6540
Open-Loop
Transfer Function
4
3
R 0.01s 1 0.01s 1
4
R 0.001s 1 0.001s 1
(
+ +
( (
=
(
( (
+ +
Controller
Mechatronics
Magnetic Levitation System
K. Craig
23
Digital Implementation of Controller
The analog controller has a high bandwidth needed to
compensate for inherent instability and nonlinearities.
Digital controllers have an advantage in that the control system
is implemented in software rather than in hardware, and is
therefore much easier to modify.
However, a controller implemented digitally has the
disadvantages of quantization and limited sampling rate, which
can adversely affect system performance.
-V
error
Scaling
Circuit
0 5 V
12-bit A/D
Digital
Controller
G
c
(z)
8-bit D/A
DAC 08
Microcontroller
With
A/D Converter
Scale &
Offset
Circuitry
T
s
To
Buffer Op-Amp