Buck-Boost Equations Problem With Inductor Parasital Resistance

Thread Starter

Tenma Chinen Pou

Joined Aug 24, 2018
40
Here is the other method using the first equations, substituting Vc, and the result it's clearly non sense. 1 = 0.
Did you see any error in my procedure?

Repost Cap Node Method 2.jpg
 

MrAl

Joined Jun 17, 2014
13,761
Ok so you are saying it seems hard to solve for either the average inductor current or the average capacitor voltage?
Yes, both of them.

I have to ask again though, in your equation:
iL=-Vo/(R*(1-D))
how do you intend to get the numerical value for iL when you dont know Vo yet?
It is true that the average Vo does not change, but we still must know what it is to be able to get iL in that] equation. That's why it is better to try to eliminate it altogether.


I just need the "iL" equation to substitute inside the inductor current increments when we add more parasitic components, just for that. Now look unnecessary because we just took the cap inner resistance as parasitic component, but shows that the procedure fails at some point, which is what i'm trying to figure it out.


The actual average iL will include the variable Rc which is the cap ESR value

That what I expected, but I didn't appear that variable in the Average "iL"

Did you get the resulting equations?
Hello again,

Oh ok i just wanted to make sure i understood the problem you ran into.

I didnt want to just post the equations as i wasnt sure if you wanted to see them yet until you tried again, but i dont think it will hurt and then you can try to reproduce them perhaps using your mesh method.

Here's what i got for the average inductor current:
iLavg=(D*E*(R+Rc))/((D-1)*R*(D*R-R-Rc))
and for the average cap voltage:
vCavg=(D*E*R+Rc*D*E)/((D-1)*R-Rc)

I will check these in the numerical solver also very soon.

[LATER]
Ok they seem to check out ok but i cant go too low on Rc in the program or i get numerical problems. It would probably be better to include another damper component like Rs or RL.

[LATER LATER]
I found i had to go many more cycles before reaching steady state in the program, that was the problem. Results with Rc=0.1 match to about 5 significant digits now.
 
Last edited:

Thread Starter

Tenma Chinen Pou

Joined Aug 24, 2018
40
Here's what i got for the average inductor current:
iLavg=(D*E*(R+Rc))/((D-1)*R*(D*R-R-Rc))
and for the average cap voltage:
vCavg=(D*E*R+Rc*D*E)/((D-1)*R-Rc)

Can I see your node equations from the beginning please? I think the starting point it's my problem.
Thank you very much :)
 

MrAl

Joined Jun 17, 2014
13,761
Here's what i got for the average inductor current:
iLavg=(D*E*(R+Rc))/((D-1)*R*(D*R-R-Rc))
and for the average cap voltage:
vCavg=(D*E*R+Rc*D*E)/((D-1)*R-Rc)

Can I see your node equations from the beginning please? I think the starting point it's my problem.
Thank you very much :)
Hello again,

Yes, see the attachment. Note 'i' is inductor current, 'v' is cap voltage (not output voltage).
We got lucky here because we dont have any RL, Rs, or Vd so the output voltage Vo equals the voltage across the inductor. If that was not the case, we'd have to do more work.
One more note, that all the arrows are in the same direction for BOTH circuit modes 'on' or 'off'.
Also, the final equations in the 'off' mode are marked with a blue oval shaped dot.
Also note that we need a third equation for each set, the output equation for Vo which should depend only on the inductor current and cap voltage and the component values and not on any derivatives.
Last but not least, these drawings are basically line drawings so the best file format is the .gif file format. Bmp is too big and jpg is for high color content and complex pictures and usually introduces unwanted distortion into the picture.

Buck-Boost-11.gif
 
Last edited:

Thread Starter

Tenma Chinen Pou

Joined Aug 24, 2018
40
Hello again,

Yes, see the attachment. Note 'i' is inductor current, 'v' is cap voltage (not output voltage).
We got lucky here because we dont have any RL, Rs, or Vd so the output voltage Vo equals the voltage across the inductor. If that was not the case, we'd have to do more work.
One more note, that all the arrows are in the same direction for BOTH circuit modes 'on' or 'off'.
Also, the final equations in the 'off' mode are marked with a blue oval shaped dot.
Also note that we need a third equation for each set, the output equation for Vo which should depend only on the inductor current and cap voltage and the component values and not on any derivatives.
Last but not least, these drawings are basically line drawings so the best file format is the .gif file format. Bmp is too big and jpg is for high color content and complex pictures and usually introduces unwanted distortion into the picture.

View attachment 159258
I will study the schema, thank you very much Mr.AI ! :)
 

MrAl

Joined Jun 17, 2014
13,761
I will study the schema, thank you very much Mr.AI ! :)
Hi again,

Ok good, and you're welcome.

Also, i had to correct post #27 due to the slight error in numerical calculation.

Also, and i think you may have observed this already, in the full blown circuit with Vd, RL, Rd, Rs, and Rc, the cap and cap ESR form a simple averaging network and that means that any averaged voltage that appears at Vout will also appear across the capacitor because the average of an average is the same average. This gives us a good test point for the solutions in that we must compute averages Vc=Vout or else we made a mistake :)
Also, with the cap and cap ESR any of these circuits where the average Vout appears at the top of the ESR resistor (as drawn here in various places) the cap will attain the same average voltage as the output, so it's not just this circuit. I dont like to use that as a starting point logistic though, i would rather see that fall out of the analysis first.
 

Thread Starter

Tenma Chinen Pou

Joined Aug 24, 2018
40
Hello again,

Yes, see the attachment. Note 'i' is inductor current, 'v' is cap voltage (not output voltage).
We got lucky here because we dont have any RL, Rs, or Vd so the output voltage Vo equals the voltage across the inductor. If that was not the case, we'd have to do more work.
One more note, that all the arrows are in the same direction for BOTH circuit modes 'on' or 'off'.
Also, the final equations in the 'off' mode are marked with a blue oval shaped dot.
Also note that we need a third equation for each set, the output equation for Vo which should depend only on the inductor current and cap voltage and the component values and not on any derivatives.
Last but not least, these drawings are basically line drawings so the best file format is the .gif file format. Bmp is too big and jpg is for high color content and complex pictures and usually introduces unwanted distortion into the picture.

View attachment 159258
I've tried to understand yours steps at first, and you calculated the equivalency marked in red with the Mesh System I guess.

My question is, it's possible to just use both equation marked in red and calculate Vo (Ouput Voltage) ?
(I upload an Image just for in case you can't see it)

First Question.jpg
 

Thread Starter

Tenma Chinen Pou

Joined Aug 24, 2018
40
I think I found and error in my schema, I left the current from diode wich is the inductor current, what a fool I am!
I will try to redo the calculations now.

upload_2018-9-5_22-41-23.png
 

Thread Starter

Tenma Chinen Pou

Joined Aug 24, 2018
40
Mr.AI, I have another question related to Buck Boost.

As we set: "
iL + (Increment i_L )/ 2 > 0 " in order to calculate the minimum Inductance.
In case of the Capacitance, should be something like : "
Vc + (increment Vc)/2 > 0 " for the minimum capacitance?
Is this correct? ( in ideal case of course )

Thank you very much !
 

MrAl

Joined Jun 17, 2014
13,761
I've tried to understand yours steps at first, and you calculated the equivalency marked in red with the Mesh System I guess.

My question is, it's possible to just use both equation marked in red and calculate Vo (Ouput Voltage) ?
(I upload an Image just for in case you can't see it)

View attachment 159336

Hello,

Do you mean take the negative of one of those quantities and call it Vo?
I think the term L*di/dt should be held as a different quantity in each set. In other words, i dont think we should take any shortcuts.
 

MrAl

Joined Jun 17, 2014
13,761
View attachment 159341
What Red Arrow is Pointing, shouldn't be Rc instead of R?

Hello again,

Well no, that looks correct.

The reason why it may not look correct at first glance is because *part* of the equation divided by 'R' leads to a term with Rc in the numerator, but the full equation includes a negative 'i' (-i) term also and when resolving those three resulting terms into just two terms, we have no Rc in the numerator we get the R that way.
 

MrAl

Joined Jun 17, 2014
13,761
Mr.AI, I have another question related to Buck Boost.

As we set: "
iL + (Increment i_L )/ 2 > 0 " in order to calculate the minimum Inductance.
In case of the Capacitance, should be something like : "
Vc + (increment Vc)/2 > 0 " for the minimum capacitance?
Is this correct? ( in ideal case of course )

Thank you very much !
Hi,

You mean min inductance and capacitance for continuous mode operation?
The inductor current should never go to zero and the cap voltage should never go to zero either. If either of these happen, then that means the circuit runs out of energy in order to maintain operation as usual. The only exception is if it goes exactly to zero and then the next cycle begins immediately, so it's really less than zero but using zero is ok because that will tell the absolute min, which if exceeded, will cause at least some dwell time at zero and that becomes discontinuous.
 

Thread Starter

Tenma Chinen Pou

Joined Aug 24, 2018
40
Hi !

Do you mean take the negative of one of those quantities and call it Vo?
I mean, taking this two equations, and calculate the increments.
upload_2018-9-6_20-25-17.png

Then

upload_2018-9-6_20-26-29.png

Each increment represent Rising and Falling current of the inductor, am I wrong?

I think the term L*di/dt should be held as a different quantity in each set.
That does it mean, the increments from ON and OFF are different, is that possible?
 

Thread Starter

Tenma Chinen Pou

Joined Aug 24, 2018
40
Hello again,

Well no, that looks correct.

The reason why it may not look correct at first glance is because *part* of the equation divided by 'R' leads to a term with Rc in the numerator, but the full equation includes a negative 'i' (-i) term also and when resolving those three resulting terms into just two terms, we have no Rc in the numerator we get the R that way.
Oh, sorry, that's true !
 

Thread Starter

Tenma Chinen Pou

Joined Aug 24, 2018
40
Hi,

What values are you using?
Sorry, I thought my equation was correct already, but it isn't. I keep trying to figure it out what I'm doing wrong.

Anyway, the values are:
Cap ESR = 1 Ohm
Inductance = 1 mH
Cap Capacitance = 10 mF
Frequency = 100 kHz
Load Resistance = 10 Ohm

Input Voltage = 5 Volts.
 

Thread Starter

Tenma Chinen Pou

Joined Aug 24, 2018
40
You mean min inductance and capacitance for continuous mode operation?
The inductor current should never go to zero and the cap voltage should never go to zero either.


Yes, just for the Continuous Mode Sorry.
Another proof that my equations were wrong is that Minimum Capacitance is Zero when Duty Cicle is 50%.
 
Top