34

What can you say about this?

  • Upload
    ceana

  • View
    19

  • Download
    0

Embed Size (px)

DESCRIPTION

What can you say about this?. Kirchoff’s Law. PN-Junction. Depletion Layer. +. +. -. -. -. -. +. +. -. -. +. +. -. +. +. -. -. +. -. -. +. -. +. +. -. -. +. +. +. -. +. -. -. +. -. -. -. +. +. +. -. -. +. +. +. +. -. -. -. +. -. -. -. +. +. - PowerPoint PPT Presentation

Citation preview

Page 1: What can you say about this?
Page 2: What can you say about this?

What can you say about this?

Page 3: What can you say about this?

Kirchoff’s Law

Page 4: What can you say about this?

PN-Junction

---

---

+ ++ +

+ +

---

---

+ ++ +

+ +

---

+

+

+

---

+

++

---

+

+

+

---

+

+

+

P-region

+++

-

+++

----

-

+++

-

+++

----

-

+++

-

+++

----

-

+++

-

+++

----

-

N-region

Depletion Layer

Page 5: What can you say about this?

PN-Junction

Depletion Layer

Anode Cathode

Diode Symbol

A K

Page 6: What can you say about this?

Biasing the Diode - Forward

P-type N-type

VR

-

-

-

-

-

-

-

-

-

+

+

+

+

+

+

+

+

+

+

+

+

-

-

-

+

+

+

-

-

-

-

-

-

-

-

-

-

-

-

+

+

+

+

+

+

+

+

+

A K

Page 7: What can you say about this?

P-regionN-region

Biasing the Diode - Forward

P-region

N-region

Page 8: What can you say about this?

Characteristics

Page 9: What can you say about this?

Diodes

Will this work?

• Almost shorting the supply

• High current in the loop.

Page 10: What can you say about this?

DiodesWill this work? Approach

• Assume diode drop to be ≈ 0.7V.

• Rest of the voltage should be across resistor.

• R limits the current• Choose R value such that

diodes current is within its ratings.

• Wait there is more!

Page 11: What can you say about this?

Diodes

Caveat• The resistor power rating

should also be considered.

• Power rating of resistor should be at least max. drop (Vr) time max current (I).

Page 12: What can you say about this?

LEDs

How to drive an LED? Always remember• LED drop is ≈ 2V• LED current can be from

10mA to 20mA.• Adjust resistor value

based on intensity required.

Page 13: What can you say about this?

Interfacing LED with µC

Quiz• What is the value of

VCC?– ≈3V

• What is the voltage at PA.1? – ≈3V

• Will the circuit work? – Yes

Page 14: What can you say about this?

Alternative Arrangement

Sourcing Sinking

Page 15: What can you say about this?

Now are we there?I know there

are 52 IO on µC. I’m going to

connect 52 LEDs to the µC

Page 16: What can you say about this?

But!!

Page 17: What can you say about this?

Why didn’t that work?

What more do we

need to know?

Well! Lets Look at

the Data sheet

Page 18: What can you say about this?

µC Datasheet

2mA, 4mA and 8mA pad drive for digital communication,

up to four pads can be configuredWith an 18-mA pad drive

for high-current applications.

Page 19: What can you say about this?

What should we do?

Boost the current from the µC. Use a…

Page 20: What can you say about this?

Transistor

p

n

n

emitter

base

collector

n

p

p

Page 21: What can you say about this?

Diffusion in Transistor

-+

-+

-+

-+

-+

-+

-+

-+

-+

-+

-+

+-

+-

+-

+-

+-

+ + + + +

+-

+-

+-

+-

+-

+-

+-

+-

+-

+-

N

P

N

emitter

base

collector

+++++

+-

+-

+-

+-

+-

+-

+-

+-

+-

+-

+-

+-

+-

+-

+-

-----+++++-----

- -+

-+ +

-+

-+

+-

+-

+ +-

+--

- -- - -

Page 22: What can you say about this?

Transistor Operation

N

P

N

E

B

C

- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -

- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -

------------

Page 23: What can you say about this?

Transistor Operation …

N

P

N

E

B

C

- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -

- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -- - - - - - - - -

------------

IC

IE

IB

Page 24: What can you say about this?

Quiz

• What type of device is a transistor?– Active– Current operated

• What do you mean by current operated?– It is changes in input current that produces

changes in output current.

Page 25: What can you say about this?

Transistor Characteristics

0.00

E+00

1.00

E+00

2.00

E+00

3.00

E+00

4.00

E+00

5.00

E+00

6.00

E+00

-1.00E-02

-9.00E-03

-8.00E-03

-7.00E-03

-6.00E-03

-5.00E-03

-4.00E-03

-3.00E-03

-2.00E-03

-1.00E-03

0.00E+00

CE Output Characteristics

IB = 0uA

IB = 1uA

IB = 2uA

IB = 3uA

IB = 4uA

IB = 5uA

Collector Emitter Voltage (VCE)

Co

llec

tor

Cu

rren

t (I

C)

Cutoff

saturation

Page 26: What can you say about this?

Transistor (BC108) Data sheet

Page 27: What can you say about this?

Interfacing LED with µC revisited…

Page 28: What can you say about this?

Interfacing LED with µC revisited…

Page 29: What can you say about this?

Interfacing LED with µC revisited…

Page 30: What can you say about this?

Interfacing LED with µC revisited…

Page 31: What can you say about this?

Interfacing LED with µC revisited…

Page 32: What can you say about this?

But, How can we design this?

• WKT, transistor has to operate in saturation and cut-off regions.

• In saturation, VCE ≈ 0.2-0.4V and LED drop of 2V.

• Calculate value of RC for Ic ≈ 15mA to 20mA.

• Calculate IB with β=100.• Calculate

Rb = (Vcc-VBE) / IB

Page 33: What can you say about this?

Finally !

Page 34: What can you say about this?