Solution 1: The LED lamp driven by mains power. This solution features high efficiency and supports voltage of 90V ~ 265V AC without the need for traditional transformers. The mains power is rectified, and then stepped down by a DC-DC converter circuit into the required output current and voltage. The output current is controlled by a PWM controller (Pulse-Width Modulation controller) working on the basis of primary-side feedback or secondary feedback.
Solution 2: The substitute solution for traditional halogen lamps. This solution integrates LED driver circuit, LED lighting source, LED heat sink and LED lens into a LED module to replace halogen lamp bulbs. Because traditional halogen lamps run off a 12V AC power supply, a rectifier and a filter should be added before driver circuit to convert the 12V AC output of transformer to stable DC voltage. Then this DC voltage can be connected to LED driver circuit to provide a constant current to LEDs.