We look into the theory of compensation and why it’s needed, examine various power stages and discuss how to place the poles and zeroes of the compensation network. Typical error amplifiers and transconductance amplifiers and their effects on the control loop will be discussed.