A compound anti-interference control method based on a high-order nonlinear disturbance observer (HONDO) is proposed to address the impact of system disturbances on output voltage when applying the Buck–Boost converter in a microgrid to provide power to loads. Initially, the dynamic circuit model of the Buck–Boost converter is formulated, taking into account the system disturbance. Subsequently, HONDOs are designed to provide real-time estimates of uncertain factors in both the voltage loop and current loop of the circuit. These estimates are then utilized to design backstepping controllers aimed at effectively tracking the load output voltage set point. The simulation and experimental findings indicate that, when faced with load mutations, input voltage variations, and uncertainties in system parameters, the proposed compound anti-interference control method outperforms traditional control techniques by offering superior response speed, broader disturbance estimation capabilities, and enhanced dynamic performance of the Buck–Boost converter.