Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
Lecture 16
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
DC Motor Direction Control
• Half Bridge– 2 switches and 2 power sources
• H-Bridge– 4 switches and 1 power sources
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
Half Bridge 1
Switch
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
Half Bridge 1
Switch
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
Half Bridge 2
NPN BJT
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
H-Bridge 1
Switch
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
H-Bridge 2
Switch
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
H-Bridge 3
Switch
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
H-Bridges with NPN BJT 1
Pin5 Pin6 Motor Notes
High Low forward
Low High backward
Low Low No motion
High* High* * Forbidden
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
H-Bridges with NPN BJT 2
NPN NPN
PNPPNP
TIP42: PNP
TIP120: NPN
12V
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
H-Bridge : How It Works
Set High
Set Low
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
H-Bridge : How It Works
Set High
Set Low
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
H-Bridges with Relays
Motor
+12V
Vss
1k
2N3904
2N3904Relay Relay
Relay
2N3904
Vss
Vss Vss
0.01
uF
0.01
uF
0.01
uF
Vdd Vdd
Vdd1k Relay
2N3904
Vss
0.01
uF
Vdd
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
H-Bridge ICs• LMD 18200• LMD 18201• LM 15200
• SN754410NE
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
Micro Dual Serial Motor Controller
• Using one serial output from the BASIC Stamp module, this motor controller can independently set each motor to go forward or backward at any of 127 speeds.
• To control additional motors, you can connect multiple motor controllers to the same serial line.
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
H-Bridge Experiments
StampWorks
Others
Robotics
Earth measurements
Basic A and DWhat’s micro controller
ChaptersExperiments
Lecture 17
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
Linear Differential Equation
ubtdudb
dtudb
yadtyda
dtyda
m
m
mmm
n
n
nn
n
m
n
01
1
1
01
1
1
+⋅⋅⋅++
=+⋅⋅⋅++
−
−
−
−
−
−
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
First-Order Systemn >= m, n = 1 uya
dtdya =+ 01
Applying Laplace Transform
1
1
)()( 0
+=sa
sUsY
τ=>
0
0
1
))0(()(
aAy
aa
yeyytyt
=
=
+−=
∞
∞
−
∞
τ
τ
u(t) = A for t>=0u(t) = 0 for t<0
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
Passive RC Low-Pass Filter
R
C
+
Vo
-
+
Vi
-
11
)()(
+=RCssV
sV
i
o
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
Bode Plot• Bode plot is a very
useful graphical approach is to analyze and design feedback loops.
• It consists of plotting two curves, the log of gain, and phase, as functions of the log of frequency.
)j(
dB)VVlog(20)j(Le|)j(G|)j(G
)j(V)j(V)j(G
js)s(V)s(V)s(G
i
o
)(ji
o
i
o
ωϕ
=ω
ω=ωωω=ω
ω=
=
ωϕ−
L(jω) is log of gain, unit is dBφ(jω) is phase
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
Bode Plot of Low-Pass Filter
Cutoff frequency
-3dB
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
• Cut off frequency is the frequency that the power of the output signal is attenuated to half of its input value
dBdB
PiPo
AiAo
321log20
707.021
10 −==
≈==
RC
RCRC
jGPP
RCjG
RCjjG
sVsVsG
Example
c
c
ci
o
c
i
o
11)(2
1)(1
21|)(|
21
1)(1|)(|
11)(
)()()(
:
2
22
2
=
+==>
+===
=+
=
+=
=
ω
ωω
ω
ωω
ωω
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
Passive RC High-Pass Filter
R
C +
Vo
-
+
Vi
-
1)()(
+=RCsRCs
sVsV
i
o
SMART Funded by The National Science FounSMART Funded by The National Science Foundationdation
Bode Plot of High-Pass Filter
Cutoff frequency
-3dB