Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope •...

31
6.091 IAP Lecture 2 1 Lab 1 - Revisited Display signals on scope Measure the time, frequency, voltage visually and with the scope Voltage measurement* Build simple circuits on a protoboard.* Oscilloscope demo

Transcript of Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope •...

Page 1: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 1

Lab 1 - Revisited

• Display signals on scope• Measure the time, frequency, voltage

visually and with the scope• Voltage measurement*• Build simple circuits on a protoboard.*

• Oscilloscope demo

Page 2: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 2

RMS Voltage

• 0-5v square wave (50%) duty cycle has a rms value of 5 / = 3.54v

• 5v peak-peak square wave (-2.5v to +2.5v 50% duty cycle) has a rms value of 2.5v

2

Page 3: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 3

General Conventions

• Wire coding– red: positive or signal source– black: ground or common reference point

• Circuit flow, signal flow left to right• Higher voltage on top, ground negative

voltage on bottom

Page 4: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 4

Lab Hints & Cautions

• Current measure must be taken in series –not parallel.

• There are tools for most situations: wire strippers, de-soldering tool, etc..

• Power ratings of components must not be exceeded

• Polarity of electrolytic capacitors must be observed.

Page 5: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 5

Lab 1 Circuits

R

c+Vo-

R+Vo-

Page 6: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 6

Field Effect Transistors (FET)

• MOSFET: Metal Oxide Semiconductor FET• JFET: Junction FET• FETs are voltage controlled device with very

high input impedance (little current)

N channel JFET P channel JFET

Page 7: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 7

Simple Model of MOSFETD

S

G

ids +

vds

-+v gs -

Vgs < Vt

D

G

S

OFF ON

MOSFET made VSLI (microprocessors and memories) possible.

Very high input resistance

Voltage controlled device

~25 V max operatingVgs ≥ Vt

Page 8: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 8

Bipolar Junction Transistors• BJT can operate in a linear

mode (amplifier) or can operate as a digital switch.

• Current controlled device• Two families: npn and pnp.• BJT’s are current controlled

devices• NPN – 2N2222• PNP – 2N2907• VCE ~30V, 500 mw power

β ~50-300

ib

base

collector ic = β ib

ie = β ib +ibemitter

+Vce-

NPN

PNP

Page 9: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 9

BJT Switching Models

1K

100k

+15V

Off

1K

100k

+15V

On

Page 10: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 10

Light Emitting Diode

• LED’s are pn junction devices which emit light. The frequency of the light is determined by a combination of gallium, arsenic and phosphorus.

• Red, yellow and green LED’s are in the lab

• Diodes have polarity• Typical forward current 10-20ma

Page 11: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 11

Lab Exercise

• Wire up protoboard. • Turn on function

generator and using a ramp signal try to get a pulsing light

1K

100k

+15V

2N2222

Page 12: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 12

Optical Isolators

• Optical Isolators are used to transmit information optically without physical contact.

• Single package with LED and photosensor(BJT, thyristor, etc.)

• Isolation up to 4000 Vrms

Pin Configurations (Top View)

1: Anode2: Cathode3: NC4: Emitter5: Collector6: Base

1: Anode2: Cathode3: NC4: Emitter5: Collector6: Base

1

2

3

6

5

4

1

2

3

6

5

4

TLP732

TLP731

Figure by MIT OpenCourseWare.

Page 13: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 13

Proto-Board

• +5v, +15v, -15v available

• Pins within row or column connected

• Use bypass capacitors liberally

Page 14: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 14

Op-Amps

Vo

V+

V-

• Active device: V0 = A(V+-V-); note that it is the difference of the input voltage!

• A=open loop gain ~ 105 – 106

• Most applications use negative feedback.• Comparator: no feedback• Active device requires power. No shown for

simplicity.• Classics op-amps: 741, 357 ~ $0.20

Page 15: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 15

741 Circuit

22 transistors, 11 resistors, 1 capacitor, 1 diode

Reprinted with permission of National Semiconductor Corporation.

Page 16: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 16

356 JFET Input Op-amp

Reprinted with permission of National Semiconductor Corporation.

Page 17: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 17

741 Op Amp Max Ratings

Reprinted with permission of National Semiconductor Corporation.

Page 18: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 18

741 Electrical Characteristics

Reprinted with permission of National Semiconductor Corporation.

Page 19: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 19

Decibel (dB)

⎟⎟⎠

⎞⎜⎜⎝

⎛=

i

o

VVdB log20 ⎟⎟

⎞⎜⎜⎝

⎛=

i

o

PPdB log10

3 dB point = ?

log10(2)=.301

Page 20: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 20

741 Open Loop Frequency Gain

Page 21: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 21

741 vs 356 Comparison741 356

Input device BJT JFET

Input bias current 0.5uA 0.0001uA

Input resistance 0.3 MΩ 106 MΩ

Slew rate* 0.5 v/us 7.5 v/us

Gain Bandwidth product 1 Mhz 5 Mhz

Output short circuit duration Continuous continuous

Identical pin out

* comparators have >50 v/us slew rate

Page 22: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 22

Comparator Operation

Vo

V+

V-

• Supply voltage = +15v, -15V• V- = +5 V

• For Vin = +4, Vo = ?• For Vin = +5.1, Vo = ?• Comparators are design for

fast response time and high slew rate.

+5

Vin

Page 23: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 23

Lab Exercise - Comparator• Wire up a comparator on the

proto-board using 741 op-amp. Be sure to supply power and ground.

• Turn on function generator using aramp. Display both the input and the output on an oscilloscope. Describewhat is happening.

• What is the maximum output voltage (the plus rail)?

• What is the minimum output voltage (negative rail)?

Vo

V-

V+Vin

+5

1k2

3

6

+15

7

4

Page 24: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 24

Lab Exercise - Oscillator• Wire up a comparator on the

proto-board using 741 op-amp. Be sure to supply power and ground.

• R1=10k, R2=4.7k, R3=10K, C=.33uf

• Display V- and Vout on the scope. Describe what is happening. Set R3=4.7k. Predict what happens to the frequency.

Page 25: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 25

Lab Exercise – Inverting amplifier• Wire up a comparator on the

proto-board using 741 op-amp. Be sure to supply power and ground. Find the pin #

• Turn on function generator using aramp. Display both the input and the output on an oscilloscope. Howis the output related to the input?

• What is the peak output voltage?

• What is the minimum output voltage?

• What at frequency does the gain start to drop below ten?

Vo

V-

V+

Vin

10k

1k

Page 26: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 26

Negative Feedback

• Take product with 100,000 gain and reduce it to 10?

Vo

V-

V+

Vin

10k

1k

Page 27: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 27

Lab Exercise – Integrator• Op-amps are frequently used as

integrators. Wire up an integrator on the proto-board using a 741 op-amp. Be sure to supply power and ground. R1=47K, C=0.1uf

• Input a square wave to the integrator. What is the minimum frequency for for which the integrates? Display both the input and the output on an oscilloscope.

• Notice that for a square wave, the output voltage is proportional to the “on” time.

Vo

V-

V+

Vin

C

R1

Page 28: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 28

Lab Exercise - Schmitt Trigger

Vo

V+

V-

R2

R1

Vin

• Schmitt trigger have different triggers points for rising edge and falling edge.

• Can be used to reduce false triggering

• This is NOT a negative feedback circuit.

Page 29: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 29

Current Source

• Household application: battery charger (car, laptop, mp3 players)

• Differential amplifier current source

• Ramp waveform generator• High Speed DA converter

using capacitors• Simple circuit: 2N5459

Nchannel JFET

+15V

2N5459

2

1 ⎟⎟⎠

⎞⎜⎜⎝

⎛−=

P

GSDSSD V

vIi

IDSS = current with VGS=0

VP = pinchoff voltage

iD

1 2 3 54

1

00

2

3

5

4

Common Drain-Source

VDS - Drain-Source Voltage

I O -

Dra

in C

urr

ent

(mA

)

TYP V GS(OFF) = -1.8V

TA = 25o C

VGS = 0V

VGS = -0.25V

VGS = -0.5V

VGS = -0.75V

VGS = -1V

VGS = -1.25V

Figure by MIT OpenCourseWare.

Page 30: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 30

Voltage Control Current Source*

* Fall 2006 6.101 lab exercise

Vo

V-

V+Vin

+15

-15

+15+15

• Feedback forces V+=V-.

• RE=100, βF=100, Vin=5

• iE ~iC

• R1=10k, R2=4.7k, R3=10K, C=.33uf

• R1, R2 can be replaced with a pot.

RE=100

RL

R1

R2

R3 iE

ic

Page 31: Lab 1 - Revisited · 6.091 IAP Lecture 2 1 Lab 1 - Revisited • Display signals on scope • Measure the time, frequency, voltage visually and with the scope • Voltage measurement*

6.091 IAP Lecture 2 31

Lecture 2 Summary

• BJT, MOSFET• Op Amp circuits

– Comparator– Oscillator– Schmitt trigger– Current Source