LED driving circuit compatible with wall switch and color temperature selection by dial switch
Patent Information
- Application Number
- CN202522215292.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-20
- Publication Date
- 2026-09-15
- Estimated Expiration
- 2035-10-20
AI Technical Summary
[0003]本实用新型的目的在于针对现有技术的不足之处,提供一种可同时兼容墙壁开关与拨码开关切色温的LED驱动电路,以解决现有技术无法同时兼容墙壁开关与拨码开关切色温的问题
[0009] This utility model has the following beneficial effects: This utility model provides an LED driver circuit that can simultaneously switch color temperature using both wall switches and DIP switches, including: an AC input circuit module, a rectifier and filter circuit module, a main driver chip circuit module, an MCU power supply circuit module, an MCU control circuit module, an LED output circuit module, a wall switch circuit module, and a DIP switch circuit module. It can simultaneously switch color temperature using both wall switches and DIP switches, effectively improving the performance of LED lamps and the user experience. The circuit architecture is simple, the number of components is small, and the cost is low.
Smart Images

Figure CN224760382U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of LED driver circuit technology, specifically to an LED driver circuit that can simultaneously switch color temperatures using both wall switches and DIP switches. Background Technology
[0002] With the continuous development of LED lighting technology, people's functional requirements for LED lamps are becoming increasingly diversified. Color temperature adjustment, as an important function, can meet users' lighting needs in different scenarios, such as a warm, inviting environment and a bright, cool environment. Currently, most LED driver circuits on the market only support a single color temperature switching control method. For example, they can only switch between a limited number of color temperature modes via a wall switch, and cannot simultaneously switch color temperature using both wall switches and DIP switches, lacking flexibility. On the other hand, some driver circuits with multiple control methods suffer from poor compatibility and complex control logic, resulting in a poor user experience. Therefore, developing an LED driver circuit that can simultaneously switch color temperature using both wall switches and DIP switches is of significant practical importance. Utility Model Content
[0003] The purpose of this invention is to address the shortcomings of existing technologies by providing an LED driver circuit that can simultaneously be compatible with both wall switches and DIP switches for color temperature switching, thereby solving the problem that existing technologies cannot simultaneously be compatible with both wall switches and DIP switches for color temperature switching.
[0004] This utility model provides an LED driver circuit that can simultaneously switch color temperatures using both wall switches and DIP switches, comprising: an AC input circuit module, a rectifier and filter circuit module, a main driver chip circuit module, an MCU power supply circuit module, an MCU control circuit module, an LED output circuit module, a wall switch circuit module, and a DIP switch circuit module; The AC input circuit module is connected to the rectifier and filter circuit module and the wall switch circuit module; the rectifier and filter circuit module is connected to the MCU power supply circuit module, the main driver chip circuit module, and the LED output circuit module; the MCU power supply circuit module, the wall switch circuit module, and the DIP switch circuit module are all connected to the MCU control circuit module; the MCU control circuit module is connected to the main driver chip circuit module, and the main driver chip circuit module is connected to the LED output circuit module, which includes multiple sets of LEDs with different color temperatures.
[0005] Furthermore, the AC input circuit module includes a live wire L, a neutral wire N, and a fuse F1; the wall switch circuit module includes a wall switch SW, a resistor R1, a resistor R4, and a Zener diode DZ1; the wall switch SW and the fuse F1 are connected in series on the live wire L, one end of the resistor R1 is connected to the fuse F1, and the other end is connected to the resistor R4, and the Zener diode DZ1 is connected in parallel with the resistor R4.
[0006] Furthermore, the rectifier and filter circuit module includes a DB1 rectifier bridge, a varistor RV1, an electrolytic capacitor E1, and a resistor R7; the live wire L and the neutral wire N are respectively connected to pins 1 and 2 of the DB1 rectifier bridge; the varistor RV1, the electrolytic capacitor E1, and the resistor R7 are connected in parallel and respectively connected to pins 3 and 4 of the DB1 rectifier bridge.
[0007] Furthermore, the main drive chip circuit module includes a main drive chip U1, which has multiple output ports and control signal input ports; The MCU power supply circuit module includes a resistor R2 and a chip U2; one end of the resistor R2 is connected to pin 3 of the DB1 rectifier bridge, and the other end is connected to pin 1 of the chip U2. The MCU control circuit module includes chip U3, which is a microcontroller unit (MCU) that interacts with and controls other circuits through pins. Pin 2 of chip U3 is connected to resistors R1 and R4 and Zener diode DZ1, pin 3 is connected to a DIP switch and a voltage divider resistor, and pins 6 and 7 are connected to pins 4 and 3 of the main drive chip U1, respectively.
[0008] Furthermore, the DIP switch circuit module includes a DIP switch K1, which is connected to pin 3 of the chip U3 through a series of resistors.
[0009] This utility model has the following beneficial effects: This utility model provides an LED driver circuit that can simultaneously switch color temperature using both wall switches and DIP switches, including: an AC input circuit module, a rectifier and filter circuit module, a main driver chip circuit module, an MCU power supply circuit module, an MCU control circuit module, an LED output circuit module, a wall switch circuit module, and a DIP switch circuit module. It can simultaneously switch color temperature using both wall switches and DIP switches, effectively improving the performance of LED lamps and the user experience. The circuit architecture is simple, the number of components is small, and the cost is low. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 This is the overall framework diagram of the LED driver circuit of this utility model that can simultaneously switch color temperature using both wall switches and DIP switches; Figure 2 This is a circuit diagram of an embodiment of the LED driver circuit of this utility model that can simultaneously switch color temperature using both wall switches and DIP switches. Detailed Implementation
[0012] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments. It should be pointed out that the following detailed description is illustrative and intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains.
[0013] Please see Figures 1 to 2 This utility model embodiment provides an LED driver circuit that can simultaneously switch color temperatures using both wall switches and DIP switches, including: an AC input circuit module, a rectifier and filter circuit module, a main driver chip circuit module, an MCU power supply circuit module, an MCU control circuit module, an LED output circuit module, a wall switch circuit module, and a DIP switch circuit module.
[0014] The AC input circuit module is connected to the rectifier and filter circuit module and the wall switch circuit module. The rectifier and filter circuit module is connected to the MCU power supply circuit module, the main driver chip circuit module, and the LED output circuit module. The MCU power supply circuit module, the wall switch circuit module, and the DIP switch circuit module are all connected to the MCU control circuit module. The MCU control circuit module is connected to the main driver chip circuit module, and the main driver chip circuit module is connected to the LED output circuit module. The LED output circuit module includes multiple groups of LEDs with different color temperatures, such as warm white and cool white LEDs. The operating state of different LED groups is controlled by signals output from the control chip, achieving color temperature switching.
[0015] Specifically, the AC input circuit module includes a live wire L, a neutral wire N, and a fuse F1, used to connect to AC power and control the circuit's on / off state via a switch. The wall switch circuit module includes a wall switch SW, resistors R1 and R4, and a Zener diode DZ1; the wall switch SW and fuse F1 are connected in series with the live wire L, one end of resistor R1 is connected to fuse F1, and the other end is connected to resistor R4, and the Zener diode DZ1 is connected in parallel with resistor R4.
[0016] The rectifier and filter circuit module includes a DB1 rectifier bridge, a varistor RV1, an electrolytic capacitor E1, and a resistor R7. The live wire L and neutral wire N are connected to pins 1 and 2 of the DB1 rectifier bridge, respectively. The varistor RV1, electrolytic capacitor E1, and resistor R7 are connected in parallel and to pins 3 and 4 of the DB1 rectifier bridge, respectively. The rectifier and filter circuit module converts the input AC power to DC power, outputting a VIN voltage to power subsequent circuits. Simultaneously, the varistor RV1 provides overvoltage protection, and the electrolytic capacitor E1 filters the output voltage, making it more stable.
[0017] The main driver chip circuit module includes the main driver chip U1, which can be an SM2235. The main driver chip U1 has multiple output ports (OUT1-OUT5) and control signal input ports (DATA, CLK, etc.). Based on the control signals received from the wall switch or DIP switch from chip U3, the main driver chip U1 outputs corresponding drive signals to control the LED light group for dimming and color temperature switching.
[0018] The MCU power supply circuit module includes resistor R2 and chip U2, with chip U2 being an optional model SM2183. One end of resistor R2 is connected to pin 3 of the DB1 rectifier bridge, and the other end is connected to pin 1 of chip U2. DC power is supplied to chip U2 through resistor R2. Chip U2 has the function of powering external devices. When chip U2 is powered, it can provide an output of up to 5V and up to 10mA, saving device costs and reducing the use of unnecessary devices to meet the normal operation of the MCU.
[0019] The MCU control circuit module includes chip U3, which is a microcontroller unit (MCU). The optional model of chip U3 is NY8A051H (Jiuqi MCU). It interacts with other circuits for data exchange and control via pins. Pin 2 of chip U3 is connected to resistors R1 and R4, and Zener diode DZ1; pin 3 is connected to a DIP switch and a voltage divider resistor; and pins 6 and 7 are connected to pins 4 and 3 of the main driver chip U1, respectively.
[0020] The DIP switch circuit module includes a DIP switch K1, which is connected to pin 3 of chip U3 via a series of resistors (R8, R9, R10, R11, R12, R13, R14). When the DIP switch is operated, chip U3 detects a change in the voltage level at pin 3, causing pins 6 and 7 of chip U3 to output different signals to the main driver chip U1. The main driver chip U1 decodes the signals and uses different logic to control the current and color temperature switching of the LED group. The on / off state of the wall switch SW generates different voltage levels after being divided by resistors R1 and R4 and Zener diode DZ1, which are input to pin 2 of chip U3's signal detection pin. Based on the changes in the signal at pin 2, different signals are output to the main driver chip U1 via pins 6 and 7 of chip U3. The main driver chip U1 uses these signals to precisely control the color temperature of the LED group, achieving more diverse color temperature adjustments.
[0021] In summary, this utility model's LED driver circuit, which can simultaneously switch color temperature using both wall switches and DIP switches, allows AC power to enter the rectifier and filter circuit via the AC input circuit and be converted into DC voltage to power subsequent circuits when the wall switch SW is closed. The main driver chip U1 is responsible for data signal processing and transmission throughout the process. Based on the received signals, it ensures accurate execution of the color temperature switching command while also providing a stable driving current for the LED string. Chip U2 provides a continuous and stable voltage to chip U3. If color temperature switching is performed via a wall switch, chip U3 monitors the on / off state of the wall switch SW in real time. When a specific on / off combination is detected, chip U3 controls the constant current driver chip according to preset logic to achieve color temperature switching. If color temperature switching is set via DIP switch K1, different DIP combinations will generate different resistor voltage divider signals, which are input to the corresponding pins of chip U3. Chip U3 parses the signals according to a preset program and sends control signals to pins 4 and 3 of the main driver chip U1 via pins 6 and 7 to achieve color temperature switching.
[0022] The above description is merely a preferred embodiment of this utility model and is not intended to limit the utility model. Various modifications and variations can be made to this utility model by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this utility model should be included within the protection scope of this utility model.
Claims
1. An LED driver circuit that is compatible with both wall switches and DIP switches for color temperature switching, characterized in that, include: AC input circuit module, rectifier and filter circuit module, main driver chip circuit module, MCU power supply circuit module, MCU control circuit module, LED output circuit module, wall switch circuit module, and DIP switch circuit module; The AC input circuit module is connected to the rectifier and filter circuit module and the wall switch circuit module; the rectifier and filter circuit module is connected to the MCU power supply circuit module, the main driver chip circuit module, and the LED output circuit module; the MCU power supply circuit module, the wall switch circuit module, and the DIP switch circuit module are all connected to the MCU control circuit module; the MCU control circuit module is connected to the main driver chip circuit module, and the main driver chip circuit module is connected to the LED output circuit module, which includes multiple sets of LEDs with different color temperatures.
2. The LED driver circuit as described in claim 1, which is compatible with both wall switches and DIP switches for color temperature switching, is characterized in that... The AC input circuit module includes a live wire L, a neutral wire N, and a fuse F1; the wall switch circuit module includes a wall switch SW, a resistor R1, a resistor R4, and a Zener diode DZ1; the wall switch SW and the fuse F1 are connected in series on the live wire L, one end of the resistor R1 is connected to the fuse F1, and the other end is connected to the resistor R4, and the Zener diode DZ1 is connected in parallel with the resistor R4.
3. The LED driver circuit as described in claim 2, which is compatible with both wall switches and DIP switches for color temperature switching, is characterized in that... The rectifier and filter circuit module includes a DB1 rectifier bridge, a varistor RV1, an electrolytic capacitor E1, and a resistor R7; the live wire L and the neutral wire N are respectively connected to pins 1 and 2 of the DB1 rectifier bridge; the varistor RV1, the electrolytic capacitor E1, and the resistor R7 are connected in parallel and are respectively connected to pins 3 and 4 of the DB1 rectifier bridge.
4. The LED driver circuit as described in claim 3, which is compatible with both wall switches and DIP switches for color temperature switching, is characterized in that... The main drive chip circuit module includes a main drive chip U1, which has multiple output ports and control signal input ports. The MCU power supply circuit module includes a resistor R2 and a chip U2; one end of the resistor R2 is connected to pin 3 of the DB1 rectifier bridge, and the other end is connected to pin 1 of the chip U2. The MCU control circuit module includes chip U3, which is a microcontroller unit (MCU) that interacts with and controls other circuits through pins. Pin 2 of chip U3 is connected to resistors R1 and R4 and Zener diode DZ1, pin 3 is connected to a DIP switch and a voltage divider resistor, and pins 6 and 7 are connected to pins 4 and 3 of the main drive chip U1, respectively.
5. The LED driver circuit as described in claim 4, which is compatible with both wall switches and DIP switches for color temperature switching, is characterized in that... The DIP switch circuit module includes a DIP switch K1, which is connected to pin 3 of chip U3 via a series of resistors.