555 Hysteretic Oscillator
Parts and Materials
- One 9V Battery
- Battery Clip (Radio Shack catalog # 270-325)
- Mini Hook Clips (soldered to Battery Clip, Radio Shack catalog # 270-372)
- U1 - 555 timer IC (Radio Shack catalog # 276-1723)
- D1 - Red light-emitting diode (Radio Shack catalog # 276-041 or equivalent)
- D2 - Green light-emitting diode (Radio Shack catalog # 276-022 or equivalent)
- R1,R2 - 1 KΩ 1/4W Resistors
- R3 - 10 Ω 1/4W Resistor
- R4 - 10 KΩ, 15-Turn Potentiometer (Radio Shack catalog # 271-343)
- C1 - 1 µF Capacitor (Radio Shack catalog 272-1434 or equivalent)
- C1 - 100 µF Capacitor (Radio Shack catalog 272-1028 or equivalent)
Lessons In Electric CircuitsVolume 1, chapter 16: Voltage and current calculations
Lessons In Electric Circuits, Volume 1, chapter 16: Solving for unknown time
Lessons In Electric Circuits, Volume 4, chapter 10: Multivibrators
Lessons in Electric Circuits, Volume 3, chapter 8: Positive Feedback
- Learn how to use a Schmitt Trigger for a simple RC Oscillator
- Learn a practical application for a RC time constant
- Learn one of several 555 timer Astable Multivibrator Configurations
Here is one way of drawing the schematic:
As mentioned in the previous experiment, there is also another convention, shown below:
This is one of the most basic RC oscillators. It is simple and very predictable. Any inverting Schmitt Trigger will work in this design, although the frequency will shift somewhat depending on the hysteresis of the gate.
This circuit has a lower end frequency of 0.7 Hertz, which means each LED will alternate and be lit for just under a second each. As you turn the potentiometer counterclockwise the frequency will increase, going well into the high end audio range. You can verify this with the Audio Detector (Vol. VI, Chapter 3, Section 12) or a piezoelectric speaker, as you continue to turn the potentiometer the pitch of the sound will rise. You can increase the frequency 100 times by replacing the capacitor with the 1µF capacitor, which will also raise the maximum frequency well into the ultrasonic range, around 70Khz.
The 555 does not go rail to rail (it doesn't quite reach the upper supply voltage) because of its output Darlington transistors, and this causes the oscillators square wave to be not quite symmetrical. Can you see this looking at the LEDs? The higher the power supply voltage, the less pronounced this asymmetry is, while it gets worse with lower power supply voltages. If the output were true rail to rail it would be a 50% square wave, which can be attained if one uses the CMOS version of the 555, such as the TLC555 (Radio Shack P/N 276-1718).
R3 was added to prevent shorting the IC output through C1, as the capacitor shorts the AC portion of the 555 output to ground. On a discharged battery it is not noticeable, but with a fresh 9V the 555 IC will get very hot. If you eliminate the resistor and adjust R4 for maximum frequency you can test this, it is not good for the battery or the 555, but they will survive a short test.
Theory of Operation
This is a hysteretic oscillator, which is a type of relaxation oscillator. It is also an astable multivibrator. It is a logical offshoot of the 555 Schmitt Trigger experiment shown earlier.
The formula to calculate the frequency with this configuration using a 555 is:
The 555 hysteresis is dependent on the supply voltage, so the frequency of the oscillator would be relatively independent of the supply voltage if it weren't for the lack of rail to rail output.
The output of a 555 either goes to ground, or relatively close to the plus voltage. This allows the resistor and capacitor to charge and discharge through the output pin. Since this is a digital type signal, the LEDs interact very little in its operation. The first pulse generated by the oscillator is a bit longer than the rest. This and the charge/discharge curves are shown in the following illustration, which also shows why the asymmetrical square wave is created.
Lessons In Electric Circuits copyright (C) 2000-2020 Tony R. Kuphaldt, under the terms and conditions of the CC BY License.
See the Design Science License (Appendix 3) for details regarding copying and distribution.
Revised January 18, 2010
Get the latest tools and tutorials, fresh from the toaster.