The purpose in this paper is the design of the control to switching power supply for small perturbations. By the theoretical analysis and calculation, with the output filter inductor current and filter capacitor voltage switching power supply as two state variables, the conclusion is that control of the output filter inductor current sampling do well in the anti-jamming. The simulation is made for verification. And comparing the results, the current control mode shows a very strong anti-interference ability.