This document summarizes a student's major assignment on designing a controller for a buck-boost converter circuit. The student developed mathematical models to describe the circuit and analyze power losses. Based on this, the student designed a controller using a combined feedback and feedforward approach to minimize losses while maintaining output voltage and rejecting disturbances. Simulation results showed the controller could successfully drive the circuit in both buck and boost modes and regulate the output voltage even for non-linearized steady states.