CN113922637A - Power supply switching circuit, power supply switching method, electronic equipment and storage medium - Google Patents
Power supply switching circuit, power supply switching method, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113922637A CN113922637A CN202111177913.7A CN202111177913A CN113922637A CN 113922637 A CN113922637 A CN 113922637A CN 202111177913 A CN202111177913 A CN 202111177913A CN 113922637 A CN113922637 A CN 113922637A
- Authority
- CN
- China
- Prior art keywords
- circuit
- voltage
- control
- switching
- self
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000001960 triggered effect Effects 0.000 claims abstract description 37
- 230000000087 stabilizing effect Effects 0.000 claims description 41
- 238000004891 communication Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 8
- 230000005669 field effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 239000003990 capacitor Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004146 energy storage Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/08—Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/32—Means for protecting converters other than automatic disconnection
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/36—Means for starting or stopping converters
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Dc-Dc Converters (AREA)
Abstract
The present application relates to a power switching circuit, a power switching method, an electronic device, and a storage medium, the power switching circuit including: the self-excitation circuit is used for outputting a first driving signal to drive the switching tube when being triggered; the switching tube is used for outputting power supply voltage to the control unit when being driven; the control unit is used for outputting a first control signal to the first voltage control circuit when the controlled voltage is started, and triggering the first voltage control circuit to enable the first voltage control circuit to pull down a first driving signal sent by the self-excitation circuit, and the control unit is also used for outputting a second driving signal to drive the switching tube when the first driving signal is pulled down. And the switching tube is driven only by the first driving signal output by the self-excitation circuit before the control unit is started, and the switching tube is driven only by the second driving signal output by the control unit after the control unit is started because the first driving signal is pulled low.
Description
Technical Field
The present disclosure relates to switching power supplies, and particularly to a power switching circuit, a power switching method, an electronic device, and a storage medium.
Background
The common topology of the household appliance power supply is a flyback power supply, the load capacity is generally dozens of watts, the common structure is that a bus gets electricity after power factor correction, and low-voltage multi-path output is realized through the flyback topology of a power supply IC and a high-frequency transformer.
With the development of the switching power supply technology, the switching power supply of the modern household appliance controller develops to digitalization, high frequency and miniaturization, the hardware cost is also obviously reduced, and in the related technology, before the switching power supply works, a driving signal needs to be sent out by a self-excitation circuit to start a switching tube in the switching power supply so as to start the switching power supply; after the switching tube is started, the control unit outputs a driving signal to drive the switching tube, when the switching tube receives different driving signals sent by the self-excitation circuit and the control unit, the switching tube can act abnormally, the output voltage of the switching power supply is abnormal, the circuit cannot work normally, the power supply system works unstably, and the switching tube can be damaged seriously.
Disclosure of Invention
The application provides a power supply switching circuit, a power supply switching method, electronic equipment and a storage medium, and aims to solve the problems that in the related art, a switching tube receives two different driving signals, so that the switching tube acts abnormally, the output voltage of a switching power supply is abnormal, a power supply system works unstably, and a circuit cannot work normally.
In a first aspect, the present application provides a power switching circuit, including: the self-excitation circuit is used for outputting a first driving signal to drive the switching tube when being triggered; the switching tube is used for outputting power supply voltage to the control unit through the switching power supply when being driven; the control unit is used for outputting a first control signal to a first voltage control circuit when being started by the control voltage, and triggering the first voltage control circuit to enable the first voltage control circuit to pull down the first driving signal sent by the self-excited circuit; the control unit is further used for outputting a second driving signal to drive the switching tube when the first driving signal is pulled low.
In a second aspect, the present application provides a power supply switching method applied to the power supply switching circuit described above, the method including: when the self-excitation circuit is triggered, a first driving signal is output to drive the switching tube; when the switching tube is driven, the switching power supply outputs power supply voltage to the control unit; when the control unit is started by the control voltage, a first control signal is output to a first voltage control circuit, and the first voltage control circuit is triggered to enable the first voltage control circuit to pull down the first driving signal output by the self-excited circuit; and the control unit outputs a second driving signal to drive the switching tube when the first driving signal is pulled low.
In a third aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the steps of the power switching method according to any embodiment of the first aspect when executing the program stored in the memory.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the power switching method according to any of the embodiments of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the power switching circuit provided by the embodiment of the application comprises: the self-excitation circuit is used for outputting a first driving signal to drive the switching tube when being triggered; the switching tube is used for outputting power supply voltage to the control unit when being driven; the control unit is used for outputting a first control signal to the first voltage control circuit when being started by the control voltage, triggering the first voltage control circuit, so that the first voltage control circuit pulls down the first driving signal sent by the self-excitation circuit, and outputting a second driving signal to drive the switching tube when the first driving signal is pulled down. And then before the control unit is started, the switching tube is only driven by the first driving signal output by the self-excitation circuit, and after the control unit is started, the first driving signal is pulled down, so that the switching tube is only driven by the second driving signal output by the control unit, and the problems that the switching tube can receive two different driving signals, the switching tube abnormally acts, the output voltage of the switching power supply is abnormal, the circuit cannot normally work, and the work of a power supply system is unstable are avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a basic structure of an alternative power switching circuit according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a basic structure of a second voltage control circuit provided in a power switching circuit according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a basic structure of a relay provided in a power switching circuit according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a basic circuit of an alternative power switching method according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a basic circuit of yet another alternative power switching method according to an embodiment of the present application;
fig. 6 is a schematic basic flow chart of an alternative power supply switching method according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a basic structure of an alternative power supply switching method according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic diagram of a basic structure of a power switching circuit according to an embodiment of the present disclosure, which includes but is not limited to: the self-excitation circuit 1 is used for outputting a first driving signal to drive the switching tube 2 when being triggered; the switching tube 2 is used for outputting a power supply voltage to the control unit 3 when being driven; the control unit 3 is configured to output a first control signal to the first voltage control circuit 4 when being started by the control voltage, and trigger the first voltage control circuit 4, so that the first voltage control circuit 4 pulls down the first driving signal emitted by the self-excitation circuit 1; the control unit 3 is further configured to output a second driving signal to drive the switching tube 2 when the first driving signal is pulled low.
It should be understood that, the switching tube 2 outputs the power supply voltage to the control unit 3 through the power supply circuit 5, that is, when the switching tube 2 is driven, the corresponding switching power supply of the switching tube 2 outputs the power supply voltage to the control unit 3 through the power supply circuit 5, so as to start the control unit 3; meanwhile, because the output of the switching power supply is connected with the energy storage of a large electrolytic capacitor, the output voltage of the switching power supply is basically unchanged in the short time from the turning-off of the first driving signal to the turning-on of the second driving signal, and the control unit 3 can still normally work, wherein the switching power supply comprises but is not limited to: a high-frequency transformer; the output end of the self-excitation circuit 1 is connected with the switching tube 2, and the self-excitation circuit 1 outputs a first driving signal to the switching tube 2 when being triggered; when the switching tube 2 is driven, the energy input into the switching power supply is transmitted to the secondary side through the primary side of the switching power supply, and the secondary side transmits the power supply voltage to the control unit 3 through the power supply circuit.
In the above example, when triggered, the self-excited circuit 1 outputs a Pulse Width Modulation (PWM) wave with a fixed duty ratio as the first driving signal, where the first driving signal is used to drive the switching tube 2 to start; wherein, in some examples, the self-excited circuit 1 includes, but is not limited to: the circuit comprises an amplifier and a positive feedback circuit, wherein a first driving signal output by a self-excitation circuit 1 is used for triggering a switch tube 2; it should be understood that, among others, the control unit 3 includes, but is not limited to: a micro control Unit 3 (MCU); the MCU outputs a first control signal when triggered by the power supply voltage, and outputs a second drive signal when the first drive signal is pulled down, wherein the first control signal is used for triggering the first voltage control circuit 4, the second drive signal is used for driving the switch tube 2, the second drive signal is also a PWM wave, and the duty ratio of the PWM wave of the second drive signal is adjusted according to the power supply voltage of the switch power supply; it should be understood that the output of the first control signal is stopped when the control unit 3 is not triggered.
In some examples of the present embodiment, the first voltage control circuit 4 is connected to the control unit 3, and the first control signal sent by the control unit 3 can trigger the first voltage control circuit 4 to operate, and the first voltage control circuit 4 is further connected to the self-excited circuit 1, and can pull down the first driving signal output by the self-excited circuit 1 when triggered by the first control signal. Specifically, the first voltage control circuit 4 includes: a transistor, the transistor comprising: the self-excitation circuit comprises a control end, a first end and a second end, wherein the current direction is that the first end flows to the second end, the first end is connected with the self-excitation circuit 1, and the second end is connected with the ground; the control end is used for conducting the first end and the second end when triggered by the first control signal so as to pull down the first control signal sent by the self-excited circuit 1; it should be understood that, in the first voltage control circuit 4, when the control terminal is not triggered by the first control signal, at this time, the first terminal and the second terminal of the first voltage control circuit 4 are in an off state, at this time, the first voltage control circuit 4 does not cause any influence on the first driving signal output by the self-excitation circuit 1; the control end of the transistor is connected with the control unit 3 and used for receiving a first control signal transmitted by the control unit 3; when the control end receives a first control signal transmitted by the control unit 3, the control end is triggered, and at the moment, the first end and the second end of the transistor are conducted to pull down the first driving signal sent by the self-excited circuit 1; it is to be understood that in some examples, the second terminal may be connected to a constant voltage unit, and the voltage output by the constant voltage unit is lower than the voltage of the first driving signal output by the self-excited circuit 1, so as to pull down the first driving signal output by the self-excited circuit 1.
In the above example, the first voltage control circuit 4 includes but is not limited to a transistor, a resistor, and other devices; wherein the transistor includes, but is not limited to, any of the following: a triode, a field effect transistor (MOS); it should be understood that the level of the first control signal corresponds to the transistor used, for example, when the transistor is an NPN transistor, the base b of the NPN transistor is used as the control terminal, the collector C is used as the first terminal, and the emitter e is used as the second terminal, and the first control signal output by the control unit 3 is a high level signal to conduct the first terminal and the second terminal of the transistor, and when the first terminal and the second terminal of the transistor are conducted, the first voltage control circuit 4 pulls down the first driving signal output by the self-excited circuit 1; for another example, when the transistor is an N-type field effect transistor, at this time, the gate of the N-type field effect transistor is used as the control terminal, the drain is used as the first terminal, the source is used as the second terminal, and the first control signal output by the control unit 3 is a high level signal; when the transistor is a P-type field effect transistor, at this time, the gate of the P-type field effect transistor is used as the control terminal, the source is used as the first terminal, the drain is used as the second terminal, and the first control signal output by the control unit 3 is a low level signal.
In some examples of this embodiment, as shown in fig. 2, the power switching circuit further includes: and the voltage stabilizing circuit 6 is used for stabilizing the bus voltage and outputting the stabilized voltage to the self-excitation circuit 1 so as to trigger the self-excitation circuit 1. The voltage stabilizing circuit 6 is a circuit which can keep the output voltage constant when the bus voltage, the load, the ambient temperature, the circuit parameters and the like are changed;
bearing the example, wherein the input end of the voltage stabilizing circuit 6 is connected with the bus, the output end of the voltage stabilizing circuit 6 is connected with the self-excitation circuit 1, and when the input end of the voltage stabilizing circuit 6 is triggered by the voltage input by the bus, the output end of the voltage stabilizing circuit 6 outputs the stable voltage to the self-excitation circuit 1, so as to trigger the self-excitation circuit 1 to work; it is to be understood that the stabilizing circuit 6 includes, but is not limited to: the transformer, the rectifying circuit, the filter circuit and the voltage stabilizing output circuit; the present embodiment does not limit the specific structure of the voltage stabilizing circuit 6, and can be flexibly set by the relevant personnel.
In some examples of this embodiment, as shown in fig. 2, the power switching circuit further includes: a second voltage control circuit 7; the second voltage control circuit 7 is connected with the control unit 3, so that a first control signal sent by the control unit 3 can trigger the second voltage control circuit 7 to act, the second voltage control circuit 7 is also connected with the voltage stabilizing circuit 6, and the stable voltage output by the voltage stabilizing circuit 6 can be pulled down when the second control signal triggers the second voltage control circuit 7. Specifically, the control unit 3 is further configured to output a second control signal to the second voltage control circuit 7 after being started by the control voltage; the second voltage control circuit 7 is configured to pull down the regulated voltage output by the voltage regulator circuit 6 when triggered by the second control signal. It is to be understood that the second voltage control circuit 7 includes, but is not limited to: a transistor, wherein the transistor includes but is not limited to: the control end of the transistor of the second voltage control circuit 7 is connected with the control unit 3 and used for receiving a second control signal transmitted by the control unit 3, the first end of the transistor of the second voltage control circuit 7 is connected with the output end of the voltage stabilizing circuit 6, the second end of the transistor of the second voltage control circuit 7 is connected with the ground, when the transistor of the second voltage control circuit 7 is triggered by the second control signal transmitted by the control unit 3, the first end and the second end of the second voltage control circuit 7 are conducted, and then the stabilized voltage output by the voltage stabilizing circuit 6 is pulled down.
Taking the above example into account, the transistors of the second voltage control circuit 7 include, but are not limited to, any of the following: a triode, a field effect transistor (MOS); it should be understood that the level of the second control signal corresponds to the second voltage control circuit 7 transistor, for example, when the second voltage control circuit 7 transistor is an NPN type transistor, a base b of the NPN type transistor serves as a control terminal, a collector C serves as a first terminal, and an emitter e serves as a second terminal, a first control signal output by the control unit 3 is a high level signal to turn on the first terminal and the second terminal of the second voltage control circuit 7 transistor, and when the first terminal and the second terminal of the second voltage control circuit 7 transistor are turned on, the second voltage control circuit 7 pulls down the stable voltage output by the voltage stabilizing circuit 6; for another example, when the transistor of the second voltage control circuit 7 is an N-type field effect transistor, at this time, the gate of the N-type field effect transistor is used as the control terminal, the drain is used as the first terminal, the source is used as the second terminal, and the second control signal output by the control unit 3 is a high level signal; when the second voltage control circuit 7 is a P-type field effect transistor, at this time, the gate of the P-type field effect transistor is used as the control terminal, the source is used as the first terminal, the drain is used as the second terminal, and the second control signal output by the control unit 3 is a low level signal. It should be understood that the control unit 3 sends out a second control signal to trigger the second control circuit to pull down the stable voltage output by the voltage stabilizing circuit 6, so that the self-excited circuit 1 does not continue to work after the switching tube 2 works; the extra loss caused by the continuous work of the self-excitation circuit 1 triggered by the stable voltage output by the voltage stabilizing circuit 6 after the switching tube 2 works is avoided.
In some examples of the present embodiment, as shown in fig. 3, the power supply switching circuit further includes: the relay 8 is used for conducting the connection between the self-excitation circuit 1 and the voltage stabilizing circuit 6 when the relay 8 is in a closed state when not triggered; when the switching tube 2 is driven by the first control signal, the switching tube is further configured to output a control voltage to the control end of the relay 8 to trigger the relay 8 to switch to a disconnected state, so as to disconnect the self-excited circuit 1 from the voltage stabilizing circuit 6, and at this time, the second voltage control circuit 7 is connected to the voltage stabilizing circuit 6 through the relay 8.
In connection with the above example, it is to be understood that the relay 8 is an electric control device, and is an electric appliance that generates a predetermined step change in the controlled amount in the electric output circuit when the change in the input amount (excitation amount) meets a predetermined requirement. It has an interactive relationship between a control system (also called an input loop) and a controlled system (also called an output loop). It is commonly used in automated control circuits, which are actually a "recloser" that uses low current to control high current operation. Therefore, the circuit has the functions of automatic adjustment, safety protection, circuit conversion and the like; the control end of the relay 8 is connected with the switching power supply, and the working state of the switching power supply relay 8 is changed along with the voltage output by the switching power supply; specifically, when the switching tube 2 is driven, the control voltage is transmitted to the control end of the relay 8 through the secondary side of the switching power supply, so that the working state of the relay 8 is changed into a disconnected state, the voltage stabilizing circuit 6 is disconnected from the self-excitation circuit 1, the stable voltage output by the voltage stabilizing circuit 6 cannot flow to the self-excitation circuit 1, and loss caused by continuous work of the self-excitation circuit 1 is avoided; when the control end of the relay 8 does not receive the control voltage, the working state of the relay 8 is changed into a conduction state, so that the voltage stabilizing circuit 6 is conducted with the self-excited circuit 1, the voltage stabilizing circuit 6 can output the stabilized voltage to the self-excited circuit 1, and the self-excited circuit 1 is triggered by the stabilized voltage.
In some examples of the present embodiment, the self-excited circuit 1 further includes: a first diode; the other end of the self-excitation circuit 1 is connected with the switch tube 2 through the first diode; a second diode; the control unit 3 is connected with the switching tube 2 through the second diode. The self-excitation circuit 1 is connected with the switching tube 2 through a first diode, so that an electric signal can only flow in a single direction between the self-excitation circuit 1 and the switching tube 2, namely, the self-excitation circuit 1 can only transmit the signal to the switching tube 2; in some examples of the present embodiment, the control unit 3 is connected to the switch tube 2 through a second diode, so that only an electrical signal can flow between the control unit 3 and the switch tube in a single direction, that is, only the control unit 3 can transmit the signal to the switch tube 2.
The power switching circuit provided by the embodiment comprises: the self-excitation circuit 1 is used for outputting a first driving signal to drive the switching tube 2 when being triggered; the switching tube 2 is used for outputting a power supply voltage to the control unit 3 when being driven; the control unit 3 is configured to output a first control signal to the first voltage control circuit 4 when being started by the control voltage, and trigger the first voltage control circuit 4, so that the first voltage control circuit 4 pulls down the first driving signal emitted by the self-excitation circuit 1; the control unit 3 outputs a first control signal to the first voltage control circuit 4 when being started by a control voltage, the first voltage control circuit 4 pulls down a first driving signal output by the self-excitation circuit 1 when being triggered by the first control signal, and the control unit 3 is further used for outputting a second driving signal to drive the switching tube 2 when the first driving signal is pulled down. And then make before the control unit 3 starts, the switch tube 2 is only driven by the first drive signal that self-excited circuit 1 outputs, after the control unit 3 starts, the switch tube 2 is only driven by the second drive signal that control unit 3 outputs, avoided the switch tube 2 can receive two different drive signals, lead to the unusual action of switch tube 2, switching power supply output voltage is unusual, the circuit can not normally work, cause the unstable problem of electrical power generating system work.
For better understanding of the present invention, the present embodiment provides a more specific example to illustrate the present invention, and as shown in fig. 4, the present embodiment provides a power switching circuit, which includes but is not limited to: the voltage stabilizing circuit 6, the relay 8, the self-excitation circuit 1, the switch tube 2, the control unit 3, the first voltage control circuit 4 and the second voltage control circuit 7; wherein, voltage stabilizing circuit 6's input and bus connection, voltage stabilizing circuit 6's output passes through relay 8 and is connected with self-excited circuit 1's input, and relay 8's control end is connected with switch tube 2, and self-excited circuit 1's output is connected with switch tube 2 through first diode D1, and the control unit 3 is connected with switch tube 2 through second diode D2.
Taking the above example as shown in fig. 4, the first voltage control circuit 4 includes but is not limited to: the control circuit comprises an NPN triode Q1, a first resistor R1, a second resistor R2 and other electronic elements, wherein the control end of the NPN triode Q1 is connected with the control unit 3, the first end of the NPN triode Q1 is connected with the self-excitation circuit 1, the second end of the NPN triode Q1 is connected with the ground, and when the NPN triode Q1 is conducted, the current direction is that the first end flows to the second end; the second voltage control circuit 7 includes, but is not limited to: the electronic components include an NPN triode Q2, a third resistor R3, a fourth resistor R4, and the like, wherein a control end of the NPN triode Q2 is connected to the control unit 3, a first end of the NPN triode Q2 is connected to the output end of the voltage regulator circuit 6, a second end of the NPN triode Q2 is connected to ground, and when the NPN triode is turned on, a current flows from the first end to the second end.
It should be understood that when the control end of the relay 8 does not receive the control voltage transmitted by the switching tube 2, the relay 8 is in a closed state, and the connection between the self-excited circuit 1 and the voltage stabilizing circuit 6 is further conducted; before the switching tube 2 is started, the voltage stabilizing circuit 6 stabilizes the bus voltage to a voltage value required by the starting of the self-excitation circuit 1, and outputs the stabilized voltage obtained by stabilization;
bearing the example, when the voltage stabilizing circuit 6 is in a normally-closed electric shock through the relay 8, the stable voltage is output to the self-excitation circuit 1, and power is supplied to the self-excitation circuit 1, the self-excitation circuit 1 works, a first driving signal (PWM1 wave) obtained by outputting self-oscillation drives the switching tube 2 to act through the first diode D1, the switching tube 2 is triggered by the first driving signal, after the self-excitation circuit starts to work, the switching power supply where the switching tube is located outputs power supply voltage to the control unit 3 through the power supply circuit 5, and outputs control voltage to the relay 8, at the moment, the relay 8 and the control unit 3 are powered by the switching power supply.
In some examples of the present embodiment, when the control unit 3 is driven by the power supply voltage and normally operates, the control unit outputs a first control signal to the first voltage control circuit 4, so that the first end and the second end of the NPN transistor are conducted, and at this time, the first drive signal output by the self-excited circuit 1 is pulled to a low level by the first voltage control circuit 4, and the driving of the switching tube 2 is stopped; when the self-excitation circuit 1 stops driving the switch tube 2, the control unit 3 outputs a second driving signal to drive the switch tube 2 through the second diode D2, it should be understood that, because the output of the switching power supply is usually connected with a large electrolytic capacitor for energy storage, the output voltage of the switching power supply is basically unchanged during the short time from the turning-off of the first driving signal to the starting of the second driving signal, and the control unit 3 can still work normally; similarly, when the control unit 3 does not receive the power supply voltage and cannot work, the control unit 3 stops outputting the first control signal and the second driving signal, at this time, the NPN triode becomes the off state, the first driving signal output by the self-excitation circuit 1 is not pulled down by the first voltage control circuit 4, the switching tube 2 is driven by the first driving signal to work, and then the switching power supply outputs the power supply voltage, so that the control unit 3 works.
In some examples, after the switching power supply stably operates for a period of time under the second driving signal output by the control unit 3, the control unit 3 outputs the second control signal to turn on the NPN transistor, at which time the coil of the relay 8K1 is energized, the relay 8 is normally closed and electrically disconnected, and the voltage stabilizing circuit 6 stops supplying power to the self-excited circuit 1, so as to avoid loss caused by continuous operation of the self-excited circuit 1.
It is to be understood that in some examples, the relay 8 is not provided in the power switching circuit, as shown in fig. 5, the second voltage control circuit 7 is directly connected to the output terminal of the stabilizing circuit 6, and the stabilized voltage output by the stabilizing circuit 6 is pulled to the ground through the second voltage control circuit 7, so that the self-excited circuit 1 is not triggered.
Based on the same concept, the present embodiment further provides a power switching method, which is applied to the power switching circuit described in any one of the above embodiments, as shown in fig. 6, the method includes:
s101, outputting a first driving signal to drive a switching tube when a self-excitation circuit is triggered;
s102, when the switching tube is driven, outputting power supply voltage to a control unit through a switching power supply;
s103, when the control unit is started by the control voltage, outputting a first control signal to a first voltage control circuit, and triggering the first voltage control circuit to enable the first voltage control circuit to pull down the first driving signal output by the self-excited circuit;
and S104, outputting a second driving signal to drive the switching tube by the control unit when the first driving signal is pulled low.
It should be understood that, as shown in fig. 7, the voltage stabilizing circuit 6 supplies power to the self-excited circuit 1, the self-excited circuit 1 outputs a first driving signal PWM1 with a fixed duty ratio to drive the switching tube 2 in the switching power supply, after the switching tube 2 operates, the secondary side of the switching power supply where the switching tube 2 is located generates an output voltage, the power supply circuit 5 outputs a power supply voltage to the control unit 3 to supply power, the program starts to work, at this time, the control unit 3 sends a first control signal to trigger the first voltage control circuit 4, the first voltage control circuit 4 pulls down the first driving signal sent by the self-excited circuit 1 after being triggered, so that the switching tube 2 does not receive the first driving signal, and meanwhile, the control unit 3 adjusts and outputs a second driving signal PWM duty ratio according to the output voltage signal of the switching tube 2, so as to stabilize the output voltage of the switching power supply.
The power switching method provided by this embodiment is applied to the power switching circuit described in any one of the above, where: the self-excitation circuit is used for outputting a first driving signal to drive the switching tube when being triggered; the switching tube is used for outputting power supply voltage to the control unit when being driven; the control unit is used for outputting a first control signal to the first voltage control circuit when being started by the control voltage, triggering the first voltage control circuit, so that the first voltage control circuit pulls down the first driving signal sent by the self-excitation circuit, and outputting a second driving signal to drive the switching tube when the first driving signal is pulled down. And then before the control unit is started, the switch tube is only driven by the first driving signal output by the self-excited circuit, and after the control unit is started, the first driving signal is pulled down, so that the switch tube is only driven by the second driving signal output by the control unit, and the problems that the switch tube can receive two different driving signals, the switch tube abnormally operates, the output voltage of a switch power supply is abnormal, the circuit cannot normally work, and the power supply system works unstably are avoided
In some examples of this embodiment, after the switching tube is driven and outputs the supply voltage to the control unit through the switching power supply, the method further includes: the control unit outputs a second control signal to a second voltage control circuit when being started by the control voltage; and when the second voltage control circuit is triggered by the second control signal, the stable voltage output by the voltage stabilizing circuit is pulled down.
As shown in fig. 8, an electronic device according to an embodiment of the present application includes a processor 111, a communication interface 112, a memory 113, and a communication bus 114, where the processor 111, the communication interface 112, and the memory 113 complete mutual communication via the communication bus 114,
a memory 113 for storing a computer program;
in an embodiment of the present application, when the processor 111 is configured to execute the program stored in the memory 113, the method for switching the power supply provided in any one of the foregoing method embodiments is implemented, including: when the self-excitation circuit is triggered, a first driving signal is output to drive the switching tube; when the switching tube is driven, the switching power supply outputs power supply voltage to the control unit; when the control unit is started by the control voltage, a first control signal is output to a first voltage control circuit, and the first voltage control circuit is triggered to enable the first voltage control circuit to pull down the first driving signal output by the self-excited circuit; and the control unit outputs a second driving signal to drive the switching tube when the first driving signal is pulled low.
The present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the power switching method provided in any one of the foregoing method embodiments.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A power switching circuit, comprising:
the self-excitation circuit is used for outputting a first driving signal to drive the switching tube when being triggered;
the switching tube is used for outputting power supply voltage to the control unit through the switching power supply when being driven;
the control unit is used for outputting a first control signal to a first voltage control circuit when being started by the control voltage, and triggering the first voltage control circuit to enable the first voltage control circuit to pull down the first driving signal sent by the self-excited circuit;
the control unit is further used for outputting a second driving signal to drive the switching tube when the first driving signal is pulled low.
2. The power switching circuit of claim 1, further comprising:
and the voltage stabilizing circuit is used for stabilizing the bus voltage and outputting the stabilized voltage to the self-excitation circuit so as to trigger the self-excitation circuit.
3. The power switching circuit of claim 2, further comprising: a second voltage control circuit;
the control unit is also used for outputting a second control signal to the second voltage control circuit after being started by the control voltage;
the second voltage control circuit is used for pulling down the stable voltage output by the voltage stabilizing circuit when triggered by the second control signal.
4. The power switching circuit of claim 2, further comprising: the relay is used for conducting the connection between the self-excitation circuit and the voltage stabilizing circuit when the relay is in a closed state when not triggered;
and when the switching tube is driven by the first control signal, the switching tube is also used for outputting control voltage to the control end of the relay so as to trigger the relay to be switched to a disconnected state, so that the connection between the self-excitation circuit and the voltage stabilizing circuit is disconnected.
5. The power switching circuit according to any one of claims 1 to 4, wherein the first voltage control circuit comprises: a transistor, the transistor comprising: the control circuit comprises a control end, a first end and a second end, wherein the first end is connected with the self-excitation circuit, and the second end is connected with the ground;
the control end is used for conducting the first end and the second end when triggered by the first control signal so as to pull down the first driving signal sent by the self-excited circuit.
6. The power switching circuit of claim 5, further comprising:
a first diode; the self-excitation circuit is connected with the switching tube through the first diode;
a second diode; the control unit is connected with the switch tube through the second diode.
7. A power supply switching method applied to the power supply switching circuit according to any one of claims 1 to 6, the method comprising:
when the self-excitation circuit is triggered, a first driving signal is output to drive the switching tube;
when the switching tube is driven, the switching power supply outputs power supply voltage to the control unit;
when the control unit is started by the control voltage, a first control signal is output to a first voltage control circuit, and the first voltage control circuit is triggered to enable the first voltage control circuit to pull down the first driving signal output by the self-excited circuit;
and the control unit outputs a second driving signal to drive the switching tube when the first driving signal is pulled low.
8. The power switching method according to claim 7, wherein the switching tube outputs a supply voltage to the control unit through the switching power supply when being driven, and the method further comprises:
the control unit outputs a second control signal to a second voltage control circuit after being started by the control voltage;
and when the second voltage control circuit is triggered by the second control signal, the stable voltage output by the voltage stabilizing circuit is pulled down.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the steps of the power switching method of claim 7 or 8 when executing the program stored in the memory.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the power supply switching method according to claim 7 or 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111177913.7A CN113922637B (en) | 2021-10-09 | 2021-10-09 | Power supply switching circuit, power supply switching method, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111177913.7A CN113922637B (en) | 2021-10-09 | 2021-10-09 | Power supply switching circuit, power supply switching method, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113922637A true CN113922637A (en) | 2022-01-11 |
CN113922637B CN113922637B (en) | 2023-09-08 |
Family
ID=79238621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111177913.7A Active CN113922637B (en) | 2021-10-09 | 2021-10-09 | Power supply switching circuit, power supply switching method, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113922637B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101888169A (en) * | 2010-06-24 | 2010-11-17 | 郭士军 | Zero-passage self-excited synchronous trigger circuit of half-bridge driving electromagnetic range |
CN102761236A (en) * | 2012-07-30 | 2012-10-31 | 帝奥微电子有限公司 | Self-excitation preventing voltage output circuit |
CN103259329A (en) * | 2013-05-28 | 2013-08-21 | 南京海勇电子科技有限公司 | Direct-current multiple-power switch-over switch |
WO2014174271A2 (en) * | 2013-04-22 | 2014-10-30 | Harvard Engineering Plc | Power supply |
CN105811570A (en) * | 2016-03-11 | 2016-07-27 | 珠海格力节能环保制冷技术研究中心有限公司 | Mobile refrigeration device and power supply switching method and device thereof |
-
2021
- 2021-10-09 CN CN202111177913.7A patent/CN113922637B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101888169A (en) * | 2010-06-24 | 2010-11-17 | 郭士军 | Zero-passage self-excited synchronous trigger circuit of half-bridge driving electromagnetic range |
CN102761236A (en) * | 2012-07-30 | 2012-10-31 | 帝奥微电子有限公司 | Self-excitation preventing voltage output circuit |
WO2014174271A2 (en) * | 2013-04-22 | 2014-10-30 | Harvard Engineering Plc | Power supply |
CN103259329A (en) * | 2013-05-28 | 2013-08-21 | 南京海勇电子科技有限公司 | Direct-current multiple-power switch-over switch |
CN105811570A (en) * | 2016-03-11 | 2016-07-27 | 珠海格力节能环保制冷技术研究中心有限公司 | Mobile refrigeration device and power supply switching method and device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN113922637B (en) | 2023-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101009469B (en) | Switching power supply controller and method therefor | |
KR20010080701A (en) | Soft start scheme for resonant converters having variable frequency control | |
JP5905689B2 (en) | DC / DC converter, power supply device using the same, and electronic device | |
CN210120483U (en) | Starting circuit of switching power supply | |
CN101267155B (en) | System and method for providing power system with stable control | |
JP6559343B2 (en) | Switching power supply circuit | |
EP1552596B1 (en) | Capacitively coupled power supply | |
JP2000350449A (en) | Switching power circuit | |
CN111416333A (en) | Power supply reverse connection prevention method and power supply reverse connection prevention circuit | |
CN110401347B (en) | DC power supply device | |
CN110099234B (en) | A power starting device and a TV | |
CN113922637B (en) | Power supply switching circuit, power supply switching method, electronic equipment and storage medium | |
CN110098727B (en) | Switching power supply and on-off control method thereof | |
JP2001309655A (en) | Switching power supply device having protection function for overloading | |
CN108683374B (en) | Excitation shaft generator system start-stop logic control circuit and excitation shaft generator system | |
CN116154724A (en) | Short-circuit protection circuit and power conversion circuit | |
CN216672977U (en) | Triode drive control circuit and drive system | |
CN111831027B (en) | A kind of outdoor electronic equipment and its system circuit | |
JP2010098875A (en) | Power supply apparatus | |
JP4349377B2 (en) | Dual power supply for load drive | |
CN115037161A (en) | Switching power supply protection circuit and power supply system | |
CN109302052B (en) | High-voltage starting circuit and switching power supply | |
CN219420286U (en) | Short-circuit protection circuit and power conversion circuit | |
KR970006662B1 (en) | Television apparatus and a power supply for television apparatus | |
JP2017011865A (en) | External starting circuit of power supply IC |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |