section 24.4 the 555 timer. 2 rectangular waves - reminder: duty cycle – ratio of pulse width to...

19
Section 24.4 The 555 Timer

Post on 20-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

Section 24.4The 555 Timer

Page 2: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

2

• Rectangular Waves- Reminder: Duty Cycle – ratio of pulse width to cycle time

where PW = the pulse width of the circuit input T = the cycle time of the circuit input

100(%)cycleduty XT

PW

Page 3: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

Rectangular Wave• If you repeatedly switch between the battery and

the short you are effectively applying a rectangular time pulse to the RC circuit.

a) If SW = .5 PW, what is the duty cycle?

b) If SW = PW, what is the duty cycle?

Page 4: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

Rectangular Wave Response• The voltage across the capacitor will behave as

below in response to such a wave:

Page 5: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

In-Class Activity

•For the circuit above, what value of C will allow the capacitor to “fully” charge and “fully” discharge if the square wave has a period of 2ms?

•What is the time constant for this circuit?

Page 6: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

In-Class Activity

• Determine the charging time constant and the discharging time constant in the circuit below:

Page 7: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

555 Integrated Circuit Timer

Page 8: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

Inside the 555 is a voltage divider

Page 9: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

The 555 Compares the voltage at pin 6 to 2/3 Vcc

The 555 Compares the voltage at pin 2 to 1/3 Vcc

Page 10: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

Typical Wiring for a 555(astable mode)

Notice that the boxed area is just an RC circuit

Page 11: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

Current Flow During Capacitor Charging

The capacitor charges via RA and RB until vc = 2/3 Vcc

Page 12: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

Capacitor Voltage and Output Voltage

Red arrows indicate voltages during charging phases

Vcc

0

Page 13: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

Current Flow During Capacitor Discharging

The capacitor discharges through just RB until vc = 1/3 Vcc

Page 14: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

Capacitor Voltage and Output Voltage

Blue arrows indicate voltages during discharging phases

Vcc

0V

Page 15: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

Timing

CRRtc BAeVcctv )/(1)(

During the charging phase, the capacitor voltage can be written as:

CRtc BeVcctv /)(

During the discharging phase, the capacitor voltage can be written as:

Page 16: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

In-Class Activity

• How long does it take to:a) charge up from 1/3 Vcc to 2/3 Vcc?

• Hint: Calculate time to reach each voltage first then subtract

• b) discharge from 2/3 Vcc to 1/3 Vcc

Page 17: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

555 Timing• Pulse width – capacitor charging time:

PW = (RA + RB)C ln(2) sec

• Space width – capacitor discharging time:

SW = RB C ln(2) sec

• Period = Pulse width + Space width

T = PW + SW = (RA + 2RB)C ln(2) sec

• Frequency – 1/Period

f = 1/(RA + 2RB)C ln(2) = 1.443/(RA + 2RB)C Hz

Page 18: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

555 Duty Cycle

• Duty Cycle = 100 PW/T %or

%2

100

%)2ln(2

)2ln(100

BA

BA

BA

BA

RR

RR

CRR

CRRDutyCycle

Page 19: Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit

In-Class Activity

• In Multisim, build this 555 circuit, use RA = RB = 1kΩ and C = 1µF.

• 555 can be found in Place-Mixed-Timer-LM555CM

• What are the following: T, PW, SW, duty cycle, f?

• Show them in hand calculations and record what you see on Multisim oscilloscope