### avr_pio_power_control.ppt

```ATMega128 I/O Power Control
( Solid State Switch, Relay)
KyungHee Univ.
2-0
Computer-Controlled Current Switches
BJT Transistors
전류 제어 Switch(BJT)
 NPN Transistor Model
 PNP Transistor Model
KyungHee Univ.
2-1
여러 가지 Relay 예
KyungHee Univ.
2-2
8.5.1 Introduction to Relays
제어 회로와 다른 전원으로 구동하는 Relay의 예
KyungHee Univ.
2-3
여러 가지 제어소자의 사진
EM, Solid-state, Reed Relay
KyungHee Univ.
2-4
Electromagnetic Relays 의 구조
KyungHee Univ.
2-5
Electromagnetic Relays Basics
여러 가지 Relay의 구조 예
Relay의 구조에 따른 Activation Sequence
KyungHee Univ.
2-6
Reed Relay의 구조
KyungHee Univ.
2-7
Solenoid Relay의 구조
KyungHee Univ.
2-8
Solenoid Relay 사진
KyungHee Univ.
2-9
Interfacing EM Relays, Solenoids, and DC
Motors
Current Sink 구조 예
Snubber diode
KyungHee Univ.
2-10
EM Relays와 Solenoids의 Interfacing 예
KyungHee Univ.
2-11
단 방향 DC Motors Control 회로(High Current
MOSFET) 예
KyungHee Univ.
2-12
Isolated 단 방향 DC Motors Control 회로 예
KyungHee Univ.
2-13
Isolated 단 방향 DC Motors Control 회로(High
Current MOSFET) 예
KyungHee Univ.
2-14
Isolated 단 방향 DC Motors Control 회로(High
Current MOSFET) 예
KyungHee Univ.
2-15
양 방향 H-Bridge DC Motors Control 회로 예
KyungHee Univ.
2-16
Isolated 양 방향 H-Bridge DC Motors Control
회로 예
KyungHee Univ.
2-17
Dual Full-Bridge Driver L298
 High voltage : 46V
 high current : 4A
 Dual full-bridge driver
 Accept standard TTL logic levels
 Drive inductive loads such as
• Relays, Solenoids, DC and, Stepping motors
KyungHee Univ.
2-18
L289 Block Diagram
M
KyungHee Univ.
M
2-19
L298을 이용한 DC Motor and Stepper Controller
L298N
Current
Sensing
Motor Supply
Voltage
A Out Out Vs
1 2
1
2 3
4
470uF
35V
In
1
5
Logic
Supply
Enable
A
6
In GND Vs
2
7
8 9
Current
Sensing
Enable
In
3
10
B
11
In Out
4
12 13
2
7414
1
+
-
2W06
2
1
+
4
2W06
Vs
3
104
1
2
3
4
5
6
GND Dir1 En1 Dir2 En2 Vcc
In Put Control Signal Connector
KyungHee Univ.
14
15
+Vout 2
Motor 2
-Vout2
4
Vs
Supply
Voltage
GND
B
4
7414
3
2
+Vout 1
Motor 1
-Vout1
Out
3
1
+
Vs
Supply
Voltage
GND
Solid-State Relay(Triac)
KyungHee Univ.
2-21
Stepper Motors
KyungHee Univ.
2-22
Stepper Motors Interfacing 예
KyungHee Univ.
2-23
Stepper motor control sequence 예
PORTB
Output
A
A’
B
B’
10
Activate
Deactivate
Activate
Deactivate
9
Activate
Deactivate Deactivate
5
Deactivate
Activate
Deactivate
Activate
6
Deactivate
Activate
Activate
Deactivate
KyungHee Univ.
Activate
2-24
Double Circular Linked List를 이용한
Stepper Motors 제어 Data Structure
KyungHee Univ.
2-25
L293 Driver를 이용한 Stepper Motor
Interface 예
KyungHee Univ.
2-26
```