kyunghee univ. 2-0 atmega128 i/o power control ( solid state switch, relay)

27
KyungHee Univ. 2-1 ATMega128 I/O Power Control ( Solid State Switch, Relay)

Upload: rudolph-cain

Post on 24-Dec-2015

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-1

ATMega128 I/O Power Control( Solid State Switch, Relay)

Page 2: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-2

Computer-Controlled Current SwitchesBJT Transistors

전류 제어 Switch(BJT)NPN Transistor Model

PNP Transistor Model

Page 3: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-3

여러 가지 Relay 예

Page 4: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-4

8.5.1 Introduction to Relays

제어 회로와 다른 전원으로 구동하는 Relay 의 예

Page 5: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-5

여러 가지 제어소자의 사진EM, Solid-state, Reed Relay

Page 6: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-6

Electromagnetic Relays 의 구조

Page 7: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-7

Electromagnetic Relays Basics여러 가지 Relay 의 구조 예

Relay 의 구조에 따른 Activation Sequence

Page 8: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-8

Reed Relay 의 구조

Page 9: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-9

Solenoid Relay 의 구조

Page 10: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-10

Solenoid Relay 사진

Page 11: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-11

Interfacing EM Relays, Solenoids, and DC Motors

Current Sink 구조 예

Snubber diode

Page 12: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-12

EM Relays 와 Solenoids 의 Interfacing 예

Page 13: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-13

단 방향 DC Motors Control 회로 (High Cur-rent MOSFET) 예

Page 14: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-14

Isolated 단 방향 DC Motors Control 회로 예

Page 15: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-15

Isolated 단 방향 DC Motors Control 회로(High Current MOSFET) 예

Page 16: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-16

Isolated 단 방향 DC Motors Control 회로(High Current MOSFET) 예

Page 17: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-17

양 방향 H-Bridge DC Motors Control 회로 예

Page 18: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-18

Isolated 양 방향 H-Bridge DC Motors Con-trol 회로 예

Page 19: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

Dual Full-Bridge Driver L298

High voltage : 46Vhigh current : 4ADual full-bridge driverAccept standard TTL logic levelsDrive inductive loads such as • Relays, Solenoids, DC and, Stepping motors

KyungHee Univ. 2-19

Page 20: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

L289 Block Diagram

KyungHee Univ. 2-20

M M

Page 21: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ.

L298 을 이용한 DC Motor and Stepper Controller

Current Motor Supply Logic CurrentSensing Voltage Enable Supply Enable Sensing

A Out Out Vs In A In GND Vs In B In Out Out B 1 2 1 2 3 4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

1 2 3 4 5 6 GND Dir1 En1 Dir2 En2 Vcc In Put Control Signal Connector

+Vout 1Motor 1-Vout1

+Vout 2Motor 2-Vout2

VsSupplyVoltageGND

+-

470uF35V

104

1+

1+

2

4

3 3

4

2

Vs2W062W06

L298N

274141

474143

VsSupplyVoltageGND

Page 22: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-22

Solid-State Relay(Triac)

Page 23: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-23

Stepper Motors

Page 24: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-24

Stepper Motors Interfacing 예

Page 25: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-25

Stepper motor control sequence 예

PORTBOutput

A A’ B B’

10 Activate Deacti-vate

Activate Deacti-vate

9 Activate Deacti-vate

Deacti-vate

Activate

5 Deacti-vate

Activate Deacti-vate

Activate

6 Deacti-vate

Activate Activate Deacti-vate

Page 26: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-26

Double Circular Linked List 를 이용한 Stepper Motors 제어 Data Structure

Page 27: KyungHee Univ. 2-0 ATMega128 I/O Power Control ( Solid State Switch, Relay)

KyungHee Univ. 2-27

L293 Driver 를 이용한 Stepper Motor Interface 예