The paper presents a design for a single-phase AC-DC buck-boost converter aimed at power factor correction (PFC) and harmonic elimination, utilizing inductor average current mode control (IACMC) and a proportional-integral (PI) controller. Simulation results indicate that the proposed system achieves nearly unity power factor and maintains performance across different line frequencies, demonstrating robustness to variations in load and voltage. Experimental validations reinforce the theoretical findings, confirming the efficacy of the designed controller in real-time applications.