Top Banner
Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011
32

Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Mar 31, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Transistors: Building blocks of electronic computing

Lin ZhongELEC101, Spring 2011

Page 2: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Key concepts

• Recap of PHY102• Ubiquity of resistance and capacitance• Energy and power consumption• Inverter: the simplest computing• Transistor– Charge state

2

Page 3: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Electrons, charge, current• Electron

– Subatomic particle– ~9.109x10-28 gram

• Carbon atom ~2X10-23 grams

– Elementary charge e-

• Charge– Q– Negative vs. positive– Coulomb: 6.25x1018 e – Coulomb’s law

• Current– Flow of charge (electrons and electron holes)– I=dQ/dt

3

Page 4: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Field, potential and voltage

• Electric field– Force exerted on electric charge

• Electric potential• Voltage: difference in potential– Ground (Gnd): 0 Volt– Supply voltage: 1.2-5 Volt for modern integrated

circuits• Current flows from high potential to low– How about electrons?

4

Page 5: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Resistance and Ohm’s Law

• Opposition to the passage of a steady current– Conductor (e.g. metal) has negligible resistance– Insulator (e.g. plastic) has negligible passage– Semiconductor (silicon)

• Ohm’s Law– I=V/R or R=V/I

• R=ρ∙L/A

5

Page 6: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Resistance is everywhere

6

Page 7: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Resistor

• Axial lead resistors

7

Page 8: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Voltage divider

8

Vdd

Gnd

R2

R1

V=Vdd*R2/(R1+R2)

Page 9: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Capacitor

• Charge holder• Capacitance (capability to hold charge)– Charge per volt

9

+ -

V

C=Q/V

Page 10: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Capacitance is everywhere

10

Page 11: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Energy and power consumption

11

V

Gnd

R

P=E/T =V*I =V2/R

E=V*Q =V*I*T=V*(V/R)*T =V2*T/R

Page 12: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Energy and power consumption

12

V

Gnd

C Q=C*V+

-

Gnd

Gnd

C

E=0.5*Q*V =0.5*C*V2

Page 13: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

13

Are resistors and capacitors enough?

R=V/I C=Q/V

Computing is about “state”• Change• Communication• Storage

Page 14: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Think about a simple “computer”

14

Binary “states” for input and output: HIGH or LOW (1 or 0)

How many different computers are there?1) In=0 Out=0; In=1 Out=02) In=0 Out=1; In=1 Out=03) In=0 Out=0; In=1 Out=14) In=0 Out=1; In=1 Out=1

Can resistors and capacitors build them?

How can we build 2)?

In Out

Page 15: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

How can we build an inverter?

15

In Out

Page 16: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

16

Switch

Page 17: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Switch-based inverter

17

In

Out

Vdd

Gnd

Page 18: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Lab: LED

18

Page 19: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

19

What can one do with breadboard?

Breadboard prototype of the first IBM PC motherboard (1981)http://www.yourdictionary.com/computer/breadboard

Page 20: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Metal-Oxide-Semiconductor FET (MOSFET)

Polysilicon Aluminum

Page 21: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

MOSFET state

21

Page 22: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Controllable resistor

22

Gate control

NMOS: resistance increases as gate voltage decreases

Gate control

PMOS: resistance increases as gate voltage increase

Drain

Source

Source

Drain

Page 23: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Controllable switch

• Change a state• Communicate a state• Store a state

23

GateGate

Gate

NMOS:ON with HIGH gate

PMOS:ON with LOW gate

Page 24: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Change a state

24

Vdd

Gnd

Input

Output

Resistor

LOW

HIGH

?

Page 25: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Change a state (Contd.)

25

Vdd

Gnd

Input

Output

LOW

HIGH

Vdd

Gnd

Input

Output

ResistorLOW

HIGH

?

Resistor

Page 26: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Lab: NMOS and PMOS inverters

26

Page 27: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

What’s wrong?

27

Vdd

Gnd

Input

Output

LOW

HIGH

Vdd

Gnd

Input

Output

ResistorLOW

HIGH

Resistor

Page 28: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Complementary MOS (CMOS)

28

Page 29: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Lab: CMOS inverter

29

Page 30: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Power consumption of Inverter

• Dynamic power– Remember capacitance is everywhere

• Static power

30

Page 31: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

Delay of Inverter

• Capacitance and resistance are everywhere

31

Page 32: Transistors: Building blocks of electronic computing Lin Zhong ELEC101, Spring 2011.

A memory cell

32

Read/write

Gnd

Select