Upcoming SlideShare
×

# Timer

3,330 views

Published on

Presentation

4 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

Views
Total views
3,330
On SlideShare
0
From Embeds
0
Number of Embeds
170
Actions
Shares
0
213
0
Likes
4
Embeds 0
No embeds

No notes for slide

### Timer

1. 1. Lecture 6: 555 Timer Energy storage, Periodic Waveforms, and One of the most useful electronic devices
2. 2. Examples of Physical Periodic Motion <ul><li>Pendulum </li></ul><ul><li>Bouncing ball </li></ul><ul><li>Vibrating string (stringed instrument) </li></ul><ul><li>Circular motion (wheel) </li></ul><ul><li>Cantilever beam (tuning fork) </li></ul>
3. 3. Other Periodic Phenomena <ul><li>Daily cycle of solar energy </li></ul><ul><li>Annual cycle of solar energy </li></ul><ul><li>Daily temperature cycle </li></ul><ul><li>Annual temperature cycle </li></ul><ul><li>Monthly bank balance cycle </li></ul><ul><li>Electronic clock pulse trains </li></ul><ul><li>Line voltage and current </li></ul>
4. 4. Daily Average Temperature Albany-Troy-Schenectady <ul><li>Data (blue) covers 1995-2002 </li></ul><ul><li>Note the sinusoid (pink) fit to the data </li></ul>
5. 5. Using Matlab to Produce Audio Signal from Daily Average Temps <ul><li>Data is normalized to mimic sound </li></ul><ul><li>Data is filtered to find fundamental </li></ul>
6. 6. Matlab Window
7. 7. Periodic Pulse Train from a 555 Timer <ul><li>This circuit puts out a steady state train of pulses whose timing is determined by the values of R1, R2 and C1 </li></ul><ul><li>The formula has a small error as we will see </li></ul>
8. 8. Using Models <ul><li>Recall that you should use a model that you understand and/or know how to properly apply </li></ul><ul><li>To use it properly </li></ul><ul><ul><li>Check for plausibility of predicted values (ballpark test). Are the values in a reasonable range? </li></ul></ul><ul><ul><li>Check the rate of changes in the values (checking derivative or slope of plot). </li></ul></ul><ul><ul><li>Are the most basic things satisfied? </li></ul></ul><ul><ul><ul><li>Conservation of energy, power, current, etc. </li></ul></ul></ul><ul><li>Developing a qualitative understanding of phenomena now will help later and with simulations. </li></ul>
9. 9. Charging a Capacitor <ul><li>Capacitor C1 is charged up by current flowing through R1 </li></ul><ul><li>As the capacitor charges up, its voltage increases and the current charging it decreases, resulting in the charging rate shown </li></ul>
10. 10. Charging a Capacitor <ul><li>Capacitor Current </li></ul><ul><li>Capacitor Voltage </li></ul><ul><li>Where the time constant </li></ul>
11. 11. Charging a Capacitor <ul><li>Note that the voltage rises to a little above 6V in 1ms. </li></ul>
12. 12. Charging a Capacitor <ul><li>There is a good description of capacitor charging and its use in 555 timer circuits at http://www.uoguelph.ca/~antoon/gadgets/555/555.html </li></ul>
13. 13. 2 Minute Quiz Name___________ Section___ True or False? <ul><li>If C 1 < C 2 , for a fixed charging current, it will take longer to charge C 1 than C 2 </li></ul><ul><li>If R 1 < R 2 , for a fixed charging voltage, it will take longer to charge a given capacitor C through R 1 than R 2 </li></ul><ul><li>When a capacitor C is connected to a battery through a resistor R, the charging current will be a maximum at the moment the connection is made and decays after that. </li></ul>
14. 14. 555 Timer <ul><li>At the beginning of the cycle, C1 is charged through resistors R1 and R2. The charging time constant is </li></ul><ul><li>The voltage reaches (2/3)Vcc in a time </li></ul>
15. 15. 555 Timer <ul><li>When the voltage on the capacitor reaches (2/3)Vcc, a switch is closed at pin 7 and the capacitor is discharged to (1/3)Vcc, at which time the switch is opened and the cycle starts over </li></ul>
16. 16. 555 Timer <ul><li>The capacitor voltage cycles back and forth between (2/3)Vcc and (1/3)Vcc at times and </li></ul>
17. 17. 555 Timer <ul><li>The frequency is then given by </li></ul><ul><li>Note the error in the figure </li></ul>
18. 18. Inside the 555 <ul><li>Note the voltage divider inside the 555 made up of 3 equal 5k resistors </li></ul>
19. 19. 555 Timer <ul><li>These figures are from the lab writeup </li></ul><ul><li>Each pin has a name (function) </li></ul><ul><li>Note the divider and other components inside </li></ul>
20. 20. Astable and Monostable Multivibrators <ul><li>Astable puts out a continuous sequence of pulses </li></ul><ul><li>Monostable puts out one pulse each time the switch is connected </li></ul>
21. 21. Astable and Monostable Multivibrators <ul><li>What are they good for? </li></ul><ul><ul><li>Astable: clock, timing signal </li></ul></ul><ul><ul><li>Monostable: a clean pulse of the correct height and duration for digital system </li></ul></ul>
22. 22. Optical Transmitter Circuit Astable is used to produce carrier pulses at a frequency we cannot hear (well above 20kHz)
23. 23. Optical Receiver Circuit <ul><li>Receiver circuit for transmitter on previous slide </li></ul>
24. 24. Clapper Circuit <ul><li>Signal is detected by microphone </li></ul><ul><li>Clap is amplified by 741 op-amp </li></ul><ul><li>Ugly clap pulse triggers monostable to produce clean digital pulse </li></ul><ul><li>Counter counts clean pulses to 2 and triggers relay through the transistor </li></ul>
25. 25. 555 Timer Applications <ul><li>40 LED bicycle light with 20 LEDs flashing alternately at 4.7Hz </li></ul>
26. 26. 555 Timer Applications <ul><li>555 timer is used to produce an oscillating signal whose voltage output is increased by the transformer to a dangerous level, producing sparks. DO NOT DO THIS WITHOUT SUPERVISION </li></ul>
27. 27. Tank Circuit: A Classical Method Used to Produce an Oscillating Signal <ul><li>A Tank Circuit is a combination of a capacitor and an inductor </li></ul><ul><li>Each are energy storage devices </li></ul>
28. 28. Tank Circuit: How Does It Work? <ul><li>Charge capacitor to 10V. At this point, all of the energy is in the capacitor. </li></ul><ul><li>Disconnect voltage source and connect capacitor to inductor. </li></ul><ul><li>Charge flows as current through inductor until capacitor voltage goes to zero. Current is then maximum through the inductor and all of the energy is in the inductor. </li></ul>
29. 29. Tank Circuit <ul><li>The current in the inductor then recharges the capacitor until the cycle repeats. </li></ul><ul><li>The energy oscillates between the capacitor and the inductor. </li></ul><ul><li>Both the voltage and the current are sinusoidal. </li></ul>
30. 30. Tank Circuit Voltage and Current
31. 31. Tank Circuit <ul><li>There is a slight decay due to finite wire resistance. </li></ul><ul><li>The frequency is given by </li></ul><ul><li>(period is about 10ms) </li></ul>
32. 32. Tank Circuit <ul><li>Tank circuits are the basis of most oscillators. If such a combination is combined with an op-amp, an oscillator that produces a pure tone will result. </li></ul><ul><li>This combination can also be used to power an electromagnet. </li></ul><ul><ul><li>Charge a capacitor </li></ul></ul><ul><ul><li>Connect the capacitor to an electromagnet (inductor). A sinusoidal magnetic field will result. </li></ul></ul><ul><ul><li>The magnetic field can produce a magnetic force on magnetic materials and conductors. </li></ul></ul>
33. 33. Tank Circuit Application <ul><li>In lab 9 we will be using the circuit from a disposable camera. </li></ul><ul><li>We can also use this type of camera as a power source for an electromagnet. </li></ul>
34. 34. Disposable Camera Flash Capacitor Connected to a Small Electromagnet
35. 35. Disposable Camera Flash Experiment/Project <ul><li>A piece of a paperclip is placed part way into the electromagnet. </li></ul><ul><li>The camera capacitor is charged and then triggered to discharge through the electromagnet (coil). </li></ul><ul><li>The large magnetic field of the coil attracts the paperclip to move inside of the coil. </li></ul><ul><li>The clip passes through the coil, coasting out the other side at high speed when the current is gone. </li></ul>
36. 36. Coin Flipper and Can Crusher <ul><li>The can crusher device (not presently in operation) crushes a soda can with a magnetic field. </li></ul>
37. 37. Can Crusher and Coin Flipper <ul><li>This is an animation a student made as a graphics project a few years ago </li></ul>
38. 38. Can Crusher and Coin Flipper <ul><li>For both the can crusher and coin flipper, the coil fed by the capacitor acts as the primary of a transformer. </li></ul><ul><li>The can or the coin acts as the secondary. </li></ul><ul><li>A large current in the primary coil produces an even larger current in the can or coin (larger by the ratio of the turns in the primary coil) </li></ul><ul><li>The current in the coin or can is such that an electromagnet of the opposite polarity is formed (Lenz’ Law) producing two magnets in close proximity with similar poles facing one another. </li></ul><ul><li>The similar poles dramatically repel one another </li></ul>
39. 39. Magnetic Launchers <ul><li>Coilguns/Railguns </li></ul>
40. 40. Coilguns & Railguns <ul><li>Two types of launchers are being developed for a variety of purposes. </li></ul>
41. 41. Where Will You See This Material Again? <ul><li>Electromagnetic Fields and Forces: Fields and Waves I </li></ul><ul><li>555 Timers: Many courses including Analog Electronics and Digital Electronics </li></ul><ul><li>Oscillators: Analog electronics </li></ul><ul><li>Clocks, etc: Digital Electronics, Computer Components and Operations, and about half of the ECSE courses. </li></ul>
42. 42. Appendix
43. 43. Using Conservation Laws to Derive Fundamental Equations <ul><li>Energy stored in capacitor plus inductor </li></ul><ul><li>Total energy must be constant, thus </li></ul>
44. 44. Using Conservation Laws <ul><li>Simplifying </li></ul><ul><li>This expression will hold if </li></ul><ul><li>Noting that </li></ul>
45. 45. Using Conservation Laws <ul><li>Note that for the tank circuit </li></ul><ul><ul><li>The same current I flows through both components </li></ul></ul><ul><ul><li>The convention is that the current enters the higher voltage end of each component </li></ul></ul>I + + V C V L
46. 46. Using Conservation Laws <ul><li>Experimentally, it was also determined that the current-voltage relationship for a capacitor is </li></ul><ul><li>Experimentally, it was also determined that the current-voltage relationship for an inductor is </li></ul>
47. 47. Using Conservation Laws <ul><li>Applying the I-V relationship for a capacitor to the expressions we saw before for charging a capacitor through a resistor </li></ul><ul><li>We see that </li></ul>
48. 48. Using Conservation Laws <ul><li>Simplifying </li></ul><ul><li>Which is satisfied if </li></ul><ul><li>The latter is the relationship for a resistor, so the results work. </li></ul>