Disclosure of Invention
An object of the embodiment of the invention is to provide a lighting device, so as to solve the technical problems of high cost and large occupied space of the lighting device in the prior art.
In order to solve the technical problems, the embodiment of the invention provides the following technical scheme:
The embodiment of the invention discloses a lighting device, which comprises a switching power supply circuit, a first LED lamp group, a second LED lamp group, a control circuit and a driving circuit, wherein the first LED lamp group is connected with the switching power supply circuit; the switching power supply circuit is used for providing power, and comprises a first node; the positive electrode of the first LED lamp group is connected to the first node; the anode of the second LED lamp group is connected to the first node; the control circuit is connected with the driving circuit and is used for sending a path of PWM signal to the driving circuit so that the driving circuit can light one LED lamp group of the first LED lamp group and the second LED lamp group; the driving circuit comprises a first driving circuit, an inverting circuit and a second driving circuit; the first driving circuit is connected with the control circuit and is used for turning on or off the first LED lamp group according to the PWM signal; the inverting circuit is connected with the control circuit and is used for inverting and processing the PWM signal to generate an inverted signal; the second driving circuit is connected with the phase inversion circuit and is used for extinguishing or lighting the second LED lamp group according to the phase inversion signal.
Optionally, the inverting circuit includes: the first switch circuit is connected with the control circuit; and the bias circuit is connected with the first switch circuit and is used for enabling the first switch circuit to work in a conducting state when the PWM signal is in a high level so as to enable the bias circuit to output the inverted signal in a low level or enabling the first switch circuit to work in a cutting-off state when the PWM signal is in a low level so as to enable the bias circuit to output the inverted signal in a high level.
Optionally, the bias circuit is connected with the switching power supply circuit, and is used for collecting the voltage of the switching power supply circuit, when the PWM signal is at a high level, the first switching circuit is operated in an on state, so that the voltage collected by the bias circuit is pulled to a low potential, or when the PWM signal is at a low level, the first switching circuit is operated in an off state, so that the bias circuit biases and outputs the collected voltage to the second driving circuit.
Optionally, the bias circuit includes a first resistor and a second resistor, one end of the first resistor is connected to the switching power supply circuit and is used as a first collecting end, the other end of the first resistor and one end of the second resistor are both connected to a second node, the second driving circuit is further connected to the first node, and the other end of the second resistor is connected to the switching power supply circuit and is used as a second collecting end.
Optionally, the bias circuit includes an eleventh resistor and a twelfth resistor, the switching power supply circuit adopts an isolation driving mode, and includes a transformer, a secondary winding of the transformer is used for outputting a power supply, one end of the eleventh resistor is connected to one end of the secondary winding, the other end of the eleventh resistor and one end of the twelfth resistor are both connected to the second node, the second driving circuit is further connected to the second node, and the other end of the twelfth resistor is connected to the switching power supply circuit and serves as a third collecting end.
Optionally, the switching power supply circuit includes a first power supply circuit and a second power supply circuit; the bias circuit comprises a thirteenth resistor and a fourteenth resistor, the negative end of the first power supply circuit is connected to the negative end of the second power supply circuit, one end of the thirteenth resistor is connected to the second power supply circuit and serves as a fourth acquisition end, the other end of the thirteenth resistor and one end of the fourteenth resistor are both connected to a second node, the second driving circuit is further connected to the second node, and the other end of the fourteenth resistor is connected to the second power supply circuit and serves as a fifth acquisition end.
Optionally, the first driving circuit includes a third resistor and a first NPN type triode, one end of the third resistor is connected with the control circuit, the other end of the third resistor is connected with the base of the first NPN type triode, the collector of the first NPN type triode is connected with the negative pole of the first LED lamp set, and the emitter of the first NPN type triode is grounded; the first switch circuit comprises a fourth resistor and a second NPN type triode, one end of the fourth resistor is connected with the control circuit, the other end of the fourth resistor is connected with the base electrode of the second NPN type triode, the emitter electrode of the second NPN type triode is grounded, and the collector electrode of the second NPN type triode is respectively connected with the second drive circuit and the bias circuit; the second driving circuit comprises a third NPN triode, the base electrode of the third NPN triode is connected with the collector electrode of the second NPN triode, the emitting electrode of the third NPN triode is grounded, and the collector electrode of the third NPN triode is connected with the negative electrode of the second LED lamp group.
Optionally, the first driving circuit includes a fifth resistor and a first PNP type triode, one end of the fifth resistor is connected with the control circuit, the other end of the fifth resistor is connected with the base of the first PNP type triode, the collector of the first PNP type triode is grounded, and the emitter of the first PNP type triode is respectively connected with the negative electrode of the first LED lamp set and the bias circuit; the first switch circuit comprises a sixth resistor and a fourth NPN type triode, one end of the sixth resistor is connected with the control circuit, the other end of the sixth resistor is connected with the base electrode of the fourth NPN type triode, the emitter electrode of the fourth NPN type triode is grounded, and the collector electrode of the fourth NPN type triode is respectively connected with the second drive circuit and the bias circuit; the second driving circuit comprises a second PNP type triode, the base electrode of the second PNP type triode is connected with the collector electrode of the fourth NPN type triode, the emitting electrode of the second PNP type triode is connected with the negative electrode of the second LED lamp group, and the collector electrode of the second PNP type triode is grounded.
Optionally, the first driving circuit includes a seventh resistor and a first NMOS, one end of the seventh resistor R7 is connected to the control circuit, the other end of the seventh resistor is connected to the gate of the first NMOS, the drain of the first NMOS is connected to the negative electrode of the first LED lamp set and the bias circuit, and the source of the first NMOS is grounded; the first switch circuit comprises an eighth resistor and a fifth NPN type triode, one end of the eighth resistor is connected with the control circuit, the other end of the eighth resistor is connected with the base electrode of the fifth NPN type triode, the emitter electrode of the fifth NPN type triode is grounded, and the collector electrode of the fifth NPN type triode is respectively connected with the second drive circuit and the bias circuit; the second driving circuit comprises a second NMOS tube, the grid electrode of the second NMOS tube is connected with the collector electrode of the fifth NPN triode, the source electrode of the second NMOS tube is grounded, and the drain electrode of the second NMOS tube is respectively connected with the cathode of the second LED lamp group and the bias circuit.
Optionally, the first driving circuit includes a ninth resistor, a first PMOS tube and a third LED lamp set, where one end of the ninth resistor is connected to the control circuit, the other end of the ninth resistor is connected to the gate of the first PMOS tube, the drain of the first PMOS tube is connected to one end of the bias circuit and the negative electrode of the first LED lamp set, the source of the first PMOS tube is connected to the positive electrode of the third LED lamp set, and the negative electrode of the third LED lamp set is grounded;
The first switch circuit comprises a tenth resistor and a sixth NPN type triode, one end of the tenth resistor is connected with the control circuit, the other end of the tenth resistor is connected with the base electrode of the sixth NPN type triode, the emitter electrode of the sixth NPN type triode is grounded, and the collector electrode of the sixth NPN type triode is respectively connected with the second drive circuit and the bias circuit;
The second driving circuit comprises a second PMOS tube and a fourth LED lamp group, the grid electrode of the second PMOS tube is respectively connected with the collector electrode of the sixth NPN type transistor and one end of the biasing circuit, the drain electrode of the second PMOS tube is respectively connected with one end of the biasing circuit and the negative electrode of the second LED lamp group, the source electrode of the second PMOS tube is connected with the positive electrode of the fourth LED lamp group, and the negative electrode of the fourth LED lamp group is grounded.
In various embodiments, the control circuit sends a path of PWM signal, the driving circuit receives the PWM signal, and controls one of the first LED lamp group and the second LED lamp group to be turned on or off according to the PWM signal, so that two paths of LED lamp groups with different color temperatures are controlled by one path of PWM signal, or the PWM signal with the duty ratio can control the brightness proportion of the first LED with the positive duty ratio, and the second LED lamp group with the negative duty ratio, thereby achieving the electrodeless color temperature adjustment between the color temperature of the first LED and the color temperature of the second LED, and achieving the purposes of saving space and reducing cost.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Fig. 1 is a schematic block diagram of an illumination device 10 according to an embodiment of the present invention. As shown in fig. 1, the lighting device 10 includes a switching power supply circuit 101, a first LED lamp group 102, a second LED lamp group 103, a driving circuit 104, and a control circuit 105. The switching power supply circuit 101 is respectively connected to the first LED lamp group 102 and the second LED lamp group 103 and is used for providing power supply; the driving circuit 104 is connected to the negative electrode of the first LED lamp set 102 and the negative electrode of the second LED lamp set 103, respectively. The control circuit 105 is connected to the driving circuit 104, and is configured to send a PWM signal to the driving circuit 104, so that the driving circuit 104 lights one of the first LED lamp set 102 and the second LED lamp set 103. Therefore, two paths of LED lamp groups with different color temperatures are controlled by one path of PWM signal, and the purposes of saving space and reducing cost are achieved.
The switching power supply circuit 101 is used to supply power to the first LED lamp set 102 and the second LED lamp set 103. For example: under different scene needs, the switching power supply circuit 101 can provide stable voltages or currents with different magnitudes for the first LED lamp set 102 and the second LED lamp set 103 respectively, so as to realize the needs of different brightness or color temperature intensity of the first LED lamp set 102 and the second LED lamp set 103 under different scenes.
The first LED light set 102 and the second LED light set 103 are LED light sets of different color temperatures or colors.
The anodes of the first LED lamp set 102 and the second LED lamp set 103 are connected to the switching power supply circuit 101, and only one of the first LED lamp set 102 and the second LED lamp set 103 can be lightened under the control of the driving circuit 104, so that the requirements under different scenes are met. For example, the first LED lamp set 102 is set to be warm light, the color temperature of the warm light is less than 3300K, the warm light is similar to the color of the incandescent lamp, the red light component is more, and the warm, healthy and comfortable feeling is provided. Meanwhile, the second LED lamp set 103 is set to be cold color light, the color temperature of the cold color light is more than 5300K, the light source is close to natural light, and the light source has bright feeling, so that the human precision is concentrated. In a scene such as a home, a residence, a dormitory, a hospital, a hotel, etc., only the warm light of the first LED lamp set 102 is lighted by the driving circuit 104; in offices, conference rooms, classrooms, drawing rooms, design rooms, reading rooms of libraries, showcases and other places, only the cold light of the second LED lamp set 103 is lightened by the driving circuit 104, so that the requirements in different scenes can be met.
The driving circuit 104 is connected to the cathode of the first LED lamp set 102 and the cathode of the second LED lamp set 103, respectively, and in this embodiment, the driving circuit 104 includes a first driving circuit 1041, an inverter circuit 1043, and a second driving circuit 1042.
The first driving circuit 1041 is connected to the control circuit 105, and is configured to turn on or off the first LED lamp set 102 according to the PWM signal. For example: the control circuit 105 outputs a PWM signal, and when the PWM output is at a high level, the first driving circuit 1041 is turned on, and a current passes through the first LED lamp set 102, so that the first LED lamp set 102 connected to the first driving circuit 1041 is turned on. When the PWM output is at a low level, the first driving circuit 1041 is turned off, and the current does not pass through the first LED lamp set 102, so that the first LED lamp set 102 connected to the first driving circuit 1041 is turned off.
The inverter circuit 1043 is connected to the control circuit 105 for inverting the PWM signal to generate an inverted signal. For example: the control circuit 105 outputs a PWM signal, and when the PWM output is high, the inverter circuit 1043 converts the PWM output high to low, thereby generating a low-level inverter signal, and sends it to the second drive circuit 1042. The control circuit 105 outputs a PWM signal, and when the PWM output is low, the inverter circuit 1043 converts the PWM output low to high, thereby generating a high-level inverter signal, which is transmitted to the second driving circuit 1042.
The second driving circuit 1042 is connected to the inverting circuit 1043 for turning off or on the second LED lamp set 103 according to the inverting signal. For example: when the PWM output is high, the control circuit 105 outputs a PWM signal, and when the PWM output is high, the inverter circuit 1043 converts the PWM output into low, thereby generating a low-level inverter signal, and the second driving circuit 1042 receives the low-level inverter signal, so that the second driving circuit 1042 is turned off, and no current passes through the second LED lamp group 103 connected to the second driving circuit 1042, and the second LED lamp group 103 is turned off. The control circuit 105 outputs a PWM signal, and when the PWM output is low, the inverter circuit 1043 converts the PWM output low to high, thereby generating a high-level inverter signal, and the second drive circuit 1042 receives the high-level inverter signal, so that the second drive circuit 1042 is turned on, and the second LED lamp group 103 connected to the second drive circuit 1042 has a current passing therethrough, and the second LED lamp group 103 is turned on.
Referring to fig. 2, in the present embodiment, the inverting circuit 1043 includes a first switching circuit 10431 and a biasing circuit 10432.
The first switch circuit 10431 is connected to the control circuit 105, and is configured to receive a PWM signal, and control on or off of itself according to the received PWM signal. For example: the control circuit 105 outputs a PWM signal, and when PWM outputs a high-level PWM signal, the first switching circuit 10431 is turned on; when the PWM outputs a low level PWM signal, the second switching circuit is turned off.
One end of the bias circuit 10432 is connected to the first switch circuit 10431, and the bias circuit 10432 is configured to operate in an on state when the PWM signal is at a high level, so that the bias circuit 10432 outputs an inversion signal at a low level, or to operate in an off state when the PWM signal is at a low level, so that the bias circuit 10432 outputs an inversion signal at a high level.
The other end of the bias circuit 10432 is connected to the switching power supply circuit 101, and is used for collecting the voltage of the switching power supply circuit 101, when the PWM signal is at a high level, the first switch circuit 10431 is operated in an on state, so that the voltage collected by the bias circuit 10432 is pulled to a low level, or when the PWM signal is at a low level, the first switch circuit 10431 is operated in an off state, so that the bias circuit 10432 biases the collected voltage to the second driving circuit 1042.
The control circuit 105 is connected to the driving circuit 104, and is configured to send a PWM signal to the driving circuit 104, so that the driving circuit 104 lights one LED lamp set of the first LED lamp set 102 and the second LED lamp set 103. For example: the control circuit 105 outputs a PWM signal, when the PWM outputs a high level, the first driving circuit 1041 is turned on, and a current passes through the first LED lamp group 102, so that the first LED lamp group 102 connected to the first driving circuit 1041 is turned on, and meanwhile, the inverter circuit 1043 converts the PWM output high level into a low level to generate a low level inverter signal, and the second driving circuit 1042 receives the low level inverter signal, so that the second driving circuit 1042 is turned off, and no current passes through the second LED lamp group 103 connected to the second driving circuit 1042, and the second LED lamp group 103 is not turned on. The control circuit 105 outputs a PWM signal, when the PWM outputs a low level, the first driving circuit 1041 is turned off, and the current does not pass through the first LED lamp set 102, so that the first LED lamp set 102 connected to the first driving circuit 1041 is not turned on, and meanwhile, the inverter circuit 1043 converts the low level output by the PWM into a high level to generate a high level inverter signal, and the second driving circuit 1042 receives the high level inverter signal, so that the second driving circuit 1042 is turned on, and the second LED lamp set 103 connected to the second driving circuit 1042 has the current passing through, and the second LED lamp set 103 is turned on.
Referring to fig. 3, the switching power supply circuit 101 includes a first node n1, and in this embodiment, the switching power supply circuit 101 is a switching mode voltage-stabilized power supply, and the control mode is a width-modulated mode, or a frequency-modulated mode, so as to provide a stable voltage for the first LED lamp set 102 and the second LED lamp set 103.
In some embodiments, the switching power supply circuit 101 may be a different type of power supply circuit, for example: single-ended flyback switching power supplies, single-ended forward switching power supplies, power supply self-excited switching power supplies, regulated power supplies, push-pull switching power supplies, buck switching power supplies, boost switching power supplies, and the like.
The first LED lamp set 102 is formed by serially connecting a plurality of LED lamps of one color temperature or color, and the second LED lamp set 103 is formed by serially connecting a plurality of LED lamps of another color temperature or color. In some embodiments, the number of LED lamps in the first LED lamp set 102 and the second LED lamp set 103 may be set to any number according to the needs of the scene.
The anodes of the first LED lamp D1 of the first LED lamp group 102 and the first LED lamp D2 of the second LED lamp group 103 are connected to the first node n1 of the switching power supply circuit 101.
The cathodes of the last LED lamp D3 of the first LED lamp group 102 and the last LED lamp D4 of the second LED lamp group 103 are connected to the first driving circuit 1041 and the second driving circuit 1042, respectively.
In this embodiment, the first driving circuit 1041 includes a third resistor R3 and a first NPN type triode Q1, one end of the third resistor R3 is connected to the control circuit 105, the other end of the third resistor R3 is connected to the base of the first NPN type triode Q1, the collector of the first NPN type triode Q1 is connected to the negative electrode of the first LED lamp set 102, and the emitter of the first NPN type triode Q1 is grounded;
The first switch circuit 10431 includes a fourth resistor R4 and a second NPN type triode Q2, one end of the fourth resistor R4 is connected to the control circuit 105, the other end of the fourth resistor R4 is connected to the base of the second NPN type triode Q2, the emitter of the second NPN type triode Q2 is grounded, and the collector of the second NPN type triode Q2 is connected to the second driving circuit 1042 and the bias circuit 10432, respectively;
The second driving circuit 1042 includes a third NPN transistor Q3, a base of the second NPN transistor Q2 is connected to a collector of the third NPN transistor Q3, an emitter of the third NPN transistor Q3 is grounded, and the collector of the third NPN transistor Q3 is connected to a negative electrode of the second LED lamp set 103.
The difference from the above embodiments is that, referring to fig. 4, the first driving circuit 1041 includes a fifth resistor R5 and a first PNP type triode P1, one end of the fifth resistor R5 is connected to the control circuit 105, the other end of the fifth resistor R5 is connected to the base of the first PNP type triode P1, the collector of the first PNP type triode P1 is grounded, and the emitter of the first PNP type triode P1 is connected to the negative electrode of the first LED lamp set 102 and the bias circuit 10432, respectively;
The first switch circuit 10431 includes a sixth resistor R6 and a fourth NPN type triode Q4, one end of the sixth resistor R6 is connected to the control circuit 105, the other end of the sixth resistor R6 is connected to the base of the fourth NPN type triode Q4, the emitter of the fourth NPN type triode Q4 is grounded, and the collector of the fourth NPN type triode Q4 is connected to the second driving circuit 1042 and the bias circuit 10432, respectively;
The second driving circuit 1042 includes a second PNP type triode P2, a base electrode of the second PNP type triode P2 is connected to a collector electrode of the fourth NPN type triode Q4, an emitter electrode of the second PNP type triode P2 is connected to a cathode electrode of the second LED lamp set 103, and a collector electrode of the second PNP type triode P2 is grounded. When the LED lamp is conducted, the base electrode of the first PNP type triode P1 can be conducted only by receiving a low level, so that on one hand, the control circuit 105 is easy to control the conducting state of the first PNP type triode P1, and on the other hand, when the service time of the first LED lamp group 102 and the second LED lamp group 103 is longer, the control circuit 105 can realize the lighting of the first LED lamp group 102 and the second LED lamp group 103 without continuously outputting a high level, and therefore, by adopting the mode, a large amount of energy consumption can be saved, and the LED lamp is energy-saving and environment-friendly.
The difference from the above embodiments is that, referring to fig. 5, the first driving circuit 1041 includes a seventh resistor R7 and a first NMOS tube RQ1, one end of the seventh resistor R7 is connected to the control circuit 105, the other end of the seventh resistor R7 is connected to the gate of the first NMOS tube RQ1, the drain of the first NMOS tube RQ1 is connected to the cathode of the first LED lamp set 102 and the bias circuit 10432, and the source of the first NMOS tube RQ1 is grounded;
The first switch circuit 10431 includes an eighth resistor R8 and a fifth NPN type triode Q5, one end of the eighth resistor R8 is connected to the control circuit 105, the other end of the eighth resistor R8 is connected to the base of the fifth NPN type triode Q5, the emitter of the fifth NPN type triode Q5 is grounded, and the collector of the fifth NPN type triode Q5 is connected to the second driving circuit 1042 and the bias circuit 10432, respectively;
The second driving circuit 1042 includes a second NMOS tube NQ2, a gate of the second NMOS tube NQ2 is connected to a collector of the fifth NPN transistor Q5, a source of the second NMOS tube NQ2 is grounded, and a drain of the second NMOS tube NQ2 is connected to the negative electrode of the second LED lamp set 103 and the bias circuit 10432, respectively.
Because the first NMOS tube RQ1 and the second NMOS tube NQ2 can be conducted only by a small driving current, the control is simpler, and the operation is reliable and stable.
The difference from the above embodiments is that, referring to fig. 6, the first driving circuit 1041 includes a ninth resistor R9, a first PMOS transistor PQ1, and a third LED lamp set 10411, one end of the ninth resistor R9 is connected to the control circuit 105, the other end of the ninth resistor R9 is connected to the gate of the first PMOS transistor PQ1, the drain of the first PMOS transistor PQ1 is connected to one end of the bias circuit 10432 and the cathode of the first LED lamp set 102, the source of the first PMOS transistor PQ1 is connected to the anode of the third LED lamp set 10411, and the cathode of the third LED lamp set 10411 is grounded;
The first switch circuit 10431 includes a tenth resistor R10 and a sixth NPN type triode Q6, one end of the tenth resistor R10 is connected to the control circuit 105, the other end of the tenth resistor R10 is connected to the base of the sixth NPN type triode Q6, the emitter of the sixth NPN type triode Q6 is grounded, and the collector of the sixth NPN type triode Q6 is connected to the second driving circuit 1042 and the bias circuit 10432, respectively;
The second driving circuit 1042 includes a second PMOS transistor PQ2 and a fourth LED lamp set 10441, where a gate of the second PMOS transistor is connected to a collector of the sixth NPN transistor and one end of the bias circuit 10432, a source of the second PMOS transistor PQ2 is connected to one end of the bias circuit 10432 and a negative electrode of the second LED lamp set 103, and a source of the second PMOS transistor PQ2 is connected to a positive electrode of the fourth LED lamp set 10441, and a negative electrode of the fourth LED lamp set 10441 is grounded.
According to the technical scheme, the voltages of the sources of the first PMOS tube PQ 1and the second PMOS tube PQ2 can be clamped to be fixed voltages by utilizing the conduction voltage drops of the third LED lamp group 10411 and the fourth LED lamp group 10441 so as to provide conditions for conduction of the first PMOS tube PQ 1and the second PMOS tube PQ2 respectively, even if the bias circuit 10432 has voltage fluctuation, the sources of the first PMOS tube PQ 1and the second PMOS tube PQ2 are clamped to be fixed voltages, and the conduction of the first PMOS tube PQ 1and the second PMOS tube PQ2 is not changed by the fluctuation of the bias circuit, so that the operation is more reliable and stable.
The difference from the above embodiments is that, referring to fig. 7, the bias circuit 10432 includes a first resistor R1 and a second resistor R2, one end of the first resistor R1 is connected to the switching power supply circuit 101 and is used as the first collecting terminal G1, the other end of the first resistor R1 and one end of the second resistor R2 are both connected to the second node n2, the second driving circuit 1042 is also connected to the second node n2, and the other end of the second resistor R2 is connected to the switching power supply circuit 101 and is used as the second collecting terminal G2. The first node n1 of the switching power supply circuit 101 may be the first collecting terminal G1 in fig. 7.
The difference from the above embodiments is that, referring to fig. 8, the bias circuit 10432 includes an eleventh resistor R11 and a twelfth resistor R12. The switching power supply circuit 101 adopts an isolated driving mode, and comprises a transformer, wherein a secondary winding of the transformer is used for outputting power, one end of an eleventh resistor R11 is connected to one end of the secondary winding, the other end of the eleventh resistor R11 and one end of a twelfth resistor R12 are both connected to a second node n2, the second driving circuit 1042 is also connected to the second node n2, and the other end of the twelfth resistor R12 is connected to the switching power supply circuit 101 and serves as a third collecting end G3. The voltage collection point of the bias circuit 10432 is located in other branches of the switching power supply circuit, so as to avoid the influence on the operational reliability of other main circuits of the switching power supply circuit 101 caused by the introduction of the bias circuit 10432. The first node n1 of the switching power supply circuit 101 may be one end v+ of the secondary winding in fig. 8.
The point of difference from the above-described embodiments is that, referring to fig. 9, the switching power supply circuit 101 includes a first power supply circuit 1011 and a second power supply circuit 1012. The bias circuit 10432 includes a thirteenth resistor R13 and a fourteenth resistor R14. The negative terminal of the first power circuit 1011 is connected to the negative terminal of the second power circuit 1012, one end of the thirteenth resistor R13 is connected to the second power circuit 1012 and is used as the fourth collecting terminal G4, one ends of the thirteenth resistor R13 and the fourteenth resistor R14 are both connected to the second node n2, the second driving circuit 1042 is also connected to the second node n2, and the other end of the fourteenth resistor R14 is connected to the second power circuit 1012 and is used as the fifth collecting terminal G5. The voltage sampling point of the bias circuit 10432 is connected to the second power circuit 1012 by a dual power circuit, which avoids the influence on the operation reliability of the first power circuit 1011 due to the introduction of the bias circuit 10432. The first node n1 of the switching power supply circuit 101 may be the fourth collecting terminal G4 in fig. 9.
The operating principle of the lighting device 10 is as follows:
1. When the PWM outputs a high level, the control circuit 105 outputs a PWM signal, and when the PWM outputs a high level, the first NPN transistor Q1 and the second NPN transistor Q2 are transmitted to the first NPN transistor Q1 of the first driving circuit 1041 and the second NPN transistor Q2 of the first switching circuit 10431 through the third resistor R3 and the fourth resistor R4, at this time, the voltage of the bases of the first NPN transistor Q1 and the second NPN transistor Q2 is high, and when the base voltages of the first NPN transistor Q1 and the second NPN transistor Q2 are both higher than the emitter, the first NPN transistor Q1 and the second NPN transistor Q2 are both turned on, the bias circuit 10432 connected with the first switching circuit 10431 converts the high level into a low level inversion signal, and pulls down the base voltage of the third NPN transistor of the second driving circuit 1042, so that the base of the third PNP transistor is low level, and when the base voltage of the third NPN transistor Q3 is lower than the emitter, the third NPN transistor Q3 is in a cut-off state, that is, when the PWM outputs a high level, the base voltage of the first NPN transistor Q1 and the second NPN transistor Q2 is higher than the first NPN transistor Q1, the first NPN transistor Q2 is not turned on, the color temperature of the third NPN transistor Q transistor is turned on, the first NPN transistor Q1 is turned off, the first LED lamp set is turned off, and the LED lamp set is turned on by the second NPN transistor set is turned off, and the LED lamp set is turned on by the first LED lamp set is not, and the LED lamp set is turned on by the first LED lamp set has the first and has the first LED lamp set has and has the color temperature and has light temperature and has low.
2. The same-control circuit 105 outputs a PWM signal, and when the PWM output is low, the PWM signal is transmitted to the first NPN transistor Q1 of the first driving circuit 1041 and the second NPN transistor Q2 of the first switching circuit 10431 through the third resistor R3 and the fourth resistor R4, and at this time, the voltages of the bases of the first NPN transistor Q1 and the second NPN transistor Q2 are low, and when the voltages of the bases of the first NPN transistor Q1 and the second NPN transistor Q2 are lower than the emitter, the first NPN transistor Q1 and the second NPN transistor Q2 are not turned on, the bias circuit 10432 connected to the first switching circuit 10431 converts the low level into a high-level inversion signal, pulls the base voltage of the third PNP transistor of the second driving circuit 1042 high, the base electrode of the third PNP type triode is made to be at a high level, and because the base voltage of the third NPN type triode Q3 is higher than the emitter electrode, the third NPN type triode Q3 is in a conducting state at this time, that is, when the PWM output is at a low level, the first NPN type triode Q1 of the first driving circuit 1041 is turned off, the third PNP type triode of the second driving circuit 1042 is turned on, so that the first LED lamp set 102 connected to the first NPN type triode Q1 is not lighted, and the second LED lamp set 103 connected to the third NPN type triode Q3 is lighted, so that the driving circuit 104 is lighted one LED lamp set of the first LED lamp set 102 and the second LED lamp set 103, and the purposes of controlling the two LED lamp sets with different color temperatures by using one PWM signal are achieved, so as to save space and reduce cost are achieved.
Compared with the prior art, the invention provides a lighting device, which comprises a switching power supply circuit for providing power, wherein the switching power supply circuit comprises a first node; the anode of the first LED lamp group is connected to the first node; the anode of the second LED lamp group is connected to the first node; the driving circuit is respectively connected with the cathodes of the first LED lamp group and the second LED lamp group; and the control circuit is connected with the driving circuit and is used for sending a path of PWM signal to the driving circuit so that the driving circuit can light one LED lamp group of the first LED lamp group and the second LED lamp group. The driving circuit 104 is connected to the control circuit and is configured to send a PWM signal to the driving circuit, so that the driving circuit lights one LED lamp set of the first LED lamp set and the second LED lamp set. Therefore, two paths of LED lamp groups with different color temperatures are controlled by one path of PWM signal, and the PWM signal with the duty ratio can also be used for controlling the brightness proportion of the first LED lamp group with the positive duty ratio and the brightness proportion of the second LED lamp group with the negative duty ratio, so that the electrodeless color temperature adjustment between the color temperature of the first LED and the color temperature of the second LED is achieved, and the purposes of saving space and reducing cost are achieved.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; the technical features of the above embodiments or in the different embodiments may also be combined within the idea of the application, the steps may be implemented in any order, and there are many other variations of the different aspects of the application as described above, which are not provided in detail for the sake of brevity; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.