I wish to check the flux through a transformer core in my LTspice simulation. I have set up a push-pull converter simulation using a transformer with a turns ratio of 1 : 1.1, a supply voltage of 12 V and two FETs pulling either side low for almost 1 µs in turn. There is a small dead time of 50 ns, where neither of the FETs are conducting.
In order to determine the flux in the core, I know of two tentative approaches:
- Determine the product of inductance \$L\$ and current \$I\$ for each winding and sum them: $$\Phi_1(t)=\sum_i^\text{windings}{L_i\cdot I_i(t)}$$
- Measure the volt-second integral normalized by the turns ratio \$N\$ of the windings and sum them: $$\Phi_2(t)=\sum_i^\text{windings}\int_0^t{\frac{V_i(\tau)}{N_i} \text d\tau}$$
So, I set up two bv
sources in LTspice to calculate each of the two expression:
I know that the absolute turns count is missing in the second expression, only the turns ratio is respected. So it should be wrong by a constant scale factor. However, what I see is that both expressions yield qualitatively different results, which are plotted below.
Question
Which of these two expressions (if any) is correct and why is the other one (or both) wrong?