An LED driving circuit with night light function
By using a single constant current drive unit and a switch switching chip in the LED drive circuit to control the lighting of the night light and the main light, the problems of high cost and large volume in the existing technology are solved, and a small-volume, low-cost LED driver is realized. circuit and is compatible with TRIAC dimming function.
Patent Information
- Application Number
- CN201910732606.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-09
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2039-08-09
AI Technical Summary
The existing LED driving circuit with night light function uses two independent driving circuits, which results in high cost and large size, making it difficult to accommodate in a small-sized LED lamp.
It uses a single constant current drive unit, detects the switch signal through the switch detection unit and outputs it to the switching unit, and controls the lighting of the main light or night light through the MOS tube in the switch switching chip. It is compatible with TRIAC dimming function.
A small and low-cost LED driver circuit is realized, which is suitable for small-sized LED lamps and also has TRIAC dimming function.
Smart Images

Figure CN110351931B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of LED lighting circuits, and in particular to an LED driving circuit with a night light function. Background Art
[0002] Existing LED lamps usually do not have a night light function and can only be used as regular lighting, which cannot meet the user's auxiliary lighting needs for nighttime sleep. For this reason, some companies have designed LED lamps with a night light function, and switch between two working modes through a driving power supply, such as a Chinese patent for a phase-cut dimming LED circuit with a night light function (patent number 201710452104.X), which discloses a driving circuit that can realize the integration of ordinary lighting, night light function and dimming function, including an input rectifier circuit, a switch detection control circuit, a night light driving circuit, a night light auxiliary circuit and a main driving circuit. The output end of the input rectifier circuit is respectively connected to the input end of the switch detection control circuit and the main driving circuit, and the output end of the switch detection control circuit is respectively connected to the input end of the night light driving circuit and the input end of the night light auxiliary circuit, and the output end of the night light auxiliary circuit is connected to the main driving circuit. The input rectifier circuit converts the AC signal into a DC signal and supplies power to the switch detection control circuit and the main drive circuit. The switch detection control circuit detects the number of switch opening and closing signals in real time and generates corresponding control signals to drive the night light drive circuit, the night light auxiliary circuit and the main drive circuit. The night light drive circuit drives the night light to work, the night light auxiliary circuit adjusts the working current in real time, and the main drive circuit drives the main lighting to work and adjusts the brightness of the main lighting. Another example is a Chinese patent for an LED driver power supply (patent number 201720493004.7), which discloses an LED driver power supply that can freely switch between a night light and a main lighting, including a power input terminal, an EMI filter power supply circuit unit, a rectifier circuit unit, a switching circuit unit, a first buck constant current circuit unit, and a second buck constant current circuit unit. The EMI filter power supply circuit unit is connected to the power input terminal, the rectifier circuit unit is connected to the EMI filter power supply circuit unit, the switching circuit unit is connected to the rectifier circuit unit, the first buck constant current circuit unit and the second buck constant current circuit unit are respectively connected to the switching circuit unit, the main lighting circuit unit is connected to the first buck constant current circuit unit, and the night light lighting circuit unit is connected to the second buck constant current circuit unit. The switching circuit unit collects the grid switch signal and outputs different control signals to the first buck constant current circuit unit and the second buck constant current circuit unit, thereby controlling the main lighting circuit unit or the night light lighting circuit unit to light up.
[0003] However, both of the above two driving power supplies use two driving circuits to control the lighting of the night light and the main lighting lamp respectively, which not only leads to high manufacturing costs, but also makes the driving power supply larger in size and difficult to accommodate in a small-volume LED lamp. Summary of the invention
[0004] The purpose of the present invention is to provide an LED driving circuit with a night light function to solve the technical problems mentioned in the background technology.
[0005] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: an LED driving circuit with a night light function, comprising a power input unit, a rectifier unit, a switch detection unit, a constant current unit and a switching unit; wherein: the input end of the power input unit is connected to the AC power, and the output end is connected to the input end of the rectifier unit; the output end of the rectifier unit is respectively connected to the input end of the switch detection unit and the input end of the constant current unit, and the rectifier unit converts the AC signal into a DC signal and supplies power to the driving circuit; the output end of the switch detection unit and the output end of the constant current unit are respectively connected to the switching unit, and the switch detection unit detects the opening and closing signal of the switch in real time and transmits the signal to the switching unit, and the switching unit controls the switch of the night light or the main light according to the received signal, and the constant current unit provides constant DC power for the night light or the main light.
[0006] Furthermore, the power input unit includes a switch, a fuse resistor and a varistor, the switch and the fuse resistor are connected in series to the live wire, and the varistor is connected in parallel between the live wire and the neutral wire; the switch is connected to a TRIAC dimmer.
[0007] Furthermore, the rectifier unit includes a rectifier bridge and a diode, the two input ends of the rectifier bridge are connected to the output end of the power input unit, one of the output ends of the rectifier bridge is respectively connected to the positive electrode of the diode, the input end of the switch detection unit and the input end of the TRIAC dimmer for detecting and maintaining current, and the other output end is grounded; the cathode of the diode is respectively connected to the input end of the constant current unit, the positive electrode of the night light and the positive electrode of the main light.
[0008] Furthermore, the constant current unit includes a constant current control chip, a first resistor, a second resistor, a third resistor, a first sampling resistor, a second sampling resistor and an electrolytic capacitor; the constant current control chip is provided with nine pins, the first pin of the constant current control chip is connected to the output end of the rectifier bridge through the first resistor, the second pin of the constant current control chip is connected to the negative pole of the diode, the third pin of the constant current control chip is grounded through the first sampling resistor and the second sampling resistor, the fourth pin of the constant current control chip is grounded through the second sampling resistor, the fifth pin and the ninth pin of the constant current control chip are grounded respectively, the sixth pin of the constant current control chip is grounded through the third resistor, the seventh pin of the constant current control chip is connected to the negative pole of the electrolytic capacitor, the eighth pin of the constant current control chip is connected to the output end of the rectifier bridge through the second resistor, and the positive pole of the electrolytic capacitor is connected to the negative pole of the diode.
[0009] Furthermore, the switching unit includes a switch switching chip, a boost device, a sixth resistor and a first capacitor; the switch switching chip is provided with eight pins, the first pin of the switch switching chip is connected to the positive pole of the main lamp through the sixth resistor, the second pin of the switch switching chip is connected to the switch detection unit, the third pin of the switch switching chip is connected to the fourth pin of the switch switching chip through the first capacitor, the fourth pin of the switch switching chip is connected to the seventh pin of the constant current control chip, the fifth pin of the switch switching chip is connected to the sixth pin of the switch switching chip, the fifth pin and the sixth pin of the switch switching chip are connected to the negative pole of the night light through the boost device, and the seventh pin and the eighth pin of the switch switching chip are respectively connected to the negative pole of the main lamp.
[0010] Furthermore, the boost device is one of a resistor device, a voltage regulator diode, an LED lamp bead, a constant current tube and a discrete device.
[0011] Preferably, when the boost device is a resistor device, the resistor device includes a fourth resistor and a fifth resistor connected in parallel, one of the common ends of the fourth resistor and the fifth resistor is connected to the negative pole of the night light, and the other common end is connected to the fifth pin and the sixth pin of the switch chip.
[0012] Preferably, when the boost device is a discrete device, the discrete device includes a second voltage zener diode, a ninth resistor and a first transistor, the collector of the first transistor is respectively connected to the negative electrode of the night light and one end of the ninth resistor, the base of the first transistor is respectively connected to the other end of the ninth resistor and the negative electrode of the second voltage zener diode, the positive electrode of the second voltage zener diode is grounded, and the emitter of the first transistor is connected to the fifth pin and the sixth pin of the switch chip.
[0013] Furthermore, the switch detection unit includes a seventh resistor, an eighth resistor and a second capacitor; one end of the seventh resistor is connected to an output end of the rectifier bridge, the other end of the seventh resistor is respectively connected to one end of the eighth resistor and the second pin of the switch switching chip, the other end of the eighth resistor is respectively connected to the fourth pin of the switch switching chip and one end of the first capacitor, the other end of the first capacitor is connected to the third pin of the switch switching chip, and the second capacitor is connected in parallel to both ends of the eighth resistor.
[0014] Furthermore, the night light and the main light use independent light sources respectively, or use the same light source.
[0015] Compared with the prior art, the beneficial effect of the present invention is that: the present invention is an LED driving circuit with a night light function, which adopts a single constant current driving unit, detects a switch signal through a switch detection unit and outputs the signal to a switching unit, and lights up a main light or a night light by switching on and off different MOS tubes in the switch chip. Since only one constant current driver is used, the size is small and the cost is low, so it is suitable for small-volume LED lamps. At the same time, the driving circuit is also compatible with the TRIAC dimming function. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a circuit block diagram of the present invention.
[0017] Figure 2 It is a circuit diagram of the present invention.
[0018] Figure 3 The present invention is a circuit diagram of a voltage-stabilizing diode used as a boost device.
[0019] Figure 4 This is a circuit diagram of a boost device using LED lamp beads in the present invention.
[0020] Figure 5 It is a circuit diagram of a voltage-boosting device using a constant-current tube in the present invention.
[0021] Figure 6 This is a circuit diagram of a boost device in the present invention using a discrete device.
[0022] Figure 7 The present invention is a circuit diagram in which the night light and the main light of the switching unit share the same light source. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further specifically described below through embodiments in conjunction with the accompanying drawings.
[0024] Embodiment: A LED driving circuit with a night light function, such as Figure 1-2 As shown, it includes a power input unit, a rectifier unit, a switch detection unit, a constant current unit and a switching unit; the input end of the power input unit is connected to the AC mains, and the output end is connected to the input end of the rectifier unit; the output end of the rectifier unit is respectively connected to the input end of the switch detection unit and the input end of the constant current unit; the output end of the switch detection unit and the output end of the constant current unit are respectively connected to the switching unit.
[0025] In the above structure, the power input unit receives AC power from the power grid, the rectifier unit rectifies the AC power into DC power, the switch detection unit detects the switch signal in real time and transmits the signal to the switching unit, the switching unit controls the switch of the night light or the main light according to the received signal, and the constant current unit can provide constant DC power for the night light or the main light.
[0026] The power input unit includes a switch, a fuse resistor F and a varistor RV1; the switch and the fuse resistor F are connected in series to the live wire, and the varistor RV1 is connected in parallel between the live wire and the neutral wire; the switch can be a switch with a TRIAC dimmer, or can be installed separately from the TRIAC dimmer; the constant current unit can provide a constant direct current for the night light or the main light, and on the other hand, can also provide a maintenance current for the dimmer when the TRIAC dimmer is dimming.
[0027] The rectifier unit includes a rectifier bridge BD1 and a diode D1. The two input ends of the rectifier bridge BD1 are connected to the output end of the input unit. One of the output ends of the rectifier bridge BD1 is respectively connected to the positive electrode of the diode D1, the input end of the switch detection unit and the input end of the TRIAC dimmer for detecting and maintaining current, and the other output end is grounded. The cathode of the diode D1 is respectively connected to the input end of the constant current unit, the positive electrode of the night light and the positive electrode of the main light. The rectifier bridge BD1 can rectify the input AC power into DC power. The diode D1 is a fast recovery diode. Adding the diode D1 here can enable the constant current control chip to quickly detect the waveform output by the rectifier bridge BD1, so as to quickly determine whether there is TRIAC dimming and switching status.
[0028] The constant current unit includes a constant current control chip U1, a first resistor R1, a second resistor R2, a third resistor R3, a first sampling resistor RS1, a second sampling resistor RS2 and an electrolytic capacitor CD.
[0029] The constant current control chip U1 is provided with nine pins; the first pin of the constant current control chip U1 is connected to one end of the first resistor R1, and the other end of the first resistor R1 is connected to the output end of the rectifier bridge BD1; the second pin of the constant current control chip U1 is connected to the cathode of the diode D1; the third pin of the constant current control chip U1 is connected to one end of the first sampling resistor RS1, and the other end of the first sampling resistor RS1 is respectively connected to the fourth pin of the constant current control chip U1 and one end of the second sampling resistor RS2, and the other end of the second sampling resistor RS2 is grounded; the fifth pin of the constant current control chip U1 is grounded; the sixth pin of the constant current control chip U1 is connected to one end of the third resistor R3, and the other end of the third resistor R3 is grounded; the seventh pin of the constant current control chip U1 is connected to the cathode of the electrolytic capacitor CD; the eighth pin of the constant current control chip U1 is connected to one end of the second resistor R2, and the other end of the second resistor R2 is connected to the output end of the rectifier bridge BD1; the ninth pin of the constant current control chip U1 is grounded. The positive electrode of the electrolytic capacitor CD is connected to the cathode of the diode D1.
[0030] Among the pins of the above-mentioned constant current control chip U1, the second pin of the constant current control chip U1 is the power supply pin of the constant current control chip U1, which provides the power supply voltage for the constant current control chip U1 to make the chip work normally; the first pin of the constant current control chip U1 is the detection pin of the TRIAC dimmer. When the TRIAC dimmer is dimming, the rectifier bridge BD1 provides the TRIAC dimmer with a maintenance current through the second resistor R2, the constant current control chip U1, the first sampling resistor RS1 and the second sampling resistor RS2. When the TRIAC dimmer is not dimming, the constant current control chip U1 The eighth pin does not work; the third and fourth pins of the constant current control chip U1 are sampling resistor connection pins, and the output current is controlled by the sampling resistor; the sixth pin of the constant current control chip U1 is a temperature protection pin, which adjusts the current of the chip by controlling the voltage across the third resistor R3 at different temperatures to prevent the chip from being burned when the temperature is too high; the seventh pin of the constant current control chip U1 is the drain end of the chip MOS tube, the fifth pin of the constant current control chip U1 is the compensation pin of the constant current control chip U1, and the ninth pin of the constant current control chip U1 is the ground terminal of the chip. The constant current unit can use a linear constant current circuit or other constant current circuits.
[0031] The switching unit includes a switch chip U2, a boost device, a sixth resistor R6 and a first capacitor C1.
[0032] Eight pins are set on the switch chip U2. The first pin of the switch chip U2 is connected to one end of the sixth resistor R6, and the other end of the sixth resistor R6 is connected to the positive pole of the main lamp; the second pin of the switch chip U2 is connected to the switch detection unit; the third pin of the switch chip U2 is connected to one end of the first capacitor C1, and the other end of the first capacitor C1 is respectively connected to the eighth resistor R8 and the fourth pin of the switch chip U2; the fourth pin of the switch chip U2 is connected to the seventh pin of the constant current control chip U1; the fifth pin and the sixth pin of the switch chip U2 are respectively connected to one end of the boost device, and the other end of the boost device is connected to the negative pole of the night light, and the positive pole of the night light is connected to the negative pole of the rectifier unit diode D1; the seventh pin and the eighth pin of the switch chip U2 are connected to the negative pole of the main lamp, and the positive pole of the main lamp is connected to the negative pole of the rectifier unit diode D1.
[0033] Among the pins of the above-mentioned switch chip U2, the first pin of the switch chip U2 is the power supply pin of the chip, and the sixth resistor R6 provides the switch chip U2 with a power supply voltage so that the switch chip U2 can work normally; the second pin of the switch chip U2 is the switch detection pin, and the signal of the number of switches detected by the switch detection unit is input to the chip; the third pin of the switch chip U2 is the output pin, and a smooth direct current is obtained through the first capacitor C1; the fourth pin of the switch chip U2 is the ground pin; the fifth pin and the sixth pin of the switch chip U2 are the input pins of the first MOS tube inside the switch chip U2, which are used to control the conduction and shutdown of the first MOS tube; the seventh pin and the eighth pin of the switch chip U2 are the input pins of the second MOS tube inside the chip, which are used to control the conduction and shutdown of the second MOS tube.
[0034] In order to reduce the output current in the night light circuit and achieve the lighting effect of the night light, it is necessary to add a boost device between the night light and the fifth and sixth pins of the switch chip U2 to increase the voltage in the night light circuit, thereby reducing the current flowing through the night light; the boost device in this embodiment can be a resistor device, a voltage regulator diode, an LED lamp bead, a constant current tube and a discrete device, respectively, as shown in FIG. Figure 2-6 shown.
[0035] When the boost device uses a resistor device, such as Figure 2 As shown, the resistor device includes a fourth resistor R4 and a fifth resistor R5 connected in parallel, one of the common ends of the fourth resistor R4 and the fifth resistor R5 is connected to the negative electrode of the night light, and the other common end is connected to the fifth pin and the sixth pin of the switch chip U2.
[0036] When the boost device uses discrete devices, such as Figure 6As shown, the discrete devices include a second zener diode ZD2, a ninth resistor R9 and a first transistor Q1, the collector of the first transistor Q1 is respectively connected to the cathode of the night light and one end of the ninth resistor R9, the base of the first transistor Q1 is respectively connected to the other end of the ninth resistor R9 and the cathode of the second zener diode ZD2, the anode of the second zener diode ZD2 is grounded, and the emitter of the first transistor Q1 is connected to the fifth pin and the sixth pin of the switch chip U2.
[0037] The switch detection unit includes a seventh resistor R7, an eighth resistor R8 and a second capacitor C2. One end of the seventh resistor R7 is connected to an output end of the rectifier bridge BD1, and the other end of the seventh resistor R7 is respectively connected to one end of the eighth resistor R8 and the second pin of the switch switching chip U2; the other end of the eighth resistor R8 is respectively connected to the fourth pin of the switch switching chip U2 and one end of the first capacitor C1, the other end of the first capacitor C1 is connected to the third pin of the switch switching chip U2, and the second capacitor C2 is connected in parallel to the two ends of the eighth resistor R8. The switch detection unit detects the switch signal in real time and outputs the signal to the switch unit, and lights the night light or the main light through the switch switching chip U2.
[0038] In the specific implementation of this embodiment, when the switch is closed for the first time, the switch detection unit outputs a switch signal to the switch switching chip U2. At this time, the first MOS tube in the switch switching chip U2 is turned off, and the second MOS tube is turned on. After the circuit passes through the input unit, the rectifier unit, the switch unit and the constant current unit, the main light is illuminated; when the switch is quickly closed for the second time, the switch detection unit outputs a switch signal to the switch switching chip U2. At this time, the first MOS tube in the switch switching chip U2 is turned on, and the second MOS tube is turned off. After the circuit passes through the input unit, the rectifier unit, the switch unit and the constant current unit, the night light is illuminated. If the main light or the night light needs to be dimmed by the TRIAC dimmer, the circuit provides a maintenance current for the TRIAC dimmer through the rectifier bridge BD1, the second resistor R2, the constant current control chip U1, the first sampling resistor RS1 and the second sampling resistor RS2, so that the dimmer can be dimmed normally.
[0039] In addition, in the above embodiments of the present invention, the night light and the main light use their own independent light sources, but in fact, they can also use the same light source, such as a shared LED lamp bead. Figure 7 As shown in , the positive electrode of the common LED lamp bead is respectively connected to the negative electrode of the diode D1 and one end of the sixth resistor R6, and the negative electrode of the common LED lamp bead is respectively connected to one end of the boost device and the seventh pin and the eighth pin of the switch chip U2.
[0040] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made according to the spirit of the present invention should be included in the protection scope of the present invention.
Claims
1. An LED driving circuit with a night light function, characterized in that: It includes a power input unit, a rectifier unit, a switch detection unit, a constant current unit and a switching unit; wherein: The input end of the power input unit is connected to the AC mains, and the output end is connected to the input end of the rectifier unit; The output end of the rectifier unit is respectively connected to the input end of the switch detection unit and the input end of the constant current unit, and the rectifier unit converts the AC signal into a DC signal and supplies power to the drive circuit; The output end of the switch detection unit and the output end of the constant current unit are respectively connected to the switching unit. The switch detection unit detects the opening and closing signal of the switch in real time and transmits the signal to the switching unit. The switching unit controls the switch of the night light or the main light according to the received signal. The constant current unit provides constant direct current for the night light or the main light.
2. The LED driving circuit with night light function according to claim 1, characterized in that: The power input unit comprises a switch, a fuse resistor and a varistor. The switch and the fuse resistor are connected in series to the live wire, and the varistor is connected in parallel between the live wire and the neutral wire. The switch is connected to a TRIAC dimmer.
3. The LED driving circuit with night light function according to claim 2, characterized in that: The rectifier unit includes a rectifier bridge and a diode, two input ends of the rectifier bridge are connected to the output end of the power input unit, one of the output ends of the rectifier bridge is respectively connected to the positive electrode of the diode, the input end of the switch detection unit and the input end of the TRIAC dimmer for detecting and maintaining current, and the other output end is grounded; the cathode of the diode is respectively connected to the input end of the constant current unit, the positive electrode of the night light and the positive electrode of the main light.
4. The LED driving circuit with night light function according to claim 3, characterized in that: The constant current unit includes a constant current control chip, a first resistor, a second resistor, a third resistor, a first sampling resistor, a second sampling resistor and an electrolytic capacitor; the constant current control chip is provided with nine pins, the first pin of the constant current control chip is connected to the output end of the rectifier bridge through the first resistor, the second pin of the constant current control chip is connected to the negative electrode of the diode, the third pin of the constant current control chip is grounded through the first sampling resistor and the second sampling resistor, the fourth pin of the constant current control chip is grounded through the second sampling resistor, the fifth pin and the ninth pin of the constant current control chip are grounded respectively, the sixth pin of the constant current control chip is grounded through the third resistor, the seventh pin of the constant current control chip is connected to the negative electrode of the electrolytic capacitor, the eighth pin of the constant current control chip is connected to the output end of the rectifier bridge through the second resistor, and the positive electrode of the electrolytic capacitor is connected to the negative electrode of the diode.
5. The LED driving circuit with night light function according to claim 4, characterized in that: The switching unit includes a switch switching chip, a boost device, a sixth resistor and a first capacitor; the switch switching chip is provided with eight pins, the first pin of the switch switching chip is connected to the positive pole of the main lamp through the sixth resistor, the second pin of the switch switching chip is connected to the switch detection unit, the third pin of the switch switching chip is connected to the fourth pin of the switch switching chip through the first capacitor, the fourth pin of the switch switching chip is connected to the seventh pin of the constant current control chip, the fifth pin of the switch switching chip is connected to the sixth pin of the switch switching chip, the fifth pin and the sixth pin of the switch switching chip are connected to the negative pole of the night light through the boost device, and the seventh pin and the eighth pin of the switch switching chip are respectively connected to the negative pole of the main lamp.
6. The LED driving circuit with night light function according to claim 5, characterized in that: The boost device is one of a resistor device, a voltage regulator diode, an LED lamp bead, a constant current tube and a discrete device.
7. The LED driving circuit with night light function according to claim 6, characterized in that: The resistor device includes a fourth resistor and a fifth resistor connected in parallel with each other, one of the common ends of the fourth resistor and the fifth resistor is connected to the negative electrode of the night light, and the other common end is connected to the fifth pin and the sixth pin of the switch chip.
8. The LED driving circuit with night light function according to claim 6, characterized in that: The discrete devices include a second voltage-stabilizing diode, a ninth resistor and a first transistor. The collector of the first transistor is respectively connected to the negative electrode of the night light and one end of the ninth resistor, the base of the first transistor is respectively connected to the other end of the ninth resistor and the negative electrode of the second voltage-stabilizing diode, the positive electrode of the second voltage-stabilizing diode is grounded, and the emitter of the first transistor is connected to the fifth pin and the sixth pin of the switch chip.
9. The LED driving circuit with night light function according to claim 5, characterized in that: The switch detection unit includes a seventh resistor, an eighth resistor and a second capacitor; one end of the seventh resistor is connected to an output end of the rectifier bridge, the other end of the seventh resistor is respectively connected to one end of the eighth resistor and the second pin of the switch switching chip, the other end of the eighth resistor is respectively connected to the fourth pin of the switch switching chip and one end of the first capacitor, the other end of the first capacitor is connected to the third pin of the switch switching chip, and the second capacitor is connected in parallel to both ends of the eighth resistor.
10. The LED driving circuit with night light function according to claim 1, characterized in that: The night light and the main light use independent light sources respectively, or use the same light source.
