Aspects of the disclosure provide a circuit that includes a controller. The controller is configured to receive a signal indicative of a current flowing in a magnetic component and control a switch in connection with the magnetic component to shape a peak current of the current flowing in the magnetic component. The controller shapes the peak current from a first peak current level to a second peak current level in order to reduce an amplitude of a ripple in a current drawn from a triode for alternating current (TRIAC) during a time to satisfy a holding current requirement of the TRIAC.
展开▼