CN113922637B - 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
- CN113922637B CN113922637B CN202111177913.7A CN202111177913A CN113922637B CN 113922637 B CN113922637 B CN 113922637B CN 202111177913 A CN202111177913 A CN 202111177913A CN 113922637 B CN113922637 B CN 113922637B
- Authority
- CN
- China
- Prior art keywords
- circuit
- voltage
- power supply
- control
- switching
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000001960 triggered effect Effects 0.000 claims abstract description 41
- 230000000087 stabilizing effect Effects 0.000 claims description 43
- 238000004891 communication Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 7
- 230000005669 field effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 230000002159 abnormal effect Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 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
- 230000033228 biological regulation Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005284 excitation 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
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 application relates to a power supply switching circuit, a power supply switching method, an electronic device and a storage medium, wherein the power supply switching circuit 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 a 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 to enable the first voltage control circuit to pull 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 the switching tube is driven by the first driving signal output by the self-excitation circuit before the control unit is started, and is driven by the second driving signal output by the control unit after the control unit is started because the first driving signal is pulled down.
Description
Technical Field
The present application relates to the field of switching power supplies, and in particular, to a power supply switching circuit, a power supply switching method, an electronic device, and a storage medium.
Background
The household appliance power supply is a common switching power supply, the common topology of the switching power supply is a flyback power supply, the common carrying capacity is tens of watts, the common structure is that a bus is powered after power factor correction, and low-voltage multipath output is realized through the flyback topology of a power supply IC and a high-frequency transformer.
Along with the development of the switching power supply technology, the switching power supply of the modern household appliance controller is developed to be digitalized, high-frequency and miniaturized, the hardware cost is also obviously reduced, and in the related technology, before the switching power supply works, a driving signal is required to be sent out by a self-excited circuit to start a switching tube in the switching power supply, so that the switching power supply is started; after the switching tube is started, a driving signal is output by the control unit to drive the switching tube, when the switching tube receives different driving signals sent by the self-excited circuit and the control unit, the switching tube can act abnormally, so that 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 is damaged seriously.
Disclosure of Invention
The application provides a power supply switching circuit, a power supply switching method, electronic equipment and a storage medium, which are used for solving the problems that in the related art, a switching tube receives two different driving signals, so that the switching tube abnormally acts, the output voltage of a switching power supply is abnormal, the power supply system is unstable in work, and a circuit cannot work normally.
In a first aspect, the present application provides 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 a 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 power supply voltage, and 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; 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.
In a second aspect, the present application provides a power switching method applied to the power switching circuit as described above, 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 a power supply voltage to the control unit; when the control unit is started by the power supply voltage, a first control signal is output to a first voltage control circuit, and the first voltage control circuit is triggered, so that the first voltage control circuit pulls down the first driving signal output by the self-excitation circuit; and when the first driving signal is pulled down, the control unit outputs a second driving signal to drive the switching tube.
In a third aspect, an electronic device is provided, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of the power supply 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, implements the steps of the power switching method according to any one 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 supply 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 a power supply voltage to the control unit 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 power supply 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 make before the control unit starts, the switching tube is driven by the first drive signal that the self-excited circuit output only, after the control unit starts, because first drive signal is pulled down, therefore the switching tube is driven by the second drive signal that the control unit output only, avoided the switching tube to receive two different drive signals, lead to the abnormal action of switching tube, switching power supply output voltage is unusual, the circuit can not normally work, causes the unstable problem of electrical power generating system work.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic diagram of a basic structure of an alternative power switching circuit according to an embodiment of the present application;
fig. 2 is a schematic diagram of a basic structure of a power switching circuit with a second voltage control circuit provided in an embodiment of the present application;
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 application;
FIG. 4 is a schematic diagram of a basic circuit of an alternative power switching method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a basic circuit of another alternative power switching method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a basic flow chart of an alternative power switching method according to an embodiment of the present application;
fig. 7 is a schematic diagram of a basic structure of an alternative power switching method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Fig. 1 is a schematic diagram of a basic structure of a power switching circuit according to an embodiment of the present application, 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 the self-excitation circuit 1 is 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 a first voltage control circuit 4 when being started by the power supply voltage, and trigger the first voltage control circuit 4, so that the first voltage control circuit 4 pulls down the first driving signal sent 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 down.
It should be understood that, the switching tube 2 outputs the supply voltage to the control unit 3 through the supply circuit 5, that is, when the switching tube 2 is driven, the switching power supply corresponding to the switching tube 2 outputs the supply voltage to the control unit 3 through the supply circuit 5 to start the control unit 3; meanwhile, since the output of the switching power supply is connected with the large electrolytic capacitor for energy storage, the output voltage of the switching power supply is basically unchanged in the short time from the first driving signal to the second driving signal, and the control unit 3 can still work normally, 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 when the self-excitation circuit 1 is triggered, a first driving signal is output to the switching tube 2; when the switching tube 2 is driven, the energy input to 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 supply voltage to the control unit 3 through the supply circuit.
The above example is received, wherein when the self-excited circuit 1 is triggered, a pulse width modulation (Pulse Width Modulation, PWM) wave with a fixed duty ratio is output as the first driving signal, and the first driving signal is used for driving the switching tube 2 to start; wherein in some examples the self-exciting circuit 1 includes, but is not limited to: an amplifier and a positive feedback circuit, wherein a first driving signal output by the self-exciting circuit 1 is used for triggering the switching tube 2; it should be understood that, among other things, the control unit 3 includes, but is not limited to: a micro control unit 3 (Microcontroller Unit, MCU); the MCU outputs a first control signal when triggered by a 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 switching 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 switching power supply; it should be appreciated that when the control unit 3 is not triggered, the output of the first control signal is stopped.
In some examples of this embodiment, the first voltage control circuit 4 is connected to the control unit 3, so that the first control signal sent by the control unit 3 can trigger the first voltage control circuit 4 to act, and the first voltage control circuit 4 is further connected to the self-excitation circuit 1, so that the first driving signal output by the self-excitation circuit 1 can be pulled down when triggered by the first control signal. Specifically, the first voltage control circuit 4 includes: a transistor, the transistor comprising: the control end, the first end and the 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 grounded; the control terminal is used for conducting the first terminal and the second terminal when being triggered by the first control signal so as to pull down the first control signal sent by the self-excitation 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, and at this time, the first voltage control circuit 4 does not have 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 is 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 so as to pull down the first driving signal sent by the self-excitation circuit 1; it should be understood that, in some examples, the second terminal may be connected to a constant voltage unit, where the voltage output by the constant voltage unit is lower than the voltage of the first driving signal output by the self-exciting circuit 1, so as to pull down the first driving signal output by the self-exciting circuit 1.
The first voltage control circuit 4 includes, but is not limited to, transistors, resistors, etc.; wherein the transistor includes, but is not limited to, any of the following: a transistor, a field-effect transistor (MOS); it should be understood that, the level of the first control signal corresponds to the transistor adopted, for example, when the transistor is an NPN-type triode, the base b of the NPN-type triode is used as the control terminal, the collector C is used as the first terminal, the emitter e is used as the second terminal, the first control signal output by the control unit 3 is a high level signal at this time, so as to turn on the first terminal and the second terminal of the transistor, and when the first terminal and the second terminal of the transistor are turned on, the first voltage control circuit 4 pulls down the first driving signal output by the self-excitation 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 a control terminal, the drain is used as a first terminal, the source is used as a 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, the gate of the P-type field effect transistor is used as a control terminal, the source is used as a first terminal, the drain is used as a 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 supply switching circuit further includes: a voltage stabilizing circuit 6, wherein the voltage stabilizing circuit 6 is used for stabilizing bus voltage and outputting stabilized voltage to the self-exciting circuit 1 so as to trigger the self-exciting circuit 1. The voltage stabilizing circuit 6 is a circuit capable of keeping the output voltage constant when the bus voltage, load, ambient temperature, circuit parameters and the like are changed;
the above example is received, 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, 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 stable voltage to the self-excitation circuit 1, and then the self-excitation circuit 1 is triggered to work; it is to be understood that the voltage stabilizing circuit 6 includes, but is not limited to: the device comprises a transformer, a rectifying circuit, a filter circuit and a voltage stabilizing output circuit; the present embodiment is not limited to the specific structure of the voltage stabilizing circuit 6, and may be flexibly set by a person concerned.
In some examples of this embodiment, as shown in fig. 2, the power supply 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 the second voltage control circuit 7 can be triggered by the first control signal sent by the control unit 3, 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 triggered by the second control signal. 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 supply voltage; the second voltage control circuit 7 is configured to pull down the regulated voltage output from 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: transistors, wherein the transistors include, but are not limited to: the control terminal, the first end and the second end, wherein, the control terminal of second voltage control circuit 7 transistor is connected with the control unit 3, be used for receiving the second control signal that control unit 3 transmitted, the first end of second voltage control circuit 7 transistor is connected with the output of stabilizing circuit 6, the second ground connection of second voltage control circuit 7 transistor, when the transistor of second voltage control circuit 7 is triggered by the second control signal that control unit 3 transmitted, switch on the first end and the second end of second voltage control circuit 7, and then pull down the steady voltage that stabilizing circuit 6 output.
The transistors of the second voltage control circuit 7, which are connected to the above example, include, but are not limited to, any of the following: a transistor, a field-effect transistor (MOS); it should be understood that the level of the second control signal corresponds to the transistor of the second voltage control circuit 7, for example, when the transistor of the second voltage control circuit 7 is an NPN-type transistor, the base b of the NPN-type transistor is used as the control terminal, the collector C is used as the first terminal, the emitter e is used as the second terminal, the second control signal outputted by the control unit 3 is a high level signal to turn on the first terminal and the second terminal of the transistor of the second voltage control circuit 7, and when the first terminal and the second terminal of the transistor of the second voltage control circuit 7 are turned on, the second voltage control circuit 7 pulls down the stable voltage outputted 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 a control terminal, the drain is used as a first terminal, the source is used as a 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, 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 second control signal is sent out by the control unit 3 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 can not work continuously after the switching tube 2 works; the extra loss caused by the fact that the self-excited circuit 1 is continuously 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: a relay 8, wherein the relay 8 is in a closed state when not triggered, for conducting the connection of the self-excited circuit 1 and the voltage stabilizing circuit 6; when the switching tube 2 is driven by the first control signal, it is further used for outputting a supply voltage to the control end of the relay 8, so as to trigger the relay 8 to switch to an off 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 with the voltage stabilizing circuit 6 through the relay 8.
In the above example, it is to be understood that the relay 8 is an electric control device, and is an electric appliance that causes a predetermined step change in the controlled variable in the electric output circuit when the change in the input variable (excitation variable) reaches a predetermined requirement. It has an interactive relationship between the control system (also called input loop) and the controlled system (also called output loop). It is commonly used in automated control circuits and is actually an "automatic switch" that uses a small current to control the operation of a large current. Therefore, the circuit plays roles of automatic regulation, safety protection, circuit switching and the like; the control end of the relay 8 is connected with a switching power supply, and the working state of the switching power supply relay 8 changes along with the voltage output by the switching power supply; specifically, when the switching tube 2 is driven, the secondary side of the switching power supply transmits the power supply voltage to the control end of the relay 8, so that the working state of the relay 8 is changed into an off state, the voltage stabilizing circuit 6 is further disconnected from the self-excited circuit 1, and the stable voltage output by the voltage stabilizing circuit 6 cannot flow to the self-excited circuit 1, so that the loss caused by continuous working of the self-excited circuit 1 is avoided; when the control end of the relay 8 does not receive the power supply voltage, the working state of the relay 8 is changed into a conducting state, so that the voltage stabilizing circuit 6 is conducted with the self-excitation circuit 1, the voltage stabilizing circuit 6 can output the stable voltage to the self-excitation circuit 1, and the self-excitation circuit 1 is triggered by the stable voltage.
In some examples of this embodiment, the self-excited circuit 1 further comprises: a first diode; the other end of the self-excitation circuit 1 is connected with the switching tube 2 through the first diode; a second diode; the control unit 3 is connected to the switching tube 2 via the second diode. The self-excitation circuit 1 is connected with the switching tube 2 through a first diode, so that electric signals can only flow in one direction between the self-excitation circuit 1 and the switching tube 2, namely, only the self-excitation circuit 1 can transmit signals to the switching tube 2; in some examples of this embodiment, wherein the control unit 3 is connected to the switching tube 2 via a second diode, only one-way communication of electrical signals between the control unit 3 and the switching tube is possible, i.e. only the control unit 3 transmits signals to the switching tube 2.
The power supply switching circuit provided in this embodiment includes: the self-excitation circuit 1 is used for outputting a first driving signal to drive the switching tube 2 when the self-excitation circuit 1 is 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 a first voltage control circuit 4 when being started by the power supply voltage, and trigger the first voltage control circuit 4, so that the first voltage control circuit 4 pulls down the first driving signal sent by the self-excitation circuit 1; the control unit 3 outputs a first control signal to the first voltage control circuit 4 when the first voltage control circuit 4 is started by the power supply voltage, and pulls down the first driving signal output by the self-excitation circuit 1 when the first voltage control circuit 4 is triggered by the first control signal, and 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 down. Therefore, before the control unit 3 is started, the switching tube 2 is driven by the first driving signal output by the self-excited circuit 1, after the control unit 3 is started, the switching tube 2 is driven by the second driving signal output by the control unit 3, and the problem that the switching tube 2 receives two different driving signals, so that the switching tube 2 abnormally acts, the output voltage of the switching power supply is abnormal, the circuit cannot work normally, and the power supply system is unstable in work is avoided.
For better understanding of the present application, this embodiment provides a more specific example for explaining the present application, and as shown in fig. 4, this embodiment provides a power switching circuit, which includes, but is not limited to: the switching device comprises a voltage stabilizing circuit 6, a relay 8, a self-excitation circuit 1, a switching tube 2, a control unit 3, a first voltage control circuit 4 and a second voltage control circuit 7; 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 input end of the self-excitation circuit 1 through the relay 8, the control end of the relay 8 is connected with the switch tube 2, the output end of the self-excitation circuit 1 is connected with the switch tube 2 through the first diode D1, and the control unit 3 is connected with the switch tube 2 through the second diode D2.
On the above, as shown in fig. 4, the first voltage control circuit 4 includes, but is not limited to: the self-excitation 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 a 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 grounded, 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: and the control end of the NPN triode Q2 is connected with the control unit 3, the first end of the NPN triode Q2 is connected with the output end of the voltage stabilizing circuit 6, the second end of the NPN triode Q2 is grounded, and when the NPN triode is conducted, the current direction is that the first end flows to the second end.
It should be understood that when the control end of the relay 8 does not receive the power supply voltage transmitted by the switching tube 2, the relay 8 is in a closed state, so as to conduct the connection between the self-excitation circuit 1 and the voltage stabilizing circuit 6; before the switch tube 2 is started, the voltage stabilizing circuit 6 stabilizes the bus voltage to the voltage value required by the starting of the self-excitation circuit 1 and outputs the stabilized voltage obtained by stabilization;
in the above example, when the voltage stabilizing circuit 6 is normally closed and shocked through the relay 8, a stable voltage is output to the self-excitation circuit 1, and when the self-excitation circuit 1 supplies power, the self-excitation circuit 1 works, a first driving signal (PWM 1 wave) obtained by self-oscillation is output to drive the switching tube 2 to act through the first diode D1, the switching tube 2 is triggered by the first driving signal, after starting to work, a switching power supply where the switching tube is located outputs a power supply voltage to the control unit 3 through the power supply circuit 5, and outputs the power supply voltage to the relay 8, and at this time, 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, during normal operation, 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 triode are turned on, at this time, the first driving signal output by the self-excitation 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-excited circuit 1 stops driving the switching tube 2, the control unit 3 outputs a second driving signal to drive the switching tube 2 through the second diode D2, and it is to be understood that, as the switching power supply output is usually connected with a large electrolytic capacitor for energy storage, the switching power supply output voltage is basically unchanged in a short time from the first driving signal to the second driving signal for starting, and the control unit 3 can still work normally; similarly, when the control unit 3 does not receive the supply voltage and cannot work, the control unit 3 stops outputting the first control signal and the second drive signal, at this time, the NPN triode becomes an off state, the first drive 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 drive signal to work, and then the switching power supply outputs the supply voltage, so that the control unit 3 works.
In some examples, after the switching power supply stably works 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 enable the NPN triode to be on, at this time, the coil of the relay 8K1 is electrified, the normally closed electric shock of the relay 8 is disconnected, the voltage stabilizing circuit 6 stops supplying power to the self-exciting circuit 1, and loss caused by continuous working of the self-exciting circuit 1 is avoided.
It should be understood that, in some examples, the relay 8 is not disposed in the power supply switching circuit, as shown in fig. 5, the second voltage control circuit 7 is directly connected to the output terminal of the voltage stabilizing circuit 6, and the stabilized voltage output by the voltage stabilizing circuit 6 is pulled to the ground by a factor of 7 by the second voltage control circuit, so that the self-exciting circuit 1 is not triggered.
Based on the same concept, the present embodiment further provides a power supply switching method, which is applied to the power supply switching circuit as described in any one of the above, as shown in fig. 6, and the method includes:
s101, when a self-excitation circuit is triggered, outputting a first driving signal to drive a switching tube;
s102, outputting a supply voltage to a control unit through a switching power supply when the switching tube is driven;
s103, when the control unit is started by the power supply voltage, a first control signal is output to a first voltage control circuit, and the first voltage control circuit is triggered, so that the first voltage control circuit pulls down the first driving signal output by the self-excitation circuit;
and S104, when the first driving signal is pulled down, the control unit outputs a second driving signal to drive the switching tube.
It should be understood that, as shown in fig. 7, the voltage stabilizing circuit 6 supplies power to the self-exciting circuit 1, the self-exciting circuit 1 outputs a first driving signal PWM1 wave with a fixed duty ratio to drive the switching tube 2 in the switching power supply, after the switching tube 2 acts, the secondary side of the switching power supply where the switching tube 2 is located generates an output voltage, the power supply voltage is output through the power supply circuit 5 to supply power to the control unit 3, 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, and the first voltage control circuit 4 is triggered to pull down the first driving signal sent by the self-exciting circuit 1, so that the switching tube 2 does not receive the first driving signal, and at the same time, 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 that the output voltage of the switching power supply is stable.
The power supply switching method provided in the present embodiment is applied to the power supply switching circuit described in any one of the above, and the power supply switching circuit: 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 a power supply voltage to the control unit 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 power supply 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. Therefore, before the control unit is started, the switching tube is driven by the first driving signal output by the self-excited circuit, after the control unit is started, the switching tube is driven by the second driving signal output by the control unit only because the first driving signal is pulled down, so that the problem that the switching tube receives two different driving signals to cause abnormal actions of the switching tube, the output voltage of the switching power supply is abnormal, the circuit cannot work normally and the power supply system is unstable in work is avoided
In some examples of this embodiment, after the switching tube outputs the supply voltage to the control unit through the switching power supply after being driven, the method further includes: the control unit outputs a second control signal to a second voltage control circuit when being started by the power supply 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 embodiment of the present application provides an electronic device including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 perform communication with each other through the communication bus 114,
a memory 113 for storing a computer program;
in one embodiment of the present application, the processor 111 is configured to implement the power switching method provided in any one of the foregoing method embodiments when executing the program stored in the memory 113, where the method includes: 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 a power supply voltage to the control unit; when the control unit is started by the power supply voltage, a first control signal is output to a first voltage control circuit, and the first voltage control circuit is triggered, so that the first voltage control circuit pulls down the first driving signal output by the self-excitation circuit; and when the first driving signal is pulled down, the control unit outputs a second driving signal to drive the switching tube.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the power switching method provided in any one of the method embodiments described above.
It should be noted that in this document, relational terms such as "first" and "second" and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a specific embodiment of the application to enable those skilled in the art to understand or practice the application. 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 application. Thus, the present application 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 (7)
1. A power switching circuit, the 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 a 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 power supply voltage, and 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; 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;
the power supply switching circuit further includes: the voltage stabilizing circuit is used for stabilizing bus voltage and outputting stabilized voltage to the self-excitation circuit so as to trigger the self-excitation circuit;
the power supply switching circuit further includes: a second voltage control circuit; the control unit is further used for outputting a second control signal to a second voltage control circuit after being started by the power supply 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.
2. The power switching circuit of claim 1, further comprising: the relay is used for conducting connection between the self-excitation circuit and the voltage stabilizing circuit when the relay is in a closed state when not triggered;
and the switching tube is also used for outputting a power supply voltage to the control end of the relay when being driven by the first control signal so as to trigger the relay to switch to an off state, so as to disconnect the self-excitation circuit from the voltage stabilizing circuit.
3. The power switching circuit according to any one of claims 1 to 2, wherein the first voltage control circuit includes: a transistor, the transistor comprising: the control end, the first end and the second end are connected with the self-excitation circuit, and the second end is grounded;
the control end is used for conducting the first end and the second end when being triggered by the first control signal so as to pull down the first driving signal sent by the self-excitation circuit.
4. The power switching circuit of claim 3, 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 switching tube through the second diode.
5. A power switching method, applied to the power switching circuit according to any one of claims 1 to 4, 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 a power supply voltage to the control unit; when the control unit is started by the power supply voltage, a first control signal is output to a first voltage control circuit, and the first voltage control circuit is triggered, so that the first voltage control circuit pulls down the first driving signal output by the self-excitation circuit; the control unit outputs a second driving signal to drive the switching tube when the first driving signal is pulled down;
after the switching tube outputs the supply voltage to the control unit through the switching power supply when being driven, the method further comprises: the control unit outputs a second control signal to a second voltage control circuit after being started by the power supply 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.
6. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the steps of the power switching method of claim 5 when executing a program stored on a memory.
7. A computer readable storage medium, on which a computer program is stored which, when being executed by a processor, implements the steps of the power switching method according to claim 5.
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 CN113922637A (en) | 2022-01-11 |
CN113922637B true 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 |
---|---|
CN113922637A (en) | 2022-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5905689B2 (en) | DC / DC converter, power supply device using the same, and electronic device | |
KR20010080701A (en) | Soft start scheme for resonant converters having variable frequency control | |
CN101267155B (en) | System and method for providing power system with stable control | |
CN103580486A (en) | Switching power converter dynamic load detection | |
EP1552596B1 (en) | Capacitively coupled power supply | |
CN104753330B (en) | A kind of power management soft starting circuit | |
CN110401347B (en) | DC power supply device | |
US20090237050A1 (en) | Switching power supply | |
JP6559343B2 (en) | Switching power supply circuit | |
CN111416333A (en) | Power supply reverse connection prevention method and power supply reverse connection prevention circuit | |
CN113922637B (en) | Power supply switching circuit, power supply switching method, electronic equipment and storage medium | |
US7199643B2 (en) | Hot swappable pulse width modulation power supply circuits | |
CN110098727B (en) | Switching power supply and on-off control method thereof | |
CN220510776U (en) | Reverse connection preventing driving circuit and driving equipment | |
JP4862362B2 (en) | Switching power supply | |
CN111831027B (en) | Outdoor electronic equipment and system circuit thereof | |
CN116154724A (en) | Short-circuit protection circuit and power conversion circuit | |
CN109302052B (en) | High-voltage starting circuit and switching power supply | |
JP2010098875A (en) | Power supply apparatus | |
JP4349377B2 (en) | Dual power supply for load drive | |
EP0917280A1 (en) | Power supply with ecological stand by mode | |
CN115037161A (en) | Switching power supply protection circuit and power supply system | |
CN219420286U (en) | Short-circuit protection circuit and power conversion circuit | |
JP2022178982A (en) | power supply circuit, power supply | |
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 |