This is a chart for everyone, even though you should already know it.
2013-05-02 1 kHz Audio Frequency Oscillator
I was wandering around the pages of the Modern Electronic Circuits Reference Manual, a 1200 page tome by Markus, when I happened to see this odd circuit for a signal generator (see the schematic). My curiosity got the best of me, and I knew I had to build one, since I have a whole lotta these transformers waiting to be used for something.
The circuit is simple. The collector load is two of the transformer’s windings connected in series, giving an impedance of about 2400 ohms. 5VDC is supplied to the collector through these windings. The 0.047 uF capacitor (the dark green one at the far left) is across them, forming a resonant tank circuit. The two other windings are connected in series as the secondary winding. One end is grounded, and the other is connected to a 10k pot (the narrow rectangle at the right). the wiper of this is connected to a 0.047 uF DC blocking capacitor, then to the base of the transistor. As the pot is increased, the feedback gets to the point where it’s enough to maintain oscillation. The frequency is controlled by the inductance of the primary winding and the 0.047 uF capacitor across the winding.
The circuit I built was almost the same as the schematic, except for the 470k resistor, which I changed to 560k. But this value would need to be adjusted to accommodate different transistors with different current gains – just about any transistor should work in this circuit. With the 560k, the 1k emitter resistor had 0.9V across it, indicating that there was about 0.9 mA of emitter current.
The first time I powered it up and turned up the feedback pot, nothing happened. I knew that I had the feedback winding connected backwards, so it was negative, not positive. I unsoldered it and soldered it the other way around, and powered it up. When I advanced the feedback pot, I got a sine wave on the o’scope. But it was slightly distorted (more on this below). The frequency was about 1200 Hz when the pot was adjusted for minimal distortion. But it was touchy, a slight change and the sine wave would drop to zero. When it was turned up slightly, the sine wave was a full 5V peak to peak, with some distortion at the bottom. The frequency also dropped, to about 1050 Hz, but that varied depending on the pot setting.
If the circuit is used like this, it would require the feedback pot to be a user settable knob on the front panel, because the amount of feedback would need to be frequently adjusted when the temperature or supply voltage changed or the load was changed. To prevent this, the circuit should have an AGC (automatic gain control) circuit added to it to maintain the gain at just the right point with no need for manual adjustment.
The feedback pot could be adjusted so there was no distortion, but it was near the very end of its low end. I measured the resistance with the DMM and it was only 150 ohms. So the ratio was 150 ohms to 10 k, or a dividing ratio of about 67. The pot would not have been settable if it had been a linear pot. This should be changed to a 10k resistor in series with a 500 ohm pot to give a finer adjustment.
Other modifications
This circuit is just one of many configurations for an oscillator. The feedback winding could be changed to one of the two windings, and the remaining winding could be used for the output. As I said, the frequency will change with different loads. To prevent this, an attenuator should be used between the transformer and the output, with enough attenuation to make the frequency change minimal. Or another transistor could be used as a buffer stage, to isolate the output load from the transformer.
To get the circuit to put out 1000 Hz, it would need to have a larger capacitance across the primary winding. The 0.047 uF cap could be changed or additional capacitance added to it. It should probably be something close to 0.068 uF total.
In an audio oscillator, one disadvantage of using a transformer for the frequency determining element is that it is subject to electromagnetic interference, and is expensive and bulky. If you get this near a power transformer it might pick up some hum, but the core has a metal shield around it on three sides to minimize this problem.
One advantage of the transformer is that if this circuit is going to be used for the modulation of a transmitter, the DC for the transmitter can be passed through the windings with very little power loss. That is why the AM transmitters used a transformer to amplitude modulate the final RF output stage.
2013-04-30 Flashlights And What I See In The Stores
I recently came across some of the pictures that I used in early my watsonseblog, sometime around the mid 2000s. From 2000 when white LEDs were very expensive and difficult to obtain, the LED flashlights (torches) were very expensive. Generally, a LED flashlight with a few 5mm white LEDs would cost several tens of dollars U.S. One that threw a decent beam might cost 80, 100 or more dollars U.S. The manufacturers – I remember Lumileds was one of the first – started developing white LEDs that were larger than 5mm, with power up to 1 watt.
Jump ahead a decade and we can find flashlights with 9 white LEDs on the store shelf for 4, 3, or even 2 dollars, Ten years earlier, just a single one of those LEDs would have cost that much. The prices have come down a lot and the light output has increased dramatically.
One other phenomenon has come about i that time. The overseas companies, especially China and Hing Cong have been making flashlights out of solid aluminum that are inexpensive, put out a lot of light, and use only a single AA or AAA cell, so the cost of operation is low. One would think that it would be very hard to compete with this winning combination.
But the cheap 9 LED lights I see on the store shelf don’t have that one advantage; they use three AAA cells so the cost of replacing the three could be two dollars, more than half the cost of the flashlight.
2013-04-29 Fordex 300 Lumen Flashlight
The LED flashlights I bought in March from Amazon (but shipped from Hong Kong) arrived recently and I’ve had a chance to use them a bit. I paid $5.49 apiece, with free shipping, but I see that the price (as of June 8) has gone down to $4.30, These have a Cree Q5 emitter, and use a single AA cell. The lens on the front slides in and out to allow the light to be focused in a large or small pattern. They said 300 lm but I don’t believe it. The body is black, solid aluminum, with a screw on cap in the rear with the click switch.
Nowadays, the reflector has dozens of squares on it to help diffuse the light pattern. But this LED light has the additional lens and it will focus the face of the LED onto the wall, so I can see the actual pattern of the emitter. But I don’t have to pull the lens out that far; the pattern will stay somewhat diffused. I think that most people don’t like this sliding lens ‘feature’, so they are having difficulty selling them and have to drop the price. I bought them to give to some of my co-workers.
One thing I noticed when I picked this light up was how heavy it was. It has a lot of aluminum in it. The case is aluminum and it’s thick. If I wanted to go on a hike, or take a flashlight somewhere where ones gear has to be light, this is not the flashlight to use.
More about flashlights (torches) in general and what I see in the market currently in my blog here.
2013-04-28 LED Current Limiter Using Zener For Reference Voltage
This is an old schematic that I drew in Apr of 2005 using SwitcherCAD III (now LTspice). It is taken from the board I built and put in service for several years as a LED test jig for testing the lifetimes of various white LEDs. Needless to say, most of the white LEDs lasted less than a year, some only a few months before they grew very dim. The only ones to hold up well were the Nichia LEDs.
The circuit has some peculiarities. The zeners across the LEDs are there to protect the transistors from excessive base current. These zeners should be about 3.9 or 4.3 volts, low enough to conduct when the LED fails or has been removed, but high enough to not conduct when the LED is working.
Some of the parts get warm when the thing is left on all the time. It’s best if the supply is held at a constant 9V, to prevent those normally warm parts from overheating.
A Better Alternative
Nowadays, it’s much easier to make a constant current test jig like this. All you have to do is use a 5VDC regulated “wall wart” DC adapter such as the ones used to charge phones. Into it, plug the USB cable cut off from a bad keyboard. Strip off the jacket and shield and use the red and black wires. These should give you + and – 5VDC.
The typical white LED drops about 3.2 volts when there are 20 milliamps flowing through it (the actual voltage varies with temperature). Subtracting that from 5V leaves 1.8V to drop across the current limiting resistor. If you use a 100 ohm resistor, the current will be about 18 milliamps. If you want 20 milliamps, you need a 90 ohm resistor. You can put a 1k resistor across the 100 ohm resistor, and the result will be about 90 ohms, actually 90.909… ohms, which is just about 20 milliamps.
So for each LED you want to test, just add the LED (cathode or flat spot to the black or negative wire) and the resistor (or resistors) between the red wire and the remaining LED lead. A 1/2 amp adapter should be able to handle more than a dozen LEDs.
Here is the text that I wrote for this:
LED Light Output Degradation Over Time
by Watson A.Name 05 May 2 Ver. 050503B
[part of my LED light output degradation over time document -May 3, 05]I got some complaints that I should make some quantitative measurement of the LED light output. So I taped a cone of stiff heavyweight paper over the photocell of my old Weston Master light meter. I can now put the LED at the hole in the tip of the cone and it is held at a fixed distance of 70mm or 2.8″ from the meter, to give consistent readings. The cone also stops most of the ambient light from affecting the readings. And it seems there’s another benefit. The inside of the cone is white paper, so much of the light that comes from a wide angle LED is reflected back down to the photocell, giving a reading that is closer to the LED’s total output. If the cone wasn’t there, some of the light would fall outside of the meter’s photocell.
I’m getting a reading of about 65 to 70 for the cheapo Hong Kong white LEDs at 20mA, and almost 100 for the Nichia NSPW500BS white LED at 30mA. From my ongoing observations of another setup of a pair of each of the HK and Nichia LEDs all connected in series and now running for almost ten months at 20mA, the Nichias have held up well, keeping most of their brightness. But the HK leds have lost so much brightness that they are no good for illumination, and make barely acceptable indicator grade LEDs.
[Schematic description of current limiter circuit]
The circuit has two parts: a zener regulated voltage source and a single PNP transistor ‘current converter’ and resistor for each LED. The voltage source is a 5.1V 1/2W zener and 82 ohm resistor. The Zener cathode is connected to positive, and the anode to the 82 ohm resistor. The other lead of the resistor is to ground. THis combination gives a 5.1V source subtracted from the positive supply.Each of the transistor bases is connected to the 5.1V source. The emitter of each transistor is connected to one lead of a 220 ohm resistor, and the other lead of the resistor is connected to the positive supply. The 4.4V or 5.1V minus .7V is across each 220 ohm resistor, giving 20mA thru the resistor, and this current minus a fraction of a milliamp is the collector current, which is connected to the anode of the LED, and the cathode is grounded.
I originally included a 1 ohm 1/4W resistor in the collector to monitor the current, but I don’t think it’s necessary because the current can be monitored across each of the 220 ohm resistors.
Some of the variation in current is caused by the 5% resistors which are closer to 2%, but much of the variation is caused by the variation in B-E voltage drop from transistor to transistor.
2013-04-27 Low Current, High Performance Joule Thief
Paul got me thinking about the Joule Thief with low battery current. In his nineteenth JT he used the very high performance Fairchild KSD5041, same as the 2SD5041 (Japanese pinout – the center pin is the collector). He thought it was his brightest, and that could very well be. His theory is that the coil should be wound with the maximum number of turns of fine wire.
My assumptions are based on the theory that less is more, less turns allows more current and since the stored energy is equal to the current squared, the lower winding resistance means higher peak current and therefore lower losses, I decided to make up this proof of theory JT using the KSD5041 and the following parts.
Toroid core = YJ41003TC, core O.D. = 3/8″ or 9mm. This is a high permeability core, which, with very few turns, gives the optimum inductance of 100 uH or more. Both windings are 7 turns of solid wire, the primary winding 24 AWG with plastic insulation, the feedback winding 24 AWG enameled. Each winding measured 120 uH.
LED = 5mm Blue, with a 1 ohm resistor in series to measure the current.
The resistor was a 4.7k with a 50k trimpot in series. I found that a 68 pF capacitor across both resistors kept the LED lit even at the higher pot settings, and looked brighter than when I used a 1000 pF. The LED would not light at the higher setting without the capacitor. These were connected between the coil and the base lead of the transistor.
I put a 33 uF bypass capacitor across the plus and minus terminals. I built the circuit on a 1-1/2 by 2 inch piece of scrap wood. I pounded some 5/8 inch brass brads into the wood for terminals and wrapped and soldered the wire leads to them.
I set the supply at 1.5V and adjusted the trimpot to give 25 mA supply current. I measured the voltage across the 1 ohm resistor and found that there was 7.2 mA flowing through the LED.
I removed power and measured the resistors and found the total to be 14.7 k.
I calculated the efficiency at (.007A * 3.3V) / (1.5V * .025A) = 61.6 percent. This is one of the best, if not the best efficiency that I’ve measured for a conventional Joule Thief. A typical JT is around 50%, sometimes 55%. But I have seldom seen one go above 60 percent.
I can adjust the trimpot and get the LED to light from very bright at minimum setting to almost dark at maximum setting. This gives complete control over the battery current, which can make the battery last a lot longer, with some sacrifice in LED brightness.
This shows that it’s possible to get excellent efficiency and performance at low current from a Joule Thief using a high performance transistor.
Update Apr 30 – I experimented with the value of the 68 pF resistor bypass capacitor. I connected an adjustable capacitor in parallel with the 68 pF, and adjusted it until the LED current peaked at a very broad peak. I removed the capacitor and measured it and it was about 130 pF. So I found a 120 pF ceramic disk capacitor and soldered it across the 68 pF, for a total of about 190 pF. I checked the LED current and it was almost 8 mA. But the supply current had also gone up slightly. So I readjusted the trimpot to set the supply current at 25 mA. The LED current was then about 7.8 mA, so the JT circuit was slightly more efficient than it was in the original test above. The total resistance then measured 14.85k.
I’m doing a few more measurements, but the circuit has been optimized.
2013-04-24 NiMH Rechargeables Are Not All That Great
(Written by Watson “Watt Sun” Apr 24, ’05 – this was long before you could buy a cheap LED flashlight at the corner store.)
When I first started making my white LED flashlights, I made some with four cell battery holders because I couldn’t get any three cell holders. Also I bought several regular 4 AA cell flashlights and converted the lamp to three LEDs. In both cases, I made a dummy battery to replace the fourth cell, so they would run on three alkaline cells or 4.5V. The dummy battery in many cases was a piece of half inch wood dowel with screws in each end and a shorting wire between. I also made them from a 6-32 screw 2″ long with nylon washers on the ends.
Later, I got this ‘brilliant’ idea that I could save money by replacing the three AA alkalines with four Ni-MH rechargeable cells. So I removed the dummy cell and put four cheapo AA Ni-MH cells in their place. These generally cost under ten dollars for four cells, sometimes less if I bought them with a charger on sale. Many of the sets of four AAs were from my digital camera, for which I buy a new set every year or less after a dozen or two recharges. I just figure that it’s prudent to keep a fresh set or two in the camera, and use the older sets for the flashlights.
I left several of these flashlights around the house in areas like the closet or cupboards to take a quick look in the dark corners. They stay there for weeks at a time without getting used, with a minute or two use on occasion. I’ve noticed that they all suffer from the one bugaboo of rechargeables, the loss of capacity over a few months’ time. I recharge them every few months and even though they get used little, they need a recharge a few months later. And it’s plainly obvious: they put out little light when they get discharged.
I could go back to the three alkalines without any problem. This would save having to recharge them every few months. One reason I hesitate to do this is because I’ve found that the alkalines often leak when stored a long time, especially during the warm summer months. I’ve never had a Ni-MH leak, but I’m not saying it can’t happen. So I’m trading the inconvenience of having to recharge for the reduction of damage to the flashlights.
I’ve purchased some plastic battery storage boxes to hold the spare sets of AA cells once they’re recharged. I’ve had to tape a label on the front to write the recharge date, so I know when it’s time to recharge them after a few months. If I don’t, then I end up with almost dead batteries more often than not.
2013-04-23 Homemade Reed Relay Is Too Low Voltage
I made this reed relay in May, 2005 and posted it to my late great watsonseblog. I think it hasn’t been posted here yet. It closes at less than a tenth of a volt, which is way too low voltage. This means I need many more turns of much finer wire. But it was difficult to wind the 32 AWG wire, and I wouldn’t want to wind even finer wire.
2013-04-21 Triple Transistor Low Voltage Joule Thief
This Joule Thief uses three SS8050 high current transistors, each having a 333 ohm bias resistor (actually three 1k resistors in parallel). At less than a half volt, it gobbles battery current, 49 mA at 0.42 volts. That is a lot more than the typical JT, which drops to a very low current as the voltage drops below 1V. The JT will draw excessive current if the supply voltage rises above 3/4 volt. This circuit might do well on a single solar cell in broad daylight. It will work on two solar cells in series, which should give nearly a volt in broad daylight. But the solar cells should be matched to the circuit so that the current will not exceed the circuit’s maximum.
2013-04-20 Heavy Duty Joule Thief
This JT uses a larger core that is typically found in low frequency applications such as EMI and RFI suppressors. This toroid has high permeability so it doesn’t take many turns to give a high inductance for a JT. The FT87-75 can be found at Surplus Sales for a dollar or so apiece.
The 2SC2500 transistor is a high gain, high current NPN, made for circuits such as a JT. The case is larger and it can handle more power, but the transistor doesn’t get warm.





