op-amp oscillator. reading schematics: battery what’s this?

26
Op-Amp Oscillator

Upload: jack-beasley

Post on 23-Dec-2015

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Op-Amp Oscillator

Page 2: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Reading Schematics:

• Battery

What’s this?

Page 3: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Reading schematics

• Store electrical energy in an electric field (static electricity).

• Uses include:– Timing circuits– Coupling circuits– Energy storage– Bypass circuits– Filter circuits

Eric SchraderCC BY-SA 2.0

Page 5: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

How about this?

• Resistor

Page 6: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Operational Amplifier

• Very popular integrated circuit

Page 7: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

What’s it for?

• Just about everything! • Depends on how you hook it up

– Convert current to voltage– Convert voltage to current– Amplify voltage– Amplify current– Compare voltages

Page 8: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

This one does NOT have feedback

• No connection from output back to input

• This will amplify any difference in voltage between the inputs

Page 9: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Gain is about a zillion• Suppose Vin is greater than Vref

(this would be when the room is dark)

• Comparator multiplies difference by a zillion, wants to go to a zillion volts

• But, battery is only 9 V, so that’s as high as it can go

• Similarly, can’t go lower than 0V

Page 10: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Operation:

• If input higher than ref, output goes to 9V

• If input lower than ref, output goes to 0 V

• Nothing in between

Page 11: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Comparator

Page 12: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Positive Feedback

Page 13: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Voltage Divider

• Also called voltage divider• Ohm’s Law: V=IR• Same current flows through both resistors

Page 14: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Voltage Divider

If R1=R2, then Vout will be half of Vin.

Page 15: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Voltage Divider

If R1=R2, then Vout will be half of Vin.

Page 16: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Timing Circuit

Page 17: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

RC Circuit

Page 18: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

The breadboard

Page 19: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

The buses

Every hole along this green line is electrically connected

Page 20: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

There are four buses you can use

Page 21: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

All rows connected too

Page 22: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

To connect to your devices

• Recommend putting displays across center channel

Page 23: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

To make connections

• One end of wire is connected to the bus– And anything else

connected there

• Other end is connected to one pin

Page 24: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

Connect common anode to positive bus

Page 25: Op-Amp Oscillator. Reading Schematics: Battery What’s this?
Page 26: Op-Amp Oscillator. Reading Schematics: Battery What’s this?

• R2 = R3 = R4• Time: R1, C1

4

8

5

67