Light emission control circuit and power supply
By controlling the voltage of the first and second pins respectively through the light-emitting control circuit, the dual-color LED light can emit two colors, which solves the problems of difficult installation and high cost in the existing technology and reduces the installation difficulty and cost of light-emitting devices.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2026-03-31
AI Technical Summary
Existing dual-color LED lights typically require three pins, leading to installation difficulties and increased costs.
The light emission control circuit uses a first switch module and a second switch module to control the voltage of the first and second pins respectively, thereby achieving the emission of light of two colors. Only the mounting terminals and wiring of the first and second pins need to be set.
This reduces the difficulty and cost of installing light-emitting devices.
Smart Images

Figure CN224068823U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of power supply, in particular to a light emitting control circuit and a power supply. BACKGROUND
[0002] At present, a double-color LED lamp (green+red or green+yellow) is usually used in a switching power supply to display the current working state of the power supply, for example, when the double-color LED lamp is green, it indicates that the switching power supply is working normally, and vice versa, when the double-color LED lamp is red, it indicates that the switching power supply is abnormal. However, the current double-color LED lamp usually adopts three pins, which means that three pin corresponding mounting terminals and wiring need to be set for the double-color LED lamp, which leads to the problems of difficult installation and cost increase of the double-color LED lamp. CONTENT OF THE UTILITY MODEL
[0003] The present application provides a light emitting control circuit and a power supply, aiming at solving the above technical problems.
[0004] In a first aspect, the present application provides a light emitting control circuit, comprising:
[0005] A light emitting device, the light emitting device has a first pin and a second pin, and the light emitting device is internally provided with a first light emitting diode and a second light emitting diode, the first light emitting diode and the second light emitting diode are connected in parallel between the first pin and the second pin;
[0006] A first switch module, a first end of the first switch module is connected with the first pin, a second end of the first switch module is connected with a first power supply end, and a third end of the first switch module is connected with a ground end;
[0007] A second switch module, a first end of the second switch module is connected with the second pin, a second end of the second switch module is connected with the first power supply end, and a third end of the second switch module is connected with the ground end;
[0008] When the first pin is connected with the first power supply end, the second pin is connected with the ground end; when the first pin is connected with the ground end, the second pin is connected with the first power supply end.
[0009] The polarity of the first light emitting diode and the second light emitting diode between the first pin and the second pin is opposite.
[0010] In some embodiments, the first switch module comprises a first transistor and a second transistor;
[0011] The first end of the first switch module comprises a first end of the first transistor and a first end of the second transistor;
[0012] The first end of the first transistor is connected with the first pin, and the second end of the first transistor is connected with the first power supply end;
[0013] The first end of the second transistor is connected with the first pin, and the second end of the second transistor is connected with the ground terminal.
[0014] The first transistor is turned on when the first enable signal is effective, and the second transistor is turned on when the second enable signal is effective.
[0015] In some embodiments, the first transistor and the second transistor are N-type transistors, the control end of the second transistor is connected with the second enable signal, and the first switch module further comprises a first voltage lifting unit.
[0016] The first voltage lifting unit is connected with the second power terminal, and the control end of the first transistor is connected with the first voltage lifting unit.
[0017] The voltage provided by the second power terminal is greater than the voltage provided by the first voltage terminal, and when the first enable signal is effective, the control end voltage of the first transistor controlled by the first voltage lifting unit is greater than the voltage provided by the first voltage terminal.
[0018] In some embodiments, the first voltage lifting unit comprises a first resistor and a third transistor.
[0019] The first end of the first resistor is connected with the second power terminal, the second end of the first resistor is connected with the second end of the third transistor, and the first end of the third transistor is connected with the ground terminal.
[0020] The control end of the first transistor is connected with the second end of the first resistor, and the third transistor is cut off when the first enable signal is effective.
[0021] In some embodiments, the first voltage lifting unit further comprises a second resistor and a fourth transistor.
[0022] The first end of the second resistor is connected with the second power terminal, the second end of the second resistor is connected with the second end of the fourth transistor, and the first end of the fourth transistor is connected with the ground terminal.
[0023] The control end of the fourth transistor is connected with the first enable signal, and the control end of the third transistor is connected with the second end of the first resistor.
[0024] In some embodiments, the second switch module comprises a fifth transistor and a sixth transistor.
[0025] The first end of the second switch module comprises the first end of the fifth transistor and the first end of the sixth transistor.
[0026] The first end of the fifth transistor is connected with the first pin, and the second end of the fifth transistor is connected with the first power terminal.
[0027] The first end of the sixth transistor is connected with the first pin, and the second end of the sixth transistor is connected with the ground terminal;
[0028] The fifth transistor is turned on when the second enable signal is effective, and the sixth transistor is turned on when the first enable signal is effective.
[0029] In some embodiments, the fifth transistor and the sixth transistor are N-type transistors, the control end of the sixth transistor is connected with the first enable signal, and the second switch module further comprises a second voltage lifting unit;
[0030] The second voltage lifting unit is connected with the second power terminal, and the control end of the fifth transistor is connected with the second voltage lifting unit;
[0031] The voltage provided by the second power terminal is greater than the voltage provided by the first voltage terminal, and when the second enable signal is effective, the second voltage lifting unit controls the voltage of the control end of the fifth transistor to be greater than the voltage provided by the first voltage terminal.
[0032] In some embodiments, the second voltage lifting unit comprises a third resistor and a seventh transistor;
[0033] The first end of the third resistor is connected with the second power terminal, the second end of the third resistor is connected with the second end of the seventh transistor, and the first end of the seventh transistor is connected with the ground terminal;
[0034] The control end of the fifth transistor is connected with the second end of the third resistor, and the seventh transistor is cut off when the second enable signal is effective.
[0035] In some embodiments, the second voltage lifting unit further comprises a fourth resistor and an eighth transistor;
[0036] The first end of the fourth resistor is connected with the second power terminal, the second end of the fourth resistor is connected with the second end of the eighth transistor, and the first end of the eighth transistor is connected with the ground terminal;
[0037] The control end of the eighth transistor is connected with the second enable signal, and the control end of the seventh transistor is connected with the second end of the third resistor.
[0038] In the second aspect, the application provides a power supply comprising the light-emitting control circuit according to the first aspect.
[0039] The first light emitting diode and the second light emitting diode are connected in parallel between the first pin and the second pin, since the light emitting colors of the first light emitting diode and the second light emitting diode are different, and the polarities of the first light emitting diode and the second light emitting diode between the first pin and the second pin are opposite, when the first switch module controls the first pin to be connected to the first power supply end, and the second switch module controls the second pin to be connected to the ground end, then the first light emitting diode emits light (for example, red); on the contrary, when the first switch module controls the first pin to be connected to the ground end, and the second switch module controls the second pin to be connected to the first power supply end, then the second light emitting diode emits light (for example, green).
[0040] That is, the first switch module and the second switch module can control the voltage of the first pin and the second pin respectively, that is, the light emitting device can emit two colors of light, and the light emitting device only needs to set the mounting terminals and the wirings of the first pin and the second pin, so as to reduce the installation difficulty and the cost of the light emitting device. BRIEF DESCRIPTION OF DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0042] Figure 1 A schematic diagram of a double-color LED lamp control circuit in the related art is shown;
[0043] Figure 2 A schematic diagram of a light emitting control circuit in the embodiment of the present application is shown;
[0044] Figure 3 Another schematic diagram of a light emitting control circuit in the embodiment of the present application is shown;
[0045] Figure 4 Another schematic diagram of a light emitting control circuit in the embodiment of the present application is shown;
[0046] Figure 5 Another schematic diagram of a light emitting control circuit in the embodiment of the present application is shown;
[0047] Figure 6 Another schematic diagram of a light emitting control circuit in the embodiment of the present application is shown;
[0048] Figure 7 Another schematic diagram of a light emitting control circuit in the embodiment of the present application is shown;
[0049] Figure 8Another schematic diagram of the light emitting control circuit in the embodiment of the present application is shown.
[0050] Figure 9 Another schematic diagram of the light emitting control circuit in the embodiment of the present application is shown.
[0051] Figure 10 Another schematic diagram of the light emitting control circuit in the embodiment of the present application is shown.
[0052] Figure 11 Another schematic diagram of the light emitting control circuit in the embodiment of the present application is shown.
[0053] Wherein, 10 light emitting device, 101 first pin, 102 second pin, 20 first switch module, 21 first voltage lifting unit, 30 second switch module, 31 second voltage lifting unit;
[0054] First light emitting diode PD1, second light emitting diode PD2, first power supply end VDD1, ground end GND, second power supply end VDD2, first transistor Q1, second transistor Q2, third transistor Q3, fourth transistor Q4, fifth transistor Q5, sixth transistor Q6, seventh transistor Q7, eighth transistor Q8, first resistor R1, second resistor R2, third resistor R3, fourth resistor R4, fifth resistor R5, first enable signal Green, second enable signal Red. DETAILED DESCRIPTION
[0055] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts fall within the scope of protection of the present application.
[0056] In the description of the present application, the word "exemplary" is used to mean "serving as an example, instance, or illustration." Any implementation described as "exemplary" is not necessarily to be construed as preferred or advantageous over other implementations. The following description is presented to enable any person skilled in the art to make and use the present application. In the following description, for purposes of explanation, specific details are set forth to provide a thorough understanding of the present application. It will be apparent to one skilled in the art, however, that the present application can be practiced without using these specific details. In other instances, well-known structures and processes are not elaborated in order not to obscure the description of the present application with unnecessary details. Thus, the present application is not intended to be limited by the embodiments shown, but is to be accorded with the widest scope consistent with the principles and features disclosed herein.
[0057] At present, the double-color LED lamp usually adopts three pins to control the light-emitting color, for example, refer to Figure 1 , Figure 1 A schematic diagram of a double-color LED lamp control circuit in the related art is shown, wherein the double-color LED lamp includes light-emitting diode PDA and light-emitting diode PDB, and the double-color LED lamp has pin A, pin B and pin C.
[0058] The light-emitting diode PDA emits red light after being powered on, the light-emitting diode PDB emits green light after being powered on, the pin A is connected to the power supply end VDD, the pin B is connected to the control switch S1, and the pin C is connected to the control switch S2. When the control switch S1 is closed and the control switch S2 is opened, the light-emitting diode PDA is powered on, and at this time the double-color LED lamp emits red light; on the contrary, when the control switch S1 is opened and the control switch S2 is closed, the light-emitting diode PDB is powered on, and at this time the double-color LED lamp emits green light.
[0059] It can be seen that the light-emitting color of the double-color LED lamp can be controlled by the control switch S1 and the control switch S2. However, the double-color LED lamp has three pins A, B and C, which means that three pin corresponding mounting terminals and wiring need to be set for the double-color LED lamp, which leads to the problems of difficult installation and cost increase of the double-color LED lamp.
[0060] Therefore, the embodiment of the present application provides a light-emitting control circuit and a power supply, which are described in detail below.
[0061] Firstly, refer to Figure 2 , Figure 2 A schematic diagram of a light-emitting control circuit in the embodiment of the present application is shown, wherein the light-emitting control circuit includes light-emitting device 10, first switch module 20 and second switch module 30.
[0062] Specifically, the light-emitting device 10 has a first pin 101 and a second pin 102, and the light-emitting device 10 is internally provided with a first light-emitting diode PD1 and a second light-emitting diode PD2, and the first light-emitting diode PD1 and the second light-emitting diode PD2 are connected in parallel between the first pin 101 and the second pin 102.
[0063] It should be pointed out that the light-emitting colors of the first light-emitting diode PD1 and the second light-emitting diode PD2 are different, for example, the light-emitting color of the first light-emitting diode PD1 is green, and the light-emitting color of the first light-emitting diode PD1 is red. At the same time, the polarities of the first light-emitting diode PD1 and the second light-emitting diode PD2 between the first pin 101 and the second pin 102 are opposite, for example, in Figure 1In the first LED PD1, the positive terminal is connected to the first pin 101, the negative terminal is connected to the second pin 102, and the negative terminal of the second LED PD2 is connected to the first pin 101, while the positive terminal of the second LED PD2 is connected to the second pin 102.
[0064] It is understandable that the light-emitting diodes PD1 and PD2 can emit other colors, such as red, purple, or blue, and yellow, purple, or blue. Alternatively, the negative terminal of PD1 can be connected to the first pin 101, and the positive terminal of PD1 can be connected to the second pin 102. The positive terminal of PD2 can also be connected to the first pin 101, and the negative terminal of PD2 can also be connected to the second pin 102.
[0065] It should be noted that, for ease of understanding, in the following description, the embodiments of this application are illustrated by the example of the first light-emitting diode PD1 emitting green light and red light, the positive terminal of the first light-emitting diode PD1 being connected to the first pin 101, the negative terminal of the first light-emitting diode PD1 being connected to the second pin 102, and the negative terminal of the second light-emitting diode PD2 being connected to the first pin 101, and the positive terminal of the second light-emitting diode PD2 being connected to the second pin 102. This should not be construed as a limitation of this application.
[0066] The first terminal of the first switch module 20 is connected to the first pin 101, the second terminal of the first switch module 20 is connected to the first power supply terminal VDD1, and the third terminal of the first switch module 20 is connected to the ground terminal. The first switch module 20 can control the first pin 101 to connect to the first power supply terminal VDD1 or the ground terminal GND. The first terminal of the second switch module 30 is connected to the second pin 102, the second terminal of the second switch module 30 is connected to the first power supply terminal VDD1, and the third terminal of the second switch module 30 is connected to the ground terminal. The second switch module 30 can control the second pin 102 to connect to the first power supply terminal VDD1 or the ground terminal GND.
[0067] For example, when the first switch module 20 controls the first pin 101 to connect to the first power supply terminal VDD1, and the second switch module 30 controls the second pin 102 to connect to the ground terminal GND, the first light-emitting diode PD1 is energized, and the light-emitting device 10 emits green light. Conversely, when the first switch module 20 controls the first pin 101 to connect to the ground terminal GND, and the second switch module 30 controls the second pin 102 to connect to the first power supply terminal VDD1, the second light-emitting diode PD2 is energized, and the light-emitting device 10 emits red light.
[0068] As can be seen, this application controls the voltage of the first pin 101 and the second pin 102 by controlling the voltage of the first switch module 20 and the second switch module 30 respectively, so that the light-emitting device 10 can emit light of two colors. For the light-emitting device 10, only the mounting terminals and wiring of the first pin 101 and the second pin 102 need to be set, which helps to reduce the installation difficulty and cost of the light-emitting device 10.
[0069] In some embodiments of this application, see Figure 3 , Figure 3 Another schematic diagram of the light-emitting control circuit in an embodiment of this application is shown, wherein the first switching module 20 includes a first transistor Q1 and a second transistor Q2. The first terminal of the first switching module 20 includes the first terminal of the first transistor Q1 and the first terminal of the second transistor Q2. The first terminal of the first transistor Q1 is connected to the first pin 101, and the second terminal of the first transistor Q1 is connected to the first power supply terminal VDD1. The first terminal of the second transistor Q2 is connected to the first pin 101, and the second terminal of the second transistor Q2 is connected to the ground terminal GND. The first transistor Q1 is turned on when the first enable signal Green is valid, and the second transistor Q2 is turned on when the second enable signal Red is valid.
[0070] For example, taking the first transistor Q1 as an NMOS transistor and the second transistor Q2 as an NMOS transistor, when the first enable signal Green is valid (e.g., high level) and the second enable signal Red is invalid (e.g., low level), the first transistor Q1 is turned on and the second transistor Q2 is turned off. At this time, the first pin 101 is connected to the first power supply terminal VDD1, that is, the first switch module 20 controls the first pin 101 to be connected to the first power supply terminal VDD1; and when the first enable signal Green is invalid (e.g., low level) and the second enable signal Red is valid (e.g., high level), the first transistor Q1 is turned off and the second transistor Q2 is turned on. At this time, the first pin 101 is connected to the ground terminal GND, that is, the first switch module 20 controls the first pin 101 to be connected to the ground terminal GND.
[0071] It is understood that the first enable signal Green and the second enable signal Red can be control signals output by a control unit (e.g., a microcontroller) or control signals output by other control units (e.g., gate drivers). This application does not impose any specific restrictions.
[0072] It should be noted that, in the embodiments of this application, unless otherwise specified, the transistors referred to (e.g., the first transistor Q1, the second transistor Q2, the third transistor Q3, the fourth transistor Q4, etc.) can be P-type transistors (e.g., PMOS transistors or NPN transistors), N-type transistors (e.g., NMOS transistors or PNP transistors), or other transistors with switching functions, such as IGBT transistors or JEFT transistors, etc.
[0073] It should also be noted that, in the embodiments of this application, each transistor used in the embodiments of this application has a first terminal, a second terminal, and a control terminal. The first terminal and the second terminal refer to the emitter and collector, respectively, or the first terminal and the second terminal refer to the source and drain, respectively, and the control terminal refers to the gate or the base. For example, when the transistor is a bipolar junction transistor (BJT), the first terminal of the transistor is one of the emitter and the collector, the second terminal of the transistor is the other of the emitter and the collector, and the control terminal of the transistor is the base; as another example, when the transistor is a field effect transistor (FET), the first terminal of the transistor is one of the source and the drain, the second terminal of the transistor is the other of the source and the drain, and the control terminal of the transistor is the gate.
[0074] Since the source and drain (emitter and collector) of a transistor can be structurally symmetrical, they can also be structurally indistinguishable. In other words, the first and second terminals of the transistor in the embodiments of this application can be structurally indistinguishable. For example, when the transistor is a P-type transistor, the first terminal is the source (or emitter), and the second terminal is the drain (or collector); for example, when the transistor is an N-type transistor, the first terminal is the source (or emitter), and the second terminal is the drain (or collector).
[0075] In some embodiments of this application, see Figure 4 , Figure 4Another schematic diagram of the light-emitting control circuit in an embodiment of this application is shown, wherein the first transistor Q1 and the second transistor Q2 are N-type transistors (e.g., NMOS transistors), the control terminal of the second transistor Q2 is connected to the second enable signal Red, and the first switching module 20 further includes a first voltage boosting unit 21; the first voltage boosting unit 21 is connected to the second power supply terminal VDD2, and the first voltage boosting unit 21 is connected to the control terminal of the first transistor Q1; wherein the voltage provided by the second power supply terminal VDD2 is greater than the voltage provided by the first voltage terminal, and when the first enable signal Green is valid, the first voltage boosting unit 21 controls the voltage at the control terminal of the first transistor Q1 to be greater than the voltage provided by the first voltage terminal.
[0076] It should be noted that since the first transistor Q1 and the second transistor Q2 are N-type transistors, N-type transistors need to be turned on by a high-level signal. However, the first enable signal Green and the second enable signal Red are usually output by the microcontroller and have no driving capability. Therefore, the second transistor Q2, which is connected to the ground terminal GND, can be turned on when the second enable signal Red is high. On the other hand, the first transistor Q1, which is connected to the first power supply terminal VDD1, is usually difficult to be directly controlled to be turned on by the first enable signal Green.
[0077] In the above embodiment, the voltage provided by the second power supply terminal VDD2 is greater than the voltage provided by the first voltage terminal. For example, the voltage provided by the first voltage terminal can be 3.3V, while the voltage provided by the second power supply terminal VDD2 can be 12V. Therefore, when the first enable signal Green is valid, the first voltage boosting unit 21 can control the control terminal voltage of the first transistor Q1 to be greater than the voltage provided by the first voltage terminal, thereby indirectly controlling the first transistor Q1 to turn on through the first voltage boosting unit 21.
[0078] As an exemplary embodiment of the first voltage boosting unit 21, see [reference]. Figure 5 , Figure 5 Another schematic diagram of the light-emitting control circuit in an embodiment of this application is shown, wherein the first voltage boosting unit 21 includes a first resistor R1 and a third transistor Q3; the first end of the first resistor R1 is connected to the second power supply terminal VDD2, the second end of the first resistor R1 is connected to the second end of the third transistor Q3, and the first end of the third transistor Q3 is connected to the ground terminal GND; wherein the control terminal of the first transistor Q1 is connected to the second end of the first resistor R1, and the third transistor Q3 is turned off when the first enable signal Green is valid.
[0079] For example, taking the third transistor Q3 as an NMOS transistor, assuming that the control terminal of the third transistor Q3 is connected to the first enable signal Green, when the first enable signal Green is valid (e.g., low level), the third transistor Q3 is turned off, thus the path between the first resistor R1 and the third transistor Q3 is broken. At this time, the voltage at the control terminal of the first transistor Q1 is pulled up to the voltage at the second power supply terminal VDD2. Since the voltage provided by the second power supply terminal VDD2 is greater than the voltage provided by the first voltage terminal, the first transistor Q1 can be turned on normally. Conversely, when the first enable signal Green is invalid (e.g., high level), the third transistor Q3 is turned on, the voltage at the control terminal of the first transistor Q1 is pulled down, thus the first transistor Q1 is turned off.
[0080] As another exemplary embodiment of the first voltage boosting unit 21, see [reference]. Figure 6 , Figure 6 Another schematic diagram of the light-emitting control circuit in an embodiment of this application is shown, wherein the first voltage boosting unit 21 further includes a second resistor R2 and a fourth transistor Q4; the first end of the second resistor R2 is connected to the second power supply terminal VDD2, the second end of the second resistor R2 is connected to the second end of the fourth transistor Q4, and the first end of the fourth transistor Q4 is connected to the ground terminal GND; wherein the control terminal of the fourth transistor Q4 is connected to the first enable signal Green, and the control terminal of the third transistor Q3 is connected to the second end of the first resistor R1.
[0081] For example, if the third transistor Q3 and the fourth transistor Q4 are NMOS transistors, when the first enable signal Green is valid (e.g., high level), the fourth transistor Q4 is turned on, and the control terminal voltage of the third transistor Q3 is pulled low, so the third transistor Q3 is turned off. Therefore, the control terminal voltage of the first transistor Q1 is pulled high to the voltage of the second power supply terminal VDD2, so that the first transistor Q1 can be turned on normally. Conversely, when the first enable signal Green is invalid (e.g., low level), the fourth transistor Q4 is turned off, and the control terminal voltage of the third transistor Q3 is pulled high, so the third transistor Q3 is turned on. Therefore, the control terminal voltage of the first transistor Q1 is pulled low, so the first transistor Q1 is turned off.
[0082] In some embodiments of this application, see Figure 7 , Figure 7Another schematic diagram of the light-emitting control circuit in an embodiment of this application is shown, wherein the second switching module 30 includes a fifth transistor Q5 and a sixth transistor Q6. The first terminal of the second switching module 30 includes the first terminal of the fifth transistor Q5 and the first terminal of the sixth transistor Q6. The first terminal of the fifth transistor Q5 is connected to the first pin 101, and the second terminal of the fifth transistor Q5 is connected to the first power supply terminal VDD1. The first terminal of the sixth transistor Q6 is connected to the first pin 101, and the second terminal of the sixth transistor Q6 is connected to the ground terminal GND. The fifth transistor Q5 is turned on when the second enable signal Red is valid, and the sixth transistor Q6 is turned on when the first enable signal Green is valid.
[0083] For example, taking the fifth transistor Q5 and the sixth transistor Q6 as NMOS transistors, when the second enable signal Red is valid (e.g., high level) and the first enable signal Green is invalid (e.g., low level), the fifth transistor Q5 is turned on and the sixth transistor Q6 is turned off. At this time, the second pin 102 is connected to the first power supply terminal VDD1, that is, the second switch module 30 controls the second pin 102 to be connected to the first power supply terminal VDD1; and when the second enable signal Red is invalid (e.g., high level) and the first enable signal Green is valid (e.g., high level), the fifth transistor Q5 is turned off and the sixth transistor Q6 is turned on. At this time, the second pin 102 is connected to the ground terminal GND, that is, the second switch module 30 controls the second pin 102 to be connected to the ground terminal GND.
[0084] In some embodiments of this application, see Figure 8 , Figure 8 Another schematic diagram of the light-emitting control circuit in an embodiment of this application is shown, wherein the fifth transistor Q5 and the sixth transistor Q6 are N-type transistors (e.g., NMOS transistors), the control terminal of the sixth transistor Q6 is connected to the first enable signal Green, and the second switching module 30 further includes a second voltage boosting unit 31; the second voltage boosting unit 31 is connected to the second power supply terminal VDD2, and the second voltage boosting unit 31 is connected to the control terminal of the fifth transistor Q5; wherein the voltage provided by the second power supply terminal VDD2 is greater than the voltage provided by the first voltage terminal, and when the second enable signal Red is valid, the second voltage boosting unit 31 controls the voltage at the control terminal of the fifth transistor Q5 to be greater than the voltage provided by the first voltage terminal.
[0085] It should be noted that since the fifth transistor Q5 and the sixth transistor Q6 are N-type transistors, N-type transistors need to be turned on by a high-level signal. The first enable signal Green and the second enable signal Red are usually output by the microcontroller. Therefore, the sixth transistor Q6, which is connected to the ground terminal GND, can be turned on when the first enable signal Green is high. However, the fifth transistor Q5, which is connected to the first power supply terminal VDD1, is usually difficult to be directly controlled to be turned on by the second enable signal Red.
[0086] In the above embodiment, the voltage provided by the second power supply terminal VDD2 is greater than the voltage provided by the first voltage terminal. Therefore, when the second enable signal Red is valid, the second voltage boosting unit 31 can control the control terminal voltage of the fifth transistor Q5 to be greater than the voltage provided by the first voltage terminal, thereby indirectly controlling the fifth transistor Q5 to turn on through the second voltage boosting unit 31.
[0087] As an exemplary embodiment of the second voltage boosting unit 31, see [reference]. Figure 9 , Figure 9 Another schematic diagram of the light-emitting control circuit in an embodiment of this application is shown, wherein the second voltage boosting unit 31 includes a third resistor R3 and a seventh transistor Q7; the first end of the third resistor R3 is connected to the second power supply terminal VDD2, the second end of the third resistor R3 is connected to the second end of the seventh transistor Q7, and the first end of the seventh transistor Q7 is connected to the ground terminal GND; wherein the control terminal of the fifth transistor Q5 is connected to the second end of the third resistor R3, and the seventh transistor Q7 is turned off when the second enable signal Red is valid.
[0088] For example, taking the seventh transistor Q7 as an NMOS transistor, assuming that the control terminal of the seventh transistor Q7 is connected to the second enable signal Red, when the second enable signal Red is valid (e.g., low level), the seventh transistor Q7 is turned off. Therefore, the path between the third resistor R3 and the seventh transistor Q7 is broken. At this time, the voltage at the control terminal of the fifth transistor Q5 is pulled high to the voltage at the second power supply terminal VDD2. Since the voltage provided by the second power supply terminal VDD2 is greater than the voltage provided by the first voltage terminal, the fifth transistor Q5 can be turned on normally. Conversely, when the second enable signal Red is invalid (e.g., high level), the seventh transistor Q7 is turned on, the voltage at the control terminal of the fifth transistor Q5 is pulled low, and therefore the fifth transistor Q5 is turned off.
[0089] As another exemplary embodiment of the second voltage boosting unit 31, see [reference]. Figure 10 , Figure 10Another schematic diagram of the light-emitting control circuit in an embodiment of this application is shown, wherein the second voltage boosting unit 31 further includes a fourth resistor R4 and an eighth transistor Q8; the first end of the fourth resistor R4 is connected to the second power supply terminal VDD2, the second end of the fourth resistor R4 is connected to the second end of the eighth transistor Q8, and the first end of the eighth transistor Q8 is connected to the ground terminal GND; wherein the control terminal of the eighth transistor Q8 is connected to the second enable signal Red, and the control terminal of the seventh transistor Q7 is connected to the second end of the third resistor R3.
[0090] For example, if the seventh transistor Q7 and the eighth transistor Q8 are NMOS transistors, when the second enable signal Red is valid (e.g., high level), the eighth transistor Q8 is turned on, and the control terminal voltage of the seventh transistor Q7 is pulled low, so the seventh transistor Q7 is turned off. Therefore, the control terminal voltage of the fifth transistor Q5 is pulled high to the voltage of the second power supply terminal VDD2, so that the fifth transistor Q5 can be turned on normally. Conversely, when the second enable signal Red is invalid (e.g., low level), the eighth transistor Q8 is turned off, and the control terminal voltage of the seventh transistor Q7 is pulled high, so the seventh transistor Q7 is turned on. Therefore, the control terminal voltage of the fifth transistor Q5 is pulled low, so the fifth transistor Q5 is turned off.
[0091] It is worth noting that the above description of the light-emitting control circuit is intended to clearly illustrate the implementation and verification process of this application. Those skilled in the art can make equivalent modifications under the guidance of this application; for example, refer to... Figure 11 , Figure 11 Another schematic diagram of the light-emitting control circuit in an embodiment of this application is shown. A current-limiting resistor R0 can be set between the first pin 101 and the first switching module 20 to limit the current flowing through the light-emitting device 10. For example, when the second transistor Q2 and the sixth transistor Q6 are PMOS transistors, the control terminal of the second transistor Q2 can also be directly connected to the first enable signal Green, and the sixth transistor Q6 can also be directly connected to the second enable signal Red.
[0092] Furthermore, to better implement the light-emitting control circuit in the embodiments of this application, this application also provides a power supply based on the light-emitting control circuit. The power supply includes the light-emitting control circuit as described in any of the above embodiments. Exemplarily, the power supply may be, but is not limited to, a mobile power supply, a server power supply, a communication power supply, a module power supply, a frequency converter power supply, a UPS power supply, an EPS emergency power supply, a network power supply, a power operation power supply, an adapter power supply, etc. Since the power supply in the embodiments of this application is equipped with the light-emitting control circuit of the above embodiments, it has all the beneficial effects of the above-described light-emitting control circuit, which will not be elaborated further here.
[0093] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0094] The basic concepts have been described above. Obviously, for those skilled in the art, the detailed disclosure above is merely illustrative and does not constitute a limitation of this application. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements, and corrections to this application. Such modifications, improvements, and corrections are suggested in this application, and therefore remain within the spirit and scope of the exemplary embodiments of this application.
[0095] Furthermore, this application uses specific terms to describe embodiments of the application. For example, "an embodiment," "one embodiment," and / or "some embodiments" refer to a particular feature, structure, or characteristic associated with at least one embodiment of the application. Therefore, it should be emphasized and noted that "an embodiment," "one embodiment," or "an alternative embodiment" mentioned twice or more in different locations in this specification do not necessarily refer to the same embodiment. In addition, certain features, structures, or characteristics in one or more embodiments of the application can be appropriately combined.
[0096] The above provides a detailed description of a light-emitting control circuit and power supply provided in the embodiments of this application. Specific examples have been used to illustrate the principle and implementation of this utility model. The description of the above embodiments is only for the purpose of helping to understand the method and core idea of this utility model. At the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the idea of this utility model. Therefore, the content of this specification should not be construed as a limitation of this utility model.
Claims
1. A light emission control circuit, characterized by comprising: The application relates to a light-emitting device, which comprises a first pin and a second pin, a first light-emitting diode and a second light-emitting diode arranged inside the light-emitting device, the first light-emitting diode and the second light-emitting diode being connected in parallel between the first pin and the second pin; a first switch module, a first end of the first switch module being connected with the first pin, a second end of the first switch module being connected with a first power supply end, and a third end of the first switch module being connected with a grounding end; a second switch module, a first end of the second switch module being connected with the second pin, a second end of the second switch module being connected with the first power supply end, and a third end of the second switch module being connected with the grounding end; wherein when the first pin is connected with the first power supply end, the second pin is connected with the grounding end; when the first pin is connected with the grounding end, the second pin is connected with the first power supply end; the polarities of the first light-emitting diode and the second light-emitting diode between the first pin and the second pin are opposite. The first switch module comprises a first transistor and a second transistor; the first end of the first switch module comprises a first end of the first transistor and a first end of the second transistor; the first end of the first transistor is connected with the first pin, and the second end of the first transistor is connected with the first power supply end; the first end of the second transistor is connected with the first pin, and the second end of the second transistor is connected with the grounding end; wherein the first transistor is turned on when a first enable signal is effective, and the second transistor is turned on when a second enable signal is effective. The first transistor and the second transistor are N-type transistors, the control end of the second transistor is connected with the second enable signal, and the first switch module further comprises a first voltage lifting unit; the first voltage lifting unit is connected with a second power supply end, and the control end of the first transistor is connected with the first voltage lifting unit. The first voltage lifting unit comprises a first resistor and a third transistor; the first end of the first resistor is connected with the second power supply end, the second end of the first resistor is connected with the second end of the third transistor, and the first end of the third transistor is connected with the grounding end; wherein the control end of the first transistor is connected with the second end of the first resistor, and the third transistor is cut off when the first enable signal is effective. The first voltage lifting unit further comprises a second resistor and a fourth transistor; the first end of the second resistor is connected with the second power supply end, the second end of the second resistor is connected with the second end of the fourth transistor, and the first end of the fourth transistor is connected with the grounding end; wherein the control end of the fourth transistor is connected with the first enable signal, and the control end of the third transistor is connected with the second end of the first resistor. The second switch module comprises a fifth transistor and a sixth transistor; the first end of the second switch module comprises a first end of the fifth transistor and a first end of the sixth transistor; the first end of the fifth transistor is connected with the second pin, the second end of the fifth transistor is connected with the first power supply end, and the third end of the fifth transistor is connected with the grounding end; the first end of the sixth transistor is connected with the second pin, the second end of the sixth transistor is connected with the grounding end, and the third end of the sixth transistor is connected with the first power supply end; wherein the fifth transistor is turned on when the first enable signal is effective, and the sixth transistor is turned on when the second enable signal is effective.
2. The light emission control circuit according to claim 1, wherein 3. The light emission control circuit according to claim 2, wherein 4. The light emission control circuit according to claim 3, wherein 5. The light emission control circuit according to claim 4, wherein 6. The light emission control circuit according to claim 1, wherein The first end of the fifth transistor is connected with the first pin, and the second end of the fifth transistor is connected with the first power supply end; The first end of the sixth transistor is connected with the first pin, and the second end of the sixth transistor is connected with the ground end; The fifth transistor is turned on when the second enable signal is effective, and the sixth transistor is turned on when the first enable signal is effective.
7. The light emission control circuit according to claim 6, wherein The fifth transistor and the sixth transistor are N-type transistors, the control end of the sixth transistor is connected with the first enable signal, and the second switch module further comprises a second voltage lifting unit; The second voltage lifting unit is connected with the second power supply end, and the control end of the fifth transistor is connected with the second voltage lifting unit.
8. The light emission control circuit according to claim 7, wherein The second voltage lifting unit comprises a third resistor and a seventh transistor; The first end of the third resistor is connected with the second power supply end, the second end of the third resistor is connected with the second end of the seventh transistor, and the first end of the seventh transistor is connected with the ground end; The control end of the fifth transistor is connected with the second end of the third resistor, and the seventh transistor is cut off when the second enable signal is effective.
9. The light emission control circuit according to claim 8, wherein The second voltage lifting unit further comprises a fourth resistor and an eighth transistor; The first end of the fourth resistor is connected with the second power supply end, the second end of the fourth resistor is connected with the second end of the eighth transistor, and the first end of the eighth transistor is connected with the ground end; The control end of the eighth transistor is connected with the second enable signal, and the control end of the seventh transistor is connected with the second end of the third resistor.
10. A power supply, characterized by, The luminescence control circuit comprises the luminescence control circuit according to any one of claims 1 to 9.