Submission, CMOS 555 Long Duration LED Flyback Flasher

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
Article: Ready to Proof Read
Illustrations: Finished
Experiment: Schematic Verified
.................Duration test started 08/16/09

***************
CMOS 555 LONG DURATION FLYBACK LED FLASHER


PARTS AND MATERIALS
  • Two AAA Batteries
  • Battery Clip (Radio Shack catalog # 270-398B)
  • U1, U2 - CMOS TLC555 timer IC (Radio Shack catalog # 276-1718 or equivalent)
  • Q1 – 2N3906 PNP Transistor (Radio Shack catalog #276-1604 (15 pack) or equivalent)
  • Q2 – 2N2222 NPN Transistor (Radio Shack catalog #276-1617 (15 pack) or equivalent)
  • D1 – Red light-emitting diode (Radio Shack catalog # 276-041 or equivalent)
  • D2 - Blue light-emitting diode (Radio Shack catalog # 276-311 or equivalent)
  • C1 - 1 µF Tantalum Capacitor (Radio Shack catalog # 272-1025 or equivalent)
  • C2 – 100 pF Ceramic Disc Capacitor (Radio Shack catalog # 272-123)
  • C3 - 100 µF Electrolytic Capacitor (Radio Shack catalog 272-1028 or equivalent)
  • R1 – 1.5 MΩ ¼W 5% Resistor
  • R2 – 47 KΩ ¼W 5% Resistor
  • R3,R5 – 10 KΩ ¼W 5% Resistor
  • R4 – 1 MΩ ¼W 5% Resistor
  • R6 – 100 KΩ ¼W 5% Resistor
  • R7 – 1 KΩ ¼W 5% Resistor
  • L1 – 200 µH Choke or Inductor (Exact value not critical, see end of chapter)

CROSS-REFERENCES

Lessons In Electric Circuits, Volume 1, chapter 16: Title "Inductor transient response"
Lessons In Electric Circuits, Volume 1, chapter 16: Title "Why L/R and not LR?"
Lessons In Electric Circuits, Volume 3, chapter 4: Title "The common-emitter amplifier"
Lessons In Electric Circuits, Volume 3, chapter 9: Title "Electrostatic Discharge"
Lessons In Electric Circuits, Volume 4, chapter 10: Title "Monostable multivibrators"



LEARNING OBJECTIVES
  • Learn another mode of operation for the 555
  • How to handle ESD Parts
  • How to use a transistor for a simple gate (resistor transistor inverter)
  • How inductors can convert power using inductive flyback
  • How to make an inductor


SCHEMATIC DIAGRAM

Schematic.GIF



ILLUSTRATION

Illustration.PNG



INSTRUCTIONS

NOTE! This project uses a static sensitive part, the CMOS 555. If you do not use protection as described in Volume 3, Chapter 9, ElectroStatic Discharge, you run the risk of destroying it.

This particular experiment builds on another experiment, "Commutating diode" (Volume 6, chapter 5). It is worth reviewing that section before proceeding.

This is the last of the long duration LED flasher series. They have shown how to use a CMOS 555 to flash an LED, and how to boost the voltage of the batteries to allow an LED with more voltage drop than the batteries to be used. Here we are doing the same thing, but with an inductor instead of a capacitor.

The basic concept is adapted from another invention, the Joule Thief. A joule thief is a simple transistor oscillator that also uses inductive kickback to light an white light LED from a 1½ battery, and the LED needs at least 3.6 volts to start conducting! Like the joule thief, it is possible to use 1½ volts to get this circuit to work. However, since a CMOS 555 is rated for 2 volts minimum 1½ volts is not recommended, but we can take advantage of the extreme efficiency of this circuit. If you want to learn more about the joule thief plenty of information can be found on the web.

This circuit can also drive more that 1 or 2 LEDs in series. As the numbers of LEDs go up the ability of the batteries to last a long duration goes down, as the amount of voltage the inductor can generate is somewhat dependent on battery voltage. For the purposes of this experiment two dissimilar LEDs were used to demonstrate its independence of LED voltage drop. The high intensity of the blue LED swamps the red LED, but if you look closely you will find the red LED is at its maximum brightness. You can use pretty much whatever color of LEDs you choose for this experiment.

Generally the high voltage created by inductive kickback is something to be eliminated. This circuit uses it, but if you make a mistake with the polarity of the LEDs the blue LED, which is more ESD sensitive, will likely die (this has been verified). An uncontrolled pulse from a coil resembles an ESD event. The transistor and the TLC555 can also be at risk.

The inductor in this circuit is probably the least critical part in the design. The term inductor is generic, you can also find this component called a choke or a coil. A solenoid coil would also work, since that is also a type of inductor. So would the coil from a relay. Of all the components I have used, this is probably the least critical I’ve come across. Indeed, coils are probably the most practical component you can make yourself that exists. I’ll cover how to make a coil that will work in this design after the Theory of Operation, but the part shown on the illustration is a 200µH choke I bought from a local electronics retailer.


THEORY OF OPERATION

Both capacitors and inductors store energy. Capacitors try to maintain constant voltage, whereas inductors try to maintain constant current. Both resist change to their respective aspect. This is the basis for the flyback transformer, which is a common circuit used in old CRT circuits and other uses where high voltage is needed with a minimum of fuss. When you charge a coil a magnetic field expands around it, basically it is an electromagnet, and the magnetic field is stored energy. When the current stops this magnetic field collapses, created electricity as the field crosses the wires in the coil.

This circuit uses two astable multivibrators. The first multivibrator controls the second. Both are designed for minimum current, as well as the inverter made using Q1. Both the oscillators are very similar, the first has been covered in previous experiments. The problem is it stays on, or is high, 97% of the time. On the previous circuits we used the low state to light the LED, in this case the high is what turns the second multivibrator on. Using a simple transistor inverter designed for extra low current solves this problem. This is actually a very old logic family, RTL, which is short for resistor transistor logic.

The second multivibrator oscillates at 68.6 KHz, with a square wave that is around 50%. This circuit uses the exact same principals as is shown in the Minimum Parts LED Flasher. Again, the largest practical resistors are used to minimize current, and this means a really small capacitor for C2. This high frequency square wave is used to turn Q2 on and off as a simple switch.

Figure 1 shows what happens when the Q2 is conducting, and the coil starts to charge. If Q2 were to stay on then an effective short across the batteries would result, but since this is part of an oscillator this won’t happen. Before the coil can reach it’s maximum current Q2 switches, and the switch is open.

1.GIF

Figure 2 shows Q2 when it opens, and the coil is charged. The coil tries to maintain the current, but if there is no discharge path it can not do this. If there were no discharge path is the coil would create a high voltage pulse, seeking to maintain the current that was flowing through it, and this voltage would be quite high. However, we have a couple of LEDs in the discharge path, so the coils pulse quickly goes to the voltage drop of the combined LEDs, then dumps the rest of its charge as current. As a result there is no high voltage generated, but there is a conversion to the voltage required to light the LEDs.

2.GIF

The LEDs are pulsed, and the light curve follows the discharge curve of the coil fairly closely. However, the human eye averages this light output to something we perceive as continuous light.


<continued on next post>
 
Last edited:

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
HOW TO MAKE AN INDUCTOR

PARTS AND MATERIALS

  • 26 Feet (8 Meters) of 26AWG Magnet Wire (Radio Shack catalog #278-1345 or equivalent)
  • 6/32X1.5" screw, a M4X30mm screw, or a nail of similar diameter cut down to size, steel or iron, but not stainless
  • Matching lock nut (optional)
  • Transparent Tape (optional, needed if using screws)
  • Super Glue
  • Soldering Iron, Solder

As has been mentioned before, this is not a precision part. Inductors in general can have a large variance for many applications, and this one specifically can be off on the high side a large amount. The target here is greater than 220µH.

If you are using a screw, use one layer of the transparent tape between the threads and the wire. This is to prevent the threads of the screw from cutting into the wire and shorting the coil out. If you are using a lock nut put it on the screw 1" (25mm) from the head of the screw. Starting around 1" from one end of the wire, use the glue to tack the wire on the head of the nail or screw as shown. Let the glue set.

3.GIF

Wind the wire neatly and tightly 1" the length of screw, again tacking it in place with super glue. You can use a variable speed drill to help with this, as long as you are careful. Like all power appliances, it can bite you. Hold the wire tight until the glue sets, then start winding a second layer over the first. Continue this process until all of the wire except the last 1" is used, using the glue to occasionally tack the wire down. Arrange the wire on the last layer so the second inductor lead is on the other end of the screw away from the first. Tack this down for a final time with the glue. Let dry completely.

Gently take a sharp blade and scrap the enamel off each end of the two leads. Tin the exposed copper with the soldering iron and the solder, and you now have a functional inductor that can be used in this experiment.

Here is what the one I made looked like:

4.jpg

The connections shown are being used to measure the inductance, which worked out pretty close to 220µH.
 
Last edited:

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
I have been a little sidetracked investigating inductors, for several reasons but this article as one of them. My thought was to define a home made inductor, using enameled wire and something like a #2 pencil (wood included) as a core. I would have to include a description on how to make such an inductor, which would make this a pretty sizable article, not necessarily a good thing.

So, should I include a store bought choke, and depend on the user figuring it out, or show how to make the 200µH inductor?

You'll note that is where I'm currently stopped on the Illustration.
 

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
Driving to work tonight, I realized I had made a goof on the schematic. Basically when a 555 is turned off it goes low, and with this layout the transistor would turn on and test the batteries. Been working on the fix this morning, should have it up before the end of the day.

schematic.PNG
Bad Schematic

illustration.PNG

Oh well.
 
Last edited:

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
I'm thinking strongly about describing how to build one around a dowel, such as a pencil, in a section after the Theory of Operation. The value is relatively unimportant in this project, so it is ideal for a novice. I'll also use the commercial one I bought for the purposes of the illustration.

I *might* put the formula for such a coil too, but maybe not.

My current thought for the coil itself is to use 3 layers of 100 winding each on a pencil. Something simple. If you recall I had a thread a while back on how to measure an unknown inductor, this is part of that thought process.
 

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
It appears my images are too wide, so I've been doing some redrawing. Here is the old image vs. the new.

Schematic old.GIF
Old

Schematic.GIF
New

Oh yeah, I discovered a mistake too. :p
 
Last edited:

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
OK, I'm almost done here, only some drawing and actual construction of the inductor is left. If anybody out there who uses metric parts could help me with the screw description I would appriciate it. Thanks.
 

bertus

Joined Apr 5, 2008
22,277
Hello Bill,

What diameter and lenght do you want for th screw?
We have M3 (3 mm), M4 (4 mm), M5 (5 mm), M6 (6 mm), M8 ( 8 mm), M10 (10 mm) diameter.
(there are more).
I can tell you the nearest metric size.

Greetings,
Bertus
 

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
M4 is it, but I figured there would be another number for threads. This is the closest screw to the 6/32 X 1 I came up with. Something like a M4/20 X 20mm?
 

bertus

Joined Apr 5, 2008
22,277
Hello Bill,

The lenght of the screw is in multiples of 5 mm.
So there are M4 screws of 5, 10, 15, 20, 25, 30 mm
measured from beneath the head to the end.

greetings,
Bertus
 

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
OK, so how is this described? I also assume there is a format for threads per mm?

For example, a #6/32 X 1 is a #6 screw (which is 0.136" wide, an established standard that was originally arbitrary), 32 is 32 threads per inch, and the X 1 is 1 inch long. How would the metric equivalent of M4/20 X 25 look? I doubt it is the same basic layout to describe the screw, but I could be wrong. I've had a little training in a machine shop, but we didn't do metric. So how would you describe this screw in shorthand to a hardware store?

I picked the M4 because it is 0.157 inches wide, closer to #6 than M3, which is 0.118 inches width. I'm trying to describe how to make this part in either metric or english standards. Ohms is so much simplier IMO.

By going with wire length I sidestep the whole issue of numbers of turns.

On a totally unrelated subject, I'm still chewing on how to show a noob how to measure an unknown inductance with a minimum of test gear. This means no oscilloscope. Since you can make a sine wave oscillator that is probably the route I will go, but it will have to have some power, as well as a medium high frequency, say 100Khz. It relates, but is not directly important to this project.
 
Last edited:

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
The base question is, if I tell the reader they need a M4/20X25mm screw, will they know what I'm talking about?
 

bertus

Joined Apr 5, 2008
22,277
Hello Bill,

A M4X25 is a 25 mm long M4 screw.
The head of the screw may be different when you state this.
I do not know the /20 extension.

Greetings,
Bertus

PS did you see the bridges link?
 

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
/20 was 20 threads per mm, but it isn't important. What I hear you saying is I can leave it off without any problem.

Thanks for the link to the bridge. I knew about it, and had thought about it. It has several common problems with How to measure an inductance, not one of my prouder theads, but educational.

The problem is a decent signal source (which will likely be home brewed) and a meter that has sufficient frequency response (which some DVMs do). Gotta research what most DVMs can handle as frequency response though.
 

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
Making this part was educational. I'm going to have to make some changes to the text, the wire was heavier than I thought it would be.
 

Thread Starter

Wendy

Joined Mar 24, 2008
23,421
Still going strong. A little dimmer, the blue LED is still blinding if looked a directly.

******************

Now this is funny, when it dies it does so all at once. I looked at it 2:00AM tonight and it was dead, so it died on 9/26/2009. Verified it was indeed the batteries, so this project is mostly complete except for some minor rewrites.
 
Last edited:

talking

Joined Dec 10, 2009
12
There are a number of problems with the CMOS 555 circuit as posted.
Firstly it is not efficient as the circuit does not know when the core is saturated.
Secondly it uses a lot of components. And there are other faults.
The circuit I have produced uses half the components and is much more efficient. This
circuit will also drive 2 white LEDs in series without alteration - but the LEDs
will be much dimmer.

<snip>
 
Last edited by a moderator:
Top