To investigate the stability of a switched-mode power supply, a Bode plot created with an oscilloscope is ideal for checking the critical phase margin and gain margin values. The factors that determine how satisfactory the results from Bode plot measurements will be, need to taken into consideration as part of the preparation.