Hi all,
Apologies for perhaps a silly question but I am getting myself confused... 
Lets say you have a Vector Network Analyser (VNA) and you want to measure the loop response (gain/phase to produce a bode plot) of a SMPS. When the VNA sweeps over your desired frequency range, how is this done? Does the VNA produce a continuous (chirp) sine wave or is it a stepped swept sine? My head tells me that you would need to dwell for a least a few clock cycles at each frequency before taking a measurement? If the source is continuous then is the sampling also continuous? There surely must be a settling (of the loop)/sample time to account for?
Cheers,
Dave
Dave,
The answer is it depends on the VNA. I use an HP3577A VNA and it has a phase continuous sweep. That is there are no step changes in the frequency. It is a sine wave that continuously increase in frequency during the sweep.
The inputs on the HP3577A have tracking filters. I normally use the 100Hz setting. This is necessary so that the VNA rejects all other frequencies than the one you are measuring.
The sweep time can be set from the front panel. For a 100Hz to 200kHz log sweep I typically use a sweep time of 2-5 seconds. You can start with a fast sweep and increase the time until the Bode plot stops changing.
You also need to play with the injection amplitude. You want a signal that is big enough to avoid signal to noise ratio problems, but small enough so that you are sure you are measuring small signal behaviour. Again I start with a small signal and increase the signal to the noise disappears. The Bode plot should be fairly smooth, no discontinuities.
The threads recommended by CAT87 have some good details.
What kind of VNA do you have? What method are using for injecting the signals?
Regards,
Jay_Diddy_B