Power supply switching circuit of LED lighting device and control method of power supply switching circuit
By designing input branch and detection circuit set according to priority in the LED lighting device, combined with the switching control circuit and the switching circuit, flexible power switching and hot switching are achieved, and the flexibility of power switching in the existing technology is solved. The power failure problem improves the working stability of the device.
Patent Information
- Application Number
- CN202411093721.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-08-09
AI Technical Summary
The power switching circuit of existing LED lighting devices is not flexible enough to achieve hot switching, resulting in a short-term power outage when the mains power is powered off, affecting the stability of the device's working.
Design a power switching circuit including input branch, detection circuit, switching control circuit and switching circuit set according to priority. By detecting whether the power supply voltage is greater than the preset threshold, flexibly adjust the priority to achieve higher or lower than the current priority. switch the power supply and use energy storage circuit to avoid power outage.
It improves the flexibility and working stability of power switching, avoids short circuit problems caused by multiple power connections, realizes hot switching without power loss during the switching process, and enhances the stability of the lighting device.
Smart Images

Figure CN119010315A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of lighting technology, and more specifically, to a power switching circuit of an LED lighting device and a control method thereof. Background Art
[0002] Lighting devices are generally powered by multiple power sources such as AC power and batteries. When one of the power sources is powered off, the power switching circuit switches the lighting device to be powered by other power sources, thereby ensuring stable operation of the lighting device.
[0003] In order to ensure long-term continuous use, the power switching circuit generally gives priority to using the mains to power the light source. When the mains is cut off, the power switching circuit switches to batteries or other power sources for power supply.
[0004] However, when multiple power sources are used for power supply at the same time, since the multiple power input terminals are directly connected to the light source, the multiple power input terminals may be short-circuited, causing unstable operation of the lighting device.
[0005] In addition, when the city power is cut off, the existing power switching circuit is used to switch to other power sources for power supply. A short power failure may occur during the switching process, causing unstable operation of the lighting device.
[0006] The existing patent document (CN 112769225 A) discloses a lighting device, a power switching circuit and a power switching method for the lighting device, wherein the power switching circuit ensures that there is a priority relationship between multiple power input circuits while preventing the current from flowing back from the light source to the high-priority power input circuit after the power source connected to the low-priority power input circuit supplies power to the light source, thereby improving the working stability of the lighting device. However, the power switching flexibility of this scheme is not high. On the one hand, the low-priority power supply can only be connected when all high-priority power supplies are disconnected. At the same time, the high-priority power supply voltage must be greater than the low-priority power supply voltage to be used first, and it is impossible to switch between power supplies of different priorities at will; on the other hand, the existing technology cannot realize hot switching of power supplies of different priorities, and the power supply cannot be switched during the normal operation of the lighting device. After power failure, the switching will still cause power failure, which will still cause unstable operation of the lighting device. Summary of the invention
[0007] In order to overcome the defects of the above-mentioned prior art that power switching flexibility is low and hot switching cannot be achieved, the present invention provides a power switching circuit for an LED lighting device and a control method thereof. When a high-priority input power source is connected, it is not affected by a low-priority power source, and the switching flexibility is high. Moreover, during the normal operation of the lighting device, a power source higher or lower than the current priority power source can be connected at any time to achieve hot switching, and the lighting device will not experience power failure, thereby further improving the working stability of the lighting device.
[0008] In order to solve the above technical problems, the technical solution of the present invention is as follows:
[0009] A power switching circuit for an LED lighting device, comprising: a plurality of input branches arranged in descending order of priority, a bias power circuit and an energy storage circuit;
[0010] Each of the input branches includes: an input power supply, a detection circuit, a switching control circuit and a switch circuit;
[0011] In each of the input branches, the output end of the input power supply is electrically connected to the input end of the detection circuit and the switch circuit respectively; the switch control circuit receives the first electrical signal output by the output end of the detection circuit; the first output end of the switch control circuit is electrically connected to the control end of the switch circuit; the output end of the switch circuit serves as the output end of the corresponding input branch;
[0012] The switching control circuit of low priority also receives the first electrical signal output by each detection circuit of high priority respectively;
[0013] Each of the switching control circuits also receives a second electrical signal output from a second output terminal of another switching control circuit;
[0014] The output end of each input power supply is also electrically connected to the input end of the bias power supply circuit, and the output end of the bias power supply circuit provides a bias voltage for each detection circuit and the switching control circuit respectively;
[0015] The energy storage circuit is connected in parallel with the output end of each input branch; the output end of each input branch is electrically connected to the power supply end of the lighting device respectively.
[0016] Preferably, the types of the input power source include: mains power, battery, AC-DC power supply, DC-DC power supply and battery box.
[0017] Preferably, each of the detection circuits comprises: a comparator, first to fifth resistors, first and second capacitors, a voltage stabilizing diode, and a switch;
[0018] The non-inverting input end of the comparator is respectively connected to one end of the first resistor, one end of the second resistor, one end of the first capacitor, one end of the third resistor and one end of the switch; the other end of the first resistor is connected to the input power supply; the other end of the second resistor, the other end of the first capacitor and the other end of the switch are all grounded; the other end of the third resistor is respectively connected to one end of the second capacitor and the output end of the comparator; the other end of the second capacitor is grounded;
[0019] The inverting input terminal of the comparator is connected to the cathode of the voltage stabilizing diode and one end of the fourth resistor respectively; the anode of the voltage stabilizing diode is grounded; the other end of the fourth resistor is connected to the output end of the bias power supply circuit;
[0020] The output end of the comparator is connected to one end of the fifth resistor and serves as the output end of the detection circuit to output the first electrical signal; the other end of the fifth resistor is connected to the output end of the bias power supply circuit;
[0021] The positive power supply terminal of the comparator is connected to the output terminal of the bias power supply circuit, and the negative power supply terminal is grounded.
[0022] Preferably, each of the switching control circuits comprises: sixth to twelfth resistors, first and second NMOS transistors, an NPN transistor, a third capacitor, and a first diode;
[0023] One end of the sixth resistor is connected to the output end of the detection circuit corresponding to the input branch, and is used to receive the first electrical signal inside the input branch; the other end of the sixth resistor is respectively connected to the drain of the first NMOS tube, one end of the seventh resistor and the base of the NPN transistor; the source of the first NMOS tube, the other end of the seventh resistor and the emitter of the NPN transistor are all grounded;
[0024] The gate of the first NMOS tube is respectively connected to one end of the eighth resistor, one end of the ninth resistor and one end of the third capacitor, and the other end of the eighth resistor is respectively connected to the second electrical signal output by the second output end of the other switching control circuit; the other end of the ninth resistor and the other end of the third capacitor are both grounded;
[0025] The collector of the NPN transistor is connected to the control end of the switch circuit and serves as the first output end of the switch control circuit;
[0026] The collector of the NPN transistor is also connected to the cathode of the first diode, the anode of the first diode is respectively connected to the gate of the second NMOS transistor, one end of the tenth resistor and one end of the eleventh resistor; the other end of the tenth resistor is connected to the output end of the bias power supply circuit; the source of the second NMOS transistor and the other end of the eleventh resistor are both grounded;
[0027] The drain of the second NMOS tube is respectively connected to one end of the twelfth resistor and the other end of the eighth resistor in other switching control circuits, and serves as the second output end of the switching control circuit to output a second electrical signal; the other end of the twelfth resistor is connected to the output end of the bias power supply circuit.
[0028] Preferably, in addition to the switching control circuit with the highest priority, the other switching control circuits further include: a thirteenth and fourteenth resistor, and a third NMOS transistor;
[0029] The gate of the third NMOS tube is respectively connected to one end of the thirteenth resistor and one end of the fourteenth resistor, and the other end of the thirteenth resistor is respectively connected to the output ends of all detection circuits with a higher priority than the switching control circuit, so as to receive the first electrical signal of the high priority input branch; the source of the third NMOS tube and the other end of the fourteenth resistor are both grounded;
[0030] The drain of the third NMOS tube is connected to the other end of the sixth resistor.
[0031] Preferably, for each of the switching control circuits, when the second electrical signal of other switching control circuits is input into the eighth resistor of the switching control circuit, and when the first electrical signal of the high priority input branch is input into the thirteenth resistor of the switching control circuit, the signal is input after passing through a forward diode.
[0032] Preferably, each of the switch circuits comprises: a fifteenth and a sixteenth resistor, and a fourth and a fifth NMOS transistor;
[0033] The source of the fourth NMOS tube is connected to the input power supply and serves as the input end of the switch circuit;
[0034] The gate of the fourth NMOS transistor is respectively connected to one end of the fifteenth resistor and one end of the sixteenth resistor, and the other end of the fifteenth resistor is respectively connected to the drain of the fourth NMOS transistor and the drain of the fifth NMOS transistor; the other end of the sixteenth resistor is connected to the first output end of the switching control circuit and serves as the control end of the switch circuit;
[0035] The gate of the fifth NMOS tube is connected to one end of the fifteenth resistor and one end of the sixteenth resistor respectively, and the source of the fifth NMOS tube is connected to the input end of the energy storage circuit and serves as the output end of the switch circuit.
[0036] Preferably, the bias power supply circuit comprises: a TX4139 power supply chip, seventeenth to twenty-first resistors, fourth to ninth capacitors, a second diode, and an inductor;
[0037] The ILIM pin of the TX4139 power chip is connected to one end of the seventeenth resistor; the other end of the seventeenth resistor is respectively connected to one end of the fourth capacitor, one end of the fifth capacitor, the VIN pin of the TX4139 power chip, one end of the eighteenth resistor, and the output ends of all input power supplies, the other end of the seventeenth resistor serves as the input end of the bias power circuit, and each input power supply is input with a power signal after passing through a forward diode; the other end of the eighteenth resistor is connected to the EN pin of the TX4139 power chip; the other end of the fourth capacitor and the other end of the fifth capacitor are both grounded;
[0038] The SW pin of the TX4139 power chip is respectively connected to one end of the sixth capacitor, one end of the inductor and the negative electrode of the second diode, the other end of the sixth capacitor is connected to one end of the nineteenth resistor, and the other end of the nineteenth resistor is connected to the BS pin of the TX4139 power chip; the positive electrode of the second diode is grounded; the other end of the inductor is respectively connected to one end of the seventh to ninth capacitors, one end of the twentieth resistor, the detection circuit and the switching control circuit, and serves as the output end of the bias power circuit to output a bias voltage of +12V;
[0039] The other end of the seventh capacitor is respectively connected to the FB pin of the TX4139 power chip and one end of the 21st resistor; the other end of the 20th resistor is respectively connected to the FB pin of the TX4139 power chip and one end of the 21st resistor; the other end of the 21st resistor and the other ends of the eighth and ninth capacitors are grounded;
[0040] The POK pin of the TX4139 power chip is left empty, and the GND pin of the TX4139 power chip is grounded.
[0041] Preferably, the energy storage circuit includes a plurality of energy storage capacitors connected in parallel, one end of each energy storage capacitor is respectively connected to the output ends of all input branches and the power supply end of the lighting device; the other end of each energy storage capacitor is grounded.
[0042] The present invention also provides a power switching circuit control method for an LED lighting device, based on the power switching circuit of the LED lighting device, comprising the following steps:
[0043] For each of the input branches, when the input power is connected, the detection circuit detects that the voltage of the input power is greater than or equal to the preset threshold, and the detection circuit outputs a high-level first electrical signal to the switching control circuit and all switching control circuits with a lower priority than the input branch; when the switching control circuit of the input branch receives the high-level first electrical signal, and the second electrical signals output by other switching control circuits are all low-level, the high-level second electrical signal is output to control the switch circuit to open, so that the input power supplies power to the energy storage circuit and the lighting device, and at the same time, all switching control circuits with a lower priority than the input branch receive the high-level first electrical signal, and control all switch circuits with a lower priority than the input branch to close;
[0044] S1: Automatic switching in case of power failure: When the input power of a high priority is powered off, the detection circuit of the input branch that is powered off detects that the input power is disconnected, and at this time the detection circuit outputs a low-level first electrical signal to the switching control circuit and all switching control circuits with a lower priority than the input branch; when the switching control circuit of the input branch receives the low-level first electrical signal, the control switch circuit is turned off, and at the same time the switching control circuit outputs a low-level second electrical signal to the switching control circuits of other input branches;
[0045] Determine whether other input power sources are connected in order of priority from high to low, control other input power sources with higher priority to supply power to the energy storage circuit and lighting device, and at the same time, all switch circuits of other input branches are closed to complete automatic switching when power is off;
[0046] S2: manual switching: during the normal operation of the lighting device, according to preset requirements, manually increase the preset threshold of the detection circuit of the current input branch, so that the detection circuit of the current input branch outputs a low-level first electrical signal, and the switching control circuit outputs a low-level second electrical signal, thereby shielding the input power of the current input branch;
[0047] At the same time, the preset threshold of the detection circuit of the input branch to be connected is lowered, so that the detection circuit of the input branch to be connected outputs a first electrical signal of a high level; after the switching control circuit of the input branch to be connected receives the first electrical signal of a high level and the second electrical signal of a low level of the current input branch, the switching circuit of the input branch to be connected is controlled to open, thereby connecting the input power supply of the input branch to be connected and completing manual switching.
[0048] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[0049] The present invention provides a power switching circuit of an LED lighting device and a control method thereof. The access of an input power source is only related to its own priority and whether the voltage is greater than a preset threshold. The voltage of a high-priority power source can be greater than, less than or equal to the voltage of a low-priority power source. The circuit setting is more flexible and the adaptable power source is more extensive.
[0050] Secondly, the present invention also provides a switching control circuit to ensure that only one input power source can be connected at the same time, thereby avoiding short circuit caused by multiple input power sources being connected, which may lead to unstable operation of the lighting device;
[0051] In addition, during the normal operation of the lighting device, by flexibly adjusting the preset thresholds of each detection circuit, a power supply higher or lower than the current priority power supply can be connected at any time according to demand, thereby greatly improving the flexibility of switching; at the same time, hot switching is realized, and the lighting device will not lose power during the switching process, further improving the working stability of the lighting device. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 This is an overall architecture diagram of a power switching circuit of an LED lighting device provided in Example 1.
[0053] Figure 2 This is a circuit structure diagram of the first input branch provided in Example 2.
[0054] Figure 3The circuit structure diagram of the second input branch provided in Example 2
[0055] Figure 4 The circuit structure diagram of the third input branch provided in Example 2
[0056] Figure 5 2 is a circuit structure diagram of the bias power supply circuit provided in Example 2.
[0057] Figure 6 This is a circuit structure diagram of the energy storage circuit provided in Example 2. DETAILED DESCRIPTION
[0058] The drawings are for illustrative purposes only and should not be construed as limiting the present patent;
[0059] In order to better illustrate the present embodiment, some parts in the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product;
[0060] It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.
[0061] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0062] Example 1
[0063] like Figure 1 As shown, this embodiment provides a power switching circuit for an LED lighting device, comprising: a plurality of input branches arranged in descending order of priority, a bias power circuit and an energy storage circuit;
[0064] Each of the input branches includes: an input power supply, a detection circuit, a switching control circuit and a switch circuit; the types of the input power supply include: mains power, battery, AC-DC power supply, DC-DC power supply and battery box;
[0065] In each of the input branches, the output end of the input power supply is electrically connected to the input end of the detection circuit and the switch circuit respectively; the switch control circuit receives the first electrical signal output by the output end of the detection circuit; the first output end of the switch control circuit is electrically connected to the control end of the switch circuit; the output end of the switch circuit serves as the output end of the corresponding input branch;
[0066] The switching control circuit of low priority also receives the first electrical signal output by each detection circuit of high priority respectively;
[0067] Each of the switching control circuits also receives a second electrical signal output from a second output terminal of another switching control circuit;
[0068] The output end of each input power supply is also electrically connected to the input end of the bias power supply circuit, and the output end of the bias power supply circuit provides a bias voltage for each detection circuit and the switching control circuit respectively;
[0069] The energy storage circuit is connected in parallel with the output end of each input branch; the output end of each input branch is electrically connected to the power supply end of the lighting device respectively.
[0070] In the specific implementation process, Figure 1 In the circuit shown, there are N input branches from the first to the Nth, where N is a positive integer; the N input branches are arranged in descending order of priority, the priority of the first input branch is higher than the priority of the second input branch, the priority of the second input branch is higher than the priority of the third input branch, and so on; the working scenario and circuit working process of the power switching circuit in this embodiment mainly include:
[0071] 1) When the first input power source is connected, the first detection circuit detects that the first input power source has power input, and the input voltage of the first power source is higher than the preset threshold of the first detection circuit, the first detection circuit outputs a high-level first electrical signal to the first switching control circuit and all subsequent switching control circuits;
[0072] When the first switching control circuit receives the high level signal output by the first detection circuit, it controls the first switch circuit to open, so that the first input power supplies power to the energy storage circuit and the lighting device. At the same time, all the switching control circuits after the first one receive the high level signal output by the first detection circuit, and control all the switch circuits after the first one to close.
[0073] 2) When the first input power source is not connected or the voltage is lower than a preset threshold of the first detection circuit, it is determined whether the second input power source is connected;
[0074] Similar to the access process of the first input power supply, when the second input power supply is connected, the second detection circuit detects that the second input power supply has power input, and the input voltage of the second power supply is higher than the preset threshold of the second detection circuit, the second detection power supply outputs a high-level first electrical signal to the second switching control circuit and all the switching control circuits after the second one. When the second switching control circuit receives the high-level signal output by the second detection circuit, it controls the second switch circuit to open, so that the second input power supply supplies power to the energy storage circuit and the lighting device. At the same time, all the switching control circuits after the second one receive the high-level signal output by the second detection circuit, and control all the switch circuits after the second one to close.
[0075] 3) When the first input power source is connected, it takes precedence over the second input power source, the second input power source takes precedence over the third input power source, and so on. When the first input power source is connected to the mains, that is, the mains takes precedence over other power sources, and the mains is used for power supply first;
[0076] 4) When multiple power sources are connected at the same time, the first input power source (mains power) loses power in the middle, and then other power sources can be switched to. The first detection circuit detects that the first input power source is disconnected, and the first detection circuit outputs a low-level first electrical signal to the first switching control circuit and all subsequent switching control circuits. When the first switching control circuit receives the low-level signal output by the first detection circuit, it controls the first switch circuit to close. When the first switch circuit is closed, the first switching control circuit outputs a low-level second electrical signal to all other switching control circuits;
[0077] When other switching control circuits receive the low level signal from the first switching control circuit, they will first determine whether the second input power source is connected to the power source. If the power source is connected to the power source, the second switching control circuit controls the second switch circuit to open. If the power source is not connected to the power source, the second switch circuit remains closed and determines whether the third input power source is connected to the power source, and so on.
[0078] Since the switching control circuit opens the corresponding switch circuit for power access only when all the second electrical signals are at a low level and the first electrical signal of the corresponding input branch is at a high level, when the high-priority power supply (first input power supply) is switched to the low-priority power supply (second input power supply), the connection between the high-priority power supply and the lighting device is preferentially closed (the closing method may be to actively or passively disconnect the power access, and to increase the preset threshold of the high-priority detection circuit for shielding), and then the connection between the low-priority power supply and the lighting device is opened, so as to avoid the high-priority power supply and the low-priority power supply being simultaneously connected to the light source and short-circuited, which would cause the lighting device to work unstably;
[0079] 5) The circuit in this embodiment can also be manually switched. During the normal operation of the lighting device, according to the preset requirements, the preset threshold of the detection circuit of the current input branch is manually increased, so that the detection circuit of the current input branch outputs a low-level first electrical signal, and the switching control circuit outputs a low-level second electrical signal, thereby shielding the input power of the current input branch;
[0080] At the same time, the preset threshold of the detection circuit of the input branch to be connected is lowered, so that the detection circuit of the input branch to be connected outputs a high-level first electrical signal; after the switching control circuit of the input branch to be connected receives the high-level first electrical signal and the low-level second electrical signal of the current input branch, the switch circuit of the input branch to be connected is controlled to open, thereby connecting the input power supply of the input branch to be connected, completing manual switching, and realizing the connection of power supply of any priority;
[0081] Since the energy storage circuit stores some electricity, the lighting device is powered by the energy storage circuit during switching, so there will be no short-term power failure and no instability of the lighting device, thus achieving hot switching;
[0082] In this embodiment, the access of the input power supply is only related to its own priority and whether the voltage is greater than the preset threshold of the detection circuit. The voltage of the high-priority power supply can be set arbitrarily and has no relationship with the voltage of the low-priority power supply. That is, the voltage of the high-priority power supply can be greater than, less than or equal to the voltage of the low-priority power supply. The circuit setting is more flexible and the adaptable power supply is more extensive.
[0083] Secondly, this embodiment also provides a switching control circuit to ensure that only one input power source can be connected at the same time, so as to avoid short circuit caused by multiple input power sources being connected, resulting in unstable operation of the lighting device;
[0084] In addition, during the normal operation of the lighting device, by flexibly adjusting the preset thresholds of each detection circuit, a power supply higher or lower than the current priority power supply can be connected at any time according to demand, which greatly improves the flexibility of switching. At the same time, hot switching is also achieved, thereby improving the working stability of the lighting device.
[0085] Example 2
[0086] This embodiment provides a power switching circuit for an LED lighting device, comprising: a plurality of input branches arranged in descending order of priority, a bias power circuit and an energy storage circuit;
[0087] Each of the input branches includes: an input power supply, a detection circuit, a switching control circuit and a switch circuit; the types of the input power supply include: mains power, battery, AC-DC power supply, DC-DC power supply and battery box;
[0088] In each of the input branches, the output end of the input power supply is electrically connected to the input end of the detection circuit and the switch circuit respectively; the switch control circuit receives the first electrical signal output by the output end of the detection circuit; the first output end of the switch control circuit is electrically connected to the control end of the switch circuit; the output end of the switch circuit serves as the output end of the corresponding input branch;
[0089] The switching control circuit of low priority also receives the first electrical signal output by each detection circuit of high priority respectively;
[0090] Each of the switching control circuits also receives a second electrical signal output from a second output terminal of another switching control circuit;
[0091] The output end of each input power supply is also electrically connected to the input end of the bias power supply circuit, and the output end of the bias power supply circuit provides a bias voltage for each detection circuit and the switching control circuit respectively;
[0092] The energy storage circuit is connected in parallel with the output end of each input branch; the output end of each input branch is electrically connected to the power supply end of the lighting device respectively;
[0093] Each of the detection circuits comprises: a comparator, first to fifth resistors, first and second capacitors, a voltage stabilizing diode, and a switch;
[0094] The non-inverting input end of the comparator is respectively connected to one end of the first resistor, one end of the second resistor, one end of the first capacitor, one end of the third resistor and one end of the switch; the other end of the first resistor is connected to the input power supply; the other end of the second resistor, the other end of the first capacitor and the other end of the switch are all grounded; the other end of the third resistor is respectively connected to one end of the second capacitor and the output end of the comparator; the other end of the second capacitor is grounded;
[0095] The inverting input terminal of the comparator is connected to the cathode of the voltage stabilizing diode and one end of the fourth resistor respectively; the anode of the voltage stabilizing diode is grounded; the other end of the fourth resistor is connected to the output end of the bias power supply circuit;
[0096] The output end of the comparator is connected to one end of the fifth resistor and serves as the output end of the detection circuit to output the first electrical signal; the other end of the fifth resistor is connected to the output end of the bias power supply circuit;
[0097] The positive power supply terminal of the comparator is connected to the output terminal of the bias power supply circuit, and the negative power supply terminal is grounded;
[0098] Each of the switching control circuits comprises: sixth to twelfth resistors, first and second NMOS transistors, an NPN transistor, a third capacitor, and a first diode;
[0099] One end of the sixth resistor is connected to the output end of the detection circuit corresponding to the input branch, and is used to receive the first electrical signal inside the input branch; the other end of the sixth resistor is respectively connected to the drain of the first NMOS tube, one end of the seventh resistor and the base of the NPN transistor; the source of the first NMOS tube, the other end of the seventh resistor and the emitter of the NPN transistor are all grounded;
[0100] The gate of the first NMOS tube is respectively connected to one end of the eighth resistor, one end of the ninth resistor and one end of the third capacitor, and the other end of the eighth resistor is respectively connected to the second electrical signal output by the second output end of the other switching control circuit; the other end of the ninth resistor and the other end of the third capacitor are both grounded;
[0101] The collector of the NPN transistor is connected to the control end of the switch circuit and serves as the first output end of the switch control circuit;
[0102] The collector of the NPN transistor is also connected to the cathode of the first diode, the anode of the first diode is respectively connected to the gate of the second NMOS transistor, one end of the tenth resistor and one end of the eleventh resistor; the other end of the tenth resistor is connected to the output end of the bias power supply circuit; the source of the second NMOS transistor and the other end of the eleventh resistor are both grounded;
[0103] The drain of the second NMOS tube is respectively connected to one end of the twelfth resistor and the other end of the eighth resistor in the other switching control circuit, and serves as the second output end of the switching control circuit to output the second electrical signal; the other end of the twelfth resistor is connected to the output end of the bias power supply circuit;
[0104] In this embodiment, in addition to the switching control circuit with the highest priority, the other switching control circuits further include: a thirteenth and fourteenth resistors, and a third NMOS transistor;
[0105] The gate of the third NMOS tube is respectively connected to one end of the thirteenth resistor and one end of the fourteenth resistor, and the other end of the thirteenth resistor is respectively connected to the output ends of all detection circuits with a higher priority than the switching control circuit, so as to receive the first electrical signal of the high priority input branch; the source of the third NMOS tube and the other end of the fourteenth resistor are both grounded;
[0106] The drain of the third NMOS tube is connected to the other end of the sixth resistor;
[0107] For each of the switching control circuits, when the second electrical signal of the other switching control circuits is input into the eighth resistor of the switching control circuit, and when the first electrical signal of the high priority input branch is input into the thirteenth resistor of the switching control circuit, the signal input is performed after passing through a forward diode;
[0108] Each of the switch circuits comprises: a fifteenth and a sixteenth resistor, and a fourth and a fifth NMOS transistor;
[0109] The source of the fourth NMOS tube is connected to the input power supply and serves as the input end of the switch circuit;
[0110] The gate of the fourth NMOS transistor is respectively connected to one end of the fifteenth resistor and one end of the sixteenth resistor, and the other end of the fifteenth resistor is respectively connected to the drain of the fourth NMOS transistor and the drain of the fifth NMOS transistor; the other end of the sixteenth resistor is connected to the first output end of the switching control circuit and serves as the control end of the switch circuit;
[0111] The gate of the fifth NMOS tube is connected to one end of the fifteenth resistor and one end of the sixteenth resistor respectively, and the source of the fifth NMOS tube is connected to the input end of the energy storage circuit and serves as the output end of the switch circuit;
[0112] The bias power supply circuit includes: a TX4139 power supply chip, seventeenth to twenty-first resistors, fourth to ninth capacitors, a second diode, and an inductor;
[0113] The ILIM pin of the TX4139 power chip is connected to one end of the seventeenth resistor; the other end of the seventeenth resistor is respectively connected to one end of the fourth capacitor, one end of the fifth capacitor, the VIN pin of the TX4139 power chip, one end of the eighteenth resistor, and the output ends of all input power supplies, the other end of the seventeenth resistor serves as the input end of the bias power circuit, and each input power supply is input with a power signal after passing through a forward diode; the other end of the eighteenth resistor is connected to the EN pin of the TX4139 power chip; the other end of the fourth capacitor and the other end of the fifth capacitor are both grounded;
[0114] The SW pin of the TX4139 power chip is respectively connected to one end of the sixth capacitor, one end of the inductor and the negative electrode of the second diode, the other end of the sixth capacitor is connected to one end of the nineteenth resistor, and the other end of the nineteenth resistor is connected to the BS pin of the TX4139 power chip; the positive electrode of the second diode is grounded; the other end of the inductor is respectively connected to one end of the seventh to ninth capacitors, one end of the twentieth resistor, the detection circuit and the switching control circuit, and serves as the output end of the bias power circuit to output a bias voltage of +12V;
[0115] The other end of the seventh capacitor is respectively connected to the FB pin of the TX4139 power chip and one end of the 21st resistor; the other end of the 20th resistor is respectively connected to the FB pin of the TX4139 power chip and one end of the 21st resistor; the other end of the 21st resistor and the other ends of the eighth and ninth capacitors are grounded;
[0116] The POK pin of the TX4139 power chip is left empty, and the GND pin of the TX4139 power chip is grounded;
[0117] The energy storage circuit includes a plurality of energy storage capacitors connected in parallel, one end of each energy storage capacitor is respectively connected to the output ends of all input branches and the power supply end of the lighting device; the other end of each energy storage capacitor is grounded.
[0118] In the specific implementation process, this embodiment takes the power switching circuit of three input branches as an example for explanation; Figures 2 to 4 As shown, they are circuit structure diagrams of the first to third input branches respectively; the input power sources of the three input branches are AC power, battery and DC-DC power supply respectively, and the priorities of the first to third input branches decrease in sequence;
[0119] like Figure 5 and 6As shown, they are circuit structure diagrams of the bias power supply circuit and the energy storage circuit respectively;
[0120] In this embodiment, the switch circuit is used to connect or disconnect the input power supply and the lighting device, and is controlled by the switch control circuit; the detection circuit is used to detect whether the input power supply voltage is greater than a preset threshold; the switch control circuit is used to control the switch circuit to be turned on or off; the energy storage capacitor is used to store electricity; the bias power circuit is used to provide a stable bias voltage to the switch circuit and the detection circuit;
[0121] In this embodiment, "DC1-EN, DC2-EN and DC3-EN" are the first electrical signals of the three input branches respectively. When they are at a high level, it indicates that the corresponding input power supply voltage is greater than or equal to the preset threshold of the detection circuit; when they are at a low level, it indicates that the corresponding input power supply voltage is lower than the preset threshold of the detection circuit;
[0122] “DC1_Off_Rst, DC2_Off_Rst and DC3_Off_Rst” are the second electrical signals of the three input branches respectively. When they are at a high level, it indicates that the corresponding switch circuit is turned on; when they are at a low level, it indicates that the corresponding switch circuit is turned off;
[0123] When the first input power supply is connected, the first detection circuit detects whether the first power supply voltage is greater than a preset threshold value. If the first power supply voltage is greater than or equal to the preset threshold value, DC1-EN outputs a high level. If the first power supply voltage is less than the preset value (the first input power supply is disconnected or the preset threshold value is manually increased), DC1-EN outputs a low level.
[0124] a): When the first switching control circuit receives a high level output from DC1-EN, if one of DC2_Off_Rst or DC3_Off_Rst is at a high level at this time, Q6 is turned on, thereby Q9 is turned off, so that the first switch circuit remains in the off state, and waits until DC2_Off_Rst and DC3_Off_Rst are both at a low level, then Q6 is turned off, thereby Q9 is turned on, so that the first switch circuit is turned on and connected to the first input power supply for power supply; at this time, Q15 is turned off, so that DC1_Off_Rst is at a high level;
[0125] The design of this switching control circuit allows only one input power source to be connected at the same time, avoiding short circuits and unstable operation of the lighting device caused by multiple power sources being connected at the same time;
[0126] b): When the first switching control circuit receives a low level output from DC1-EN, no matter DC2_Off_Rst and DC3_Off_Rst are high or low, Q9 is in the off state, so that the first switch circuit is in the off state, and Q15 is in the on state, so that DC1_Off_Rst outputs a low level;
[0127] c): When the second switching control circuit receives a high level output from DC1-EN, regardless of the state of DC2-EN, Q1 is in the on state, so that Q10 is in the off state, and the second switch circuit is in the off state, and Q16 is in the on state, so that DC2_Off_Rst is at a low level, thereby achieving access to only the highest priority power supply at the same time;
[0128] d): When manually switching, only need to adjust Figure 2 The values of the middle resistors R43, R46 and R49 are adjusted to increase the preset threshold value, so that the first detection circuit outputs a low-level first electrical signal, and the first switching control circuit outputs a low-level second electrical signal, thereby shielding the first input power supply;
[0129] Adjust at the same time Figure 3 The values of R44, R47 and R50 are adjusted to lower the preset threshold of the second detection circuit, so that the second detection circuit outputs a high-level first electrical signal; after the second switching control circuit receives the high-level first electrical signal and the low-level second electrical signal of the first detection circuit, the second switch circuit is controlled to open, thereby connecting to the second input power supply and completing manual switching;
[0130] In actual application, considering that the adjustment resistance is difficult for the user to operate and inconvenient to switch, this embodiment adds a switch in the detection circuit as a switch; in the detection circuit, adding a switch can achieve the function of manual switching;
[0131] The working principle of the third switching control circuit is the same as that of the second switching control circuit, and the working process of the second input branch and the third input branch is also the same as that of the first input branch, which will not be repeated here;
[0132] In this embodiment, since the energy storage circuit stores some electricity, the lighting device is powered by the energy storage circuit during switching, so there will be no short-term power failure and no instability of the lighting device, thereby achieving hot switching;
[0133] In this embodiment, the access of the input power supply is only related to its own priority and whether the voltage is greater than the preset threshold of the detection circuit. The voltage of the high-priority power supply can be set arbitrarily and has no relationship with the voltage of the low-priority power supply. That is, the voltage of the high-priority power supply can be greater than, less than or equal to the voltage of the low-priority power supply. The circuit setting is more flexible and the adaptable power supply is more extensive.
[0134] Secondly, the switching control circuit designed in this embodiment can ensure that only one input power source with the highest priority can be connected at the same time, thereby avoiding short circuit caused by multiple input power sources being connected, resulting in unstable operation of the lighting device;
[0135] In addition, during the normal operation of the lighting device, by flexibly adjusting the preset thresholds of each detection circuit, a power supply higher or lower than the current priority power supply can be connected at any time according to demand, which greatly improves the flexibility of switching. At the same time, hot switching is also achieved, thereby improving the working stability of the lighting device.
[0136] The same or similar reference numerals correspond to the same or similar components;
[0137] The terms used in the drawings to describe positional relationships are only used for illustrative purposes and should not be construed as limiting this patent;
[0138] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A power switching circuit for an LED lighting device, characterized in that: include: A plurality of input branches arranged in descending order of priority, as well as a bias power supply circuit and an energy storage circuit; Each of the input branches includes: an input power supply, a detection circuit, a switching control circuit and a switch circuit; In each of the input branches, the output end of the input power supply is electrically connected to the input end of the detection circuit and the switch circuit respectively; the switch control circuit receives the first electrical signal output by the output end of the detection circuit; the first output end of the switch control circuit is electrically connected to the control end of the switch circuit; the output end of the switch circuit serves as the output end of the corresponding input branch; The switching control circuit of low priority also receives the first electrical signal output by each detection circuit of high priority respectively; Each of the switching control circuits also receives a second electrical signal output from a second output terminal of another switching control circuit; The output end of each input power supply is also electrically connected to the input end of the bias power supply circuit, and the output end of the bias power supply circuit provides a bias voltage for each detection circuit and the switching control circuit respectively; The energy storage circuit is connected in parallel with the output end of each input branch; the output end of each input branch is electrically connected to the power supply end of the lighting device respectively.
2. The power switching circuit of an LED lighting device according to claim 1, characterized in that: The types of input power sources include: mains power, battery, AC-DC power supply, DC-DC power supply and battery box.
3. The power switching circuit of a LED lighting device according to claim 1, characterized in that: Each of the detection circuits comprises: a comparator, first to fifth resistors, first and second capacitors, a voltage stabilizing diode, and a switch; The non-inverting input end of the comparator is respectively connected to one end of the first resistor, one end of the second resistor, one end of the first capacitor, one end of the third resistor and one end of the switch; the other end of the first resistor is connected to the input power supply; the other end of the second resistor, the other end of the first capacitor and the other end of the switch are all grounded; the other end of the third resistor is respectively connected to one end of the second capacitor and the output end of the comparator; the other end of the second capacitor is grounded; The inverting input terminal of the comparator is connected to the cathode of the voltage stabilizing diode and one end of the fourth resistor respectively; the anode of the voltage stabilizing diode is grounded; the other end of the fourth resistor is connected to the output end of the bias power supply circuit; The output end of the comparator is connected to one end of the fifth resistor and serves as the output end of the detection circuit to output the first electrical signal; the other end of the fifth resistor is connected to the output end of the bias power supply circuit; The positive power supply terminal of the comparator is connected to the output terminal of the bias power supply circuit, and the negative power supply terminal is grounded.
4. The power switching circuit of the LED lighting device according to claim 1, characterized in that: Each of the switching control circuits comprises: sixth to twelfth resistors, first and second NMOS transistors, an NPN transistor, a third capacitor, and a first diode; One end of the sixth resistor is connected to the output end of the detection circuit corresponding to the input branch, and is used to receive the first electrical signal inside the input branch; the other end of the sixth resistor is respectively connected to the drain of the first NMOS tube, one end of the seventh resistor and the base of the NPN transistor; the source of the first NMOS tube, the other end of the seventh resistor and the emitter of the NPN transistor are all grounded; The gate of the first NMOS tube is respectively connected to one end of the eighth resistor, one end of the ninth resistor and one end of the third capacitor, and the other end of the eighth resistor is respectively connected to the second electrical signal output by the second output end of the other switching control circuit; the other end of the ninth resistor and the other end of the third capacitor are both grounded; The collector of the NPN transistor is connected to the control end of the switch circuit and serves as the first output end of the switch control circuit; The collector of the NPN transistor is also connected to the cathode of the first diode, the anode of the first diode is respectively connected to the gate of the second NMOS transistor, one end of the tenth resistor and one end of the eleventh resistor; the other end of the tenth resistor is connected to the output end of the bias power supply circuit; the source of the second NMOS transistor and the other end of the eleventh resistor are both grounded; The drain of the second NMOS tube is respectively connected to one end of the twelfth resistor and the other end of the eighth resistor in other switching control circuits, and serves as the second output end of the switching control circuit to output a second electrical signal; the other end of the twelfth resistor is connected to the output end of the bias power supply circuit.
5. The power switching circuit of the LED lighting device according to claim 4, characterized in that: In addition to the switching control circuit with the highest priority, the other switching control circuits further include: a thirteenth and fourteenth resistors, and a third NMOS tube; The gate of the third NMOS tube is respectively connected to one end of the thirteenth resistor and one end of the fourteenth resistor, and the other end of the thirteenth resistor is respectively connected to the output ends of all detection circuits with a higher priority than the switching control circuit, so as to receive the first electrical signal of the high priority input branch; the source of the third NMOS tube and the other end of the fourteenth resistor are both grounded; The drain of the third NMOS tube is connected to the other end of the sixth resistor.
6. The power switching circuit of the LED lighting device according to claim 5, characterized in that: For each of the switching control circuits, when the second electrical signal of other switching control circuits is input into the eighth resistor of the switching control circuit, and when the first electrical signal of the high priority input branch is input into the thirteenth resistor of the switching control circuit, the signal is input after passing through a forward diode.
7. The power switching circuit of an LED lighting device according to claim 1, characterized in that: Each of the switch circuits comprises: a fifteenth and a sixteenth resistor, and a fourth and a fifth NMOS transistor; The source of the fourth NMOS tube is connected to the input power supply and serves as the input end of the switch circuit; The gate of the fourth NMOS transistor is respectively connected to one end of the fifteenth resistor and one end of the sixteenth resistor, and the other end of the fifteenth resistor is respectively connected to the drain of the fourth NMOS transistor and the drain of the fifth NMOS transistor; the other end of the sixteenth resistor is connected to the first output end of the switching control circuit and serves as the control end of the switch circuit; The gate of the fifth NMOS tube is connected to one end of the fifteenth resistor and one end of the sixteenth resistor respectively, and the source of the fifth NMOS tube is connected to the input end of the energy storage circuit and serves as the output end of the switch circuit.
8. The power switching circuit of an LED lighting device according to claim 1, characterized in that: The bias power supply circuit includes: a TX4139 power supply chip, seventeenth to twenty-first resistors, fourth to ninth capacitors, a second diode, and an inductor; The ILIM pin of the TX4139 power chip is connected to one end of the seventeenth resistor; the other end of the seventeenth resistor is respectively connected to one end of the fourth capacitor, one end of the fifth capacitor, the VIN pin of the TX4139 power chip, one end of the eighteenth resistor, and the output ends of all input power supplies, the other end of the seventeenth resistor serves as the input end of the bias power circuit, and each input power supply is input with a power signal after passing through a forward diode; the other end of the eighteenth resistor is connected to the EN pin of the TX4139 power chip; the other end of the fourth capacitor and the other end of the fifth capacitor are both grounded; The SW pin of the TX4139 power chip is respectively connected to one end of the sixth capacitor, one end of the inductor and the negative electrode of the second diode, the other end of the sixth capacitor is connected to one end of the nineteenth resistor, and the other end of the nineteenth resistor is connected to the BS pin of the TX4139 power chip; the positive electrode of the second diode is grounded; the other end of the inductor is respectively connected to one end of the seventh to ninth capacitors, one end of the twentieth resistor, the detection circuit and the switching control circuit, and serves as the output end of the bias power circuit to output a bias voltage of +12V; The other end of the seventh capacitor is respectively connected to the FB pin of the TX4139 power chip and one end of the 21st resistor; the other end of the 20th resistor is respectively connected to the FB pin of the TX4139 power chip and one end of the 21st resistor; the other end of the 21st resistor and the other ends of the eighth and ninth capacitors are grounded; The POK pin of the TX4139 power chip is left empty, and the GND pin of the TX4139 power chip is grounded.
9. The power switching circuit of the LED lighting device according to claim 1, characterized in that: The energy storage circuit includes a plurality of energy storage capacitors connected in parallel, one end of each energy storage capacitor is respectively connected to the output ends of all input branches and the power supply end of the lighting device; the other end of each energy storage capacitor is grounded.
10. A method for controlling a power switching circuit of an LED lighting device, based on the power switching circuit of the LED lighting device according to any one of claims 1 to 9, characterized in that: The following steps are involved: For each of the input branches, when the input power is connected, the detection circuit detects that the voltage of the input power is greater than or equal to the preset threshold, and the detection circuit outputs a high-level first electrical signal to the switching control circuit and all switching control circuits with a lower priority than the input branch; when the switching control circuit of the input branch receives the high-level first electrical signal, and the second electrical signals output by other switching control circuits are all low-level, the high-level second electrical signal is output to control the switch circuit to open, so that the input power supplies power to the energy storage circuit and the lighting device, and at the same time, all switching control circuits with a lower priority than the input branch receive the high-level first electrical signal, and control all switch circuits with a lower priority than the input branch to close; S1: Automatic switching in case of power failure: When the input power of a high priority is powered off, the detection circuit of the input branch that is powered off detects that the input power is disconnected, and at this time the detection circuit outputs a low-level first electrical signal to the switching control circuit and all switching control circuits with a lower priority than the input branch; when the switching control circuit of the input branch receives the low-level first electrical signal, the control switch circuit is turned off, and at the same time the switching control circuit outputs a low-level second electrical signal to the switching control circuits of other input branches; Determine whether other input power sources are connected in order of priority from high to low, control other input power sources with higher priority to supply power to the energy storage circuit and lighting device, and at the same time, all switch circuits of other input branches are closed to complete automatic switching when power is off; S2: manual switching: during the normal operation of the lighting device, according to preset requirements, manually increase the preset threshold of the detection circuit of the current input branch, so that the detection circuit of the current input branch outputs a low-level first electrical signal, and the switching control circuit outputs a low-level second electrical signal, thereby shielding the input power of the current input branch; At the same time, a preset threshold of the detection circuit of the input branch to be connected is lowered, so that the detection circuit of the input branch to be connected outputs a first electrical signal of a high level; After receiving the first electrical signal of high level and the second electrical signal of low level of the current input branch, the switching control circuit of the input branch to be connected controls the switch circuit of the input branch to be connected to open, thereby connecting the input power supply of the input branch to be connected and completing manual switching.
Citation Information
Patent Citations
Power supply system of auxiliary power supply
CN105305591A
Power supply selection circuit and power supply device of multi-input power supply
CN107947325A
Lighting device, power supply switching circuit, and power supply switching method of lighting device
CN112737084A
Power supply circuit and control method and control system thereof
CN113708472A
Multi-power-supply selection circuit and charging equipment
CN116937775A
