This offline flyback reference design uses the UCC28742 controller to generate a non-isolated output (15 V at 130 mA) and an isolated output (24 V at 830 mA) from an AC input (90 VAC - 265 VAC). The UCC28742 provides a cost effective and precise constant-voltage and constant-current regulation. The valley-switching technique reduces switching losses and keeps the efficiency high.