main
John Lauer Public-facing docs: final-board images, Fields numbers from the final solve, clips merged into one page 5b68870

TPS54202: fitted ngspice model vs TI's PSpice model

Both models use the same external parts and load steps as sim/transient.py: VIN 12 V, L 15 uH / 118 mOhm, COUT 36.3 uF effective, Rtop 73.6 k, Rbot 10 k, Cff 68 pF, EN 1 M / 150 k, a 1 A load stepped to 0.5 A at 7 ms and back to 1 A at 8 ms. TI's model is TPS54202_TRANS.LIB (package SLVMBJ5), run with STEADY_STATE=0 in PSpice for TI. Both are measured with the same code.

metric (12 V, 1 A) fitted ngspice model TI model
VOUT mean at 1 A 4.9797 V 5.0088 V
VOUT ripple (peak to peak) 3.19 mV 5.0 mV (1 mV output quantisation)
inductor ripple (peak to peak) 0.396 A 0.407 A
peak inductor current at startup 1.226 A 1.226 A
time to 95 % VOUT 4.757 ms 4.838 ms
overshoot, 1 A to 0.5 A 79.6 mV 93.2 mV
undershoot, 0.5 A to 1 A 78.4 mV 90.7 mV
settling to 1 % after the step up 202.6 us 171.9 us

Startup and the inductor current match to within about 2 %. The fitted loop under-predicts the load-step deviation by about 15 %. VOUT is about 30 mV higher in TI's model, which regulates FB to about 0.599 V where the fitted model uses the 0.596 V reference.

Design conclusion

For this internally compensated part, the datasheet's crossover estimate (equation 14, fo = 3.95 / (VOUT x COUT)) makes fo x COUT a constant, so the load-step deviation is about dI x VOUT / (2 pi x 3.95), independent of COUT: about 0.2 V for a full 1 A step. TI's 0.5 A steps (93 and 91 mV) scale to about 185 mV (3.7 %) for 1 A.

More output capacitance would lower the crossover and leave the deviation about the same. Only a larger Cff would help, and Cff stays at 68 pF to keep the crossover under the datasheet's 40 kHz limit. 3.7 % is inside the usual +/-5 % window for a 5 V rail, so COUT is unchanged. The next check is a real 0 to 1 A step on the bench.