A circuit for adjusting the power and color temperature of LED lamps using a DIP switch
By designing the code-removing switch circuit, the problem of frequent switch operations and easy damage to mechanical contacts when adjusting the power segment and color temperature is solved, and flexible adjustment of power and color temperature is achieved, simplified operation and improved the diversity of lighting functions. .
Patent Information
- Application Number
- CN202010706282.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-21
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2040-07-21
AI Technical Summary
When adjusting the power segment and color temperature, the switch operation is frequent and inconvenient, the mechanical contacts are easily damaged, the remote control operation interface is complicated, and the use is limited.
A circuit using a code-exit switch is designed, including a power supply circuit, a square wave generation circuit, a non-isolated step-down power regulation processing circuit and a code-exit color temperature switching function circuit. The power and color temperature adjustment of LED lamps is realized through the dial switch, which simplifies the Operation, suitable for different occasions and environments.
It realizes flexible adjustment of the power and color temperature of LED lamps, reduces frequent switching operations and complex remote control interfaces, and improves the diversity of lighting functions and convenience of use.
Smart Images

Figure CN111683432B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of LED lamps, and in particular to a circuit for adjusting the power and color temperature of an LED lamp by using a DIP switch. Background Art
[0002] With the continuous innovation and development of LED light-emitting diode technology, the advantages of LED lamps such as energy saving and environmental protection are becoming more and more significant, and their use in family life is becoming more and more common. In order to meet the needs of different space environments, some LED lamps are equipped with adjustable power range and color temperature. However, most of the LED lamps on the market that can adjust the power range use wall switches to adjust the power range or achieve color temperature switching functions, but the switch operation is frequent, and multiple on and off switches have the risk of damaging the mechanical contacts of the switch, which is very inconvenient to operate. Some use wireless remote control functions to adjust power and color temperature, but they require additional remote control devices, and the remote control operation interface is complex, which has certain limitations.
[0003] Based on the above shortcomings, a circuit for adjusting the power and color temperature of LED lamps by using a DIP switch is proposed. Summary of the invention
[0004] The purpose of the present invention is to provide a circuit for adjusting the power and color temperature of LED lamps by using a DIP switch. The power is adjustable, the color temperature is adjustable, and it can be applied to installation requirements of different occasions and environments. The LED lighting functions are diverse, so as to solve the problems raised in the above background technology, such as frequent switch operation, risk of damage to the mechanical contacts of the switch, inconvenient operation, complex remote control operation interface, and certain limitations in use.
[0005] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a circuit for adjusting the power and color temperature of an LED lamp by using a DIP switch, comprising a power supply circuit, a square wave generating circuit, a non-isolated step-down power regulating processing circuit, a rectifier circuit and a DIP color temperature switching function circuit, wherein the output end of the power supply circuit is electrically connected to the input end of the square wave generating circuit, the output end of the square wave generating circuit is electrically connected to the input end of the non-isolated step-down power regulating processing circuit, the output end of the rectifier circuit is electrically connected to the input end of the non-isolated step-down power regulating processing circuit, and the output end of the non-isolated step-down power regulating processing circuit is electrically connected to the input end of the DIP color temperature switching function circuit.
[0006] Preferably, the rectifier circuit includes a capacitor X1, a resistor FR1, a rectifier DB1, a resistor R2, an inductor LR2, a resistor R1, an inductor LR1, an inductor CE1, a diode D1, a diode D2, a resistor R5, a resistor R6, a diode D3, a capacitor CE2 and a capacitor CBB1, the input end of the resistor FR1 is connected to the L1 power input end, the output end of the resistor FR1 is connected to the input end of the capacitor X1 and to the pin 1 of the rectifier DB1, the pin 2 of the rectifier DB1 is connected to the output end of the capacitor X1 and then to the N1 power input end, the pin 3 of the rectifier DB1 is connected to the input end of the resistor R1 and the inductor LR1, the output end of the resistor R1 and the inductor LR1 is connected and then to the N1 power input end. The pin 4 of the rectifier DB1 is connected to the input end of the resistor R2 and the input end of the inductor LR2, the resistor R2 is connected to the output end of the inductor LR2 and then connected to the input end of the diode D1, and connected to the input end of the capacitor CE2 and the output end of the capacitor CBB1; the output end of the diode D1 is connected to the output end of the inductor CE1 and then connected to the input end of the diode D2, the output end of the diode D2 is connected to the input end of the resistor R5 and to the input end of the resistor R6, the output ends of the resistor R5 and the resistor R6 are connected and then connected to the input end of the diode D3, and connected to the input end of the capacitor CE2.
[0007] Preferably, the power supply circuit includes chip U1, capacitors C1-C3, diode D4, diode D5, resistor R7, resistor R19, inductor LR3 and capacitor CE3. The model of chip U1 is AP8005 power chip. Pin 3 of chip U1 is connected to the output end of resistor R7 and to the output end of capacitor C2; the input end of resistor R7 is connected to the input end of diode D5 and to the output end of capacitor C1; the input end of diode D5 is connected to the 5V power input end and to the input end of inductor LR3, the input end of capacitor CE3 and the input end of resistor R16. The output ends of capacitor CE3 and resistor R16 are connected and then connected to the input end of diode D4. The output end of inductor LR3 is connected to the output end of diode D4 and then connected to the input end of capacitor C1, and is connected to the input end of capacitor C2, the input end of capacitor C3 and pin 8 of chip U1. The output end of capacitor C3 is connected to pin 1 of chip U1.
[0008] Preferably, the square wave generating circuit includes a dip switch JK1, a clock chip U2, a diode D6, a diode D7, a capacitor C4, a capacitor C5, a capacitor C6, a resistor R17, a resistor R8-resistor R13, the chip U2 is an 8-pin time base integrated circuit chip of NE555, the pin 1 of the dip switch JK1 is connected to the output end of the resistor R13, the pin 2 of the dip switch JK1 is connected to the pins 4 and 8 of the clock chip U2, the pin 3 of the dip switch JK1 is connected to the output end of the resistor R11, the pin 4 of the dip switch JK1 is connected to the output end of the resistor R9, the pin 5 of the dip switch JK1 is connected to the output end of the resistor R8, and the pin 1 of the switch JK1 is connected to the output end of the resistor R10. 6 is connected to the output end of the resistor R10, the pin 7 of the dip switch JK1 is connected to the output end of the diode D6, the input end of the diode D6 is connected to the pin 2 of the clock chip U2, and the pin 1 of the dip switch JK1 is connected to the output end of the resistor R12; the input ends of the resistor R13, the resistor R11, the resistor R9, the resistor R8, the resistor R10 and the resistor R12 are connected and then connected to the pin 7 of the clock chip U2, and to the input end of the diode D7, the output end of the diode D7 is connected to the pin 6 of the clock chip U2, and to the input end of the capacitor C4 and the input end of the diode D6, and the output end of the capacitor C4 is connected to the pin 1 of the clock chip U2 and then grounded.
[0009] Preferably, the non-isolated step-down power regulation processing circuit includes a chip U3, a resistor Rs1, a resistor Rs2, a resistor R14, a resistor R18, a capacitor C7, a diode D8, an inductor TR1, a capacitor CE4, a resistor R19 and a capacitor CY1, the pin 1 of the chip U3 is connected to the pin 1 of the inductor TR1, the pin 4 of the inductor TR1 is connected to the pin 2 and the pin 7 of the DIP power regulation switch JK2, and is connected to the output end of the capacitor CE4, the output end of the resistor R19 and the input end of the capacitor CY1, and the output end of the capacitor CY1 is grounded; ... Connected to the input end of resistor R14, pin 8 of chip U3 is connected to the input ends of resistors Rs1 and Rs2, the output ends of resistors Rs1, Rs2 and R14 are connected to pin 2 of chip U3 and then grounded, and pin 2 of chip U3 is connected to the output end of resistor R2; pin 5 of the chip U3 is connected to the input end of diode D8 and to the output end of resistor R18, and the input end of resistor R18 is connected to the output end of capacitor C7; the input ends of capacitor C7, capacitor CE4 and resistor R19 are connected and then connected to the output end of resistor R1.
[0010] Preferably, the dip color temperature switching function circuit includes a dip power switch JK2 and a pin J1, pins 4, 5 and 6 of the dip power switch JK2 are connected and then connected to pin 1 of the pin J1, pin 1, pin 3 and pin 8 of the dip power switch JK2 are connected and then connected to pin 3 of the pin J1; pin 2 of the pin J1 is connected to pin 5 of the chip U1.
[0011] Compared with the prior art, the beneficial effects of the present invention are as follows: the circuit proposed by the present invention uses a DIP switch to adjust the power and color temperature of an LED lamp, has the functions of adjustable power and adjustable color temperature, can be applied to installation requirements in different occasions and environments, eliminates frequent switch operations and complex remote control interfaces, and makes the LED lighting functions diverse. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is a principle block diagram of the present invention;
[0013] Figure 2 It is the overall circuit principle diagram of the present invention;
[0014] Figure 3 A circuit diagram for generating a square wave signal of the present invention;
[0015] Figure 4 The square wave waveform diagram of the present invention with a duty cycle of 50%;
[0016] Figure 5 The square wave waveform diagram of the present invention has a duty cycle of less than 50%;
[0017] Figure 6 is a power supply circuit diagram of the present invention;
[0018] Figure 7 It is a non-isolated step-down power regulation processing circuit diagram of the present invention;
[0019] Figure 8 This is a circuit diagram of the color temperature switching function of the present invention.
[0020] In the figure: 1. Power supply circuit; 2. Square wave generating circuit; 3. Non-isolated step-down power regulation processing circuit; 4. Rectification circuit; 5. Color temperature switching function circuit. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] See also Figure 1-2A circuit for adjusting the power and color temperature of an LED lamp by using a DIP switch, comprising a power supply circuit 1, a square wave generating circuit 2, a non-isolated buck power regulating processing circuit 3, a rectifier circuit 4 and a DIP color temperature switching function circuit 5, wherein the output end of the power supply circuit 1 is electrically connected to the input end of the square wave generating circuit 2, the output end of the square wave generating circuit 2 is electrically connected to the input end of the non-isolated buck power regulating processing circuit 3, the output end of the rectifier circuit 4 is electrically connected to the input end of the non-isolated buck power regulating processing circuit 3, and the output end of the non-isolated buck power regulating processing circuit 3 is electrically connected to the input end of the DIP color temperature switching function circuit 5.
[0023] See also Figure 2 The rectifier circuit 4 includes a capacitor X1, a resistor FR1, a rectifier DB1, a resistor R2, an inductor LR2, a resistor R1, an inductor LR1, an inductor CE1, a diode D1, a diode D2, a resistor R5, a resistor R6, a diode D3, a capacitor CE2 and a capacitor CBB1. The input end of the resistor FR1 is connected to the power input end of L1, the output end of the resistor FR1 is connected to the input end of the capacitor X1 and to the pin 1 of the rectifier DB1, the pin 2 of the rectifier DB1 is connected to the output end of the capacitor X1 and then to the power input end of N1, the pin 3 of the rectifier DB1 is connected to the input end of the resistor R1 and the inductor LR1, the output end of the resistor R1 and the inductor LR1 are connected and then to To the input end of inductor CE1, the output end of diode D3 and the input end of capacitor CBB1; pin 4 of rectifier DB1 is connected to the input ends of resistor R2 and inductor LR2, resistor R2 is connected to the output end of inductor LR2 and then connected to the input end of diode D1, and connected to the input end of capacitor CE2 and the output end of capacitor CBB1; the output end of diode D1 is connected to the output end of inductor CE1 and then connected to the input end of diode D2, the output end of diode D2 is connected to the input end of resistor R5 and to the input end of resistor R6, the output ends of resistor R5 and resistor R6 are connected and then connected to the input end of diode D3, and connected to the input end of capacitor CE2.
[0024] See also Figure 6The power supply circuit 1 includes a chip U1, capacitors C1-C3, a diode D4, a diode D5, a resistor R7, a resistor R19, an inductor LR3 and a capacitor CE3. The chip U1 is a power chip of AP8005. Pin 3 of the chip U1 is connected to the output end of the resistor R7 and to the output end of the capacitor C2; the input end of the resistor R7 is connected to the input end of the diode D5 and to the output end of the capacitor C1; the input end of the diode D5 is connected to the output end of the 5V power supply and to the input end of the inductor LR3, the input end of the capacitor CE3 and the input end of the resistor R16. The capacitor The output ends of CE3 and resistor R16 are connected to the input end of diode D4. The output end of inductor LR3 is connected to the output end of diode D4 and then connected to the input end of capacitor C1, and connected to the input end of capacitor C2, the input end of capacitor C3 and pin 8 of chip U1. The output end of capacitor C3 is connected to pin 1 of chip U1. A non-isolated constant voltage 5V1 output is formed through chip U1 and inductor LR3. The function of chip U1 is to maintain the stability of the output voltage when the AC input voltage fluctuates, and it has short circuit protection, open circuit protection, over-temperature protection, low noise, and extremely low standby power consumption.
[0025] See also Figure 3The square wave generating circuit 2 includes a dip switch JK1, a clock chip U2, a diode D6, a diode D7, a capacitor C4, a capacitor C5, a capacitor C6, a resistor R17, a resistor R8-resistor R13, the chip U2 is an 8-pin time base integrated circuit chip of NE555, pin 1 of the dip switch JK1 is connected to the output end of the resistor R13, pin 2 of the dip switch JK1 is connected to pins 4 and 8 of the clock chip U2, pin 3 of the dip switch JK1 is connected to the output end of the resistor R11, pin 4 of the dip switch JK1 is connected to the output end of the resistor R9, pin 5 of the dip switch JK1 is connected to the output end of the resistor R8, pin 6 of the dip switch JK1 is connected to the output end of the resistor R10, pin 7 of the dip switch JK1 is connected to the output end of the diode D6, the input end of the diode D6 is connected to pin 2 of the clock chip U2, and the dip switch JK1 Pin 1 is connected to the output end of resistor R12; the input ends of resistors R13, R11, R9, R8, R10 and R12 are connected and then connected to pin 7 of clock chip U2, and connected to the input end of diode D7; the output end of diode D7 is connected to pin 6 of clock chip U2, and connected to the input end of capacitor C4 and the input end of diode D6; the output end of capacitor C4 is connected to pin 1 of clock chip U2 and then grounded; when the non-isolated step-down power regulation processing circuit 3 obtains a suitable square wave signal, clock chip U2 can generate this waveform signal, as long as a 5V power supply voltage is given to clock chip U2, the inside of clock chip U2 can oscillate immediately, but due to the existence of capacitor C4, the voltage cannot suddenly change, causing clock chip U2 to be set, and the output is in a high level state at this time, and the charging time of capacitor C4 is determined by T 充= 0.7*R9*C4, T 充= 0.7*R11*C4, T 充= 0.7*R13*C4 (i.e. the charging circuit selection depends on which part combination the DIP switch JK1 is in). When the voltage on capacitor C4 is charged to 2 / 3VDD, the clock chip U2 is reset. At this time, the clock chip U2 outputs a low level. After charging, capacitor C4 will also form a discharge circuit through diode D4, resistor R8 / resistor R10 / resistor R12 and the internal transistor and internal resistor of clock chip U2. The discharge time is determined by T 放 =0.7*R8*C4, T 放 =0.7*10*C4, T 放 =0.7*R12*C4 (the discharge circuit selection depends on which part combination the DIP switch JK1 is in). It can be concluded that this characteristic of the clock chip U2 produces an oscillation period T=T 充 +T 放. According to the duty cycle formula (Since R8+R9 is one of the gear combinations, only the formula for this gear is listed here, and the formulas for other gears are the same), the oscillation frequency is It can be seen from the formula that when the values of resistors R8, R9, R10, R11, R12 and R13 are changed, the duty cycle of the output will change accordingly. The value of capacitor C4 determines the waveform frequency output by clock chip U2. By using the combination of DIP switch JK1 and various resistors, different gear resistance values can be obtained, and any duty cycle waveform can be obtained.
[0026] According to the above principle, the square wave generating circuit 2 is simulated and verified, and the results of the duty cycle D being 50% and the duty cycle D being less than 50% are verified respectively. For the waveform diagram of the square wave with a duty cycle of 50%, please refer to Figure 4 For the square wave waveform with duty cycle D less than 50%, please refer to Figure 5 .
[0027] See also Figure 7 The non-isolated step-down power regulation processing circuit 3 includes a chip U3, a resistor Rs1, a resistor Rs2, a resistor R14, a resistor R18, a capacitor C7, a diode D8, an inductor TR1, a capacitor CE4, a resistor R19 and a capacitor CY1. The chip U3 adopts a step-down LED constant current driver chip of model BP2956DS. Pin 1 of the chip U3 is connected to pin 1 of the inductor TR1, and pin 4 of the inductor TR1 is connected to pins 2 and 7 of the pull-up power switch JK2, and is connected to the output end of the capacitor CE4, the output end of the resistor R19 and the input end of the capacitor CY1. The output end of the capacitor CY1 is grounded; pin 1 of the chip U3 is connected to the input end of the resistor R14, and pin 8 of the chip U3 is connected to the input ends of the resistor Rs1 and the resistor Rs2. The resistors Rs1, Rs2, and The output end of resistor R14 is connected to pin 2 of chip U3 and then grounded, and pin 2 of chip U3 is connected to the output end of resistor R2; pin 5 of chip U3 is connected to the input end of diode D8, and to the output end of resistor R18, and the input end of resistor R18 is connected to the output end of capacitor C7; the input ends of capacitor C7, capacitor CE4 and resistor R19 are connected and then connected to the output end of resistor R1; the step-down power regulation processing circuit composed of chip U3 and inductor TR1, the PWM signal generated by square wave generating circuit 2 is processed by the pull-code power regulation switch JK2, and after the duty cycle of the PWM signal is adjusted and switched, it is given to the DIM pin of chip U3. Through the internal modulation of the chip, the output average current can be changed to meet the output power requirement of the control product.
[0028] See also Figure 8The color temperature switching circuit 5 includes a power switch JK2 and a pin J1. Pins 4, 5 and 6 of the power switch JK2 are connected to pin 1 of pin J1. Pins 1, 3 and 8 of the power switch JK2 are connected to pin 3 of pin J1. Pin 2 of the pin J1 is connected to pin 5 of chip U1. To adapt to different usage atmospheres, a switch for color temperatures of 3000K and 6000K is added to the circuit, namely, the power switch JK2. The output current is first divided by the LED lamp beads. , and then go back to the DIP power switch JK2, where pins 2 and 7 of the DIP power switch JK2 are input terminals, and then pins 1 and 8 of the DIP power switch JK2 are output ports of 3000K LED lamp beads, and pins 4 and 5 of the DIP power switch JK2 are output ports of 6000K LED lamp beads (assuming that pins 1 and 8 are defined as 6000K color temperature, and pins 4 and 5 are defined as 3000K color temperature). After pulling the code, three levels of color temperature adjustment can be achieved, where pins 3 and 6 are 4000K neutral light (6000K+3000K) output ports.
[0029] This circuit uses a DIP switch to adjust the power and color temperature of LED lamps. The chip U1 and the inductor LR3 form a non-isolated constant voltage 5V1 output. The chip U1 is used to maintain the stability of the output voltage. It has the advantages of short circuit protection, open circuit protection, over-temperature protection, low noise, and extremely low standby power consumption.
[0030] When the clock chip U2 is powered by 5V, it can oscillate. Capacitor C4 can prevent voltage mutation, so that the clock chip U2 generates a set output high level. When the voltage on capacitor C4 is charged to 2 / 3VDD voltage, the clock chip U2 is reset, and the clock chip U2 outputs a low level. After charging is completed, the internal components of the clock chip U2 form a discharge circuit. According to this characteristic of the clock chip U2, an oscillation period T=T is generated. 充 +T 放 According to the duty cycle formula The oscillation frequency is It can be seen from the formula that when the values of resistors R8, R9, R10, R11, R12 and R13 are changed, the duty cycle of the output will change accordingly. The value of capacitor C4 determines the waveform frequency output by clock chip U2. By using the combination of DIP switch JK1 and various resistors, different gear resistance values can be obtained, and any duty cycle waveform can be obtained.
[0031] Chip U3 and inductor TR1 form a step-down power regulation processing circuit. The PWM signal generated by the square wave generating circuit 2 is processed by the power regulation switch JK2. After the duty cycle of the PWM signal is adjusted and switched, it is given to the DIM pin of the chip U3. Through the internal modulation of the chip, the output average current can be changed to meet the output power requirements of the control product.
[0032] In order to adapt to different usage atmosphere scenarios, a DIP power switch JK2 is added to achieve three-level color temperature adjustment.
[0033] In summary, the circuit proposed in the present invention uses a DIP switch to adjust the power and color temperature of an LED lamp, has the functions of adjustable power and adjustable color temperature, can be applied to installation requirements in different occasions and environments, eliminates frequent switch operations and complex remote control interfaces, and makes the LED lighting functions diverse.
[0034] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A circuit for adjusting the power and color temperature of LED lamps by using a DIP switch, characterized in that: The invention comprises a power supply circuit (1), a square wave generating circuit (2), a non-isolated step-down power regulation processing circuit (3), a rectifier circuit (4) and a code-switching color temperature switching function circuit (5), wherein the output end of the power supply circuit (1) is electrically connected to the input end of the square wave generating circuit (2), the output end of the square wave generating circuit (2) is electrically connected to the input end of the non-isolated step-down power regulation processing circuit (3), the output end of the rectifier circuit (4) is electrically connected to the input end of the non-isolated step-down power regulation processing circuit (3), and the output end of the non-isolated step-down power regulation processing circuit (3) is electrically connected to the input end of the code-switching color temperature switching function circuit (5); The rectifier circuit (4) comprises a capacitor X1, a resistor FR1, a rectifier DB1, a resistor R2, an inductor LR2, a resistor R1, an inductor LR1, an inductor CE1, a diode D1, a diode D2, a resistor R5, a resistor R6, a diode D3, a capacitor CE2 and a capacitor CBB1, the input end of the resistor FR1 is connected to the input end of the L1 power supply input end, the output end of the resistor FR1 is connected to the input end of the capacitor X1 and to the pin 1 of the rectifier DB1, the pin 2 of the rectifier DB1 is connected to the output end of the capacitor X1 and then to the power supply input end of N1, the pin 3 of the rectifier DB1 is connected to the input end of the resistor R1 and the inductor LR1, the output end of the resistor R1 and the inductor LR1 are connected and then to the To the input end of the inductor CE1, the output end of the diode D3 and the input end of the capacitor CBB1; the pin 4 of the rectifier DB1 is connected to the input ends of the resistor R2 and the inductor LR2, the resistor R2 is connected to the output end of the inductor LR2 and then connected to the input end of the diode D1, and connected to the input end of the capacitor CE2 and the output end of the capacitor CBB1; the output end of the diode D1 is connected to the output end of the inductor CE1 and then connected to the input end of the diode D2, the output end of the diode D2 is connected to the input end of the resistor R5 and to the input end of the resistor R6, the output ends of the resistor R5 and the resistor R6 are connected and then connected to the input end of the diode D3, and connected to the input end of the capacitor CE2; The power supply circuit (1) comprises a chip U1, capacitors C1 to C3, a diode D4, a diode D5, a resistor R7, a resistor R19, an inductor LR3 and a capacitor CE3. The chip U1 is a power chip of model AP8005. Pin 3 of the chip U1 is connected to the output end of the resistor R7 and to the output end of the capacitor C2; the input end of the resistor R7 is connected to the input end of the diode D5 and to the output end of the capacitor C1; the input end of the diode D5 is connected to the 5V power input end and to the input end of the inductor LR3, the input end of the capacitor CE3 and the input end of the resistor R16; the output ends of the capacitor CE3 and the resistor R16 are connected and then connected to the input end of the diode D4; the output end of the inductor LR3 is connected to the output end of the diode D4 and then connected to the input end of the capacitor C1, and is connected to the input end of the capacitor C2, the input end of the capacitor C3 and pin 8 of the chip U1; the output end of the capacitor C3 is connected to pin 1 of the chip U1; The square wave generating circuit (2) comprises a dial switch JK1, a clock chip U2, a diode D6, a diode D7, a capacitor C4, a capacitor C5, a capacitor C6, a resistor R17, a resistor R8-resistor R13, the chip U2 is an 8-pin time base integrated circuit chip of NE555, the pin 1 of the dial switch JK1 is connected to the output end of the resistor R13, the pin 2 of the dial switch JK1 is connected to the pins 4 and 8 of the clock chip U2, the pin 3 of the dial switch JK1 is connected to the output end of the resistor R11, the pin 4 of the dial switch JK1 is connected to the output end of the resistor R9, the pin 5 of the dial switch JK1 is connected to the output end of the resistor R8, and the pin 6 is connected to the output end of the resistor R10, the pin 7 of the dip switch JK1 is connected to the output end of the diode D6, the input end of the diode D6 is connected to the pin 2 of the clock chip U2, and the pin 1 of the dip switch JK1 is connected to the output end of the resistor R12; the input ends of the resistor R13, the resistor R11, the resistor R9, the resistor R8, the resistor R10 and the resistor R12 are connected and then connected to the pin 7 of the clock chip U2, and connected to the input end of the diode D7, the output end of the diode D7 is connected to the pin 6 of the clock chip U2, and connected to the input end of the capacitor C4 and the input end of the diode D6, and the output end of the capacitor C4 is connected to the pin 1 of the clock chip U2 and then grounded; The non-isolated step-down power regulation processing circuit (3) comprises a chip U3, a resistor Rs1, a resistor Rs2, a resistor R14, a resistor R18, a capacitor C7, a diode D8, an inductor TR1, a capacitor CE4, a resistor R19 and a capacitor CY1. The chip U3 adopts a step-down LED constant current driver chip of model BP2956DS. The pin 1 of the chip U3 is connected to the pin 1 of the inductor TR1, the pin 4 of the inductor TR1 is connected to the pin 2 and the pin 7 of the power switch JK2, and is connected to the output end of the capacitor CE4, the output end of the resistor R19 and the input end of the capacitor CY1. The input end of the capacitor CY1 is connected to the output end of the capacitor CE4, the output end of the resistor R19 and the input end of the capacitor CY1. The output end is grounded; Pin 1 of the chip U3 is connected to the input end of the resistor R14, Pin 8 of the chip U3 is connected to the input ends of the resistors Rs1 and Rs2, the output ends of the resistors Rs1, Rs2 and R14 are connected to Pin 2 of the chip U3 and then grounded, Pin 2 of the chip U3 is connected to the output end of the resistor R2; Pin 5 of the chip U3 is connected to the input end of the diode D8, and to the output end of the resistor R18, and the input end of the resistor R18 is connected to the output end of the capacitor C7; the input ends of the capacitor C7, the capacitor CE4 and the resistor R19 are connected and then connected to the output end of the resistor R1; The color temperature switching function circuit (5) comprises a power switch JK2 and a pin J1. Pins 4, 5 and 6 of the power switch JK2 are connected to pin 1 of the pin J1. Pins 1, 3 and 8 of the power switch JK2 are connected to pin 3 of the pin J1. Pin 2 of the pin header J1 is connected to pin 5 of the chip U1.
