The article introduces an innovative PWM current-mode technique to control the switched-mode power supplies for regulating the output of the power supply. The proposed technique can be used to control the most common offline power supply topologies and to control any dc-dc converter. Using the new methodology, it is possible to greatly simplify the internal architecture of any integrated IC controller, reducing its complexity and costs and greatly simplifying the overall system's design process.