CN117526911A - Power supply protection circuit, control method thereof, electronic device and storage medium - Google Patents
Power supply protection circuit, control method thereof, electronic device and storage medium Download PDFInfo
- Publication number
- CN117526911A CN117526911A CN202210899015.0A CN202210899015A CN117526911A CN 117526911 A CN117526911 A CN 117526911A CN 202210899015 A CN202210899015 A CN 202210899015A CN 117526911 A CN117526911 A CN 117526911A
- Authority
- CN
- China
- Prior art keywords
- driving circuit
- circuit
- resistor
- power supply
- driving
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000008569 process Effects 0.000 claims abstract description 17
- 238000004590 computer program Methods 0.000 claims description 11
- 230000001360 synchronised effect Effects 0.000 description 9
- 239000003990 capacitor Substances 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 230000005291 magnetic effect Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000003068 static effect Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 235000019800 disodium phosphate Nutrition 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000005294 ferromagnetic effect Effects 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/04—Modifications for accelerating switching
- H03K17/041—Modifications for accelerating switching without feedback from the output circuit to the control circuit
- H03K17/04106—Modifications for accelerating switching without feedback from the output circuit to the control circuit in field-effect transistor switches
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/51—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
- H03K17/56—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices
- H03K17/687—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices the devices being field-effect transistors
Landscapes
- Direct Current Feeding And Distribution (AREA)
Abstract
The application discloses a power supply protection circuit, a control method thereof, electronic equipment and a storage medium. The power supply protection circuit includes: the system comprises a first driving circuit, a second driving circuit and a voltage dividing circuit, wherein the first driving circuit is used for supplying power to a slave in the working process, the second driving circuit is used for supplying power to the slave in the starting process, and the voltage dividing circuit is connected with a driving terminal of a host and used for controlling the conduction states of the first driving circuit and the second driving circuit based on the output state of the driving terminal. Therefore, the second driving circuit can be selected to supply power to the slave in the starting process, and the overcurrent impact at the beginning of starting can be effectively avoided because the on-resistance of the second driving circuit is larger than that of the first driving circuit, so that the first driving circuit which supplies power to the slave in the working process can be subjected to overcurrent protection, and the electric control reliability of the low-power-consumption electric appliance is effectively improved.
Description
Technical Field
The present disclosure relates to the field of power supply control, and in particular, to a power supply protection circuit, a control method thereof, an electronic device, and a storage medium.
Background
Miniaturization and low power consumption are mainstream of electric appliance design, and in order to save electricity consumption, it is often necessary to turn off the temporarily unused function of the electric appliance in a standby state. For example, when the joint control of a plurality of electric control boards occurs, the main control board needs to cut off the power supply of the slave board in a standby state so as to realize low power consumption.
In the related art, in order to realize power supply control of the slave board, switching control may be realized based on a Metal-Oxide-Semiconductor Field-Effect Transistor (MOS transistor for short). However, the inherent low on-resistance characteristic of the MOS tube can generate great impact current due to the electrolytic capacitor at the side of the slave plate at the moment of conducting the slave plate, so that the MOS tube is easily damaged, and the reliability of electric control is affected.
Disclosure of Invention
In view of this, the embodiments of the present application provide a power supply protection circuit, a control method thereof, an electronic device, and a storage medium, which aim to effectively improve the electrical control reliability of a low-power-consumption electrical appliance.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a power supply protection circuit applied to an electronic device including a master and a slave, the power supply protection circuit including:
the first driving circuit is used for supplying power to the slave machine in the working process;
the second driving circuit is used for supplying power to the slave machine in the starting process;
and the voltage dividing circuit is connected with the driving terminal of the host and is used for controlling the conduction states of the first driving circuit and the second driving circuit based on the output state of the driving terminal.
In some embodiments, the output state of the drive terminal includes: high resistance state, low level and high level;
if the output state is a high-resistance state, the voltage dividing circuit controls the first driving circuit to be cut off and the second driving circuit to be turned on;
if the output state is low level, the voltage dividing circuit controls the first driving circuit and the second driving circuit to be cut off;
and if the output state is high level, the voltage dividing circuit controls the first driving circuit and the second driving circuit to be conducted.
In some embodiments, the voltage divider circuit comprises: the first resistor, the second resistor and the third resistor are connected in series between the power end and the grounding end;
the control end of the second driving circuit is connected between the first resistor and the second resistor;
the control end of the first driving circuit is connected between the second resistor and the third resistor;
if the output state is a high-resistance state, the voltage between the first resistor and the second resistor is larger than the conduction voltage of the second driving circuit, and the voltage between the second resistor and the third resistor is smaller than the conduction voltage of the first driving circuit;
if the output state is a low level, the voltage between the first resistor and the second resistor is smaller than the conduction voltage of the second driving circuit, and the voltage between the second resistor and the third resistor is smaller than the conduction voltage of the first driving circuit;
and if the output state is high level, the voltage between the first resistor and the second resistor is larger than the conduction voltage of the second driving circuit, and the voltage between the second resistor and the third resistor is larger than the conduction voltage of the first driving circuit.
In some embodiments, the first driving circuit includes:
the first switch element is arranged between the power end and the output end;
and the control end of the first triode is connected with the voltage dividing circuit.
In some embodiments, the first switching element is a MOS transistor or a relay.
In some embodiments, the second driving circuit includes:
the second switching element and the current limiting resistor are arranged between the power supply end and the output end;
and the second triode is connected with the control end of the second switching element, and the control end of the second triode is connected with the voltage dividing circuit.
In some embodiments, the second switching element is a transistor or a relay.
In a second aspect, an embodiment of the present application provides a control method of the power supply protection circuit according to the first aspect of the embodiment of the present application, including:
responding to a first instruction that the slave needs to work, and controlling the power supply protection circuit to operate in a first working state based on the output state of a driving terminal of the host;
determining that the first working state maintaining time length reaches a set time length, and controlling the power supply protection circuit to operate in a second working state based on the output state of a driving terminal of a host;
in the first working state, the first driving circuit is cut off and the second driving circuit is conducted; and in the second working state, the first driving circuit and the second driving circuit are both conducted.
In some embodiments, the method further comprises:
responding to a second instruction that the slave needs to be shut down, and controlling the power supply protection circuit to operate in a third working state based on the output state of the driving terminal of the host;
and in the third working state, the first driving circuit and the second driving circuit are both cut off.
In a third aspect, an embodiment of the present application provides a control device for a power supply protection circuit according to the first aspect of the embodiment of the present application, including:
the control module is used for responding to a first instruction that the slave needs to work and controlling the power supply protection circuit to operate in a first working state based on the output state of the driving terminal of the host; determining that the first working state maintaining time length reaches a set time length, and controlling the power supply protection circuit to operate in a second working state based on the output state of a driving terminal of a host;
in the first working state, the first driving circuit is cut off and the second driving circuit is conducted; and in the second working state, the first driving circuit and the second driving circuit are both conducted.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: the power supply protection circuit of the first aspect of the embodiment of the present application, the master machine, the slave machine, and the electronic device further include: a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is adapted to perform the steps of the method according to the second aspect of the embodiments of the present application when the computer program is run.
In a fifth aspect, embodiments of the present application provide a storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of the method according to the second aspect of embodiments of the present application.
According to the technical scheme provided by the embodiment of the application, the power supply protection circuit comprises: the first drive circuit, the second drive circuit and the bleeder circuit, this first drive circuit is used for supplying power to the slave machine in the course of the work, this second drive circuit is used for supplying power to the slave machine in the course of starting, and bleeder circuit connects the drive terminal of host computer, be used for controlling the conduction state of first drive circuit and second drive circuit based on the output state of drive terminal, so, can select the second drive circuit to supply power to the slave machine in the course of starting, because the conduction resistance at this moment is greater than the conduction resistance of first drive circuit, can effectively avoid starting the overcurrent impact at the beginning, and then can carry out overcurrent protection to the first drive circuit of power supply for the slave machine in the course of the work, effectively promoted the automatically controlled reliability of low-power consumption electrical apparatus.
Drawings
Fig. 1 is a schematic structural diagram of a power supply protection circuit according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a power supply protection circuit in an application example of the present application;
FIG. 3 is a schematic diagram of a power protection circuit in another application example of the present application;
fig. 4 is a flow chart of a control method of the power supply protection circuit according to the embodiment of the present application;
FIG. 5 is a schematic flow chart of a control method in an application example of the present application;
fig. 6 is a schematic structural diagram of a control device of the power supply protection circuit according to the embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings and examples.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
The embodiment of the application provides a power supply protection circuit, which is applied to electronic equipment comprising a host machine and a slave machine, for example, the electronic equipment can be an air conditioner, an indoor unit of the air conditioner is used as the host machine, and an outdoor unit or auxiliary equipment such as an air purifier, an oxygenerator and the like can be used as the slave machine. In order to achieve low power consumption, the power supply to the slave machine may be cut off in the standby state. The power supply protection circuit can cut off the power supply of the slave machine in the standby state, and can restore the power supply of the slave machine when the electronic equipment is started (namely, the slave machine is in a standby state and resumes work).
As shown in fig. 1, a power supply protection circuit of an embodiment of the present application includes: a first driving circuit (also called a main driving circuit) 10, a second driving circuit (also called a soft start circuit) 20, and a voltage dividing circuit 30. The first driving circuit 10 is used for supplying power to the slave 50 in the working process; the second driving circuit 20 is used for supplying power to the slave 50 during the starting process; the voltage divider circuit 30 is connected to the driving terminal P1 of the host 40, and is configured to control the on states of the first driving circuit 10 and the second driving circuit 20 based on the output state of the driving terminal P1. The on-resistance of the first driving circuit 10 is smaller than the on-resistance of the second driving circuit 20, that is, the slave 50 can effectively prevent the overcurrent impact based on the high-resistance of the second driving circuit 20 during the starting process; the slave 50 can effectively reduce power consumption based on low impedance of the first driving circuit 10 during normal power supply.
At the moment of power-on, the slave 50 has an electrolytic capacitor, for example, the electrolytic capacitor E2 shown in fig. 1, where the electrolytic capacitor E2 is originally not charged at the initial time of charging, and the charging current is large and is approximately short-circuited, so that a large impact current is generated on the power supply circuit, and electronic devices such as a MOS transistor are easily damaged, thereby affecting the reliability of electric control.
According to the power supply protection circuit, the second driving circuit 20 and the voltage dividing circuit 30 are introduced, and the voltage dividing circuit 30 is connected with the driving terminal P1 of the host computer 40 and is used for controlling the conducting states of the first driving circuit 10 and the second driving circuit 20 based on the output state of the driving terminal P1, so that the second driving circuit 20 can be selected to supply power to the slave computer 50 in the starting process, and the current flowing impact at the beginning of starting can be effectively avoided due to the fact that the current flowing resistance is larger than that of the first driving circuit 10, and further the current flowing protection can be carried out on the first driving circuit 10 of the slave computer 50 during the power supplying process, and the electric control reliability of a low-power electric appliance is effectively improved.
In some embodiments, the output state of the driving terminal P1 includes: high resistance state, low level and high level; if the output state is a high-resistance state, the voltage dividing circuit 30 controls the first driving circuit 10 to be turned off and the second driving circuit 20 to be turned on; if the output state is low level, the voltage dividing circuit 30 controls the first driving circuit 10 and the second driving circuit 20 to be turned off; if the output state is high, the voltage divider circuit 30 controls the first driving circuit 10 and the second driving circuit 20 to be turned on.
It can be appreciated that the driving protection circuit of the embodiment of the present application may implement the switching of the on states of the first driving circuit 10 and the second driving circuit 20 based on the change of the output state of the driving terminal P1 of the host 40, so as to meet the control requirements of power failure and power restoration of the slave 50.
Illustratively, as shown in fig. 1, the voltage dividing circuit 30 includes: the first resistor R1, the second resistor R2 and the third resistor R3 are connected in series between the power supply end VCC and the grounding end. Wherein, the control ends of the driving terminal P1 and the second driving circuit 20 are connected between the first resistor R1 and the second resistor R2; the control end of the first driving circuit 10 is connected between the second resistor R2 and the third resistor R3; if the output state of the driving terminal P1 is in the high-impedance state, the voltage V1 between the first resistor R1 and the second resistor R2 is greater than the turn-on voltage of the second driving circuit 20, and the voltage V2 between the second resistor R2 and the third resistor R3 is less than the turn-on voltage of the first driving circuit 10; if the output state of the driving terminal P1 is at the low level, the voltage V1 between the first resistor R1 and the second resistor R2 is smaller than the turn-on voltage of the second driving circuit 20, and the voltage between the second resistor R2 and the third resistor R3 is smaller than the turn-on voltage of the first driving circuit 10; if the output state of the driving terminal P1 is at the high level, the voltage V1 between the first resistor R1 and the second resistor R2 is greater than the turn-on voltage of the second driving circuit 20, and the voltage V2 between the second resistor R2 and the third resistor R3 is greater than the turn-on voltage of the first driving circuit 10.
It can be appreciated that the voltage divider circuit of the embodiment of the application adopts a resistor series connection mode, and based on reasonable selection of resistance values, the control requirement of the change of the conducting state of the first driving circuit and the second driving circuit can be met, and the voltage divider circuit has a simple structure and low cost, and is beneficial to meeting the requirement of miniaturized design of electric appliances.
In some embodiments, the first driving circuit 10 includes: the first switching element and the first triode are arranged between the power supply end and the output end; the first triode is connected with the control end of the first switching element, and the control end of the first triode is connected with the voltage dividing circuit 30.
The power supply end can be a working power supply for supplying power to the slave machine, namely the output end is electrically connected with the power supply input end of the slave machine, when the first switching element is in a conducting state, the slave machine is in a power supply state, and when the first switching element is in a cutting-off state, the slave machine is in a power-off state.
The first switching element may be a MOS transistor or a relay, for example. It should be noted that, for the slave with small power, the first switching element may be a MOS transistor, which has low on-resistance and small voltage drop loss, and is beneficial to implementing the miniaturized design of the circuit; for high power slaves, the first switching element may be a relay, i.e. it may be controlled whether the switch is on based on whether the relay coil is on.
Illustratively, as shown in fig. 1, the first transistor is a transistor Q3, and the first switching element is a MOS transistor Q4. The triode Q3 is an NPN triode, and the MOS tube Q4 is a P communication MOS tube. The collector of the triode Q3 is connected with the power supply end VCC through a resistor R9 and a resistor R8, the base of the triode Q3 is connected between a resistor R2 and the resistor R3 through a resistor R7, and the emitter of the triode Q3 is grounded. The source electrode of the MOS tube Q4 is connected with the power supply end VCC, the drain electrode is connected with the output end, and the grid electrode is connected between the resistor R8 and the resistor R9. It can be understood that whether the transistor Q3 is turned on or not is controlled by the voltage between the resistor R2 and the resistor R3, and whether the MOS transistor Q4 is turned on or not is controlled by the state of the transistor Q3, so that the voltage between the resistor R2 and the resistor R3 can be controlled based on the output state of the driving terminal P1, so as to realize the control of the on state of the MOS transistor Q4.
In some embodiments, the second driving circuit 20 includes: the second switching element, the current-limiting resistor and the second triode are arranged between the power supply end and the output end; the second triode is connected with the control end of the second switching element, and the control end of the second triode is connected with the voltage dividing circuit 30.
The power supply end can be a working power supply for supplying power to the slave machine, namely, when the second switching element is in an on state, the slave machine is in a power supply state, and when the second switching element is in an off state, the slave machine is in a power-off state.
The second switching element is illustratively a transistor or a relay. It should be noted that, for the slave with small power, the second switching element may be a third-stage transistor, which is beneficial to implementing the miniaturized design of the circuit; for high power slaves, the second switching element may be a relay, i.e. it may be controlled whether the switch is on based on whether the relay coil is on.
Illustratively, as shown in fig. 1, the second switching element is a transistor Q1 and the second transistor is a transistor Q2. The triode Q1 is a PNP triode, and the triode Q2 is an NPN triode. The emitter of triode Q1 connects power end VCC, and triode Q1's collecting electrode connects the output through current-limiting resistor R5, and triode Q2's base is connected between resistance R1 and the resistance R2 through resistance R4, and triode Q2's collecting electrode is connected through resistance R6 to triode Q1's base, and triode Q2's projecting pole ground, triode Q2's base are connected between resistance R1 and the resistance R2 through resistance R4. It can be understood that whether the transistor Q2 is turned on or not is controlled by the voltage between the resistor R1 and the resistor R2, and whether the transistor Q1 is turned on or not is controlled by the state of the transistor Q2, so that the voltage between the resistor R1 and the resistor R2 can be controlled based on the output state of the driving terminal P1 to realize the control of the on state of the transistor Q1.
In an application example, assuming that the voltage of the power supply terminal VCC is V0, the output voltage of the driving terminal P1 is Vp1, the resistance of the first resistor R1 is R1, the resistance of the second resistor R2 is R2, the resistance of the third resistor R3 is R3, the voltage between the first resistor R1 and the second resistor R2 is V1, and the voltage between the second resistor R2 and the third resistor R3 is V2. The following conditions can be satisfied based on reasonable selection of the resistance values of the first resistor R1, the second resistor R2 and the third resistor R3:
1) When the output state of the driving terminal P1 is in a high-impedance state, v1=v0×r1/(r1+r2+r3), v2=v1×r2/(r2+r3), v1>0.7V (V), V2<0.7V, i.e. the transistor Q2 is turned on, and the second driving circuit is turned on; the triode Q3 is cut off, and the first driving circuit is cut off;
2) When the output state of the driving terminal P1 is at a high level, v2=vp 1×r2/(r2+r3), v2>0.7V, and at this time, the transistor Q2 is turned on, and the second driving circuit is turned on; the triode Q3 is conducted, and the first driving circuit is conducted;
3) When the output state of the driving terminal P1 is at a low level, the transistor Q2 is turned off, and the second driving circuit is turned off; transistor Q3 is turned off and the first drive circuit is turned off.
When the output state of the driving terminal P1 is in the high-resistance state, the slave is powered by the second driving circuit, and the current limiting resistor R5 is present, so that the second driving circuit is not powered by a large current when being turned on, and the overcurrent impact at the beginning of starting can be effectively avoided.
When the output state of the driving terminal P1 is at the high level, the slave is mainly powered by the first driving circuit because the circuit in which the MOS transistor Q4 is located has no series current limiting resistor.
In an application example, as shown in fig. 2, the electronic device is an air conditioner, the host 40 is an indoor unit, the slave 50 is an auxiliary device such as an air purifier, an oxygen generator, and the auxiliary device may be powered by direct current, that is, power supply VCC.
In another application example, as shown in fig. 3, the electronic device is an air conditioner, the host 40 is an indoor unit, the slave 50 is an outdoor unit powered by alternating current, at this time, since the power consumption of the outdoor unit is relatively large, the first switching element is a relay RY1, the second switching element is a relay RY2, one end of a coil of the relay RY1 is connected to a power supply terminal VCC, and the other end is connected to a collector of a triode Q3 via a resistor R9; one end of the coil of relay RY2 is connected to power supply terminal VCC, and the other end is connected to collector of triode Q2 via resistor R6. The switch of the relay RY1 and the switch of the relay RY2 are respectively provided on the power supply branch for supplying power to the outdoor unit. When the output state of the driving terminal P1 is in a high-resistance state, the triode Q2 is conducted, and a power supply branch where a switch of the relay RY2 is positioned is conducted; the triode Q3 is cut off, and the power supply branch where the switch of the relay RY1 is positioned is disconnected; when the output state of the driving terminal P1 is at a high level, the transistor Q2 is turned on, and the power supply branch where the switch of the relay RY2 is located is turned on; the triode Q3 is conducted, and the power supply branch where the switch of the relay RY1 is positioned is conducted; when the output state of the driving terminal P1 is at a low level, the transistor Q2 is turned off, and the power supply branch where the switch of the relay RY2 is located is turned off; transistor Q3 is turned off and the power supply branch where the switch of relay RY1 is located is turned off.
The embodiment of the present application further provides a control method of the power supply protection circuit described in the foregoing embodiment, where the control method may be applied to a controller of an electronic device, as shown in fig. 4, and the control method includes:
in step 401, in response to a first instruction that the slave needs to work, the power supply protection circuit is controlled to operate in a first working state based on an output state of a driving terminal of the master.
Here, in the first operating state, the first driving circuit is turned off and the second driving circuit is turned on. In an exemplary embodiment, the controller responds to a first command that the slave needs to work, for example, a first command generated based on a timing wake-up mechanism or a first command generated based on user trigger, and controls the output state of the driving terminal P1 of the host to switch to a high-resistance state, so that the first driving circuit is turned off and the second driving circuit is turned on, at this time, the slave is powered by the second driving circuit, and due to the existence of the current limiting resistor, no overcurrent impact caused by a large current occurs on the power supply circuit, so that the reliability of electric control can be improved.
Step 402, determining that the first working state maintaining time length reaches a set time length, and controlling the power supply protection circuit to operate in a second working state based on an output state of a driving terminal of the host.
Here, the set period of time is used to make the electrolytic capacitor of the slave side fully charged in the first working state, after the electrolytic capacitor is fully charged, the controller can control the output state of the driving terminal P1 of the host to be switched to a high level, so that the power supply protection circuit operates in the second working state, and in the second working state, both the first driving circuit and the second driving circuit are conducted. The set time period may be reasonably determined based on the test data, and may be, for example, 0.5 seconds.
In some embodiments, the control method further comprises:
responding to a second instruction that the slave needs to be shut down, and controlling the power supply protection circuit to operate in a third working state based on the output state of the driving terminal of the host; and in the third working state, the first driving circuit and the second driving circuit are both cut off.
In an exemplary embodiment, the controller controls the output state of the driving terminal P1 of the host to switch to a low level in response to a second instruction for stopping the operation of the slave, for example, a second instruction generated based on a timed sleep mechanism or a second instruction generated based on a user trigger, so that both the first driving circuit and the second driving circuit are turned off, and at this time, the power supply of the slave is cut off, thereby saving standby power consumption.
The control method of the embodiment of the present application is exemplarily described below with reference to an application example.
In this application example, the electronic device includes the master device, the slave device, and the power supply protection circuit for supplying power to the slave device shown in fig. 1, and the control method of the electronic device is shown in fig. 5, and includes:
step 501, the electronic device is powered on.
Here, the electronic device is powered on, i.e. the power is on, and the electronic device is in a work ready state.
Step 502, judging whether the slave needs to work, if not, executing step 503, if yes, executing step 503.
Here, the electronic device may determine whether the slave needs to operate based on a work instruction, where the work instruction may be an instruction input by a user, or an instruction generated based on a timing mechanism, which is not limited in this embodiment of the present application.
In step 503, P1 outputs a low level.
Here, the electronic device controls the driving terminal P1 of the host to output a low level, and at this time, neither the first driving circuit nor the second driving circuit is turned on, and the electronic device is in a low power consumption state of standby.
At step 504, P1 transitions to a high resistance state.
Here, the electronic device controls the driving terminal P1 of the host to be turned into a high-resistance state, and at this time, the transistor Q2 is turned on, and the second driving circuit is turned on; transistor Q3 is turned off and the first drive circuit is turned off. Because the current limiting resistor R5 exists, large current power supply can not occur when the second driving circuit is conducted, and overcurrent impact at the beginning of starting can be effectively avoided.
Step 505, wait for a set duration.
The electronic device controls the high resistance state to be maintained for a set period of time, so that the electrolytic capacitor of the slave is fully charged, and the set period of time can be 0.5 seconds, for example.
Step 506, P1 outputs a high level.
Here, the electronic device controls the driving terminal P1 of the host to output a high level, and at this time, the transistor Q2 is turned on, and the second driving circuit is turned on; transistor Q3 is turned on and the first drive circuit is turned on. Because the MOS tube Q4 is not connected in series with a current limiting resistor, the slave is mainly powered by the first driving circuit.
It can be understood that in the control method of the application example, in the starting process of the slave machine, since the second driving circuit is adopted to supply power to the slave machine, the first power supply circuit is switched to supply power to the slave machine after the electrolytic capacitor is fully charged, and the risk of impact current loss MOS tube Q4 caused by directly supplying power to the slave machine by the first power supply circuit at the beginning of starting can be avoided, so that the reliability of electric control is improved.
In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a control device for a power supply protection circuit, where the control device for a power supply protection circuit corresponds to the control method of the power supply protection circuit, and each step in the embodiment of the control method of the power supply protection circuit is also fully applicable to the embodiment of the control device for a power supply protection circuit.
As shown in fig. 6, the control device of the power supply protection circuit includes: the control module 601 is configured to control, in response to a first instruction that the slave needs to operate, the power supply protection circuit to operate in a first operating state based on an output state of a driving terminal of the master; determining that the first working state maintaining time length reaches a set time length, and controlling the power supply protection circuit to operate in a second working state based on the output state of a driving terminal of a host;
in the first working state, the first driving circuit is cut off and the second driving circuit is conducted; and in the second working state, the first driving circuit and the second driving circuit are both conducted.
In some embodiments, the control module 601 is further configured to control, in response to a second instruction that the slave needs to be turned off, the power supply protection circuit to operate in a third operating state based on an output state of the driving terminal of the master; and in the third working state, the first driving circuit and the second driving circuit are both cut off.
In actual use, the control module 601 may be implemented by a processor of an electronic device. Of course, the processor needs to run a computer program in memory to implement its functions.
It should be noted that: in the control device of the power supply protection circuit according to the above embodiment, only the division of the program modules is used for illustration, and in practical application, the process allocation may be performed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules, so as to complete all or part of the processes described above. In addition, the control device of the power supply protection circuit provided in the above embodiment and the control method embodiment of the power supply protection circuit belong to the same concept, and the specific implementation process is detailed in the method embodiment, which is not repeated here.
Based on the hardware implementation of the program modules, and in order to implement the method of the embodiment of the application, the embodiment of the application also provides an electronic device. The electronic device includes: the power supply protection circuit comprises a host computer, a slave computer and the power supply protection circuit. Fig. 7 shows only an exemplary structure of the electronic device, not all of which may be implemented as needed.
As shown in fig. 7, an electronic device 700 provided in an embodiment of the present application includes: at least one processor 701, memory 702, and a user interface 703. The various components in the electronic device 700 are coupled together by a bus system 704. It is appreciated that bus system 704 is used to enable connected communications between these components. The bus system 704 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration, the various buses are labeled as bus system 704 in fig. 7.
The user interface 703 may include, among other things, a display, keyboard, mouse, trackball, click wheel, keys, buttons, touch pad, or touch screen, etc.
The memory 702 in embodiments of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program for operating on an electronic device.
The control method disclosed in the embodiments of the present application may be applied to the processor 701 or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the control method of the electronic device may be performed by integrated logic circuits of hardware in the processor 701 or instructions in the form of software. The processor 701 may be a general purpose processor, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 701 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied in a hardware decoding processor or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, such as a memory 702, and the processor 701 reads information in the memory 702, and in combination with the hardware, performs the steps of the control method provided in the embodiments of the present application.
In an exemplary embodiment, the electronic device may be implemented by one or more application specific integrated circuits (ASIC, application Specific Integrated Circuit), DSPs, programmable logic devices (PLD, programmable Logic Device), complex programmable logic devices (CPLD, complex Programmable Logic Device), field programmable gate arrays (FPGA, field Programmable Gate Array), general purpose processors, controllers, microcontrollers (MCU, micro Controller Unit), microprocessors (Microprocessor), or other electronic components for performing the aforementioned methods.
The electronic device may be an air conditioner, an indoor unit of the air conditioner may be a master, and an outdoor unit or an auxiliary device such as an air cleaner, an oxygenerator, or the like may be a slave.
It is to be appreciated that the memory 702 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Wherein the nonvolatile Memory may be Read Only Memory (ROM), programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable Read Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), magnetic random access Memory (FRAM, ferromagnetic random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk Read Only Memory (CD-ROM, compact Disc Read-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be random access memory (RAM, random Access Memory), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (ddr SDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). The memory described in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
In an exemplary embodiment, the present application further provides a storage medium, i.e. a computer storage medium, which may be specifically a computer readable storage medium, for example, including a memory 702 storing a computer program, where the computer program may be executed by the processor 701 of the electronic device to perform the steps described in the methods of the embodiments of the present application. The computer readable storage medium may be ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
It should be noted that: "first," "second," etc. are used to distinguish similar objects and not necessarily to describe a particular order or sequence.
In addition, the embodiments described in the present application may be arbitrarily combined without any collision.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (12)
1. A power supply protection circuit, characterized by being applied to an electronic device including a master and a slave, comprising:
the first driving circuit is used for supplying power to the slave machine in the working process;
the second driving circuit is used for supplying power to the slave machine in the starting process;
the voltage dividing circuit is connected with the driving terminal of the host and used for controlling the conduction states of the first driving circuit and the second driving circuit based on the output state of the driving terminal;
the on-resistance of the first driving circuit is smaller than that of the second driving circuit.
2. The power supply protection circuit according to claim 1, wherein the output state of the drive terminal includes: high resistance state, low level and high level;
if the output state is a high-resistance state, the voltage dividing circuit controls the first driving circuit to be cut off and the second driving circuit to be turned on;
if the output state is low level, the voltage dividing circuit controls the first driving circuit and the second driving circuit to be cut off;
and if the output state is high level, the voltage dividing circuit controls the first driving circuit and the second driving circuit to be conducted.
3. The power supply protection circuit of claim 2, wherein the voltage dividing circuit comprises: the first resistor, the second resistor and the third resistor are connected in series between the power end and the grounding end;
the control end of the second driving circuit is connected between the first resistor and the second resistor;
the control end of the first driving circuit is connected between the second resistor and the third resistor;
if the output state is a high-resistance state, the voltage between the first resistor and the second resistor is larger than the conduction voltage of the second driving circuit, and the voltage between the second resistor and the third resistor is smaller than the conduction voltage of the first driving circuit;
if the output state is a low level, the voltage between the first resistor and the second resistor is smaller than the conduction voltage of the second driving circuit, and the voltage between the second resistor and the third resistor is smaller than the conduction voltage of the first driving circuit;
and if the output state is high level, the voltage between the first resistor and the second resistor is larger than the conduction voltage of the second driving circuit, and the voltage between the second resistor and the third resistor is larger than the conduction voltage of the first driving circuit.
4. The power supply protection circuit of claim 1, wherein the first drive circuit comprises:
the first switch element is arranged between the power end and the output end;
and the control end of the first triode is connected with the voltage dividing circuit.
5. The power protection circuit of claim 4, wherein,
the first switching element is a MOS tube or a relay.
6. The power supply protection circuit of claim 1, wherein the second driving circuit comprises:
the second switching element and the current limiting resistor are arranged between the power supply end and the output end;
and the second triode is connected with the control end of the second switching element, and the control end of the second triode is connected with the voltage dividing circuit.
7. The power protection circuit of claim 6, wherein,
the second switching element is a triode or a relay.
8. A control method of the power supply protection circuit according to any one of claims 1 to 7, comprising:
responding to a first instruction that the slave needs to work, and controlling the power supply protection circuit to operate in a first working state based on the output state of a driving terminal of the host;
determining that the first working state maintaining time length reaches a set time length, and controlling the power supply protection circuit to operate in a second working state based on the output state of a driving terminal of a host;
in the first working state, the first driving circuit is cut off and the second driving circuit is conducted; and in the second working state, the first driving circuit and the second driving circuit are both conducted.
9. The method of claim 8, wherein the method further comprises:
responding to a second instruction that the slave needs to be shut down, and controlling the power supply protection circuit to operate in a third working state based on the output state of the driving terminal of the host;
and in the third working state, the first driving circuit and the second driving circuit are both cut off.
10. A control device of a power supply protection circuit according to any one of claims 1 to 7, comprising:
the control module is used for responding to a first instruction that the slave needs to work and controlling the power supply protection circuit to operate in a first working state based on the output state of the driving terminal of the host; determining that the first working state maintaining time length reaches a set time length, and controlling the power supply protection circuit to operate in a second working state based on the output state of a driving terminal of a host;
in the first working state, the first driving circuit is cut off and the second driving circuit is conducted; and in the second working state, the first driving circuit and the second driving circuit are both conducted.
11. An electronic device, comprising: the power supply protection circuit according to any one of claims 1 to 7, the master, the slave, and the electronic device further comprising: a processor and a memory for storing a computer program capable of running on the processor, wherein,
the processor being adapted to perform the steps of the method of any of claims 8 to 9 when the computer program is run.
12. A storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method of any of claims 8 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210899015.0A CN117526911A (en) | 2022-07-28 | 2022-07-28 | Power supply protection circuit, control method thereof, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210899015.0A CN117526911A (en) | 2022-07-28 | 2022-07-28 | Power supply protection circuit, control method thereof, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117526911A true CN117526911A (en) | 2024-02-06 |
Family
ID=89749989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210899015.0A Pending CN117526911A (en) | 2022-07-28 | 2022-07-28 | Power supply protection circuit, control method thereof, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117526911A (en) |
-
2022
- 2022-07-28 CN CN202210899015.0A patent/CN117526911A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108123509B (en) | Charging control method and related device thereof | |
JPS61288725A (en) | Power source control system for electronic equipment | |
CN108488948B (en) | Air conditioner, air conditioner control system and outdoor unit switch circuit | |
CN101625588B (en) | Supply circuit of PWM controller | |
CN210780130U (en) | Power-off control circuit | |
CN218958613U (en) | Low-power consumption power supply circuit, low-power consumption system and electronic equipment | |
CN102937829A (en) | Energy-saving management circuit | |
CN110942747B (en) | OLED display device and control method thereof | |
CN117526911A (en) | Power supply protection circuit, control method thereof, electronic device and storage medium | |
CN112649724A (en) | Power failure detection circuit and method and MCU chip | |
CN103107577B (en) | Battery management circuit and terminal | |
CN215932416U (en) | Wake-up circuit | |
CN105005727A (en) | Control system based on dynamic password and USBKEY and control method for control system | |
CN211925953U (en) | Low-power consumption control system and air conditioner | |
CN111474871B (en) | Power supply control device and method of household appliance control system | |
CN112711320A (en) | Power switching system and method, computer readable storage medium and processor | |
CN112952988A (en) | Power supply switching device for low-voltage priority control | |
CN105204403A (en) | Clock circuit, power supply control method based on clock circuit and air conditioner | |
CN204926090U (en) | Control system based on developments password and USBKEY | |
CN218332520U (en) | Power supply voltage control circuit | |
CN214674448U (en) | Low standby power consumption power supply circuit and electronic equipment | |
CN113359936B (en) | Power control method, power control circuit, device and household appliance | |
CN111884496B (en) | ALD power-on circuit following AISG3.0 protocol | |
CN213878636U (en) | Power plug protection circuit, device, system and power cord | |
CN212411151U (en) | Power-on reset protection circuit of chip, control device and household appliance |
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 |