This paper presents a PID controller for dc-link voltage in the single-phase switched-boost inverter (SBI). Unlike the dc-link voltage controller in the Z-source inverter (ZSI), the presented controller can be directly controlled via the capacitor voltage. By using this controller, a constant capacitor voltage can be achieved when the input voltage or the load are changed suddenly. A 200-W prototype was built to verify the proposed controller. Simulation and experimental results are shown.