I have downloaded LTspice PWM switch from christophe basso website http://powersimtof.com/Spice.htm file name PWM-CM2-MD2 by Mark Dimattina
I am doing 5.1V converter based on LTC3890 IC so I tried to compare frequency response using IC spice model and PWM switch average model but I need some clarification
I am doing the bode plot for Cm-out/Cm-in and then Gain crossover frequency is 235KHZ as per average model (Fsw=440KHz) and phases are negative ...
if I plot CM-out/CM-Vc then I am getting gain crossover frequency around 16KHz and phase Margin -58 deg (Idont know why I am getting neg sign).which is pretty much same with LTC3890 Spice model based FRA except phase is negative.
I am not able to understand which one right and why phase is negative ..Can anyone please help