Joule Thief Single Cell LED Driver

© Brooke Clarke 2008

Background
Circuit Operation  - Fig 5
    Core Current 
    Current Transformer
    R1
    Q1
    Spice
Circuit Not Working
Open Loop Analysis
Transformer Winding 16T:4T
LED
Transformer Winding 5T:2T
Links

Background

I started looking into a Blocking Oscillator as one way to power a High Brightness LED from a single cell battery (Alkaline, Ni-MH or a No. 6 Dry Cell).  The early work is on the LED web page.  But it's getting more involved so am starting a new page.

Blocking Oscillators are also used in many other applications.  For example if you remove the LED and replace it with a series connected high voltage diode and capacitor and add a third winding with many turns you can generate high DC voltages like used for flash cameras.  With the 7 turn coil unit if the LED is removed the T1B pulse is about 85 volts.

Working with the Fair-Rite toroids in 43 and 73 material everything seemed to work.  But the 85 material (square B-H) did not.  To investigate why a working unit using 73 material was measured again.  I suspect that a different winding is needed with the 85 material.  Here it is.
Joule Thief Schematic
Fig 1 Schematic
Working 73 material parts:
Core: Fair-Rite 2673002402
Transistor: SA1805
LED: LTW-77HC4
R1: 1k
Supply Voltage 0.64 Volts.
Joule Thief LED driver closed loop data
Fig 2 Base Waveform closed loop
Joule Thief LED driver closed loop data
Fig 3 Waveform at junction of T1A-1 & R1

x
Fig 4 Collector waveform self oscillating
Joule Thief LED driver closed loop data
Fig 5 Emitter Current

Emitter current measurement was made by inserting a 10 Ohm resistor between the emitter and ground.  This radically changed the operating parameters of the circuit.

But you can see that the current is rising during the LED off time.

In this case the voltage across 10 ohms gets to 320 mv or
the current gets to 32 ma.

Notice that in this case the current has a linear ramp back to zero lasting about 1 us, i.e. that's the LED on time.  Then there's a delay of about 3+ us before the linear ramp up in collector current. 

Flagiusz sent me an improvement:
"You can speed up transistor switching time by adding capacitor (ca. 1nF) parallel to R1 resistor."

Circuit Operation

The LED is connected across the transistor Collector - Emitter junction so the collector voltage shown in Fig 4 is the same as the LED voltage.  Since the power supply is a single cell with a voltage between near zero and 1.5 Volts some boost is needed to light the white LED (Vf  nominal 3.4 Volts).  The boost comes from the collapsing magnetic field in T1.   Then the transistor is turned on and the collector to base voltage is very low  (32 mV in Fig 4).  The current in T1B starts ramping up until either the transistor saturates or the core saturates or maybe both are happening.  When the rate of increase of T1B current decreases that generates a voltage in T1A that turns off the transistor.

To estimate the collector current using the value of collector voltage.
The LED all by itself is measured first:
V
I
P
2.28
1
2
2.94
10
29
3.00
15
45
3.06
20
61
3.11
25
78
3.15
30
95

Core Current

For making calculations relating to the toroid the current through the coil is needed.
May 8 2008 (05/08/08) Triad CST206-3A 300T current transformer on order.  Expect by end of May.
Joule Thief circuit w/ Current Transformer
Joule Thief circuit w/ Current Transformer
Fig 6 Current Transformeer to measure Emitter (Collector) Current
Waveform Joule Thief circuit w/ Current Transformer
Fig 7 Emitter Current Waveform

Current Transformer

Using the Fair-Rite 73 material transformer used above with two windings of 59 turns each (see above) with the center tap where the power supply was connected not used.
To calibrate a single wire was passed through the center and driven by the HP 33120 with a 10 V pk-pk square wave.  Since it has a 50 Ohm internal impedance the calibration current is 200 ma.  The scope displays 171 mv so the cal factor is 1.17 Volts/Amp.

This plot is not showing a linear ramp down from the peak current but instead a step.  That may be because this is not an optimum current transformer.

The current transformer is NOT DC coupled.  The DC level will average to zero.
The vertical channel has zero volts offset and is 100 mv per division. 
During the LED off time the current through T1B and the transistor C-E junction ramps up until the transistor is turned off.  That transition is the trigger point at the left edge of the scope.
Immediately after the transition the transistor current is zero which allows setting the DC levels on the waveform.  Adding 75 mv gives the DC levels.
0 ma at the left edge and ramping up to 180 ma.

Hcore = (0.4 * PI * Turns * Current)/ (effective length of core)
Hcore  = (0.4 * 3.14 * 7 * .18) / 2.18 =0.726 Oe 

The power supply is showing a current of 74 ma.
The emitter current does not include the LED current so a seperate measurement was made of the total current which turns out to have the same peak to peak value but looks more like a sawtooth (does not have as pronounced a flat part).  A linear ramp from zero current to 180 ma has an average value of 90 ma.  But this is over 32 us and the other 5 us of the period there is no current so the average current would be 32/(32+5) * 90 = 77 ma which is pretty close to the meter reading of 74 ma.

R1

R1 sets the base drive.  Decreasing R1 increases the transistor base and collector currents and more coil current means a brighter LED.  As R1 is inecreased a point is reached where the LED is no longer on.  At this point the circuit is still oscillating but the peak voltage at the LED (same as the collector voltage) is just below the LED turn on voltage.

Q1

There are a number of special requirements for this transistor.  First off it must operate with low voltages.  Most transistors are specified to work with a collector voltage around 10 V but in order for the oscillator to start this transistor needs to have decent beta and low Vces with maybe 30 milli volts on the collector.

Depending on the circuit values the size of the reverse bias spike on the base emitter junction might kill some transistors.  A work around is to add a zener diode to protect the transistor.

If high voltages are involved the collector breakdown voltage needs some headroom.

Spice

This is the first time I've used Spice, a general-purpose circuit simulation program for nonlinear dc, nonlinear transient, and linear ac analyses.  It came from UC Berkeley.
I'm using the free version from Linear Technology called SwCADIII.  It has a a couple dozen NPN transistors built in.
After trying all the transistors (and adding the ZTX690B) here are some results along with the spice model parameters.

Note the energy stored in the inductor (that's needed to light the LED) is directly proportional to 1/2 * L * I^2.  So doubling the current does much more good than doubling the inductance.  The point where the current ramp up stops is controled by the transistor parameters.
Fig 8 Gummel-Poon schematic
Gummel-Poon Bipolar Junction Transistor model schematic
The model is a "T" configuration.  So RC gets added to RE for the collector emitter junction.
In the data below th
e ZTX1048 has RC and RE values that are 50 to 300 times lower than those for the 2N2222.  That alone may explain why it will allow more current to flow.

4 Ohms for RC + RE for the 2N2222 which limits the current to 1 Volt / 4 = 250 ma peak less than 125 ma for a ramp.

0.032 Ohms for RC + RE for the ZTX1048 plus the 0.030 in the inductor and battery total 0.062 Ohms for a current of 16 Amps peak.  So something else is the limiting factor.

By trying all the transistors some worked much better than others.
Modified Gummel-Poon BJT Parameters

 

 

Joule Thief Ic

 

 

 

 

990 ma

880 ma

300 ma

160 ma

 

name 

parameter 

units 

default 

example 

area 

ZTX1048

ZTX690B

2N4401

2N2222

IS 

transport saturation current

1.0e-16 

1.0e-15

2.6E-13

1.5E-12

26.03E-12

 

BF 

ideal maximum forward beta

100 

100 

 


 

4.292K

200

NF 

forward current emission coefficient

1.0 

 


1

 

 

VAF 

forward Early voltage

infinite 

200 

 


60

90.7

 

IKF 

corner for forward beta high current roll-off

infinite 

0.01 


 

.2061

.3

ISE 

B-E leakage saturation current

1.0e-13


4E-13

26.03E-12

 

NE 

B-E leakage emission coefficient

1.5 

 

1.38

1.37

1.244

 

BR 

ideal maximum reverse beta 

0.1 

 

300

123

1.01

3

NR 

reverse current emission coefficient

 

1

1

 

 

10 

VAR 

reverse Early voltage

infinite 

200 

 

15

14.5

 

 

11 

IKR 

corner for reverse beta high current roll-off

infinite 

0.01 

6

1

0

 

12 

ISC 

leakage saturation current

 

1.6E-12

4E-13

0

 

13 

NC 

leakage emission coefficient

1.5 

 

1.4

1.34

2

 

14 

RB 

zero bias base resistance

 

100 

0.1

0.1

10

10

15 

IRB 

current where base resistance falls halfway to its min value

infinte 

0.1 


 

 

 

16 

RBM 

minimum base resistance at high currents

 

RB 

10 


 

 

 

17 

RE 

emitter resistance

 

0.022

0.045

 

1

18 

RC 

collector resistance 

 

10 

0.010

0.027

.5

3

19 

CJE 

B-E zero-bias depletion capacitance

2pF 

559.1E-12

250E-12

24.07E-12

25E-12

20 

VJE 

B-E built-in potential

0.75 

0.6 

 

0.533

0.68

0.75

 

21 

MJE 

B-E junction exponential factor 

0.33 

0.33 

 

0.299

0.36

.3641

 

22 

TF 

ideal forward transit time 

sec 

0.1ns 

 

600E-12

0.77E-9

466.5E-9

400E-12

23 

XTF

coefficient for bias dependence of TF 

 

 


 

0

3

24 

VTF 

voltage describing VBC 
dependence of TF 

infinite 

 

 


 

0

2

25 

ITF 

high-current parameter 
for effect on TF 

 


 

0

1

26 

PTF 

excess phase at freq=1.0/(TF*2PI) Hz 

deg 

 

 


 

 

 

27 

CJC 

B-C zero-bias depletion capacitance 

2pF 

136E-12

59E-12

11.01E-12

8E-12

28 

VJC 

B-C built-in potential 

0.75 

0.5 

 

0.420

0.49

.75

 

29 

MJC 

B-C junction exponential factor 

0.33 

0.5 

 

0.267

0.36

.3763

 

30 

XCJC 

fraction of B-C depletion capacitance 
connected to internal base node 

 

 


 

 

 

31 

TR 

ideal reverse transit time 

sec 

10ns 

 

3E-9

18E-9

233.7E-9

100E-9

32 

CJS 

zero-bias collector-substrate capacitance 

2pF 


 

 

 

33 

VJS 

substrate junction built-in potential 

0.75 

 

 


 

 

 

34 

MJS 

substrate junction exponential factor 

0.5 

 


 

 

 

35 

XTB 

forward and reverse beta 
temperature exponent 

 

 


1.4

1.5

1.5

36 

EG

energy gap for temperature 
effect on IS 

eV 

1.11 

 

 


 

1.11

 

37 

XTI

temperature exponent for effect on IS 

 

 


 

3

 

38 

KF 

flicker-noise coefficient 

 

 


 

 

 

39 

AF 

flicker-noise exponent 

 

 


 

 

 

40 

FC 

coefficient for forward-bias 
depletion capacitance formula 

0.5 

 

 


 

.5

 

41 

TNOM 

Parameter measurement temperature 

27 

50 

 


 

 

 

 Agilent has a 100+ page manual on the GP model.

vicbin posted these LED models on Candle Power Forums:
.model LuxStarW1w D(Is=2.52144e-017 Rs=0.769946 N=3.33836 Cjo=100p Iave=350m Ipk=500m mfg=Luxeon type=LED)
.model LuxStarW5w D(Is=3.2946e-017 Rs=0.774809 N=6.5979 Cjo=200p Iave=700m Ipk=1000m mfg=Luxeon type=LED)

Square B-H Loop Circuit Not Working

When a Fair-Rite material type 85 (Square B-H Loop) is used with similar turns to the 73 material it does not work. 
The 85 material has an initial permeability of 900 compared to the 2500 of material 73.
Also it takes about twice the magnetic field to saturate.
I'm trying to figure out what windings need to be used to get it to work.
There are diagnostic tests that can be done.
These are more useful if you have a working unit to compare to hence the above waveforms.
9 May 2008 - I've been told that 85 material will NOT work for this application.

Transformer Winding 16T:4T

Fig 9 16T:4T Transformer

Joule Thief Transformer 16T22-4T28FR7312 May 2008 - Using the same Fair-Rite material 73 core (p/n 2673002402) and winding the primary with 22 AWG (13") you can get 16 turns on in one layer.
This gives a 280 uH coil with about 18 milliohms resistance. (the HP 4328A can not measure this because Xl/R = about 100 and spec is <3)
The secondary (base drive) winding is 4 turns of 28 AWG (7") since that's the spool I grabbed first.  32 uH and a resistance (40 milli Ohms) far lower than the fixed resistors used in series.

The idea is to use all the first layer with heavy wire to maximize the energy stored in the primary.






Fig 10 Joule Thief 16T:4T 17 mat ZTX609B Collector Voltage
Joule Theif 16T:4T 17 mat ZTX609B Col V
Fig 11 16T:4T Collector Current
Joule Theif 16T:4T 17 mat ZTX609B Col I


Base resistor optimized at 280 Ohms. 
Frequency 12 kHz LED on time 26.6 us
Collector current peak about 520 ma.  Collector voltage peak 3.47 V. 
Power supply at 1.00 Volts and the current is 135 ma.

Spice Model

Using the measured values for the transformer and base resistor and the ZTX690B model from Zetex and the 1 Watt LumiLED model from Candle Power Forums.
LED on time 82 us
LED peak current 698 ma
Collector peak current 711 ma  peak voltage 3.82 V
 JouleThief16-4SwCAD3s
Fig 12

The top window is showing in green Q1 collector current and
in blue the battery current.  The current scale is -800 to 0 to +800 ma.

The schematic is below.

The Spice simulation is in the ball park but has more error than I'd like to see.  Don't know how close it should be.














This plot below shows the collector current and the LED current.
Joule Thief Collector and LED current on same graph
The key thing to notice is the the current through the coil stays the same just after the transistor openes as just before.  That's to say that when the transistor opens the magnetic field collapses instead of expanding to maintain the same current.

In the spice model if the LED is disconnected (and the anode tied to ground) then the voltage on the collector peaks at 4 kV and  838 us wide at 2 kV.  I expect that the transistor would be smoked if the LED connection opens.

LumiLED 1 Watt Warm White

To check the LuxStarW1w Spice model here is some measured data on the LED used in this circuit.
.model LuxStarW1w D(Is=2.52144e-017 Rs=0.769946 N=3.33836 Cjo=100p Iave=350m Ipk=500m mfg=Luxeon type=LED)
I
ma
V
volts
P
mw
Vspice
volts
1
2.3 2
2.7045
2
2.59 5
2.765
5
2.65 13
2.845
10
2.70 27
2.91
20
2.78 56
2.977
40
2.88 115
3.053
80
3.01 241
3.144
160
3.17 507
3.265
320
3.38 1081
3.448
The model is not very good.

Open Loop Analysis

By opening the connection between T1A-1 and R1 the circuit stops oscillating.  A signal generator can be used to drive R1 (which is high enough impedance that the generator impedance does not matter) and the output from T1A-1 when terminated with 1 k Ohm to ground can be measured.

Transformer Winding 5T:2T

This is on a smaller core than all of the above transformers.  A Fair-Rite 2673022401, O.D. 0.2, I.D. 1/16", height 1/4".
Five turns of 26 AWG just fits and is about 84uH, but then there's no room for the secondary winding, so 28 AWG was used.

Five  turns of 28 AWG on the primary    82uH & 38 mOhm.
Two turns of 28 AWG on the secondary 11uH & 28 mOhm
Fig 13  5T-2T 28awg 73 mat 690B R1: 758 Ohms, Col volt
Joule Thief 5T-2T 28awg 73 mat Col volt
Fig 14 Collector Current
JJoule Thief 5T-2T 28awg 73mat Col Cur
Base resistor optimized at 758 Ohms. 
Frequency 45 kHz LED on time 38 us
Collector current peak about 427 ma.  Collector voltage peak 3.16 V. 
Power supply at 1.00 Volts and the current is 168 ma.
Starts at 0.46 volts.

Testing Ferrite Cores

There are a number of circuit topologies that may work, but all of them need transformers that are very special, hence this investigation of cores.
Starting with the Fair-Rite Shield Bead Kit that contains 20 different sizes of single hole cylindrical beads using 43 & 73 material.  But these are not specified for inductors or transformers.
Core Saturation test setup
The 52 turn sample is shown in the photo at left.  That's the max number of turns for a single layer.  Adding a second layer will require making a smaller diameter hand shuttle so that's where it got stopped.

Test setup is an HP 33120A Function Generator that has 50 Ohms internal source resistance and an open circuit voltage that's twice the displayed number (10 Vpp max). Drives the toroid (bead) with some number of turns then a 10 Ohm resistor to ground.  Scope connected across resistor to monitor current.

There's a small 10 Ohm resistor between the white and black clips going to the scope.

The wood disk with a Flashlight E10 socket is just holding the thumb nuts that make it very easy to connect to the fine wire.  Clips do a poor job on fine wire.
Note the inverted windings on the transformer wiring.
Also note that if T1A, R1 and Q1 are removed the LED is powered driectly  from the power supply through T1B.
When this is done the LED will not light until the voltage gets to about 3.3 volts.

The back EMF from T1B gets added to the supply voltage, it does not need to supply all the voltage.

Starting with the largest bead assuming that all the rest will need less drive.
p/n: 2643002402 Material: 43  OD: 0.38"  ID: 0.197"  Len: 0.19"
Wire: 30 AWG 2 feet long.
Start with 20 turns.
L = 170 uH R = 0.2 Ohms
Max current available is 20 V / (50 + 10) Ohms or 333 ma and the max voltage on the scope (across 10 Ohms) = 3.33 Vpp or 1.66 V 00-p.
At the instant the inductor is connected to a voltage source the current is zero and ramps up linearly with a time constant (L/R) until it gets to the max current.
But, if the core saturates the rate of change is slower causing reverse voltage at the secondary.

The corner of saturation on the 43 material is not as abrubt as on "square" materials like 85.
As the number of turns is increased the saturation effect becomes more pronounced.  As more turns are added the resistance of the wire increases reducing the current.  More turns means less amp  turns.
With 20 volts open ckt drive (60 Ohms loop resistance) after about 20 us the core is saturated.
43 material
20T
29.6 kHz
Fair-Rite Shield bead with 20 Turns
43 material
30T
17 kHz
Slow turn on, snappy turn off
Fair-Rite bead with 30 Turns
43 material
52T
4.7kHz
Fair-Rite Shield bead w/52T
73 material
57 Turns
3.2 kHz
38" 30 AWG
2.8 mH
0.36 Ohm

This material must have
a sharper corner on the B-H
currve, it really snaps up.
But when turning off it's slow.
Fair-Rite 73 material saturation testing
14 Apr 2008 - stacked two of the 73 material cores and wound about 50 turns of a wire pair , i.e. to make a 1:1 transformer to see what would be different.
With 3.6 V the LED is brightest.
But at that high a voltage the PS
is capable of driving the LED directly so
this plot does not have much meaning.
Staacked (dual) 73 ferrite cores @ 3.6V drive
Dual 73 matereial cores
1.0 volt drive
Collector waveform.

voltage at top of waveform is 2.8
at bottom is 0.0 v

timing same as base trace below.
dual 73 cores at 1 Volt drive
Dual 73 matereial cores
1.0 volt drive
base waveform.

Voltage at top of waveform is 718 mv
at bottom peak is -1.6
voltage at right corner of neg pulse is -400 mv

negative pulse is 122 us wide
positive top is 322 us wide
period is 444 us freq is 2.25 kHz
dual 73 material cores Base waveform
Dual 73 core saturation test.
Current displayed as voltage across 10 ohm.
n.c. at center tap driving  T1A-1 & T1B-2
(see Joule Thief sch above)

Drive from HP 33120A set for 1 kHz, Square
wave 20 volts pk-pk from 50 ohms.

Loop resistance a little more than 60 ohms.
top & bottom of waveform are +/- 166 ma.

Trigger at left edge of scope.
after switching from + to - the current has a linear ramp for 152 us then saturation lets the current jump to - 166 ma.  The current just prior to saturation is about 1/2 square or 0.25 volts across 10 ohms or 0.025 Amps or 25 ma.  about 100 turns so saturation is at about 2.5 Amp Turns.

The inductance readings on the HP4332 don't look stable.  Moving the meter away from the computer & monitor shows 6 mH center tap to either end, but no reading for the full winding.

Resistance: 0.462, 0.463  & 0.925 Ohms

dual 73 cores 1 kHz sq wave from 20 V 50 ohms
Wound on 4 feet about 47 turns and added to the collector side so primary is about 50 T and secondary is about 97 T.
Dual 73 mat 50T:97T Base 1 volt P.S.

The left end of the top (intersection of H&V markers) is +650 mv and the right top is +743 mv.  Width of the top is 672 us.

The left bottom is - 6.3 mv and the right bottom is about +218 mv.  Width of negative going pulse is 368 us.  total period 1.04 ms, freq 961 Hz
Dual 73 mat 50T:97T Base 1 volt
Dual 73 mat 50T:97TCollector 1 volt P.S.

The top left point is +2.89 V sloping down to +2.53 V
The bottom left is 0.0 volts ramping up to + 203 mv.
Dual 73 mat 50T:97TCollector 1 volt P.S.

Theory of Operation - Joule Thief

In the above collector waveform the LED voltage is the same as the collector voltage so the LED is on at the left edge.
Starting in 1 3/4 squares where the collector voltage is zero the LED is off and the transistor is on hard with the current in the collector inductor linearly ramping up with a limiting value of (1.0 V - Vces)/ 0.977 Ohms (resistance of the 97 turn collector inductance).  When Vc gets to about 0.2 volts the core saturates  (5 squares in or after 672 us of ramping current.  At this point the current in the core is (1.0 - 0.2) / .977 = 0.81 Amp  so it's taking 0.81A * 97T = 79 Amp Turns to saturate.  The energy in the magnetic field should be 0.5 * L * I ^2.  Just prior to saturation the value of L would be about what it was when the current was zero and a number that's hard to measure with the HP 4332A (need the HP 4395A for this).  When the core has saturated it can no longer contribute more magnetic field so the rate of increase slows down.  This change in rate is what causes a voltage to appear in the other winding and turn off the transistor.  The base voltage goes a little below zero volts.
 
The transistor has been turned off so Ic = zero.  As the magnetic filed colapses it supplies power to the LED.  Just after saturation Vc is + 2.89, but 1.0 V of that is the power supply so the voltage across the coil is 2.89 - 1.0 = 1.89 Volts. 

The LED has a good heat sink so the values measured below are fairly close to what's happening in the circuit.  The LED duty cycle is 368 us / (368 + 672) or 35% and the average current is about 37 ma for an overall average current of about 13 ma.  When the LED is driven directly from the power supply at 13 ma DC the brightness is about the same as from the Joule Thief circuit with 1.0 V P.S.

Vled
Iled
2.89
74 ma
2.53
< 1 ma
The LED is turned on using the power stored in the collector coil and when that energy runs out the LED turns off and the core comes out of saturation.

The Amp Turns for saturation are not consistent in the above data.
What happens to the magnetic field energy, coil inductance and coil current when the core saturates is not clear.


Thoughts on optimizing windings on magnetic cores

If a second layer of wire is added then the magnetic core is not filling the inside diameter of that winding and so has less effect.  So the more layers of winding that are added the lower the contribution of the core.  The most efficient toroid winding method is a single layer using the largest diameter wire that will allow the core to be covered with no more that a wire diameter exposed.

Links


JouleThief Advanced Converter by KO4BB - someone who knows a lot more about the Linear Tech software than I do.

Back to Brooke's PRC68, Products for Sale, Alphabetical List of Web pages, Flashlights & Patents, Electro-Optical GadgetsElectronics, Home pages

04001 hits since May 08 2008 page created 8 May 2008.