Hello again,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,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![]()

I will study the schema, thank you very much Mr.AI !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
Hi again,I will study the schema, thank you very much Mr.AI !![]()
I've tried to understand yours steps at first, and you calculated the equivalency marked in red with the Mesh System I guess.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)
View attachment 159336
Hi,I'm worried about this, average output voltage formula doesn't fit with the simulation, which have to be -4.16 Volts
View attachment 159370
Hi,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 !
Oh, sorry, that's true !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.
Sorry, I thought my equation was correct already, but it isn't. I keep trying to figure it out what I'm doing wrong.Hi,
What values are you using?