Slowly-turned-on and slowly-turned-off lamp
By designing the power supply slow control circuit in the lamp, the slow start and slow off function of the LED lamp is realized, which solves the problem of existing lamps being unable to turn on and off slowly, and improves the user experience.
Patent Information
- Application Number
- CN202411105642.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-09-10
AI Technical Summary
Existing lamps cannot realize slow start and slow off during the process of turning on and off the lights, resulting in eye discomfort when turning on the lights and dull vision when turning off the lights.
A lamp including a power buffer control circuit is designed. It outputs a power supply voltage within a preset range through rectification, filtering and transformation, detects the power-on and power-off status of the AC power supply, and adjusts the power supply current according to the preset duty cycle. , control the LED light to gradually change from dark to full brightness within the preset slow start time, and gradually extinguish from full brightness within the slow off time.
It realizes the slow turning on and off of the LED light, avoids eye irritation and visual dullness, and provides a more comfortable use experience.
Smart Images

Figure CN118632401A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to a slow-on and slow-off lamp. Background Art
[0002] When existing lamps are turned on and off, the LED power module controls the supply current to achieve switch control; the supply current is set before leaving the factory, and the light usually changes quickly and cannot be turned on and off slowly (slowly on and slowly off). During the process of turning on the light, it is easy to dazzle the eyes due to the rapid lighting, causing eye discomfort and a momentary dizziness effect, which takes a while to return to normal. During the process of turning off the light, it is easy to have visual dullness due to the rapid light off. It takes time to recover. Summary of the invention
[0003] In view of the above technical problems, an embodiment of the present invention provides a slow-on and slow-off lamp to solve the problem that existing lamps cannot be slowly started and slowly extinguished.
[0004] The embodiment of the present invention provides a slow-on and slow-off lamp, comprising a circuit board and an LED lamp, wherein the circuit board is provided with a power supply slow control circuit; The power supply slow control circuit rectifies, filters and transforms the AC power supply, and then outputs a power supply voltage within a preset range to power the LED lamp; detects the power-on and power-off states of the AC power supply, and when powered on, adjusts the supply current according to a preset duty cycle, and controls the LED lamp to gradually change from dark to full light within a preset slow start time; when powered off, adjusts the supply current according to a preset duty cycle, and controls the LED lamp to gradually turn off from full light within a preset slow off time.
[0005] Optionally, in the slow-on and slow-off lamp, the power supply slow-control circuit includes an input module, a control module, a power supply module, a dimming module and an output module; The input module outputs a DC power supply after rectifying and filtering the AC power supply; The control module presets the slow start-up time and the duty cycle according to the switch operation, detects the power-on and power-off status of the AC power supply, and outputs a pulse width modulation signal corresponding to the slow start-up time, the slow turn-off time and the duty cycle; The power supply module stabilizes the DC power supply and then outputs it to the control module for power supply; The output module transforms the DC power supply and outputs a supply voltage to power the LED lamp; The dimming module controls the LED lamp to gradually light up according to the corresponding duty cycle within a preset slow start time when power is on, and controls the LED lamp to gradually turn off according to the corresponding duty cycle within a preset slow turn-off time when power is off according to the pulse width modulation signal.
[0006] Optionally, in the slow-on and slow-off lamp, the input module includes a fuse, a rectifier bridge, a first capacitor and a varistor; The positive input end of the power supply of the rectifier bridge is connected to the live wire end through a fuse, and the negative input end of the power supply of the rectifier bridge is connected to the neutral wire end and the control module; the DC positive output end of the rectifier bridge is connected to one end of the varistor, one end of the first capacitor, the power supply module and the output module; the DC negative output end of the rectifier bridge is connected to the other end of the varistor, the other end of the first capacitor, the ground and the power supply module.
[0007] Optionally, in the slow-on and slow-off lamp, the control module includes a single-chip microcomputer, a toggle switch, a code switch, a stable output chip, a second capacitor, a first resistor, a second resistor and a judgment and detection unit; The VCC pin of the single-chip microcomputer is connected to the first power supply end, the OUT pin of the stable output chip, one end of the second capacitor and one end of the second resistor; the IN pin of the stable output chip is connected to the power supply module; the GND pin of the stable output chip is connected to the other end of the second capacitor, the GND pin of the single-chip microcomputer and the ground; the PWM-O pin of the single-chip microcomputer is connected to the dimming module; the Ton pin of the single-chip microcomputer is connected to the other end of the second resistor, the first pin and the second pin of the toggle switch; the third pin and the fourth pin of the toggle switch are both grounded, the Isw pin of the single-chip microcomputer is connected to one end of the first resistor and the fluctuation end of the dial switch, the other end of the first resistor is connected to the first power supply end, and the first pin of the dial switch is suspended; the second pin, the third pin and the fourth pin of the dial switch are all grounded; the AC EL pin of the single-chip microcomputer U is connected to the judgment and detection unit.
[0008] Optionally, in the slow-on and slow-off lamp, the judgment and detection unit includes a first diode, a second diode, a switch tube, a third capacitor, a third resistor, a fourth resistor and a fifth resistor; The positive electrode of the first diode is connected to the neutral line terminal and the negative input terminal of the power supply of the rectifier bridge, the negative electrode of the first diode is connected to one end of the third resistor, the other end of the third resistor is connected to one end of the fourth resistor and the collector of the switching tube, the other end of the fourth resistor is connected to the base of the switching tube and the negative electrode of the second diode; the positive electrode of the second diode is connected to one end of the third capacitor, one end of the fifth resistor and the ground, and the emitter of the switching tube is connected to the other end of the third capacitor, the other end of the fifth resistor and the AC EL pin of the microcontroller.
[0009] Optionally, in the slow-on and slow-off lamp, the power supply module includes a voltage stabilizing chip, an inductor, a third diode, a fourth diode, a fifth diode, a sixth diode, a fourth capacitor and a fifth capacitor; The DRAIN pin of the voltage stabilizing chip is connected to one end of the fourth capacitor and the positive electrode of the third diode, the other end of the fourth capacitor is connected to the other end of the first capacitor and the ground, the positive electrode of the third diode is connected to one end of the first capacitor and the output module, and the VCC pin of the voltage stabilizing chip is connected to one end of the fifth capacitor and the positive electrode of the fourth diode; the SEL pin of the voltage stabilizing chip is connected to the other end of the fifth capacitor, the GND pin of the voltage stabilizing chip, one end of the inductor, the negative electrode of the sixth diode and the CS pin of the voltage stabilizing chip; the negative electrode of the fourth diode is connected to the negative electrode of the fifth diode, the other end of the inductor is connected to the positive electrode of the fifth diode and the IN pin of the stable output chip, and the positive electrode of the sixth diode is grounded.
[0010] Optionally, in the slow-on and slow-off lamp, the dimming module includes a control chip, a seventh diode, an eighth resistor, a ninth resistor and a seventh capacitor; The VCC pin of the control chip is connected to the cathode of the seventh diode and the output module, the anode of the seventh diode is connected to the output module and one end of the eighth resistor, the FB pin of the control chip is connected to the other end of the eighth resistor and one end of the ninth resistor, the DIM pin of the control chip is connected to the other end of the ninth resistor and the ground through the seventh capacitor, the CS pin and the GND pin of the control chip are grounded, the PWM pin of the control chip is connected to the PWM-O pin of the microcontroller, and the DRAIN pin of the control chip is connected to the output module.
[0011] Optionally, in the slow-on and slow-off lamp, the output module includes a transformer, an eighth diode, a ninth diode and a tenth capacitor; The 5th pin of the transformer is connected to the cathode of the eighth diode, one end of the first capacitor and the anode of the third diode; the anode of the eighth diode is connected to the DRAIN pin of the control chip, the 4th pin of the transformer is suspended, the 8th pin of the transformer is connected to the anode of the ninth diode, the cathode of the ninth diode is connected to the anode of the LED lamp, the 6th pin of the transformer is connected to one end of the tenth capacitor and the cathode of the LED lamp, the other end of the tenth capacitor is grounded, the 1st pin of the transformer is connected to the anode of the seventh diode, and the 2nd pin of the transformer is grounded.
[0012] Optionally, in the slow-on and slow-off lamp, the power supply module outputs a DC power supply to the control module when powered on, and outputs a DC voltage provided by the output module to the control module after the detection operation is stable.
[0013] Optionally, in the slow-on and slow-off lamp, the power supply module includes a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a nineteenth resistor, a twentieth resistor, a tenth diode, a thirteenth diode and a thirteenth capacitor; One end of the sixteenth resistor is connected to one end of the first capacitor and the output module, and the other end of the sixteenth resistor is connected to one end of the nineteenth resistor through the seventeenth resistor and the eighteenth resistor in sequence; the other end of the nineteenth resistor is connected to the IN pin of the stable output chip, the cathode of the tenth diode, the cathode of the thirteenth diode and one end of the thirteenth capacitor; the positive electrode of the tenth diode is connected to the other end of the thirteenth capacitor and the GND pin of the stable output chip, and the positive electrode of the thirteenth diode is connected to the first pin of the transformer in the output module.
[0014] In the technical solution provided by the embodiment of the present invention, the slow-start and slow-extinguishing lamp includes a circuit board and an LED lamp, and the circuit board is provided with a power supply slow-control circuit; the power supply slow-control circuit rectifies, filters, and transforms the AC power supply, and then outputs a power supply voltage within a preset range to power the LED lamp; the power-on and power-off states of the AC power supply are detected, and when powered on, the power supply current is adjusted according to a preset duty cycle, and the LED lamp is controlled to gradually change from dark to full light within a preset slow-start time; when powered off, the power supply current is adjusted according to a preset duty cycle, and the LED lamp is controlled to gradually turn off from full light within a preset slow-extinguishing time. The problem that existing lamps cannot be slow-started and slow-extinguished is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a structural block diagram of the power supply slow control circuit in the first embodiment of the present invention.
[0016] Figure 2 Schematic diagram of a power supply slow control circuit in Embodiment 1 of the present invention.
[0017] Figure 3 It is a structural block diagram of the power supply slow control circuit in the second embodiment of the present invention.
[0018] Figure 4 Schematic diagram of a power supply slow control circuit in Embodiment 2 of the present invention. DETAILED DESCRIPTION
[0019] 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. The embodiments of the present invention and all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0020] Please also see Figure 1 and Figure 2The slow-start and slow-extinguishing lamp provided in the embodiment of the present invention includes a circuit board and an LED lamp. The circuit board is provided with a power supply slow-control circuit 10, and the power supply slow-control circuit 10 is connected to the LED lamp. The power supply slow-control circuit 10 rectifies, filters, and transforms the AC power supply (AC-L, AC-N), and then outputs a power supply voltage (LED+, LED-) within a preset range to power the LED lamp; detects the power-on and power-off states of the AC power supply, and adjusts the power supply current according to a preset duty cycle when powered on, and controls the LED lamp to gradually change from dark to full light within a preset slow-start time; adjusts the power supply current according to a preset duty cycle when powered off, and controls the LED lamp to gradually turn from full light to full light within a preset slow-extinguishing time. The LED light lights up slowly, so it will not irritate the eyes; it slowly dims after turning off the light to avoid visual dullness.
[0021] It should be understood that the lamp also includes a lampshade, hardware (such as a bottom plate, a lamp arm, a connector, etc.), a neutral wire and other structures, which are prior art and will not be described in detail here. This embodiment mainly improves the power supply slow control circuit 10 on the circuit board, and other existing circuits on the circuit board are not described in detail. The LED lamp can be an LED lamp string, a plurality of LED lamp beads, a light bulb or a light strip. Here, the LED lamp represents the light-emitting part, and its specific structure or composition is not limited.
[0022] In the first embodiment, the power supply slow control circuit 10 includes an input module 110, a control module 120, a power supply module 1301 (130), a dimming module 140 and an output module 150; the input module 110 is connected to the control module 120, the power supply module 1301 (130) and the output module 150; the output module 150 is connected to the dimming module 140 and the LED lamp. The input module 110 outputs a DC power supply after rectifying and filtering the AC power supply; the control module 120 presets the slow start-up time and duty cycle according to the switch operation, detects the power-on and power-off status of the AC power supply, outputs a pulse width modulation signal corresponding to the slow start-up time and duty cycle when powered on, and outputs a pulse width modulation signal corresponding to the slow off time and duty cycle when powered off; the power supply module 1301 (130) stabilizes the DC power supply and outputs it to the control module for power supply, and the output module 150 transforms the DC power supply and outputs the power supply voltage to power the LED lamp; the dimming module 140 controls the LED lamp to gradually change from dark to full light according to the corresponding duty cycle within the preset slow start-up time when powered on, and controls the LED lamp to gradually turn off from full light according to the corresponding duty cycle within the preset slow off time when powered off.
[0023] like Figure 2As shown, in Embodiment 1, the input module 110 includes a fuse F1, a rectifier bridge BD1, a first capacitor C1 and a varistor RV; the positive power input terminal 2 of the rectifier bridge BD1 is connected to the live wire terminal through the fuse F1, and the negative power input terminal 3 of the rectifier bridge BD1 is connected to the neutral wire terminal and the control module 120; the DC positive output terminal 1 of the rectifier bridge BD1 is connected to one end of the varistor RV, one end of the first capacitor C1, the power supply module 1301 (130) and the output module 150; the DC negative output terminal 4 of the rectifier bridge BD1 is connected to the other end of the varistor RV, the other end of the first capacitor C1, the ground and the power supply module 1301 (130).
[0024] The AC power (AC_L and AC_N) input from the live and neutral terminals is rectified by the fuse F1 and the rectifier bridge BD1 and then output as a DC power supply. The DC power supply is protected from lightning strikes by the varistor RV in turn, and a stable DC output is achieved after rectification and filtering by the first capacitor C1.
[0025] The control module 120 includes a single-chip microcomputer U1, a toggle switch SW1, a code switch SW2, a stable output chip US, a second capacitor C2, a first resistor R1, a second resistor R2 and a judgment detection unit 121; the VCC pin of the single-chip microcomputer U1 is connected to the first power supply end (providing a first voltage 5V), the OUT pin of the stable output chip US, one end of the second capacitor C2 and one end of the second resistor R2; the IN pin of the stable output chip US is connected to the power supply module 1301 (130); the GND pin of the stable output chip US is connected to the other end of the second capacitor C2, the GND pin of the single-chip microcomputer U1 and the ground; the PWM-O The pin is connected to the dimming module 140; the Ton pin of the single-chip computer U1 is connected to the other end of the second resistor R2 and the 1st and 2nd pins of the toggle switch SW1; the 3rd and 4th pins of the toggle switch SW1 are both grounded (in specific implementation, the 3rd pin can be grounded through a resistor, and the 4th pin can also be grounded through a resistor), the Isw pin of the single-chip computer U1 is connected to one end of the first resistor R1 and the fluctuating end of the toggle switch SW2, the other end of the first resistor R1 is connected to the first power supply end, and the 1st pin of the toggle switch SW2 is suspended; the 2nd, 3rd and 4th pins of the toggle switch SW2 are all grounded (in specific implementation, they can be grounded through a resistor respectively); the AC EL pin of the single-chip computer U1 is connected to the judgment detection unit 121.
[0026] The judgment and detection unit 121 includes a first diode D1, a second diode D2, a switch tube Q1, a third capacitor C3, a third resistor R3, a fourth resistor R4 and a fifth resistor R5; the positive electrode of the first diode D1 is connected to the neutral line end and the negative power input terminal 3 of the rectifier bridge BD1, the negative electrode of the first diode D1 is connected to one end of the third resistor R3, the other end of the third resistor R3 is connected to one end of the fourth resistor R4 and the collector of the switch tube Q1, and the other end of the fourth resistor R4 is connected to the base of the switch tube Q1 and the negative electrode of the second diode D2; the positive electrode of the second diode D2 is connected to one end of the third capacitor C3, one end of the fifth resistor R5 and the ground, and the emitter of the switch tube Q1 is connected to the other end of the third capacitor C3, the other end of the fifth resistor R5 and the AC EL pin of the single-chip computer U1.
[0027] The preferred model of the stable output chip US is 78L05, which is used to stably output the first voltage 5V to power the single-chip microcomputer. The judgment detection unit 121 is used to detect the power-on and power-off status of the AC power supply. The preferred model of the single-chip microcomputer U1 is EY63Y, which controls whether the single-chip microcomputer works normally according to the high and low levels of the detection signal AC EL, and controls the pulse width modulation signal PWM output by the PWM-O pin according to the slow start time, slow off time and duty cycle pre-set in its internal software, and finally realizes the slow start and slow off of the LED lamp.
[0028] The toggle switch SW1 is used to set the voltage on the Ton pin of the single-chip microcomputer, thereby setting the slow start time and slow off time. When the toggle switch SW1 is not dialed, the voltage on the Ton pin is 5V, and the slow start time and slow off time set by the single-chip microcomputer are both 10s; when dialing 1, the voltage on the Ton pin is 4V, and the set slow start time and slow off time are both 8s; when dialing 2, the voltage on the Ton pin is 3V, and the set slow start time and slow off time are both 6s; when dialing 1+2, the voltage on the Ton pin is 2V, and the set slow start time and slow off time are both 4s. The specific dial, voltage and time can be adjusted according to demand, as long as the LED light can be controlled to light up and go out slowly.
[0029] The dip switch SW2 is used to set the voltage on the Isw pin of the single-chip microcomputer, thereby setting the duty cycle of the pulse width modulation signal PWM. When the dip switch SW2 is connected to the first pin, the voltage range on the Isw pin is 4.7V~5.3V, and the duty cycle of the pulse width modulation signal PWM set by the single-chip microcomputer is 100%; when connected to the second pin, the voltage range on the Isw pin is 4V~4.6V, and the duty cycle is set to 85%; when connected to the third pin, the voltage range on the Isw pin is 3.6V~4.2V, and the duty cycle is set to 70%; when connected to the fourth pin, the voltage range on the Isw pin is 2.6V~3.2V, and the duty cycle is set to 55%.
[0030] When the LED light is turned on, the AC power supply is powered on, the first diode D1 is turned on, the voltage divider R3 and R4 turns on the switch tube Q1 (preferably an NPN transistor), and the AC negative power supply AC_N outputs a high-level detection signal AC EL through R3 and Q1. The filter energy storage of C3 makes the detection signal AC EL more stable and smooth. When the single-chip microcomputer U1 determines that the detection signal AC EL is at a high level, it means that the slow start operation of turning on the light is to be performed. First, the duty cycle set on the Isw pin is detected and called, and then the slow start time set on the Ton pin is detected and called, and a pulse width modulation signal PWM is combined to complete the duty cycle within the slow start time; for example, according to the corresponding power supply current output according to the duty cycle of 50%, the LDE lamp gradually changes from dark to full light within the slow start time of 8s, achieving a slow light effect.
[0031] When the LED light is turned off, the AC power supply is cut off, the first diode D1 is turned off, the switch tube Q1 is turned off, and the fifth resistor R5 can immediately pull down the detection signal AC EL to a low level, retaining the electric energy stored on the third capacitor C3, and realizing fast detection of turning off through R5, and immediately feeding back to the pulse width modulation signal PWM, so that the light is turned off without delay. When the single-chip microcomputer U1 determines that the detection signal AC EL is at a low level, it means that the light is to be turned off and started slowly. First, the duty cycle set on the Isw pin is detected and called, and then the slow off time set on the Ton pin is detected and called, and the pulse width modulation signal PWM that completes the duty cycle within the slow off time is combined; for example, according to the corresponding power supply current output according to the duty cycle of 50%, the LDE lamp gradually changes from full brightness to off within the slow off time of 8s, achieving the effect of slow off.
[0032] The power supply module 1301 (130) includes a voltage stabilizing chip U2, an inductor L1, a third diode D3, a fourth diode D4, a fifth diode D5, a sixth diode D6, a fourth capacitor C4 and a fifth capacitor C5; the DRAIN pin of the voltage stabilizing chip U2 is connected to one end of the fourth capacitor C4 and the positive electrode of the third diode D3, the other end of the fourth capacitor is connected to the other end of the first capacitor C1 and the ground, the positive electrode of the third diode D3 is connected to one end of the first capacitor C1 and the output module 150, the VCC pin of the voltage stabilizing chip U2 is connected to one end of the fifth capacitor C5 and the positive electrode of the fourth diode D4; the SEL pin of the voltage stabilizing chip U2 is connected to the other end of the fifth capacitor C5, the GND pin of the voltage stabilizing chip U2, one end of the inductor L1, the negative electrode of the sixth diode D6 and the CS pin of the voltage stabilizing chip U2; the negative electrode of the fourth diode D4 is connected to the negative electrode of the fifth diode D5, the other end of the inductor L1 is connected to the positive electrode of the fifth diode D5 and the IN pin of the stable output chip US, and the positive electrode of the sixth diode D6 is grounded.
[0033] The model of the voltage stabilizing chip U2 is preferably BP2525. The DC power supply is output through the third diode D3 to charge the fourth capacitor C4 and input into the voltage stabilizing chip U2. The corresponding current output by the voltage stabilizing chip U2 is filtered by the inductor L energy storage, and then the second voltage 8.3V is output to power the single-chip microcomputer. D5 is used to achieve the output of 5V voltage. By adding D4 and combining the voltage on D5, the output voltage higher than 5V is achieved, that is, the actual output voltage of the voltage stabilizing chip U2 is equal to 5V plus the voltage on D4, and D6 is used for voltage stabilization.
[0034] By setting the third diode D3 and the fourth capacitor C4 (electrolytic capacitor), in the light-off state, D3 isolates the power supply module 1301 (130) from the main circuit. Through the separate power supply of C4, the power on C4 can also support the operation of U2, thereby maintaining the power supply to the single-chip microcomputer, so that the single-chip microcomputer has enough power supply to output the pulse width modulation signal PWM to complete the slow-off control. The power supply module 1301 (130) will not consume the power supply of other main circuits, and will not affect the slow-off control, so as to achieve long-term slow-off power supply maintenance. Selecting D3 and C4 with different parameters can also adjust the slow-off time.
[0035] Preferably, the power supply module 1301 (130) further includes a sixth resistor R6, a seventh resistor R7 and a sixth capacitor C6; one end of the sixth resistor R6 is connected to the other end of the inductor L1 and one end of the sixth capacitor C, the other end of the sixth resistor R6 is connected to the other end of the sixth capacitor C6 and the positive electrode of the sixth diode D6, one end of the seventh resistor R7 is connected to the CS pin of the voltage stabilizing chip U2, and the other end of the seventh resistor R7 is connected to one end of the inductor L1. R6 and C6 form an RC filter to make the second voltage 8.3V more stable. R7 is used to limit the output current of the voltage stabilizing chip U2 to ensure that it does not exceed the maximum output of U2 to ensure temperature balance.
[0036] The dimming module 140 includes a control chip U3, a seventh diode D7, an eighth resistor R8, a ninth resistor R9 and a seventh capacitor C7; the VCC pin of the control chip U3 is connected to the cathode of the seventh diode D7 and the output module 150, the anode of the seventh diode D7 is connected to the output module 150 and one end of the eighth resistor R8, the FB pin of the control chip U3 is connected to the other end of the eighth resistor R8 and one end of the ninth resistor R9, the DIM pin of the control chip U3 is connected to the other end of the ninth resistor R9 and ground through the seventh capacitor C7, the CS pin and the GND pin of the control chip U3 are grounded, the PWM pin of the control chip U3 is connected to the PWM-O pin of the microcontroller U1, and the DRAIN pin of the control chip U3 is connected to the output module 150.
[0037] The control chip U3 is preferably of the type BP3176, which is a PWM dimming control chip. According to the input pulse width modulation signal PWM, the corresponding voltage is output from its DRAIN pin to adjust the supply voltage and supply current in the output module 150. The FB pin of the control chip U3 samples and detects the supply voltage and supply current in the output module 150 through the voltage divider of R8 and R9, and adjusts the output of the DRAIN pin to achieve dimming.
[0038] Preferably, the dimming module 140 also includes a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, an eighth capacitor C8 and a ninth capacitor C9; one end of the tenth resistor R10 is connected to the positive electrode of the seventh diode D7, the other end of the tenth resistor R10 is connected to the output module 150 and one end of the eighth resistor R8, one end of the eleventh resistor R11 is connected to the VCC pin of the control chip U3 and the negative electrode of the seventh diode D7, the other end of the eleventh resistor R11 is grounded, the eighth capacitor C8 is connected to the eleventh resistor in parallel, the twelfth resistor R12 is connected between the CS pin of the control chip U3 and the ground, and the ninth capacitor C9 is connected to the ninth resistor in parallel.
[0039] Among them, the R10 is used for current limiting protection D7, R11 and C8 form an RC filter to make the power supply of the control chip U3 more stable, C9 is used to filter the divided voltage on the FB pin, and R12 is used to configure the working parameters on the CS pin.
[0040] The output module 150 includes a transformer T, an eighth diode D8, a ninth diode D9 and a tenth capacitor C10; the fifth pin (the same-name end of the primary winding) of the transformer T is connected to the cathode of the eighth diode D8, one end of the first capacitor C1 and the anode of the third diode D3; the anode of the eighth diode D8 is connected to the DRAIN pin of the control chip U3, the fourth pin (the opposite-name end of the primary winding) of the transformer T is suspended, the eighth pin (the opposite-name end of the secondary winding) of the transformer T is connected to the anode of the ninth diode D9, the cathode of the ninth diode D9 is connected to the anode of the LED lamp, the sixth pin (the same-name end of the secondary winding) of the transformer T is connected to one end of the tenth capacitor C10 and the cathode of the LED lamp, the other end of the tenth capacitor C10 is grounded, the first pin (the same-name end of the auxiliary winding) of the transformer T is connected to the anode of the seventh diode D7 (or the other end of the tenth resistor R10), and the second pin (the opposite-name end of the auxiliary winding) of the transformer T is grounded.
[0041] The DC power supply is controlled to output a stable supply voltage of 25-40V through the secondary winding of the transformer T, and the auxiliary winding of the transformer T also provides a stable power supply to the control chip U3. The voltage output by the DRAIN pin of the control chip U3 adjusts the primary winding of the transformer T, thereby realizing the dimming function.
[0042] Preferably, the output module 150 also includes a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15, an eleventh capacitor C11 and a twelfth capacitor C12; one end of the thirteenth resistor R13 is connected to one end of the fourteenth resistor R14, one end of the first capacitor C1, one end of the eleventh capacitor C11 and the fifth foot of the transformer T; the other end of the thirteenth resistor R13 is connected to the other end of the eleventh capacitor C11 and the cathode of the eighth diode D8, and the other end of the fourteenth resistor R14 is connected to the VCC foot of the control chip U3; one end of the twelfth capacitor C12 is connected to the cathode of the ninth diode D9, one end of the fifteenth resistor R15 and the anode of the LED lamp; the other end of the twelfth capacitor C12 is connected to the sixth foot of the transformer T, the other end of the fifteenth resistor R15 and the cathode of the LED lamp.
[0043] Among them, R13 and C11 are used for RC filtering to protect the transformer; R14 is used for current limiting protection control chip U3; C12 and R15 are used for rectification and filtering at the output end to make the output power supply voltage and power supply current more stable and smooth.
[0044] On the basis of the first embodiment, by improving the circuit of the power supply module, a second embodiment is provided. Figure 3 As shown, the circuit structures of the input module 110, the control module 120, the dimming module 140 and the output module 150 in the second embodiment are not changed, and the number of the power supply module is changed to 1302 (130) for distinction after improvement. The functions of the input module 110, the control module 120 and the dimming module 140 are the same as those in the first embodiment, and the function of the power supply module 1302 (130) is improved as follows: when powered on, the DC power is output to the control module for power supply, and after stable operation, the DC voltage provided by the output module 150 is output to the control module for power supply.
[0045] In Example 2, please refer to Figure 4 The power supply module 1302 (130) includes a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor R18, a nineteenth resistor R19, a twentieth resistor R20, a tenth diode D12, a thirteenth diode D13 and a thirteenth capacitor C13; one end of the sixteenth resistor R16 is connected to one end of the first capacitor C1 and the output module 150, and the other end of the sixteenth resistor R16 is connected to one end of the nineteenth resistor R19 through the seventeenth resistor R17 and the eighteenth resistor R18 in sequence; the other end of the nineteenth resistor R19 is connected to the IN pin of the stable output chip US, the cathode of the tenth diode D12, the cathode of the thirteenth diode D13 and one end of the thirteenth capacitor C13; the anode of the tenth diode D12 is connected to the other end of the thirteenth capacitor C13 and the GND pin of the stable output chip US, and the anode of the thirteenth diode D13 is connected to the first pin of the transformer T.
[0046] Among them, R16 to R19 are connected in series, and when the power is just turned on, the DC power supply is quickly transmitted to the stable output chip US for voltage stabilization through these four series high-voltage resistors to realize high-voltage power supply to the single-chip microcomputer. After the power supply works stably, the transformer T is used to stabilize the voltage of the stable output chip US through R20 and D13, and then the single-chip microcomputer is powered to reduce the loss of the four high-voltage resistors and realize relatively low resistance temperature. The tenth diode D12 is a voltage regulator tube, and the voltage regulator voltage is set to 12V, so that the withstand voltage of C13 can be controlled. The circuit structure of the second embodiment is simpler, the space occupied by the components is small, and the small size of the circuit board is realized.
[0047] To sum up, the slow-start and slow-off lamp provided by the present invention sets a programmable controlled slow-start time for turning on the light, and sets a corresponding slow-off time for turning off the light. The wave switch and the dip switch can be operated according to needs, and the time and duty cycle can be adjusted accordingly. When the AC power is turned on, the light can be turned on slowly and gradually brighter, and when the power is off, the light can be turned off slowly and gradually darker. This solves the problem that the existing primary-side dimming chip cannot set the slow-off time control, protects the user's eyes, and achieves the effect of controllable and adjustable slow-start and slow-off time.
[0048] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A slow-on and slow-off lamp, comprising a circuit board and an LED lamp, It is characterized in that The circuit board is provided with a power supply slow control circuit; The power supply slow control circuit rectifies, filters and transforms the AC power supply, and then outputs a power supply voltage within a preset range to power the LED lamp; detects the power-on and power-off states of the AC power supply, and when powered on, adjusts the supply current according to a preset duty cycle, and controls the LED lamp to gradually change from dark to full light within a preset slow start time; when powered off, adjusts the supply current according to a preset duty cycle, and controls the LED lamp to gradually turn off from full light within a preset slow off time.
2. The slow-on and slow-off lamp according to claim 1, It is characterized in that The power supply slow control circuit includes an input module, a control module, a power supply module, a dimming module and an output module; The input module outputs a DC power supply after rectifying and filtering the AC power supply; The control module presets the slow start-up time and the duty cycle according to the switch operation, detects the power-on and power-off status of the AC power supply, and outputs a pulse width modulation signal corresponding to the slow start-up time, the slow turn-off time and the duty cycle; The power supply module stabilizes the DC power supply and then outputs it to the control module for power supply; The output module transforms the DC power supply and outputs a supply voltage to power the LED lamp; The dimming module controls the LED lamp to gradually light up according to the corresponding duty cycle within a preset slow start time when power is on, and controls the LED lamp to gradually turn off according to the corresponding duty cycle within a preset slow turn-off time when power is off according to the pulse width modulation signal.
3. The slow-on and slow-off lamp according to claim 2, It is characterized in that The input module includes a fuse, a rectifier bridge, a first capacitor and a varistor; The positive input end of the power supply of the rectifier bridge is connected to the live wire end through a fuse, and the negative input end of the power supply of the rectifier bridge is connected to the neutral wire end and the control module; the DC positive output end of the rectifier bridge is connected to one end of the varistor, one end of the first capacitor, the power supply module and the output module; the DC negative output end of the rectifier bridge is connected to the other end of the varistor, the other end of the first capacitor, the ground and the power supply module.
4. The slow-on and slow-off lamp according to claim 3, It is characterized in that The control module includes a single chip microcomputer, a toggle switch, a code switch, a stable output chip, a second capacitor, a first resistor, a second resistor and a judgment and detection unit; The VCC pin of the single chip is connected to the first power supply end, the OUT pin of the stable output chip, one end of the second capacitor and one end of the second resistor; the IN pin of the stable output chip is connected to the power supply module; The GND pin of the stable output chip is connected to the other end of the second capacitor, the GND pin of the single-chip microcomputer and the ground; the PWM-O pin of the single-chip microcomputer is connected to the dimming module; the Ton pin of the single-chip microcomputer is connected to the other end of the second resistor and the 1st and 2nd pins of the toggle switch; the 3rd and 4th pins of the toggle switch are both grounded, the Isw pin of the single-chip microcomputer is connected to one end of the first resistor and the fluctuating end of the dial switch, the other end of the first resistor is connected to the first power supply end, and the 1st pin of the dial switch is suspended; the 2nd, 3rd and 4th pins of the dial switch are all grounded; the AC EL pin of the single-chip microcomputer U is connected to the judgment and detection unit.
5. The slow-on and slow-off lamp according to claim 4, It is characterized in that The judgment and detection unit includes a first diode, a second diode, a switch tube, a third capacitor, a third resistor, a fourth resistor and a fifth resistor; The positive electrode of the first diode is connected to the neutral line terminal and the negative input terminal of the power supply of the rectifier bridge, the negative electrode of the first diode is connected to one end of the third resistor, the other end of the third resistor is connected to one end of the fourth resistor and the collector of the switching tube, the other end of the fourth resistor is connected to the base of the switching tube and the negative electrode of the second diode; the positive electrode of the second diode is connected to one end of the third capacitor, one end of the fifth resistor and the ground, and the emitter of the switching tube is connected to the other end of the third capacitor, the other end of the fifth resistor and the AC EL pin of the microcontroller.
6. The slow-on and slow-off lamp according to claim 5, It is characterized in that The power supply module includes a voltage stabilizing chip, an inductor, a third diode, a fourth diode, a fifth diode, a sixth diode, a fourth capacitor and a fifth capacitor; The DRAIN pin of the voltage stabilizing chip is connected to one end of the fourth capacitor and the positive electrode of the third diode, the other end of the fourth capacitor is connected to the other end of the first capacitor and the ground, the positive electrode of the third diode is connected to one end of the first capacitor and the output module, and the VCC pin of the voltage stabilizing chip is connected to one end of the fifth capacitor and the positive electrode of the fourth diode; the SEL pin of the voltage stabilizing chip is connected to the other end of the fifth capacitor, the GND pin of the voltage stabilizing chip, one end of the inductor, the negative electrode of the sixth diode and the CS pin of the voltage stabilizing chip; the negative electrode of the fourth diode is connected to the negative electrode of the fifth diode, the other end of the inductor is connected to the positive electrode of the fifth diode and the IN pin of the stable output chip, and the positive electrode of the sixth diode is grounded.
7. The slow-on and slow-off lamp according to claim 6, It is characterized in that The dimming module includes a control chip, a seventh diode, an eighth resistor, a ninth resistor and a seventh capacitor; The VCC pin of the control chip is connected to the cathode of the seventh diode and the output module, the anode of the seventh diode is connected to the output module and one end of the eighth resistor, the FB pin of the control chip is connected to the other end of the eighth resistor and one end of the ninth resistor, the DIM pin of the control chip is connected to the other end of the ninth resistor and the ground through the seventh capacitor, the CS pin and the GND pin of the control chip are grounded, the PWM pin of the control chip is connected to the PWM-O pin of the microcontroller, and the DRAIN pin of the control chip is connected to the output module.
8. The slow-on and slow-off lamp according to claim 7, It is characterized in that The output module includes a transformer, an eighth diode, a ninth diode and a tenth capacitor; The 5th pin of the transformer is connected to the cathode of the eighth diode, one end of the first capacitor and the anode of the third diode; the anode of the eighth diode is connected to the DRAIN pin of the control chip, the 4th pin of the transformer is suspended, the 8th pin of the transformer is connected to the anode of the ninth diode, the cathode of the ninth diode is connected to the anode of the LED lamp, the 6th pin of the transformer is connected to one end of the tenth capacitor and the cathode of the LED lamp, the other end of the tenth capacitor is grounded, the 1st pin of the transformer is connected to the anode of the seventh diode, and the 2nd pin of the transformer is grounded.
9. The slow-on and slow-off lamp according to claim 1 or 5, It is characterized in that The power supply module outputs a DC power supply to the control module when powered on, and outputs a DC voltage provided by the output module to the control module after the detection operation is stable.
10. The slow-on and slow-off lamp according to claim 9, It is characterized in that The power supply module includes a sixteenth resistor, a seventeenth resistor, an eighteenth resistor, a nineteenth resistor, a twentieth resistor, a tenth diode, a thirteenth diode and a thirteenth capacitor; One end of the sixteenth resistor is connected to one end of the first capacitor and the output module, and the other end of the sixteenth resistor is connected to one end of the nineteenth resistor through the seventeenth resistor and the eighteenth resistor in sequence; the other end of the nineteenth resistor is connected to the IN pin of the stable output chip, the cathode of the tenth diode, the cathode of the thirteenth diode and one end of the thirteenth capacitor; the positive electrode of the tenth diode is connected to the other end of the thirteenth capacitor and the GND pin of the stable output chip, and the positive electrode of the thirteenth diode is connected to the first pin of the transformer in the output module.
Citation Information
Patent Citations
Slow-lighting and slow-extinguishing night lamp
CN109041388A
Constant-voltage slow start power supply circuit and slow start control circuit board
CN117676966A
Constant current control circuit driving power supply capable of adjusting slow starting and slow extinguishing time
CN217656779U
Power supply driving circuit of illuminating lamp and lamp
CN220755105U
