My goal is to use LTspice to conduct an AC analysis of a circuit by varying the frequency of a square wave supplied to the gate of a FET. As I haven't found a way to sweep a square wave, I have instead used a sinusoidal supply to regulate a voltage-controlled switch (see attached).
This method works properly in transient analysis but fails in AC; it appears that the switch no longer turns on. What am I doing wrong? Is there an easier way to do this?
Thank you
This method works properly in transient analysis but fails in AC; it appears that the switch no longer turns on. What am I doing wrong? Is there an easier way to do this?
Thank you