Multimode driver circuit based on a DIP switch
Patent Information
- Application Number
- DE202025104075
- Authority / Receiving Office
- DE · DE
- Patent Type
- Utility models
- Current Assignee / Owner
- Priority Date
- 2025-06-18
- Filing Date
- 2025-07-15
- Publication Date
- 2025-09-11
- Estimated Expiration
- 2035-07-31
Smart Images

Figure 00000010_0000 
Figure 00000011_0000 
Figure 00000012_0000
Abstract
Description
TECHNICAL FIELD
[0001] The present utility model relates to the technical field of intelligent lighting devices and, in particular, to a multimode driver circuit based on a DIP switch. STATE OF THE ART
[0002] In conventional LED lighting products, color temperature or brightness switching control is usually achieved through a DIP switch. For example, in LED lighting products, the color temperature switching circuit controlled by a DIP switch is connected in series. By switching the DIP switch to a different switching position, the color temperature is switched. However, the DIP switch control method is monotonous. This control method can only switch the color temperature or brightness and cannot meet the user's multi-function switching requirements. CONTENT OF THE PRESENT UTILITY MODEL
[0003] The technical problem to be solved by the present utility model is to provide a multimode driver circuit based on a DIP switch in order to realize dimming control for LED lamps.
[0004] To solve the problems mentioned above, the following technical solutions are implemented in the present utility model: A multimode driver circuit based on a DIP switch comprises a DIP switch, a wall switch module, an LED load module, and a constant current module, wherein the LED load module comprises at least two light sources with mutually different color temperatures, and wherein a voltage end of the constant current module is provided for connection to a power source, and wherein a positive end of the constant current module is connected to an input of the LED load module, and wherein an output of the LED load module is connected to an input of the wall switch module and the DIP switch, respectively, and wherein an output of the wall switch module is connected to a negative end of the constant current module, and wherein a detection end of the wall switch module is provided for detecting a control signal and controlling the LED load module based on the control signal, and wherein the DIP switch comprises a functional switching position,in which the DIP switch connects one power end of the wall switch module to a power source.
[0005] The present utility model has the following advantageous effect. By providing the wall switch module and adding the function switch position to the DIP switch, and selectively connecting the power end of the wall switch module to the power source through the function switch position, the wall switch module can operate when the multi-function control needs to be triggered by placing the DIP switch in the function switch position. Furthermore, the LED load module can be dimmed and color adjusted upon detection of a control signal. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic block diagram of a DIP switch-based multimode driver circuit according to an embodiment of the present invention; Fig. 2 is a schematic diagram of a structure of a first circuit of a DIP switch-based multimode driver circuit according to an embodiment of the present utility model; Fig. 3 is a schematic diagram of a structure of a second circuit of a DIP switch-based multimode driver circuit according to an embodiment of the present utility model. Description of reference symbols:
[0006] 1. Wall switch module; 2. LED load module; 3. Constant current module; K. DIP switch; IC1. Constant current chip; IC3, first wall switch chip; C4. First capacitor; C5. Second capacitor; AM, Second wall switch; D7. Voltage regulator tube. DETAILED DESCRIPTION
[0007] The technical contents, objects and advantages of the present utility model are described below with reference to the embodiments and the accompanying drawings.
[0008] A DIP switch-based multimode driver circuit comprises a DIP switch, a wall switch module, an LED load module, and a constant current module. The LED load module comprises at least two light sources with different color temperatures. A voltage end of the constant current module is provided for connection to a power source, and a positive end of the constant current module is connected to an input of the LED load module. An output of the LED load module is connected to an input of the wall switch module and the DIP switch. An output of the wall switch module is connected to a negative end of the constant current module. A detection end of the wall switch module is provided for detecting a control signal and dimming the LED load module based on the control signal.The DIP switch includes a functional switching position in which the DIP switch connects one power end of the wall switch module to the power source.
[0009] As can be seen from the above description, the advantageous effects of the present utility model are as follows. By providing the wall switch module and adding the function switch position to the DIP switch, and selectively connecting the power end of the wall switch module to the power source through the function switch position, the wall switch module can operate when the multi-function control needs to be triggered by placing the DIP switch in the function switch position. Furthermore, the LED load module can be dimmed and color adjusted upon detection of a control signal.
[0010] Furthermore, the DIP switch has at least two color temperature switching positions. The DIP switch has at least two color temperature switching positions. The light source in the LED load module is connected to the DIP switch. The light source in the LED load module is connected to the negative end of the constant current module in different ways in different color temperature switching positions.
[0011] As is apparent from the above description, when the DIP switch is not switched to the function switching position, the DIP switch can achieve switching to the color temperature by operating in different function switching positions, thereby realizing conventional color temperature switching control.
[0012] The constant current module further comprises a first constant current unit and a driver circuit unit. A voltage end of the first constant current unit is provided for connection to a power source, and an output of the first constant current unit is connected to a first input of the driver circuit unit. A second input of the driver circuit unit is provided for connection to a voltage source, and the positive end of the driver circuit unit is connected to the input of the LED load module, and the negative end of the driver circuit unit is connected to the output of the wall switch module.
[0013] As can be seen from the above description, the constant current module is composed of the first constant current unit and the driver circuit unit. The driver circuit unit is controlled by the first constant current unit to output a stable power supply to the subsequent modules.
[0014] The wall switch module further comprises a first wall switch chip. The output of the first wall switch chip is connected to the negative end of the driver circuit unit. A detection end of the first wall switch chip is provided for detecting a control signal. The first wall switch chip comprises at least two light source inputs, each connected to a light source within the LED load module, and controls the output of each of the light source inputs based on the detected control signals. The power source end of the first wall switch chip is selectively connected to the power source via the DIP switch.
[0015] As can be seen from the above description, by connecting the first wall switching chips to the corresponding driving circuit unit, the LED load module, and the DIP switch, using the first wall switching chips as wall switching switch modules, a control signal is generated based on the wall breaker after the power supply terminals of the first wall switching chips are connected to the power source through the DIP switch, and the output signal of each of the input terminals of the light source is received by the first wall switching chip to perform dimming color control.
[0016] The wall switch module further comprises a first capacitor and a second capacitor, one end of the first capacitor being connected to the sensing end of the first wall switch chip, and the other end being connected to the output of the first wall switch chip. One end of the second capacitor is connected to the power supply end of the first wall switch chip, and the other end is connected to the output of the first wall switch chip.
[0017] As can be seen from the above description, the control signal from the wall switch can be filtered by providing the first capacitor to prevent signal interference. Furthermore, the provision of the second capacitor can achieve the functions of filtering and storing energy to provide a stable power supply for the first wall switch chip.
[0018] The wall switch module further includes a detection resistor. One end of the detection resistor is connected to the detection end of the first wall switch chip, and the other end is connected to the output of the first constant current unit.
[0019] As can be seen from the above description, the control signal generated by the wall switch is detected by detecting the turning on and off of the first constant current unit by providing the detecting resistor and connecting the detecting resistor to the output of the first constant current unit.
[0020] The constant current module further comprises a second constant current unit. The voltage end of the second constant current unit is provided for connection to a power source, and the current output end of the second constant current unit is connected to an input of the LED load module as the positive end of the constant current module. The negative end of the constant current module is a circuit ground end. The control output end of the second constant current unit is connected to the control input end of the wall switch module.
[0021] As can be seen from the above description, when the second constant current unit is used as the constant current module, the power supply output of the second constant current unit is used as the positive end of the constant current module, and when the circuit ground is used as the negative end of the constant current module, the output of the wall switch module is directly connected to the ground terminal to form a circuit, thereby simplifying the circuit connection.
[0022] The wall switch module further comprises a second wall switch chip and a control unit. The control unit comprises at least two sets of one-to-one corresponding control input ends and control output ends. The output of the second wall switch chip is connected to ground. The detection end of the second wall switch chip is configured to detect a control signal. The second wall switch chip comprises at least two control output ends, each connected to a control input in the control unit. Different outputs of the control unit are connected to different light sources in the LED load module. A control output of the second wall switch chip is connected to the control input of the second constant current unit. The second wall switch chip adjusts the output of each of the control output ends based on the detection control signal.The power source end of the second wall switch chip is selectively connected to the power source through the DIP switch.
[0023] As can be seen from the above description, the wall switch module is constituted by the second wall switch chip and the control unit, the control signal is detected by the second wall switch chip and is then output from the second constant current unit, whereby different signals are output to different control input ends in the control unit, and whereby the control is realized via different outputs of the control unit, thereby realizing the dimming function.
[0024] The control unit further comprises at least two MOS transistors. A gate of each of the MOS transistors is connected to different control output ends of the second wall switching chip. A drain of each of the MOS transistors is connected to different light sources in the LED load module. The source of all MOS transistors is connected to ground.
[0025] As can be seen from the above description, the control unit is formed of a plurality of MOS transistors, the gate of each MOS transistor is connected as a control input end to the second wall switching chip, and the drain is connected as an output to different light sources in the LED load module, thereby realizing the control of the different light sources in the LED load module and thus the dimming function by controlling the turning on and off of the MOS transistors.
[0026] The wall switch module also includes a voltage regulator tube. A negative terminal of the voltage regulator tube is connected to a control input end of the second wall switch chip. A positive terminal of the voltage regulator tube is connected to ground.
[0027] As apparent from the above description, by providing the voltage regulating tube at the control input end of the second wall switching chip, a voltage clamping function is provided by the voltage regulating tube, thereby preventing a pulse voltage generated by the control signal from damaging the second wall switching chip.
[0028] The DIP switch-based multimode driver circuit in the present utility model can be applied in a smart luminaire scenario. It is explained below with specific embodiments: Example 1
[0029] With reference to Fig. 1, a multimode driver circuit based on a DIP switch K comprises a DIP switch K, a wall switch module 2, an LED load module 3, and a constant current module 4. The LED load module 3 comprises at least two light sources with different color temperatures, such as LEDA and LEDB. A voltage end of the constant current module 4 is provided for connection to a power source, and a positive end of the constant current module 4 is connected to an input of the LED load module 3. An output of the LED load module 3 is connected to an input of the wall switch module 2 and the DIP switch K, respectively. An output of the wall switch module 2 is connected to a negative end of the constant current module 4. A detection end of the wall switch module 2 is provided for detecting a control signal and dimming the LED load module 3 based on the control signal.The DIP switch K includes a functional switching position, in which the DIP switch K connects a current end of the wall switch module 2 to the power source. The DIP switch K further includes at least two color temperature switching positions. A light source in the LED load module 3 is connected to the DIP switch K. With different color temperature switching positions, the light source in the LED load module 3 is connected differently to the negative end of the constant current module 4. This means that the DIP switch K can not only implement a conventional color temperature switching function through the color temperature switching positions, but can also implement a preset dimming function through the functional switching position. For example, the DIP switch K is provided with three color temperature switching positions and one functional switching position. The corresponding functions can be implemented by moving the DIP switch K to different switching positions.
[0030] On Fig. Referring to Figure 2, in a specific embodiment, the constant current module 4 includes a first constant current unit and a driver circuit unit, and the wall switch module 2 includes a first wall switch chip IC3, a first capacitor C4, a second capacitor C5, and a detection resistor. In the present embodiment, a constant current chip IC1 is used as the first constant current unit to control an integrated control circuit driven by a constant current switch. A voltage end (HV) of the first constant current unit is provided for connection to a power source, and the output (DRAIN) of the first constant current unit is connected to the first input of the driver circuit unit. As shown in Figure 2, a rectifier bridge BR1, a π-type filter circuit consisting of a capacitor C1, an inductor L1, and a capacitor E1, and a fuse resistor F1 are provided.An AC mains current is supplied from one input (LN) of the rectifier bridge BR1 to rectify the AC mains current into a DC current. The fuse resistor melts when the fault current increases, shutting down the circuit and providing a protective function. The π-filter circuit filters and stores the resistor R1, resulting in the discharge of the pulsed voltage from the inductor L1. One voltage end (HV) of the constant current chip IC1 is connected to the high-voltage bus (LED+) to supply the constant current chip IC1 with a high voltage.An ultra-fast freewheeling diode is connected in series between the internal voltage end (HV) and the output (DRAIN) of the constant current chip IC1, forming a freewheeling circuit for the TOFF (pulse interval) circuit, wherein the resistor R2 and the resistor R3 are provided for adjusting the current, while the inductance L2, the capacitance E2 and the resistor R4 form the driving circuit unit, the specific circuit is shown in . Fig. 2 is shown schematically. The second input of the driver circuit unit is intended for connection to the power source, while acting as the positive end (LED+). The positive end of the driver circuit unit is connected to the input of the LED load module 3, namely, the end is simultaneously connected externally to the positive end of LEDA and the positive end of LEDB. The negative end (LED-) of the driver circuit unit is connected to the output of the wall switch module.
[0031] The output (GND) of the first wall switching chip IC3 is connected to a negative end of the driver circuit unit. The detection end (CLK) of the first wall switching chip IC3 is designed to detect a control signal. The first wall switching chip IC3 includes at least two light source inputs, each connected to a different light source within the LED load module 3, and controls the output of each light source input based on the detection control signals. As shown in Fig. As shown in Figure 2, the first wall switching chip IC3 in the present embodiment includes input ends D1 and D2, which are respectively connected to the negative pole of LEDA and the negative pole of LEDB. A power source end (VCC) of the first wall switching chip IC3 is selectively connected to the power source via the DIP switch K. One end of the first capacitor C4 is connected to the detection end of the first wall switching chip IC3, and the other end is connected to the output of the first wall switching chip IC3. One end of the second capacitor C5 is connected to the power supply end of the first wall switching chip IC3, and the other end is connected to the output of the first wall switching chip IC3. One end of the detection resistor is connected to the detection end of the first wall switching chip IC3, and the other end is connected to the output of the first constant current unit.In the present embodiment, the detection resistor is formed from a resistor R7 and a resistor R8.
[0032] As in Fig. As shown in Figure 2, pin 0 on the upper row of DIP switch K is connected to the negative terminal of LEDA, pin 1 is connected to the negative terminal of LEDB, and both pins 2 and 3 are connected to the negative terminal of the driver circuit (LED-). Pin 2 on the lower row of DIP switch K is connected to the negative terminal of LEDA and the negative terminal of LEDB via two diodes connected in parallel, respectively. Pin 3 is connected to the power bus LED+, pin 4 is connected to a negative terminal (LED-) that drives the switching unit, and pin 5 is connected to a power source terminal VCC of the first wall switch chip IC3.
[0033] The concrete principle for switching the DIP switch K in the embodiment described above is as follows: When DIP switch K is switched to the first left switching position, pin 0 (A-) and pin 2 (LED-) on the top row are connected together, and DIP switch K turns on the external LEDA to activate the circuit and illuminate LEDA, i.e., a first color temperature. When DIP switch K is switched to the second left switching position, pin 1 (B-) and pin 3 (LED-) on the top row are connected together, and DIP switch K turns on the circuit of the connected LEDB and illuminates LEDB, namely the second color temperature. When the DIP switch K is switched to the third left switching position, pin 2 (A and B-) and pin 4 (LEDs-) on the lower row are connected together, whereby the DIP switch K simultaneously switches on the connected LEDA and LEDB and illuminates the circuit, namely a third color temperature. When DIP switch K is switched to the left fourth switch position, pin 3 (LED+) and pin 5 on the lower row are connected. At this time, DIP switch K is operated to connect the power source bus LED+ to the power source end VCC of the first wall switching chip IC3, so that the first wall switching chip IC3 starts working. Since the front third area is not supplied with power (because the power source end of the first wall switching chip IC3 has no power), the first wall switching chip IC3 in the front third area is not put into operation, and it has no function of reducing the temperature when turning off the wall cutting chip IC3. Therefore, the wall switching chip IC3 is connected to a low potential at a static potential, which can cause no safety problems and provides a reliable circuit.Only in the fourth switching position does the first wall switching chip IC3 start to work, and the functionality is as follows: .
[0034] Detecting a wall switching signal through resistors R7 and R8, and turning on the MOS transistor inside the first wall switching chip IC3 according to the wall switching signal. For example, an alternative way for control is for the wall switch to perform a switch operation in which input D1 is connected to ground while input D2 is blocked, at which time the external LEDA turns on the circuit. When the switch is operated again, input D1 is turned off while input D2 is turned on, and at this time the external LEDB turns on the circuit. When the switch is operated again, input D1 and input D2 are turned on simultaneously, and at this time the external LEDA and LEDB are turned on simultaneously in the circuit, achieving the effect of the wall turning off the color temperature.
[0035] As in Fig. 3, in an alternative embodiment, the constant current module 4 comprises a second constant current unit and its peripheral circuitry. The second constant current unit is a constant current chip IC1 and is different from the type of constant current chip IC1 of the above embodiment. A voltage end (VCC) of a second constant current unit is provided for connection to the power source, and a power source output (LED+) of the second constant current unit is connected to the input of the LED load module 3 as the positive end of the constant current module 4. The negative end of the constant current module 4 represents the ground side of the circuit. The control output of the second constant current unit is connected to the control input of the wall switch module 2.
[0036] The special way of connecting the peripheral circuits and the effect is that the constant current chip IC1 provides a stable low-voltage direct current to the VCC power supply terminals of the constant current chip IC1 via the auxiliary windings T1-B of the transformer, after current limiting by capacitors C7, rectification by diode D3, and filtering and energy storage by capacitor C6. The OVP (overvoltage protection) voltage is divided by resistor R3 and resistor R4, and capacitor C3 is connected to the internal error amplifier of the constant current chip IC1 to compensate for the internal feedback loop. Resistor R4 is connected to the RTH pin to set the overtemperature protection points, and resistors R5 and R6 are connected in parallel to the SNP pin to set the maximum current of the LED load.The transformer windings T1-A store the power inductance of the boost converter circuit of the constant current chip IC1, thereby storing energy. Diode D1 is a freewheeling diode that acts as a freewheel when the power supply is switched to OFF. Diode D2 filters the pulse current into the output capacitor E2 when the power supply is switched to TOFF and during a surge pulse. Resistor R7 serves as a discharge resistor for the capacitor E2, and the capacitor E2 serves as an output filter capacitor. The MOS-Q is a switching element of a boost switching power supply. A high-frequency switch of the MOS-Q is controlled by the GATE pin of the constant current chip IC1, and the positive and negative ends of the output capacitor E2, i.e., the LED + and GND of the external LED load, are output.During the joint design with BOOST (boost circuit), the dimming signal output by the control output (PWM) of the second wall switching chip AM is transmitted to the control input (DPWM) of the second constant current unit for dimming control.
[0037] The wall switch module 2 includes a second wall switch chip AM, a control unit, and a voltage regulator tube D7. In this example, an AUTO-MODULE circuit is used as the second wall switch chip AM, and the circuit includes the wall switch control function, the inductive control control function, the IOT (Internet of Things) control function, and the dimming control function, which is flexibly defined by different functions. The control unit includes at least two sets of one-to-one corresponding control input ends and control output ends. The output of the second wall switch chip AM is connected to ground. A detection end (PWMN) of the second wall switch chip AM is provided for detecting control signals. The second wall switch chip AM includes at least two control output ends (PWM 1-PWM 5), each connected to a control input within the control units.The various outputs in the control unit are connected to different light sources in the LED load module 3. The control output end (PWM) of the second wall switching chip AM is connected to the control input end (DPWM) of the second constant current unit. The second wall switching chip AM adjusts the output of each of the control output ends according to the detection control signal. The power supply end (VDD) of the second wall switching chip AM is selectively connected to the power source via the DIP switch K. The output of the power supply is provided with a constant voltage power supply module CVDC for converting the high voltage into a stable low DC current (e.g., 3.3V / 5V, etc.) to supply power to the second wall switching chip AM. The negative terminal of the voltage regulating tube D7 is connected to a control input end of the second wall switching chip AM. A positive terminal of the voltage regulating tube D7 is connected to ground.
[0038] The control unit comprises at least two MOS transistors. The gate of each MOS transistor is connected to a control output end different from the second wall switching chip AM, namely to a control output (PWM 1-PWM 5). The drain of each MOS transistor is connected to a different light source in the LED load module 3. The sources of all MOS transistors are connected to ground. As shown in Fig. As shown in Figure 3, the control unit comprises five MOS transistors (Q 1-Q 5), each individually connected to the light source luminescent C, warm W, red R, green G and blue B, whereby in an alternative embodiment mixed LED light sources can be switched on simultaneously.
[0039] The concrete working principle of the circuit according to the above embodiment is as follows: A sensing end (PWMN) of the second wall switching chip AM is connected to the AC input neutral line, divided by resistors R9 and R8, and detects the wall switching signal. The control output ends (PWM 1-PWM 5) of the second wall switching chip AM can define that multiplexed PWM signals are output for controlling and executing the dimming and audible functions. When the sensor signal is detected (the wall connection switch is in a switching operation), the circuits connected to the LED load modules 3 are switched sequentially, while the control input pins (DPWM pins) of the second constant current chip IC1 are controlled by a control output (PWM) of the second wall switching chip AM to achieve dimming.The ON-widths of the LEDs of the respective paths are further controlled to achieve coloring by connecting the gates of MOS transistors Q1, MOS transistors Q2, MOS transistors Q3, MOS transistors Q4, and MOS transistors Q5 by PWM1, PWM2, PWM3, PWM4, and PWM5, respectively, while outputting a brightness control signal by PWM.
[0040] When the DIP switch K is switched to the first left switching position, the pin 0 (C-) and the pin 2 (GND) on the upper row are connected together, and at this point the DIP switch K turns on the external LEDC to activate the circuit and illuminate the LEDC, that is, cold color light.
[0041] Similarly, when DIP switch K is set to the second position, the circuit operates with the connected LEDW, and the LEDW is illuminated, i.e., warm-colored light. When DIP switch K is set to the third position, LEDC and LEDW are switched into the circuit simultaneously, i.e., the color temperature mixture.
[0042] When the DIP switch K is switched to the fourth left switch position, the pin 3 (CV 1) on the lower row is connected to the pin 5 (VDD), and at this time the DIP switch K connects the constant voltage power supply module CVDC to the power source end VDD of the second wall switching chip AM, which starts to work.
[0043] The second wall switching chip AM has, but is not limited to, several alternative operating modes: 1. Entering a dynamic cycle through customized PWM, PWM1, PWM2, PWM3, PWM4, and PWM5 logic after detecting that continuous wall 3 is closed, e.g., from luminescence to warm, back to RGB, and simultaneously changing the brightness. When the lamp is cycled to the target light state, the wall switching mode is closed. The wall switching mode is reopened, and the circuit saves the target light state. 2. Setting a stationary lighting mode. For example, one lighting mode is switched each time to achieve the high-brightness white light mode, the medium-brightness neutral light mode, and the low-brightness warm light mode. The three modes are switched sequentially and cyclically. 3. When detection is carried out by an induction function, the lighting is switched on slowly and switches to the light color slowly when it is detected that a person enters a specified induction area for the first time. 4. Wireless control can be implemented by APP based on IOT function.
[0044] In summary, the present utility model provides a multi-mode driver circuit based on a DIP switch. By providing the wall switch module and adding the function switch position to the DIP switch, and selectively connecting the power end of the wall switch module to the power source through the function switch position, the wall switch module can operate when the multi-function control needs to be triggered by placing the DIP switch in the function switch position. Furthermore, the LED load module can be dimmed and the color adjusted after detecting a control signal. That is, the DIP switch can not only realize a conventional color temperature switching function through the color temperature switching position, but can also realize a preset dimming color tone function through the color temperature switching position.
[0045] The above descriptions are merely exemplary of the present utility model and do not limit the scope of the patents, and all equivalents contained in the description and drawings of the present utility model or applied directly or indirectly to the corresponding prior art are included in the scope of the patents of the present utility model.
Claims
[1] Multimode driver circuit based on a DIP switch, characterized by that the multimode driver circuit comprises a DIP switch, a wall switch module, an LED load module and a constant current module, wherein the LED load module comprises at least two light sources with different color temperatures, and wherein a voltage end of the constant current module is provided for connection to a power source, and wherein a positive end of the constant current module is connected to an input of the LED load module, and wherein an output of the LED load module is connected to an input of the wall switch module and the DIP switch, and wherein an output of the wall switch module is connected to a negative end of the constant current module, and wherein a detection end of the wall switch module is provided to detect a control signal and to control the LED load module based on the control signal, and wherein the DIP switch includes a functional switch position in which the DIP switch connects a power end of the wall switch module to a power source. [2] Multimode driver circuit based on a DIP switch according to claim 1, characterized by that the DIP switch comprises at least two color temperature switching positions, wherein the light source in the LED load module is connected to the DIP switch, and wherein the light source in the LED load module is connected to the negative end of the constant current module in different ways in different color temperature switching positions. [3] Multimode driver circuit based on a DIP switch according to claim 1, characterized by that the constant current module comprises a first constant current unit and a driver circuit unit, wherein a voltage end of the first constant current unit is provided for connection to a current source and an output of the first constant current unit is connected to a first input of the driver circuit unit, and wherein a second input of the driver circuit unit is provided for connection to a voltage source, and the positive end of the driver circuit unit is connected to the input of the LED load module, and the negative end of the driver circuit unit is connected to the output of the wall switch module. [4] Multimode driver circuit based on a DIP switch according to claim 3, characterized by that the wall switch module comprises a first wall switch chip, wherein the output of the first wall switching chip is connected to the negative end of the driver circuit unit, and wherein a detection end of the first wall switching chip is provided for detecting a control signal, and wherein the first wall switching chip comprises at least two light source inputs, each connected to a different light source within the LED load module, and wherein the light source inputs adjust the output of each of the light source inputs based on the detected control signals, and wherein The power source end of the first wall switch chip is selectively connected to the power source through the DIP switch. [5] Multimode driver circuit based on a DIP switch according to claim 4, characterized by that the wall switch module further comprises a first capacitor and a second capacitor, wherein one end of the first capacitor is connected to the detection end of the first wall switching chip and the other end is connected to the output of the first wall switching chip, and wherein one end of the second capacitor is connected to the power supply end of the first wall switching chip and the other end is connected to the output of the first wall switching chip. [6] Multimode driver circuit based on a DIP switch according to claim 4, characterized by that the wall switch module further comprises a detection resistor, wherein one end of the detection resistor is connected to the detection end of the first wall switching chip and the other end is connected to the output of the first constant current unit. [7] Multimode driver circuit based on a DIP switch according to claim 1, characterized by that the constant current module comprises a second constant current unit, wherein the voltage end of the second constant current unit is provided for connection to a power source and a current output end of the second constant current unit is connected to an input of the LED load module as the positive end of the constant current module, and the negative end of the constant current module is an end for the circuit ground, and wherein a control output end of the second constant current unit is connected to a control input end of the wall switch module. [8] Multimode driver circuit based on a DIP switch according to claim 7, characterized by that the wall switch module comprises a second wall switch chip and a control unit, wherein the control unit comprises at least two sets of one-to-one corresponding control input ends and control output ends, and wherein the output of the second wall switching chip is connected to ground, and wherein the detection end of the second wall switching chip is provided to detect a control signal, and wherein the second wall switching chip comprises at least two control outputs, each of which is connected to a different control input within the control unit, and wherein different outputs within the control unit are connected to different light sources within the LED load module, and where a control output end of the second wall switching chip is connected to the control input end of the second constant current unit, and wherein the second wall switching chip adjusts the output of each of the control outputs based on the detection control signal, and wherein the power source end of the second wall switch chip is selectively connected to the power source through the DIP switch. [9] Multimode driver circuit based on a DIP switch according to claim 8, characterized by that the control unit comprises at least two MOS transistors, wherein a gate of each of the MOS transistors is respectively connected to different control output ends of the second wall switching chip, and wherein a drain of each of the MOS transistors is connected to different light sources in the LED load module, and wherein a source of all MOS transistors is connected to ground. [10] Multimode driver circuit based on a DIP switch according to claim 8, characterized by that the wall switch module comprises a voltage regulating tube, wherein a negative pole of the voltage regulating tube is connected to a control input end of the second wall switching chip, and wherein a positive pole of the voltage regulator tube is connected to a ground.