Hi everyone
I am tryig to obtain the gain and frequency plots of a flyback converter controlled with LT8316. LTspice does not provide any frequency response feature but I use middlebrook's method to obtain frequency response. However, result is too weird

I simply insert a small ac signal thru the FB loop of the controller and sweep that source. Controller tries to detect DCM thru FB pin and operate in bounday conduction mode. I think inserting this feature creates problem for me
So, Does anyone know how can I obtain the true bode plot? I also include the simulation model

Thanks in advance!
I am tryig to obtain the gain and frequency plots of a flyback converter controlled with LT8316. LTspice does not provide any frequency response feature but I use middlebrook's method to obtain frequency response. However, result is too weird

I simply insert a small ac signal thru the FB loop of the controller and sweep that source. Controller tries to detect DCM thru FB pin and operate in bounday conduction mode. I think inserting this feature creates problem for me
So, Does anyone know how can I obtain the true bode plot? I also include the simulation model

Thanks in advance!