In a first aspect, in a Primary Side Regulation (PSR) power supply, some primary current pulses are used to forward bias an output
diode such that an auxiliary winding
voltage can be properly sampled after each pulse. The samples are used to regulate the power supply output
voltage (VOUT). Other primary current pulses, however, are of a smaller peak amplitude. These pulses are not used for VOUT regulation, but rather are used to determine whether the VOUT has dropped. In a second aspect, a
transient current detector circuit within the PSR controller
integrated circuit detects whether an optocoupler current has dropped in a predetermined way. If the TRS current
detector detects that the optocoupler current has dropped, then the power supply stops operating in a
sleep mode and is made to operate in another
higher power operating mode in which the power supply switches.