Timers
Timers
Timers
Fall 2004
Question 1 -- Astable Multivibrator (23 points)
The circuit above has been simulated using PSpice. The output below shows traces from
probes placed at pins 2,3,6 and 7.
a. Label which trace goes with which pin (2,3,6,7) in each time period. Be sure that you
label the traces in both the on and off parts of the pulse cycle. (8 points)
20V
10V
0V
-10V
0s 100ms 200ms 300ms 400ms 500ms
V(X1:OUTPUT) V(R2:2) V(R1:2)
Time
*
b. Derive an equation which relates the duty cycle of the output to the values of R1 and
R2. Do not substitute in values for R1 and R2. (3 points)
c. Use the equation you found in b to determine the approximate duty cycle of this circuit
when: (6 points)
R1>>R2
R1=R2
R1<<R2
d. Using the output shown, on the previous page, determine the duty cycle of this circuit.
(4 points)
e. What values do R1 and C1 have to have in order to create this output, if R2 is 47K? (4
points)
Fall 2004 Solution
Question 1 -- Astable Multivibrator (23 points)
The circuit above has been simulated using PSpice. The output below shows traces from
probes placed at pins 2,3,6 and 7.
a. Label which trace goes with which pin (2,3,6,7) in each time period. Be sure that you
label the traces in both the on and off parts of the pulse cycle. (8 points)
*
b. Find an equation which relates the duty cycle of the output to the values of R1 and R2.
Do not substitute in values for R1 and R2. (3 points)
d. Using the output shown, on the previous page, determine the duty cycle of this circuit.
(4 points)
T1=389m-273m=116ms T2=450m-389m=61ms
T = 116m+61m = 177ms
A-e. What values do R1 and C1 have to have in order to create this output, if R2 is 47K?
(4 points)
B-e. What values do R1 and C1 have to have in order to create this output, if R2 is 22K?
(4 points)
a. Given the following 555 timer in Astable mode, where R1=50K, R2=10K and
C1=0.001µF.
R1
8
X1
VCC
V1 R2 2
6V 4 TRIGGER 3
5 RESET OUTPUT
6 CONTROL R3
THRESHOLD V
7
GND
C1 DISCHARGE 1Meg
C2 555D
0.01uF
1
ii) List two ways you could change components in the above circuit to double the
frequency of the output pulses. [No pots or variable resistors allowed.] Then,
demonstrate mathematically that your component changes have had the desired effect.
Method 1 (3 points):
Method 2 (3 points):
b. We have placed a sinusoidal signal on pin 5 of the above circuit.
R1
8
X1
VCC
V1 R2 2
6V 4 TRIGGER 3
5 RESET OUTPUT
6 CONTROL R3
THRESHOLD V
7
GND
V
DISCHARGE
C1 V
1Meg
V 555D
C2
0.1uF
1
V2
V
0
i) Identify the traces on the following plot which go with the output locations shown.
(The input and pins 2,3,5, and 7 of the op amp.) (2 points each) [Total 10 points]
8.0V
4.0V
0V
-4.0V
1.0ms 1.1ms 1.2ms 1.3ms 1.4ms 1.5ms 1.6ms 1.7ms 1.8ms 1.9ms 2.0ms
V(X1:OUTPUT) V(C2:1) V(X1:DISCHARGE) V(X1:THRESHOLD) V(C2:2)
Time
ii) Does the frequency of the output pulses increase or decrease as the input voltage
increases? Why? (3 points)
Spring 2004 solution
3. 555 Timer Circuit (25 points)
R1
8
X1
VCC
V1 R2 2
6V 4 TRIGGER 3
5 RESET OUTPUT
6 CONTROL R3
THRESHOLD V
7
C1 GND
DISCHARGE 1Meg
C2 555D
0.01uF
1
ii) List two ways you could change components in the above circuit to double the
frequency of the output pulses. [No pots or variable resistors allowed.] Then,
demonstrate mathematically that your component changes have had the desired effect.
Method 1 (3 points):
Half the size of C1 to 0.5 nF
f=1.44/[(R1+2R2)(C1)]=1.44/[(50E3+20E3)(5E-10)]=41,143 Hz
Method 2 (3 points):
Half the size of R1 and R2 R1=25K and R2=5K
f=1.44/[(R1+2R2)(C1)]=1.44/[(25E3+10E3)(1E-9)]=41,143 Hz
R1
8
X1
VCC
V1 R2 2
6V 4 TRIGGER 3
5 RESET OUTPUT
6 CONTROL R3
THRESHOLD V
7
GND
C1 DISCHARGE 1Meg
C2 555D
0.01uF
ii) List two ways you could change components in the above circuit to double the
frequency of the output pulses. [No pots or variable resistors allowed.] Then,
demonstrate mathematically that your component changes have had the desired effect.
Method 1 (3 points):
Method 2 (3 points):
R1
8
X1
VCC
V1 R2 2
6V 4 TRIGGER 3
5 RESET OUTPUT
6 CONTROL R3
THRESHOLD V
7
GND
V
DISCHARGE
C1 V
1Meg
V 555D
C2
0.1uF
1
V2
V
0
i) Identify the traces on the following plot which go with the output locations shown.
(The input and pins 2,3,5, and 7 of the op amp.) (2 points each) [Total 10 points]
ii) Does the frequency of the output pulses increase or decrease as the input voltage
increases? Why? (3 points)
The frequency of the output pulses decreases as the voltage level of the input increases.
This is because the capacitor has to charge for a longer time to reach the voltage level
(and subsequently discharge for a longer time). Since the length of the output pulses
depends upon the charge time of the capacitor, when the voltage level is high, the
pulses get longer. This corresponds to a decrease in frequency.
Fall 2003
Question 1 -- Astable Multivibrator
R1
8
X1
VCC
2
2
V1 U3 R2 4 TRIGGER 3
18V 5 RESET OUTPUT
TOPEN = 0 6 CONTROL
7 THRESHOLD
1
GND
DISCHARGE R3
555D 1Meg
1
C1 C2
10uF .01uF
0
The circuit above has been simulated using PSpice. Using PROBE, the voltages at pins
2, 6, 7, and 3 have been displayed.
a. Label which trace goes with which pin (2,3,6,7) in each time period. Be sure that you
label the traces in both the on and off parts of the pulse cycle. (8 points)
20V
10V
0V
-10V
0s 1.0s 2.0s 3.0s 4.0s 5.0s
V(X1:OUTPUT) V(R2:2) V(R1:2)
Time
c. What could you do to increase the duty cycle of the pulses? (4 points)
Fall 2003 Solution
Question 1 -- Astable Multivibrator
R1
8
X1
VCC
2 2
TRIGGER
V1 U3 R2 4 3
18V 5 RESET OUTPUT
TOPEN = 0 6 CONTROL
7 THRESHOLD
1
GND
DISCHARGE R3
555D 1Meg
1
C1 C2
10uF .01uF
0
The circuit above has been simulated using PSpice. Using PROBE, the voltages at pins
2, 6, 7, and 3 have been displayed.
a. Label which trace goes with which pin (2,3,6,7) in each time period. Be sure that you
label the traces in both the on and off parts of the pulse cycle. (8 points)
duty cycle = T1/T = .615 duty cycle = 61.5% (answers may vary)
b. Determine the values of R1 and R2 from the information in this plot. (4 points)
R1=51.9K ohms
c. Test A:What could you do to increase the duty cycle of the pulses? (4 points)
c. Test B:What could you do to decrease the duty cycle of the pulses? (4 points)
R1
+1
duty cycle = R 2 If R1>>R2 then the duty cycle approaches 100% -- It
R1
+2
R2
increases. If R1<<R2 then the duty cycle approaches 50% -- It decreases. Changing the
value of the capacitor will influence the frequency, but not the duty cycle.
You create the following circuit to control a motor with pulse width modulation:
a) If R1=1K ohms and R2=3K ohms, what will be the duty cycle of the output at pin 3 (8
pts)?
b) If R1=3K ohms and R2=1K ohms, what will be the duty cycle of the output at pin 3 (8
pts)?
c) Which of the scenarios above (a or b) will cause the motor to spin faster? Why? (4 pts)
Spring 2003 solution
1) 555-Timer (20 pts)
You create the following circuit to control a motor with pulse width modulation:
a) If R1=1K ohms and R2=3K ohms, what will be the duty cycle of the output at pin 3 (8
pts)?
DC = T1/(T1+T2) = 0.693(R1+R2)(C1)/0.693(R1+2R2)(C1)
= (R1+R2)/(R1+2R2)
= [(R1/R2)+1] / [(R1/R2)+2]
b) If R1=3K ohms and R2=1K ohms, what will be the duty cycle of the output at pin 3 (8
pts)?
c) Which of the scenarios above (a or b) will cause the motor to spin faster? Why? (4 pts)
b will spin faster because the time it is on relative to the time it is off is greater.
Fall 2002
1. 555 Timer (20 points)
For the 555 timer circuit in Figure 1, find the following values for
R1 = 1K, R2 = 2K, C1 = 0.1uF. Show all work.
a) (4 points) T1:
b) (4 points) T2:
d) (4 points) Frequency:
In project 2 we connected the audio input through a capacitor to the control voltage pin
(i.e., pin 5). Just as in project 2, we now remove C2 and connect a signal source through
a capacitor to pin 5. We denote the control voltage VCTL. The upper threshold then
becomes 2VS/3 +VCTL.
e) As VCTL increases, does the charge time increase, decrease or stay the same?
Why? (3 points)
f) As VCTL decreases, does the frequency of the pulses output from pin 3 increase,
decrease, or stay the same? Why? (3 points)
Extra Credit (1 point) : Using your knowledge of RC circuits and assuming the capacitor
is discharged at time 0, circle the plot corresponding to the shape of Vout.
i)
ii)
iii)
Fall 2002 Solution
(not available)
Spring 2002
1) 555 Timer (20pts)
a) What is the Frequency of the 555 set at, What is T1, T2? 9pts
c) What are the two voltage thresholds at which the 555 switches? 3pts
Spring 2002 solution
1) 555 Timer (20pts)
a) What is the Frequency of the 555 set at, What is T1, T2? 9pts
c) What are the two voltage thresholds at which the 555 switches? 3pts
R1
8
X1
VCC
2
2
V1 U3 R2 4 TRIGGER 3
18V 5 RESET OUTPUT
TOPEN = 0 6 CONTROL
1 7 THRESHOLD
GND
DISCHARGE R3
555D 1Meg
1
C1 C2
5.75uF .01uF
0
The circuit above has been simulated using PSpice. Using PROBE, the voltages at pins
2, 6, 7, and 3 have been displayed. Determine the values of resistors R1 and R2 from the
information in this plot. Also, label which trace goes with which pin in each time period.
Be sure that you label the traces in both the on and off parts of the pulse cylce.
20V
10V
0V
-10V
0s 100ms 200ms 300ms 400ms 500ms
V(X1:OUTPUT) V(R2:2) V(R1:2)
Time