Project 3 - Rensselaer Polytechnic Institute

Download Report

Transcript Project 3 - Rensselaer Polytechnic Institute

7/21/2015
1
Electronic Instrumentation
Project 3
Build an Astable Multivibrator
Purpose





The purpose of this project is to build an Astable
multivibrator without the 555-timer chip.
This means you will have to assemble your own
components to mimic the behavior of the inside of the
chip.
You will create a PSpice simulation and a working
circuit.
You will then modify the 555 timer chip model so
that it cycles over a different part of the capacitor
charge curve.
You will modify your PSpice simulation and circuit to
demonstrate that your new model works as predicted.
November 2006
Electronic Instrumentation
2
The Animation
Animation applet
Your initial design will be a PSpice simulation and
working circuit based on this animation.
November 2006
Electronic Instrumentation
3
Block Diagram



Circuits are often represented by block diagrams that show the flow of
the signal between different functional blocks.
Above is a block diagram of the astable multivibrator.
Your circuit won’t include the Reset feature
November 2006
Electronic Instrumentation
4
Components in each Block
A
G
C
D
November 2006
B
E
F
Electronic Instrumentation
5
Components in each Block
A: R-R-C Combination
B: Voltage Divider
C: Threshold Comparator
D: Trigger Comparator
E: Reset Logic Chip (NAND gate)
F: SR Flip Flop
G: Transistor Circuit
November 2006
Electronic Instrumentation
6
How does the Astable Multivibrator work?
What makes
this circuit
generate a
string of
pulses?
This is
discussed in
detail in the
experiment 7
notes.
http://www.academy.rpi.edu/5.downloads/modules.html
November 2006
Electronic Instrumentation
7
How does the Astable Multivibrator work?
2
U 5A
SET
3
1
Q b ar
7 4 L S0 2
6
5
U 5B
4
Q
R E SE T
7 4 L S0 2
2 NOR gates can be used to create a SR Flip-Flop
Convince yourself that this works
November 2006
Electronic Instrumentation
8
Build this circuit
V5
5V
OS2
OUT
Rb
10k
-
OS1
V-
4
uA741
6
1
U3A
1
OS2
OUT
2
R3
5.6k
C1
uA741
-
220
4
D_LED
MLED81
74LS02
V+
+
V
0.1uF
3
7
V
U2
3
R11
0
OS1
V-
0
5
6
1
U3B
5
2
R2
5.6k
5
V
+
2
U1
3
V+
Ra
10k
7
R1
5.6k
0
0
4
6
74LS02
0
V
0
Q1
R9
1k
Q2N2222
0
This has all the 555 Timer features except for the reset pin.
You will build it on the protoboard
November 2006
Electronic Instrumentation
9
But model this circuit
V1
5Vdc
Q1
Q2N2222
R1
5.6k
U2
3
Rb
10k
+
0
OS2
OUT
2
R2
5.6k
V
C1
.1uF
-
OS1
V-
4
uA741
Flip-Flop
1k
7
Ra
10k
V+
0
R6
5
R11
6
1
R7
100
1k
R9 1k
R10 1k
D1
D1N4148
Q2
R8
100
Q3
0
Q2N2222
0
U4
3
+
OS2
OUT
2
uA741
-
4
Q2N2222
0
V+
R3
5.6k
7
0
OS1
V-
Vout
5
R12
D2
1k
D1N4148
R13
330
6
1
V
LED_replacement
D1N4148
0
Build circuit using MAX 473 Op-Amps
0
The demo version of Capture won’t model the circuit you
will build. It can model this one, which uses 2 transistors
to model the SR Flip-flop.
November 2006
Electronic Instrumentation
10
How does the Astable Multivibrator work?
Ton  0 . 693 ( R1  R 2 ) C 1
T off  0 . 693 ( R 2 ) C 1
These equations determine
the characteristics of your
output pulses based on the
values you choose for R1, R2
and C1.
November 2006
Electronic Instrumentation
11
How does the Astable Multivibrator work?

The frequency of the pulses and their duty cycle are
dependent upon the RC network values.
 The capacitor C charges through the series resistors R1
and R2 with a time constant of
tON = (R1 + R2)C1.

The capacitor discharges
through R2 with a time
constant of tOFF = R2C1
November 2006
Electronic Instrumentation
12
Where do the equations come from?
The equations that determine the on and off time of the output
pulses are based on the charge and discharge time of the
capacitor. The capacitor equations are:
charging
V C  V 0  1  e

November 2006
discharging
t
t



V C  V 0  e

Electronic Instrumentation
t
t



13
Relating charge equations to time
How much
time should it
take to charge
between 1/3
and 2/3 of V0?
t 

VC  2 V0  V0 1  e t 
3


1 2

Time to charge up to 2/3V0 is: t   ln 1  2
November 2006
Electronic Instrumentation
3
3
e
t
t
t  1 .0986 t sec
14
Initial Design PSpice

Build the PSpice circuit and look at the
signals at the input and output of each block
in the diagram.
• No reset circuit

Use the cursors to record voltage levels and
times
• high and low on digital signals
• important points on analog signals (like 1/3 and
2/3 of Vcc)
• on and off time of the pulses
November 2006
Electronic Instrumentation
15
Initial Design Protoboard

Build the circuit on your protoboard
• don’t forget to put power on the digital chip
• add a bypass capacitor

Record data using Mobile Studio and the
IOBoard
• Use voltage and time features of scope
• Use the cursors on the scope
• Make sure you have labeled the plots with the
numerical values recorded
November 2006
Electronic Instrumentation
16
Final Design




Modify the inside of the timer to make it
switch at different voltages.
What are the new equations for TON and TOFF?
What are the new on and off times for the
pulses in your circuit?
Modify the PSpice and the circuit on your
protoboard and show that your results are
consistent with those predicted by the
equations.
November 2006
Electronic Instrumentation
17
Project Report

Introduction
• What is the objective of the project?
• At least two relevant topics
 Theory
• Describe the function of the components in the
circuit
• How does the multivibrator work? Give details.
• Where do the equations for TON and TOFF come
from?
• What should TON and TOFF be for the circuit you
are building?
November 2006
Electronic Instrumentation
18
Project Report

Initial Design
• PSpice simulation, plots, and discussion
• Protoboard implementation, plots, and discussion
• comparison of voltages and times
• PSpice
• Protoboard
• Theory
November 2006
Electronic Instrumentation
19
Project Report

Final Design
•
•
•
•
•
Determine new threshold and trigger voltages
Come up with the new timing equations
Modify PSpice
Modify Circuit
Comparison of voltages and times
• voltage levels affected by redesign
• new on and off times
November 2006
Electronic Instrumentation
20
Project Report

Conclusion
• Is it an astable multivibrator?
• Conclusions that can be drawn from your voltage
comparisons
• Discuss the on and off times of the initial and final
design. Are they as expected?
• Sources of error
• General Conclusions
November 2006
Electronic Instrumentation
21
Appendices





Appendix A: Make you own task list.
Appendix B: References and initial design
equations.
Appendix C: PSpice plots of initial design
Appendix D: Plots of data from Mobile Studio
for initial design
Appendix E: Final design (circuit diagram,
calculations, PSpice and Mobile Studio plots)
November 2006
Electronic Instrumentation
22