The rest of the model is exactly the same as the switching circuit model.

We have the LC filter and exactly the same error amplifier right here.

The step load transient is exactly the same as before.

The start up is exactly the same as before.

But notice when we set up the transient simulation, we now include average.lib

library instead of the switching.lib library that we had in the previous case.

One other small detail is that we understand that

the on resistances of the MOSFETs we had in the switching circuit model

are not equal to zero.

Our CCM1 average switch model does not include any losses.

And to make the two the same, we include an on resistance

outside the average switch model in series with inductor, and that all resistance is

the one that is the same, for both the main control FET and the synchronous rectifier.

Allright, so running the transient simulation of this example here,

we get the same set of waveforms and you can see how they look remarkably

similar to the ones we obtained using simulation of the switching circuit model.

In fact it's actually instructive to compare the two.

Here we have a switching circuit simulation on top.

The average circuit simulation on bottom, and you see the waveforms that we

are considering here, Vout, inductor current, inductor current here.

The control voltage here, and how they look remarkably simular.

With one exception - we don't see any ripple in the average circuit simulation

as we have discussed before.

All right, so now that we have established that the average

circuit model can perform transient simulations and

obtain responses that are dynamically very similar to the ones

that we obtained using switching circuit simulation,

we can now use the average circuit model to perform tests

that include AC frequency responses.