Boost Converter Duty Cycle: Equations vs. Reality

On Thu, 20 Jan 2011 16:53:33 -0800 (PST), Bill Bowden
<bperryb@bowdenshobbycircuits.info> wrote:

On Jan 18, 11:18 pm, Jon Kirwan <j...@infinitefactors.org> wrote:
On Tue, 18 Jan 2011 19:16:57 -0800 (PST), Bill Bowden

bper...@bowdenshobbycircuits.info> wrote:
On Jan 17, 9:30 pm, Jon Kirwan <j...@infinitefactors.org> wrote:
On Mon, 17 Jan 2011 20:59:37 -0800 (PST), Bill Bowden

bper...@bowdenshobbycircuits.info> wrote:
On Jan 16, 7:42 am, Jon Kirwan <j...@infinitefactors.org> wrote:
On Sat, 15 Jan 2011 18:09:15 -0800 (PST), Bill Bowden

bper...@bowdenshobbycircuits.info> wrote:
On Jan 15, 12:10 am, Jon Kirwan <j...@infinitefactors.org> wrote:
On Fri, 14 Jan 2011 13:19:57 -0800 (PST), Bill Bowden

bper...@bowdenshobbycircuits.info> wrote:
On Jan 13, 8:56 pm, Bill Bowden <bper...@bowdenshobbycircuits.info
wrote:
On Jan 13, 1:15 am, Jon Kirwan <j...@infinitefactors.org> wrote:

On Wed, 12 Jan 2011 22:23:44 -0800 (PST), Figbash

peter.j.tore...@gmail.com> wrote:
I'm trying to understand the physics of a boost converter. I have a
cursory understanding of the equation (see wikipedia), and how the
duty cycle falls out as a ratio of input to output voltage (regardless
of the values of L, C, or T), so a duty cycle of 50% should produce
double the input voltage applied to the top of the coil.

Yes, the problem may be no load with excessive voltage. When I was
playing around with boost converters I discovered the output voltage
is the same as the input without any switching action, or (zero%
duty), so the switch only needed to supply the extra voltage above the
input, and not all the power, just some of it above the steady state.
So, if the input was say 9 volts and I wanted 12 volts out, I only
needed 1/3 more, or maybe 33% duty cycle. But if you wanted say 100
volts out from 3 volts in, the duty cycle would be 97%.

-Bill

Correction to the above:

The 33% should be 25%. I think the duty cycle is Vout - Vin / Vout, so
in the 9 to 12 volt circuit, it would be 12-9/12 or 25%. But it's
still a little foggy why the voltage gets excessive when the load
resistance goes too high? Maybe something to do with dropping out of
continuous mode?

-Bill

The OP is driving a circuit without closed loop feedback, as
far as I can tell and without any kind of load, either. If
there is no load, the inductor energy simply dumps onto the
cap and keeps on dumping. The voltage just rises until
something gives (or until the energy in each pulse is enough
wasted somewhere else that it doesn't add to the cap,
anymore.)

Jon

I don't see the need for feedback.

All of the energy built up into the inductor during the ON
time is delivered to the capacitor during the OFF time. The
capacitor's voltage must rise in order to store it. And it
must continue to rise with each cycle. There is no stopping
it.

The output voltage should be a
function of the input and duty cycle alone, regardless of the load
resistance.

Agreed. The only factors usually used in determining the
duty cycle are the source voltage, the switch voltage drop,
the flyback diode drop and the output voltage. As you note,
there is no output current involved.

But that is "by definition." In other words, there was an
underlying assumption made in developing that relationship
which isn't true if there is no load at all.

Can you identify it?

It should regulate across a wide spectrum with no
feedback, but seems to go bananas when the load gets close to open
circuit. Maybe it's only a completely open circuit that causes
problems?

No, the problem lies in the definitions used when developing
certain relationships; and then forgotten when considering no
load and no feedback. In short, it's changing assumptions
without noticing and then finding things don't work as
expected. Nothing mysterious, really. Just unsound logic.

There is the combination of two definitions involved. Think
about it for a moment. I'll write more, but it is better if
you figure it out for yourself or at least try, beforehand.

Jon

Without a lot of math, seems like If you consider the case of the
infinite inductance and infinite output capacitance, the inductor
current and output voltage will be constant, no peaks or valleys, just
(flat line). So, if you preset the inductor current and output voltage
for the desired load, the switch just supplies the lost energy while
the switch was open.

I have built a adjustable duty cycle converter to boost 9 volts to 14
and found the output voltage was 14 volts at 600 milliamps. And
changing the load to 2K ohms, or maybe 6 milliamps only increases the
output 1 volt to 15 volts. So, it appears to regulate quite well from
6 milliamps to 600 milliamps while the output only changes from 14 to
15. I was using a fairly large inductor of 25 millihenrys at may 6
KHz.

-Bill

okay. Did the inductor fall to zero amps each cycle? Can
you check that? It's important to know.

Let's go through some calculations. I'm going to tentatively
assume, as you don't say, that you computed a duty cycle
based upon D=1-Vin/Vout. In this case, would be D=35.7%,
yes?

f = about 6kHz
D = 0.357
ton = D/f = 59.5us ... call it 60us
toff = 107us

Ipeak = 9V*60us/25mH = 21.6mA ... call it 22mA

Power = (1/2)*L*I^2*f = .5*25mH*22mA^2*6000 = 36.3mW

max: Vout*Iout = 14*600mA = 8.4W
min: Vout*Iout = 15*6mA = 90mW

So tested from about 90mW to over 8W. All of which exceeds
the 36.3mW figure. This pretty much tells me that you were
in continuous mode.

Different rules apply here.

For testing in discontinuous mode, you need to set your
Vout*Iout to be less than your (1/2)*L*Ipeak^2*f figure. Then
I think you will see the output voltage more "mobile" and
following my earlier discussion better.

Jon

Ok, I put the thing on the bench and added a 0.2 ohm resistor in
series with the inductor to monitor current on a scope. I get about
250mA minimum and about 5 amps peak using a 22 ohm load with 9 volt
input and 13.3 volt output, or maybe 8 watts. The inductor measures
about 12 millihenrys and frequency is 8.3Khz and duty cycle is 50
microseconds on and 70 microseconds off.

So this is definitely continuous mode, as the ampere-turns
doesn't go to zero.  In continuous mode, I believe V_out is
indeed determined by the input voltage and the duty cycle,
V_in/(1-Duty).  So 9/(1-50us/120us)=15.4V.  But you are
losing power in the diode, the switch (bjt?), and your
inserted resistor, as well.  With 5A peak, I'm not at all
surprised that the output voltage is 2V less than 100%
efficiency might suggest.

Next test was with a 1K load
and 27 ohm series resistor which indicated minimum current was about
10mA and peak was about 45mA with a much more linear waveform. Output
voltage increased to 15.2 with the 27 ohm resistor removed.

Which is still continuous mode (10mA minimum tells you this)
and note that with much lower peak currents (and attending
losses) the output voltage is nearly what I calculated above
with perfect efficiency.  Sounds correct.  (Again, I'm
assuming here that you didn't change the 50us on/70us off
timing.)

The
inductor current appears to approach zero with about a 2K load and the
voltage increases to around 24 volts with a 8.2K load. So, it starts
to go out of regulation near the 2K point, and the output voltage
rises as the load resistance is increased beyond that.

  V_out = 24V
  I_out = 24/8200 or about 2.9mA
  P_out = 24 * 2.9mA = 70mW

The power stored in the inductor during the 50us period is
found as:

 f = 8.3kHz
 D = 50us/120us = .41666
 ton = 50us
 toff = 70us
 L = 12mH
 Ipeak = 9V*50us/12mH = 37.5mA
 Power = (1/2)*L*I^2*f = .5*12mH*37.5mA^2*8300 = 70mW

This is what I don't understand. Your example below says the peak
current is determined from the inductor value and time and applied
voltage, or 37.5mA in this case. This is happening while the load is
completely switched out of the circuit and should have no effect.
However, in the case of the 22 ohm load and 8 watt situation, the peak
current will reach 5 amps, which doesn't agree with what you have
below. Can you clarify?

f = 8.3kHz
D = 50us/120us = .41666
ton = 50us
toff = 70us
L = 12mH
Ipeak = 9V*50us/12mH = 37.5mA
Power = (1/2)*L*I^2*f = .5*12mH*37.5mA^2*8300 = 70mW
I can try to clarify. Of course, one must always keep in
mind I have had zero training, too. So I love it when you
press on, as it challenges me and I need that. Thanks. That
said, here's my shot at answering your question.

Imagine the case of discontinuous mode (tentatively, let's
think about it as applying when the load is very light.)
There are three periods of time in the fixed-frequency case
and I'll make my own choice about their order:

(1) switch-ON, inductor magnetic field rising from 0 to X
(2) switch-OFF, magnetic field collapsing back to 0
(3) switch-OFF, dead time from 0 ampere-turns till next
cycle starts again.

I'll call these SON, SOFF1, and SOFF2, respectively.

As the load is increased, more current is drawn. During
SOFF1, there is current flowing via the battery and inductor
to charge the cap. But during SOFF2 and the following SON,
the storage cap supplies the current. Which means the
voltage droops during this time.

When the next SOFF1 period starts after that droop, the
voltage across the inductor that is required in order to
freewheel the diode into conduction is lower. This lower
voltage implies, from dt=L*dI/V, that dt lengthens. (dI is
taken as I_peak in discontinuous mode and is entirely
determined by the duration of the SON period, given a fixed
inductor and supply voltage.) This means that more time is
required for the inductor to relax. Which means SOFF1
lengthens in duration, while SOFF2 shortens.

Eventually, as the load continues to increase and the droop
also increases, SOFF2 gets zero time and SOFF1 occupies the
entire remaining period. This is the moment of switching
between discontinuous and continuous mode. The load
increases and at some point you move from one into the other
domain.

Okay. So let's assume we have a basic feel for discontinuous
mode and move on to continuous mode as an extension. What
happens as the load continues to grow? ... ??

As this point is crossed, the droop goes still higher and dt
grows beyond the time you've allowed. Remember that we are
talking about a fixed period of time and fixed duty cycle,
for now. So when there is no longer enough time for the
inductor to relax to zero ampere-turns, the current doesn't
reach zero (obviously) and the following SON period will
start with a non-zero inductor current. Since the SON period
is fixed (by definition in this example), the dI=V*dt/L will
still be the same but will "build up" upon the baseline
current left by the prior cycle. So I_peak will not be
entirely determined now by the SON period of time and I_peak
will be higher than used in computations for discontinuous
mode.

Another way of writing this: I_peak is entirely computable,
regardless of load, by knowing the inductor, source voltage,
and SON time period in discontinuous mode. You can figure
that out without knowing the load, a priori. What changes
with varying load, in discontinuous mode, is the relative
apportioning of time between SOFF1 and SOFF2. However, in
continuous mode SOFF2 doesn't exist and SOFF1 time is
entirely fixed by your fixed frequency and duty cycle. (Let's
just call it SOFF in continuous mode.) Since SOFF time don't
change on load variations, obviously, something else has to
give. What gives is I_peak. In continuous mode, I_peak
rises with rising load. The SOFF period simply sets how much
of I_peak is allowed to relax.

Since current is flowing all of the time in continuous mode
and since that current is also on average higher and always
flowing during SOFF onto the cap, there is more charge
transfer to the cap during SOFF and therefore a higher load
is supportable.

In all cases, discontinuous and continuous mode alike, the
V_out*I_out must equal V_in*I_in (ignoring inefficiency for
simplicity's sake.)

In discontinuous mode, I_peak is known (determined.) Current
linearly rises from zero to I_peak during SON, falls linearly
from I_peak to zero during SOFF1, and does nothing at all
during SOFF1.

In continuous mode, I_peak isn't known (it depends upon the
load.) Current rises from some non-zero floor value to
I_peak during SON, falls linearly from there back down to the
non-zero floor during SOFF, where the difference between
I_peak and the floor value is the same as I_peak would have
been computed for discontinuous mode.

That's the qualitative angle. I've stayed clear of writing
equations and expressions in this post and instead focused on
'understanding' things with broad brush strokes. (I did
equations before and it left questions.)

.....

So let's take the discontinuous case and develop some
quantitative descriptions from the general understanding for
a situation where the load resistor, input voltage, duty
cycle, frequency, and inductor values are known but where we
want to know the output voltage and current that results.

Let's use your last tentative situation which I said ran in
discontinuous mode:

V_in = 9 V
f = 8300 Hz
L = 12 mH
R = 8200 Ohms
t_son= 50us

Add to the above, the following guesses:

V_sw = 0.1 V (BJT Vce drop, when on)
V_di = 0.5 V (freewheeling diode drop)
R_L = 0.4 Ohms (inductor resistance)

So,

duty = 50us*8300 Hz = 41.5%

Since in discontinuous mode, the inductor starts out by
entering SON with the ampere-turns being zero. So during
SON, we can compute:

I_peak = (V_in-Vsw)*t_son/L = (9-.1)*50us/12mH = 37mA

We want to know average values for V_out and I_out and I_in.

First off, let's write out the power equation:

P_out = P_in - (P_di + P_sw + P_L) = P_in

This illustrates that there are some losses. P_di is the
freewheeling diode loss, P_sw is the BJT switch loss, and P_L
is the inductor loss. Before continuing, let's get a bead on
them. A maximum figure would bound the problem. Let's see
where that takes us.

P_di = (1/2) * V_di * I_peak * t_soff1 * f = 5.4mW
P_sw = (1/2) * V_sw * I_peak * t_son * f = 0.77mW
P_L = (1/3) * R_L * I_peak^2 * t_son * f +
(1/3) * R_L * I_peak^2 * t_soff1 * f = 1.83mW

I used the worst possible value for t_soff1, which is 120.5us
- 50us, or 70.5us. In no case can it take longer than that,
if we stay in discontinuous mode. So, roughly speaking, 8mW
is the worst case loss. And the diode appears to be the main
culprit. The diode drop also factors in computing t_soff1.
So we can't entirely ignore it there, either.

Anyway, now that we have a worst case idea about losses,
let's use the figure 5mW for computations and label it
P_loss:

P_loss = 5mW
P_out = P_in - 5mW
V_out^2 / R + 5mW = V_in * I_in

So what is I_in, on average?

I_in = (1/2) * I_peak * (t_son + t_soff1) * f

That accounts for the rise during SON and the fall during
SOFF1. (It is zero during SOFF2.)

The problem is in figuring out t_soff1. It depends upon the
output voltage. But without controlling the duty cycle, you
don't know what V_out is, as it will depend upon t_soff1.

You can get a bead on it, though. From the above, we can
combine and re-arrange:

V_out = SQRT(R*(V_in*I_peak*(t_son+t_soff1)*f-10mW)/2)

and include,

t_soff1 = I_peak * L / (V_out - V_di - V_in)

Iterate. Start out by taking t_soff1 = 1/f - t_son and
compute V_out. Then plug that V_out into the t_soff1
equation and compute it. Then use that value back into the
V_out equation. Etc. Until it gets close. I get:

V_out t_soff1
0. ... 70.5 us
1. 36.4 V 16.5 us
2. 26.7 V 25.8 us
3. 28.6 V 23.2 us
4. 28.1 V 23.9 us
5. 28.2 V 23.7 us
6. 28.2 V 23.8 us
7. 28.2 V 23.75 us ... stop

It's actually a cubic equation that can be solved. But the
iterative approach works just fine.

So we get V_out = 28.2V with t_soff1 = 23.75us. Now we can
compute the average I_in as:

I_in = (1/2) * 37mA * (50us + 23.75us) * 8300 = 11.3mA

So,

P_in = 9 V * 11.3 mA = 101.7 mW

Clearly, using V_out = 28.2V, we get:

P_out = 28.2^2/8200 = 97mW

Which leaves us a difference of 4.7mW, which is very close to
the 5mW we used going into this process.

To reach the 24V you experienced:

P_out = 24^2/8200 = 70.2mW

That means that there must have been losses amounting to
about (101.7mW-70.2mW) or 31.5mW. Maybe 70% efficiency?

.....

Now for your continuous case, which I have to say I don't
completely understand, either. You will quickly see why.

V_in = 9 V
f = 8300 Hz
L = 12 mH
R = 22 Ohms
t_son= 50us

The dI value will be the same, namely 37mA. But it will ride
on top of some I_base value. But!!! You said you were
getting a low of about 250mA and a peak of 5A!! What??? How
can this be??

This equation is pretty solid:

V/L = dI/dt

It won't give an inch. This means:

dI = V/L * dt

We know V is almost 9V. We know L=12mH (or think we do.) And
we know that dt=50us because you set things that way. This
means there is no escaping:

dI = (V_in-Vsw)*t_son/L = (9-.1)*50us/12mH = 37mA

It just sits there. But you were seeing (5A - 250mA) or
4.75A!! How??? The equation says you cannot get there from
here.

Well, the assumption that L is 12mH has to be wrong. I
believe your 50us. And I cannot see that your 9V supply
suddenly jumps up to huge numbers on its own. The only other
way you can get 5A is if L significantly drops in value.

And it can do that. Through saturation.

It's going to be hard for me to go any further because of
that fact.

Perhaps someone else knows. But that case makes no sense to
me, for now, except deciding that you are experiencing a
saturated core.

In the remaining case:

V_in = 9 V
f = 8300 Hz
L = 12 mH
R = 1000 Ohms
t_son = 50us
t_soff= 70.5us

In this case, you reported approximately I_peak=45mA and a
base line of 10mA. So a difference of 35mA.

Note this is VERY CLOSE to the 37mA I've been estimating. So
very likely there is no core saturation here.

I'm going to stop for now and let things soak in a bit. If
you buy all the rest I've said, I'll be happy to take on this
middle case you presented. But I think you will see that it
comes out sensibly, too.

Until then, let me know what you think about the rest.

Jon

The power delivered by the 9V supply during the 70us period
isn't quite as obvious as it doesn't conduct the entire
period (usually.)  So what we do know is that the voltage
across L will be 24V-9V-Vdiode or say 14.4V?  We go with
that.  dt=dI*L/V, so 37.5mA*12mH/14.4 or about 30us.  That's
the free wheeling conduction time, from what you've reported.

So the battery power is .5*9*37.5mA*30us/120us or 42mW.  So
the total is (70+42)mW or 112mW.  As a rough guess.  There
are losses in the inductor (call it 1mW for now) and free
wheeling diode (call it 4mW for now) and switch (call it
25mW.)  So lets call the result P_out = 82mW.

From 24V and 8200 ohms, we computed about 70mW.  Probably
close enough.  Also, V_out = SQRT(82mW * 8200) = 25.9V. Which
isn't inconsistent with your 24V measurement.

Jon

-Bill
 
On Thu, 20 Jan 2011 22:48:54 -0800, Jon Kirwan
<jonk@infinitefactors.org> wrote:

snip
In the remaining case:

V_in = 9 V
f = 8300 Hz
L = 12 mH
R = 1000 Ohms
t_son = 50us
t_soff= 70.5us

In this case, you reported approximately I_peak=45mA and a
base line of 10mA. So a difference of 35mA.

Note this is VERY CLOSE to the 37mA I've been estimating. So
very likely there is no core saturation here.
snip
In the continuous case, V_out is determined:

V_out = V_in * (1 + t_on / t_off) - V_di

or,

V_out = V_in / (1 - Duty) - V_di

I compute something less than 15.2V from this, which is what
you said you measured. But I'm using more than 0.2V for the
diode drop and it may be possible that the duty cycle value
is a tad bit larger (slightly lower frequency than 8300 or
slightly longer t_on time?) Or maybe the diode really isn't
dropping that much, being a schottky?

Anyway, it's close and I'm not surprised.

You noted a minimum current in the inductor near 10mA and a
peak near 45mA. The difference is 35mA, which is remarkably
close to the 37mA I'd estimated from values you'd provided.
So that suggests that your measurements are fairly close and
that ignored unknowns (like inductor resistance) aren't
confusing things much.

The only remaining question might be about the 10mA and why
it goes only that low. Guessing that power in must be close
to power out, ignoring losses entirely, I get:

I_min = V_out^2/(R*V_in) - dI/2

Using your measured values, where V_out=15.2V, R=1000 ohms,
V_in=9V, and dI=35mA, I compute I_min=8.2mA. Which you may
consider close enough. I can't say.

I considered adding some thoughts about volt-seconds. It
really helps in considering both discontinuous and continuous
mode. But I'll hold short, for now.

Jon
 
On Fri, 21 Jan 2011 15:58:17 -0800, I wrote:

Using your measured values, where V_out=15.2V, R=1000 ohms,
V_in=9V, and dI=35mA, I compute I_min=8.2mA. Which you may
consider close enough. I can't say.
With losses, I_min would have to be higher of course.

Jon
 
On Jan 20, 10:48 pm, Jon Kirwan <j...@infinitefactors.org> wrote:

Now for your continuous case, which I have to say I don't
completely understand, either.  You will quickly see why.

   V_in = 9 V
   f    = 8300 Hz
   L    = 12 mH
   R    = 22 Ohms
   t_son= 50us

The dI value will be the same, namely 37mA.  But it will ride
on top of some I_base value.  But!!!  You said you were
getting a low of about 250mA and a peak of 5A!!  What???  How
can this be??

This equation is pretty solid:

   V/L = dI/dt

It won't give an inch.  This means:

   dI = V/L * dt

We know V is almost 9V.  We know L=12mH (or think we do.) And
we know that dt=50us because you set things that way. This
means there is no escaping:

   dI = (V_in-Vsw)*t_son/L = (9-.1)*50us/12mH = 37mA

It just sits there.  But you were seeing (5A - 250mA) or
4.75A!!  How???  The equation says you cannot get there from
here.

Well, the assumption that L is 12mH has to be wrong.  I
believe your 50us.  And I cannot see that your 9V supply
suddenly jumps up to huge numbers on its own.  The only other
way you can get 5A is if L significantly drops in value.

And it can do that.  Through saturation.

It's going to be hard for me to go any further because of
that fact.

Perhaps someone else knows.  But that case makes no sense to
me, for now, except deciding that you are experiencing a
saturated core.
I'm pretty sure the inductor is 12 mH. I resonated it against a .33uF
cap and got 2500 Hz, or 12 mH.

As for saturation, the core may be near saturation but the efficiency
is 85% so it looks good.

But just to eliminate the saturation problem, if it exists, I changed
the load to 55 ohms and got the following results:

9 volt input at 480mA, or 4.32 watts
14.5 volt output at 55 ohms, or 255mA, 3.69 watts
Duty cycle = 54uS on / 70us off
Ipeak = 2 amps.
Imin= 200 mA

So, now all we have to figure out is how the current increases from
200mA to
2 amps in 54us using a 12mH inductor and 9 volt supply.

-Bill

In the remaining case:

   V_in  = 9 V
   f     = 8300 Hz
   L     = 12 mH
   R     = 1000 Ohms
   t_son = 50us
   t_soff= 70.5us

In this case, you reported approximately I_peak=45mA and a
base line of 10mA.  So a difference of 35mA.

Note this is VERY CLOSE to the 37mA I've been estimating.  So
very likely there is no core saturation here.

I'm going to stop for now and let things soak in a bit.  If
you buy all the rest I've said, I'll be happy to take on this
middle case you presented.  But I think you will see that it
comes out sensibly, too.

Until then, let me know what you think about the rest.

Jon>> The power delivered by the 9V supply during the 70us period
isn't quite as obvious as it doesn't conduct the entire
period (usually.) So what we do know is that the voltage
across L will be 24V-9V-Vdiode or say 14.4V? We go with
that. dt=dI*L/V, so 37.5mA*12mH/14.4 or about 30us. That's
the free wheeling conduction time, from what you've reported.

So the battery power is .5*9*37.5mA*30us/120us or 42mW. So
the total is (70+42)mW or 112mW. As a rough guess. There
are losses in the inductor (call it 1mW for now) and free
wheeling diode (call it 4mW for now) and switch (call it
25mW.) So lets call the result P_out = 82mW.

From 24V and 8200 ohms, we computed about 70mW. Probably
close enough. Also, V_out = SQRT(82mW * 8200) = 25.9V. Which
isn't inconsistent with your 24V measurement.

Jon

-Bill
 
On Sat, 22 Jan 2011 22:40:56 -0800 (PST), Bill Bowden
<bperryb@bowdenshobbycircuits.info> wrote:

On Jan 20, 10:48 pm, Jon Kirwan <j...@infinitefactors.org> wrote:

Now for your continuous case, which I have to say I don't
completely understand, either.  You will quickly see why.

   V_in = 9 V
   f    = 8300 Hz
   L    = 12 mH
   R    = 22 Ohms
   t_son= 50us

The dI value will be the same, namely 37mA.  But it will ride
on top of some I_base value.  But!!!  You said you were
getting a low of about 250mA and a peak of 5A!!  What???  How
can this be??

This equation is pretty solid:

   V/L = dI/dt

It won't give an inch.  This means:

   dI = V/L * dt

We know V is almost 9V.  We know L=12mH (or think we do.) And
we know that dt=50us because you set things that way. This
means there is no escaping:

   dI = (V_in-Vsw)*t_son/L = (9-.1)*50us/12mH = 37mA

It just sits there.  But you were seeing (5A - 250mA) or
4.75A!!  How???  The equation says you cannot get there from
here.

Well, the assumption that L is 12mH has to be wrong.  I
believe your 50us.  And I cannot see that your 9V supply
suddenly jumps up to huge numbers on its own.  The only other
way you can get 5A is if L significantly drops in value.

And it can do that.  Through saturation.

It's going to be hard for me to go any further because of
that fact.

Perhaps someone else knows.  But that case makes no sense to
me, for now, except deciding that you are experiencing a
saturated core.

I'm pretty sure the inductor is 12 mH.
I'm not doubting that.

I resonated it against a .33uF cap and got 2500 Hz, or 12 mH.
Fine.

As for saturation, the core may be near saturation but the efficiency
is 85% so it looks good.
Until saturation and the current starts peaking like crazy,
should be okay.

But just to eliminate the saturation problem, if it exists, I changed
the load to 55 ohms and got the following results:

9 volt input at 480mA, or 4.32 watts
14.5 volt output at 55 ohms, or 255mA, 3.69 watts
Duty cycle = 54uS on / 70us off
Ipeak = 2 amps.
Imin= 200 mA

So, now all we have to figure out is how the current increases from
200mA to 2 amps in 54us using a 12mH inductor and 9 volt supply.
(What is the capacitor value you are using on the output???)

Duty cycle is 54/124 = 43.55%. Given the usual computation
for continuous mode, I'd get V_out=V_in/(1-Duty)-V_di which
would be something in the vacinity of 15.2V-15.5V. You are
getting 14.5V.

However, big problem as you already know. dI=(V dt)/L and
that works out to 40.5mA. This is physics here, so I think
what you have is called a "swinging choke." The L value
declines as L saturates from excessive volt-seconds.

Saturation itself doesn't by itself mean you lose energy. It
means your peak current goes wild, though. And you will lose
energy to increased resistive losses. So your output likely
isn't quite up where it would be because of those losses that
arrive from such high currents.

Okay. So now it is 54us on. There is no way to violate the
following: V dt = L dI. So far as I'm aware. Since V is
set by a low impedence 9V power supply (I assume that's solid
enough) and since dt is set by your driver (I assume for now
there isn't any ringing/oscillation taking place, though you
might check) then the left side of that equation is fixed.
You are supplying 9V * 54us or 486u V-s. The right side
__must__ match that. Plain and simple.

Now you show 2A-200mA or 1.8A for dI. You work it out for L.
I get way less than 1mH.

So now the L in the above equation is replaced by L(t). Which
is a different beast.

Let's talk more about the inductor, now. Let me set the
deck, first.

Start with these (U0=4e-7*pi, Ur is relative permeability),

1. mmf = N I (in ampere-turns)
2. H = mmf / l (in ampere-turns/meter)
3. B = U0 Ur H (the relationship between B and H)
4. L = Ac U0 Ur N^2 / l (inductance)
5. V = L dI/dt

Combining equations 1 and 2 and taking equation 3, I can put
them into a slightly better form,

6. dH = (N / l) dI
7. dB = U0 Ur dH

Combining equations 6 and 7,

8. dB = (N / l) U0 Ur dI

This might be enough, if we knew the permeability of your
core, its magnetic path length, and the number of windings.

But let me go further, too. Just for kicks. Introducing
time to both sides of equation 8,

9. dB/dt = [(N / l ) U0 Ur] dI/dt

From equation 5 above we can extract dI/dt and substitute
that into equation 9 giving,

10. dB/dt = [(N / l ) U0 Ur] V/L

Substituting equation 4 as L in equation 10 and doing the
usual simplifying magic gives,

11. dB/dt = [(N / l ) U0 Ur] [(V l) / (Ac U0 Ur N^2)]

or,

12. dB/dt = V / (Ac N)

Rearranging gives,

13. dB = V dt / (Ac N)

Note that we already know (V dt) as 486u V-s. What I don't
know from you is N and Ac and Bsat for your core material.
Don't bother looking for Bsat right now. What I'd like to
have is N and Ac. Can you tell me the number of turns and
the area of the magnetic core? Or provide the magnetic path
length and permeability?

Looking at equation 13 suggests a few thoughts, without
knowing anything more. We can assume that N and Ac are both
fixed by your inductor design... so, constant and not likely
to change. Only (V dt) can change. Since we know that is
486u V-s, then the best suggestion I can provide right now is
that you reduce dt. In other words, don't use 54us. Cut
that back. I'm betting that your inductor cannot handle that
many volt-seconds and saturates. Instead, maybe increase the
frequency but cut back on the ON time. Drop it to, say,
40us? Or less? In other words, let's first find an ON time
that works consistently.

Otherwise, the equations won't help much.

Have you also tried putting your circuit into LTspice to see
what it says?? I've plugged in the numbers and LTspice
suggests an output roughly 15.3V and with dI being roughly
39mA and a I_min of 475mA and an I_max of 514mA. It doesn't
come close to agreeing with your experience. But it doesn't
take into account saturation with the model for L that I
used, either.

Jon
 
On Sun, 23 Jan 2011 19:34:20 -0800 (PST), Bill Bowden
<bperryb@bowdenshobbycircuits.info> wrote:

On Jan 23, 1:34 am, Jon Kirwan <j...@infinitefactors.org> wrote:
On Sat, 22 Jan 2011 22:40:56 -0800 (PST), Bill Bowden



bper...@bowdenshobbycircuits.info> wrote:
On Jan 20, 10:48 pm, Jon Kirwan <j...@infinitefactors.org> wrote:

Now for your continuous case, which I have to say I don't
completely understand, either. You will quickly see why.

V_in = 9 V
f = 8300 Hz
L = 12 mH
R = 22 Ohms
t_son= 50us

The dI value will be the same, namely 37mA. But it will ride
on top of some I_base value. But!!! You said you were
getting a low of about 250mA and a peak of 5A!! What??? How
can this be??

This equation is pretty solid:

V/L = dI/dt

It won't give an inch. This means:

dI = V/L * dt

We know V is almost 9V. We know L=12mH (or think we do.) And
we know that dt=50us because you set things that way. This
means there is no escaping:

dI = (V_in-Vsw)*t_son/L = (9-.1)*50us/12mH = 37mA

It just sits there. But you were seeing (5A - 250mA) or
4.75A!! How??? The equation says you cannot get there from
here.

Well, the assumption that L is 12mH has to be wrong. I
believe your 50us. And I cannot see that your 9V supply
suddenly jumps up to huge numbers on its own. The only other
way you can get 5A is if L significantly drops in value.

And it can do that. Through saturation.

It's going to be hard for me to go any further because of
that fact.

Perhaps someone else knows. But that case makes no sense to
me, for now, except deciding that you are experiencing a
saturated core.

I'm pretty sure the inductor is 12 mH.

I'm not doubting that.

I resonated it against a .33uF cap and got 2500 Hz, or 12 mH.

Fine.

As for saturation, the core may be near saturation but the efficiency
is 85% so it looks good.

Until saturation and the current starts peaking like crazy,
should be okay.

But just to eliminate the saturation problem, if it exists, I changed
the load to 55 ohms and got the following results:

9 volt input at 480mA, or 4.32 watts
14.5 volt output at 55 ohms, or 255mA, 3.69 watts
Duty cycle = 54uS on / 70us off
Ipeak = 2 amps.
Imin= 200 mA

So, now all we have to figure out is how the current increases from
200mA to 2 amps in 54us using a 12mH inductor and 9 volt supply.

(What is the capacitor value you are using on the output???)

Duty cycle is 54/124 = 43.55%.  Given the usual computation
for continuous mode, I'd get V_out=V_in/(1-Duty)-V_di which
would be something in the vacinity of 15.2V-15.5V.  You are
getting 14.5V.

However, big problem as you already know.  dI=(V dt)/L and
that works out to 40.5mA.  This is physics here, so I think
what you have is called a "swinging choke."  The L value
declines as L saturates from excessive volt-seconds.

Saturation itself doesn't by itself mean you lose energy.  It
means your peak current goes wild, though.  And you will lose
energy to increased resistive losses.  So your output likely
isn't quite up where it would be because of those losses that
arrive from such high currents.

Okay.  So now it is 54us on.  There is no way to violate the
following:  V dt = L dI.  So far as I'm aware.  Since V is
set by a low impedence 9V power supply (I assume that's solid
enough) and since dt is set by your driver (I assume for now
there isn't any ringing/oscillation taking place, though you
might check) then the left side of that equation is fixed.
You are supplying 9V * 54us or 486u V-s.  The right side
__must__ match that.  Plain and simple.

Now you show 2A-200mA or 1.8A for dI.  You work it out for L.
I get way less than 1mH.

So now the L in the above equation is replaced by L(t). Which
is a different beast.

Let's talk more about the inductor, now.  Let me set the
deck, first.

Start with these (U0=4e-7*pi, Ur is relative permeability),

1.  mmf = N I             (in ampere-turns)
2.  H = mmf / l           (in ampere-turns/meter)
3.  B = U0 Ur H           (the relationship between B and H)
4.  L = Ac U0 Ur N^2 / l  (inductance)
5.  V = L dI/dt

Combining equations 1 and 2 and taking equation 3, I can put
them into a slightly better form,

6.  dH = (N / l) dI
7.  dB = U0 Ur dH

Combining equations 6 and 7,

8.  dB = (N / l) U0 Ur dI

This might be enough, if we knew the permeability of your
core, its magnetic path length, and the number of windings.

But let me go further, too.  Just for kicks.  Introducing
time to both sides of equation 8,

9.  dB/dt = [(N / l ) U0 Ur] dI/dt

From equation 5 above we can extract dI/dt and substitute
that into equation 9 giving,

10. dB/dt = [(N / l ) U0 Ur] V/L

Substituting equation 4 as L in equation 10 and doing the
usual simplifying magic gives,

11. dB/dt = [(N / l ) U0 Ur] [(V l) / (Ac U0 Ur N^2)]

or,

12. dB/dt = V / (Ac N)

Rearranging gives,

13. dB = V dt / (Ac N)

Note that we already know (V dt) as 486u V-s.  What I don't
know from you is N and Ac and Bsat for your core material.
Don't bother looking for Bsat right now.  What I'd like to
have is N and Ac.  Can you tell me the number of turns and
the area of the magnetic core?  Or provide the magnetic path
length and permeability?

Looking at equation 13 suggests a few thoughts, without
knowing anything more.  We can assume that N and Ac are both
fixed by your inductor design... so, constant and not likely
to change.  Only (V dt) can change.  Since we know that is
486u V-s, then the best suggestion I can provide right now is
that you reduce dt.  In other words, don't use 54us.  Cut
that back.  I'm betting that your inductor cannot handle that
many volt-seconds and saturates.  Instead, maybe increase the
frequency but cut back on the ON time.  Drop it to, say,
40us?  Or less?  In other words, let's first find an ON time
that works consistently.

Otherwise, the equations won't help much.

Have you also tried putting your circuit into LTspice to see
what it says??  I've plugged in the numbers and LTspice
suggests an output roughly 15.3V and with dI being roughly
39mA and a I_min of 475mA and an I_max of 514mA.  It doesn't
come close to agreeing with your experience.  But it doesn't
take into account saturation with the model for L that I
used, either.

Jon

Yes, but the circuit was tested using a 1K load resulting in a
inductor current change of 10mA to 45mA in 50uS at 9 volts, or 12
millihenrys which agrees with textbook figures, so I'm fairly
confident the inductance is 12 mH. This was mentioned in an earlier
post.

The inductor was hand wound using about 74 turns on a unknown ferrite
core measuring 1.5 inch outside diameter and 7/8 inside diameter. It's
a fairly large beast with lots of area suggesting many millihenrys of
inductance. And if the inductance is low, the saturation current will
be high, since it will be more like an air core inductor that doesn't
saturate.

So, all I know is the circuit works well under minimal load conditions
and meets text book requirements, and also maintains efficiency at
high loads, but doesn't meet text book requirements at high loads. It
just does it's own thing at high loads.

Maybe some use is the current waveform at high load which is not
linear.
At minimal load, the scope waveform is very linear with straight lines
indicating the current rise and fall to the predicted values, just
like what you would expect. However, with heavy loads, the waveform
resembles a V shape with slowly beginning and ending points, sort of
like an RC or LC time constant curve. I can adjust the duty cycle and
notice the peak of the "V" waveform increases or decreases but looks
about the same overall. You might think this a saturation indication,
but I don't think so since it maintains 85% efficiency and I get
similar results at twice or half the load, and the inductor is a very
large beast probabaly not saturating.
Yes, it seems to be saturating. Like I said, that doesn't by
itself mean you lose energy in the process. (You will,
because of ohmic resistances, the Vce or Vds of the switch at
peak current, and the Vdiode at these higher currents, but
that's not the main point.) It just means that the calcs
which assume L is constant need to be replaced with L(t).

Frankly, if you are fine with all this ("maintains efficiency
at high loads") then I'm fine, too. I was just trying to
help you see why other measurements you made were as they
were.

Jon
 
On Jan 23, 1:34 am, Jon Kirwan <j...@infinitefactors.org> wrote:
On Sat, 22 Jan 2011 22:40:56 -0800 (PST), Bill Bowden



bper...@bowdenshobbycircuits.info> wrote:
On Jan 20, 10:48 pm, Jon Kirwan <j...@infinitefactors.org> wrote:

Now for your continuous case, which I have to say I don't
completely understand, either. You will quickly see why.

V_in = 9 V
f = 8300 Hz
L = 12 mH
R = 22 Ohms
t_son= 50us

The dI value will be the same, namely 37mA. But it will ride
on top of some I_base value. But!!! You said you were
getting a low of about 250mA and a peak of 5A!! What??? How
can this be??

This equation is pretty solid:

V/L = dI/dt

It won't give an inch. This means:

dI = V/L * dt

We know V is almost 9V. We know L=12mH (or think we do.) And
we know that dt=50us because you set things that way. This
means there is no escaping:

dI = (V_in-Vsw)*t_son/L = (9-.1)*50us/12mH = 37mA

It just sits there. But you were seeing (5A - 250mA) or
4.75A!! How??? The equation says you cannot get there from
here.

Well, the assumption that L is 12mH has to be wrong. I
believe your 50us. And I cannot see that your 9V supply
suddenly jumps up to huge numbers on its own. The only other
way you can get 5A is if L significantly drops in value.

And it can do that. Through saturation.

It's going to be hard for me to go any further because of
that fact.

Perhaps someone else knows. But that case makes no sense to
me, for now, except deciding that you are experiencing a
saturated core.

I'm pretty sure the inductor is 12 mH.

I'm not doubting that.

I resonated it against a .33uF cap and got 2500 Hz, or 12 mH.

Fine.

As for saturation, the core may be near saturation but the efficiency
is 85% so it looks good.

Until saturation and the current starts peaking like crazy,
should be okay.

But just to eliminate the saturation problem, if it exists, I changed
the load to 55 ohms and got the following results:

9 volt input at 480mA, or 4.32 watts
14.5 volt output at 55 ohms, or 255mA, 3.69 watts
Duty cycle = 54uS on / 70us off
Ipeak = 2 amps.
Imin= 200 mA

So, now all we have to figure out is how the current increases from
200mA to 2 amps in 54us using a 12mH inductor and 9 volt supply.

(What is the capacitor value you are using on the output???)

Duty cycle is 54/124 = 43.55%.  Given the usual computation
for continuous mode, I'd get V_out=V_in/(1-Duty)-V_di which
would be something in the vacinity of 15.2V-15.5V.  You are
getting 14.5V.

However, big problem as you already know.  dI=(V dt)/L and
that works out to 40.5mA.  This is physics here, so I think
what you have is called a "swinging choke."  The L value
declines as L saturates from excessive volt-seconds.

Saturation itself doesn't by itself mean you lose energy.  It
means your peak current goes wild, though.  And you will lose
energy to increased resistive losses.  So your output likely
isn't quite up where it would be because of those losses that
arrive from such high currents.

Okay.  So now it is 54us on.  There is no way to violate the
following:  V dt = L dI.  So far as I'm aware.  Since V is
set by a low impedence 9V power supply (I assume that's solid
enough) and since dt is set by your driver (I assume for now
there isn't any ringing/oscillation taking place, though you
might check) then the left side of that equation is fixed.
You are supplying 9V * 54us or 486u V-s.  The right side
__must__ match that.  Plain and simple.

Now you show 2A-200mA or 1.8A for dI.  You work it out for L.
I get way less than 1mH.

So now the L in the above equation is replaced by L(t). Which
is a different beast.

Let's talk more about the inductor, now.  Let me set the
deck, first.

Start with these (U0=4e-7*pi, Ur is relative permeability),

1.  mmf = N I             (in ampere-turns)
2.  H = mmf / l           (in ampere-turns/meter)
3.  B = U0 Ur H           (the relationship between B and H)
4.  L = Ac U0 Ur N^2 / l  (inductance)
5.  V = L dI/dt

Combining equations 1 and 2 and taking equation 3, I can put
them into a slightly better form,

6.  dH = (N / l) dI
7.  dB = U0 Ur dH

Combining equations 6 and 7,

8.  dB = (N / l) U0 Ur dI

This might be enough, if we knew the permeability of your
core, its magnetic path length, and the number of windings.

But let me go further, too.  Just for kicks.  Introducing
time to both sides of equation 8,

9.  dB/dt = [(N / l ) U0 Ur] dI/dt

From equation 5 above we can extract dI/dt and substitute
that into equation 9 giving,

10. dB/dt = [(N / l ) U0 Ur] V/L

Substituting equation 4 as L in equation 10 and doing the
usual simplifying magic gives,

11. dB/dt = [(N / l ) U0 Ur] [(V l) / (Ac U0 Ur N^2)]

or,

12. dB/dt = V / (Ac N)

Rearranging gives,

13. dB = V dt / (Ac N)

Note that we already know (V dt) as 486u V-s.  What I don't
know from you is N and Ac and Bsat for your core material.
Don't bother looking for Bsat right now.  What I'd like to
have is N and Ac.  Can you tell me the number of turns and
the area of the magnetic core?  Or provide the magnetic path
length and permeability?

Looking at equation 13 suggests a few thoughts, without
knowing anything more.  We can assume that N and Ac are both
fixed by your inductor design... so, constant and not likely
to change.  Only (V dt) can change.  Since we know that is
486u V-s, then the best suggestion I can provide right now is
that you reduce dt.  In other words, don't use 54us.  Cut
that back.  I'm betting that your inductor cannot handle that
many volt-seconds and saturates.  Instead, maybe increase the
frequency but cut back on the ON time.  Drop it to, say,
40us?  Or less?  In other words, let's first find an ON time
that works consistently.

Otherwise, the equations won't help much.

Have you also tried putting your circuit into LTspice to see
what it says??  I've plugged in the numbers and LTspice
suggests an output roughly 15.3V and with dI being roughly
39mA and a I_min of 475mA and an I_max of 514mA.  It doesn't
come close to agreeing with your experience.  But it doesn't
take into account saturation with the model for L that I
used, either.

Jon
Yes, but the circuit was tested using a 1K load resulting in a
inductor current change of 10mA to 45mA in 50uS at 9 volts, or 12
millihenrys which agrees with textbook figures, so I'm fairly
confident the inductance is 12 mH. This was mentioned in an earlier
post.

The inductor was hand wound using about 74 turns on a unknown ferrite
core measuring 1.5 inch outside diameter and 7/8 inside diameter. It's
a fairly large beast with lots of area suggesting many millihenrys of
inductance. And if the inductance is low, the saturation current will
be high, since it will be more like an air core inductor that doesn't
saturate.

So, all I know is the circuit works well under minimal load conditions
and meets text book requirements, and also maintains efficiency at
high loads, but doesn't meet text book requirements at high loads. It
just does it's own thing at high loads.

Maybe some use is the current waveform at high load which is not
linear.
At minimal load, the scope waveform is very linear with straight lines
indicating the current rise and fall to the predicted values, just
like what you would expect. However, with heavy loads, the waveform
resembles a V shape with slowly beginning and ending points, sort of
like an RC or LC time constant curve. I can adjust the duty cycle and
notice the peak of the "V" waveform increases or decreases but looks
about the same overall. You might think this a saturation indication,
but I don't think so since it maintains 85% efficiency and I get
similar results at twice or half the load, and the inductor is a very
large beast probabaly not saturating.

-Bill
 
On Jan 23, 7:56 pm, Jon Kirwan <j...@infinitefactors.org> wrote:

Yes, it seems to be saturating.  Like I said, that doesn't by
itself mean you lose energy in the process.  (You will,
because of ohmic resistances, the Vce or Vds of the switch at
peak current, and the Vdiode at these higher currents, but
that's not the main point.)  It just means that the calcs
which assume L is constant need to be replaced with L(t).

Frankly, if you are fine with all this ("maintains efficiency
at high loads") then I'm fine, too.  I was just trying to
help you see why other measurements you made were as they
were.

Jon
Yes, I think I see it now. The inductor is partially saturating
causing the current to rise faster as time goes on. In other words di/
dt is not constant, and therefore the waveforms are not linear.

I took a look at the voltage drop across the mosfet which indicates
the current does not rise linearly, and is increasing much faster near
the end of the switch-on time. The on-resistance of the mosfet is 0.18
ohms and the drain voltage rises to about 1 volt at the end of the
waveform indicating about 5 amps peak which agrees with the other
measurements using the 8 watt load.

So, it appears to be acting as a variable inductor where the effective
inductance decreases as the DC current increases. It seems reasonable
to have less effective inductance when the core is entering the
saturation region but not completely saturated yet. I suppose I could
test that idea with some DC current present, and try resonating the
inductor to see if the inductance drops off with DC current. I suppose
it will.

-Bill
 
Very good discussion. This presentation finally illustrated how to
identify the region between continuous and discontinuous

http://www.ieee.li/pdf/introduction_to_power_electronics/chapter_05.pdf

Page 20 in particular gives two simple equations to determine the
region of operation, as well as assess current (now I know why I keep
burning parts out!).

Ultimately ended up going with an IRC2155 self-oscillating regulator
and a transformer trimmable feedback.

Still, a great diversion from digital electronics.


On Jan 24, 4:38 pm, Bill Bowden <bper...@bowdenshobbycircuits.info>
wrote:
On Jan 23, 7:56 pm, Jon Kirwan <j...@infinitefactors.org> wrote:



Yes, it seems to be saturating.  Like I said, that doesn't by
itself mean you lose energy in the process.  (You will,
because of ohmic resistances, the Vce or Vds of the switch at
peak current, and the Vdiode at these higher currents, but
that's not the main point.)  It just means that the calcs
which assume L is constant need to be replaced with L(t).

Frankly, if you are fine with all this ("maintains efficiency
at high loads") then I'm fine, too.  I was just trying to
help you see why other measurements you made were as they
were.

Jon

Yes, I think I see it now. The inductor is partially saturating
causing the current to rise faster as time goes on. In other words di/
dt is not constant, and therefore the waveforms are not linear.

I took a look at the voltage drop across the mosfet which indicates
the current does not rise linearly, and is increasing much faster near
the end of the switch-on time. The on-resistance of the mosfet is 0.18
ohms and the drain voltage rises to about 1 volt at the end of the
waveform indicating about 5 amps peak which agrees with the other
measurements using the 8 watt load.

So, it appears to be acting as a variable inductor where the effective
inductance decreases as the DC current increases. It seems reasonable
to have less effective inductance when the core is entering the
saturation region but not completely saturated yet. I suppose I could
test that idea with some DC current present, and try resonating the
inductor to see if the inductance drops off with DC current. I suppose
it will.

-Bill
 

Welcome to EDABoard.com

Sponsor

Back
Top