CN212460402U - Power supply circuit - Google Patents

Power supply circuit Download PDF

Info

Publication number
CN212460402U
CN212460402U CN202021819479.9U CN202021819479U CN212460402U CN 212460402 U CN212460402 U CN 212460402U CN 202021819479 U CN202021819479 U CN 202021819479U CN 212460402 U CN212460402 U CN 212460402U
Authority
CN
China
Prior art keywords
power supply
resistor
switch
supply voltage
single chip
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
Application number
CN202021819479.9U
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Transtek Medical Electronics Co Ltd
Original Assignee
Guangdong Transtek Medical Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Transtek Medical Electronics Co Ltd filed Critical Guangdong Transtek Medical Electronics Co Ltd
Priority to CN202021819479.9U priority Critical patent/CN212460402U/en
Application granted granted Critical
Publication of CN212460402U publication Critical patent/CN212460402U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The embodiment of the application provides a power supply circuit, and the power supply circuit includes: the power supply comprises a power supply voltage stabilizing chip, a key switch, a battery power supply and a first level changing unit, wherein the output end of the power supply voltage stabilizing chip is connected with the power supply end of the singlechip; the battery power supply is connected with the input end of the power supply voltage stabilization chip; one end of the key switch is connected with a battery power supply, the other end of the key switch is connected with an enabling end of the power supply voltage stabilization chip, and the enabling end is also connected with a first output end of the single chip microcomputer; the input end of the first level changing unit is connected with one end of the key switch, the output end of the first level changing unit is connected with a first input pin of the single chip microcomputer, and the first level changing unit is configured to change a level signal of the output end according to the on-off state of the key switch; if the first input pin receives the first level signal, the singlechip controls the first output end to output a high level signal to maintain the enabling of the power supply voltage stabilization chip. Compared with the prior art, the power supply can be thoroughly disconnected when the single chip microcomputer is shut down, and the service life of the battery is prolonged due to the fact that the power supply is not in the dormant state.

Description

Power supply circuit
Technical Field
The application relates to the technical field of electronics, in particular to a power supply circuit.
Background
In the prior art, the shutdown state of many electronic products is usually that the system enters a sleep state, and the consumption of electric energy still occurs. For the battery for supplying power to the electronic product, the dormant state can reduce the service life of the battery.
SUMMERY OF THE UTILITY MODEL
In view of this, the present application provides a power supply circuit, and the power supply circuit supplies power to a single chip microcomputer, so as to improve the problem that the single chip microcomputer consumes the electric energy of a battery in a sleep state in the prior art, and reduce the service life of the battery.
In order to achieve the above purpose, the present application provides the following technical solutions:
in a first aspect, an embodiment of the present application provides a power supply circuit, which is used for supplying power to a single chip microcomputer, and the power supply circuit includes: the power supply comprises a power supply voltage stabilizing chip, a key switch, a battery power supply and a first level changing unit, wherein the output end of the power supply voltage stabilizing chip is connected with the power supply end of the single chip microcomputer; the battery power supply is connected with the input end of the power supply voltage stabilization chip; one end of the key switch is connected with the battery power supply, the other end of the key switch is connected with the enabling end of the power supply voltage stabilizing chip, and the enabling end of the power supply voltage stabilizing chip is also connected with the first output end of the single chip microcomputer; the input end of the first level changing unit is connected with one end, far away from the battery power supply, of the key switch, the output end of the first level changing unit is connected with a first input pin of the single chip microcomputer, and the first level changing unit is configured to change a level signal of the output end according to the on-off state of the key switch; if the first input pin of the single chip receives a first level signal, the single chip controls the first output end to output a high level signal so as to maintain the enabling of the power supply voltage stabilization chip.
In the foregoing embodiment, when the battery power supply supplies power, and the key switch is pressed, the level signal of the output end of the first level changing unit changes, the first input pin of the single chip microcomputer can receive the change of the level signal of the output end of the first level changing unit, and according to the change, the first output end of the single chip microcomputer is controlled to output a high level signal, so that after the key switch bounces, the enable of the power stabilizing chip can be maintained through the first output end, and the power stabilizing chip can continuously supply power to the single chip microcomputer. Under the condition that the single chip microcomputer needs to be shut down, the first output end of the single chip microcomputer outputs a low-level signal to the enabling end of the power supply voltage stabilizing chip, and therefore power supply for the single chip microcomputer is cut off. Compared with the prior art, the power supply circuit provided by the embodiment of the application can completely cut off power supply when the single chip microcomputer is shut down, but is not in a dormant state, so that the service life of the battery is prolonged.
Optionally, in the above power supply circuit, the first level changing unit includes a first resistor and a second resistor; one end of the first resistor is connected with one end of the key switch far away from the battery power supply, and the other end of the first resistor is grounded through the second resistor; the first input pin of the singlechip is connected between the first resistor and the second resistor.
In the above-described embodiment, the first level changing unit may be configured by two resistors, i.e., the first resistor and the second resistor, and may be coupled to the first input pin of the single chip microcomputer. Under the condition that the battery power supply provides electric energy, when the key switch is switched off, the electric potential between the first resistor and the second resistor is the same as the electric potential of the ground and is zero, and the input of the first input pin of the singlechip is low level; when the key switch is closed, the potential between the first resistor and the second resistor is the potential left after the battery power supply is divided by the first resistor, namely the input of the first input pin of the singlechip is high level. Therefore, the open or closed state of the key switch can be discriminated in the above manner.
Optionally, in the above power supply circuit, the first level changing unit includes a third resistor, a fourth resistor, and a first switch, one end of the third resistor is connected to one end of the key switch, which is far from the battery power supply, and the other end of the third resistor is connected to a control end of the first switch; one end of the first switch is connected with a first input pin of the singlechip, and the other end of the first switch is grounded; one end of the fourth resistor is connected with the output end of the power supply voltage stabilization chip, and the other end of the fourth resistor is connected with one end, far away from the grounding end, of the first switch.
In the above embodiment, the first level changing unit may be configured by the third resistor, the fourth resistor, and the first switch, and may be coupled to the first input pin of the single chip microcomputer. Under the condition that the battery power supply supplies electric energy, when the key switch is switched off, the first switch is switched off, the output end of the power supply voltage stabilization chip supplies power to the first input pin of the single chip microcomputer through the fourth resistor, namely, the input of the first input pin of the single chip microcomputer is high level. When the key switch is turned on, the first switch is turned off, an electric signal output by the output end of the power supply voltage stabilizing chip is grounded after passing through the fourth resistor and the first switch, namely, the input of the first input pin of the singlechip is low level. Therefore, the open or closed state of the key switch can be discriminated in the above manner.
Optionally, in the above power supply circuit, the first switch is an NPN transistor; the base electrode of the first switch is connected with one end, far away from the key switch, of the third resistor; the collector of the first switch is connected with the fourth resistor; the emitter of the first switch is grounded.
In the above embodiment, the first switch may be an NPN transistor, and the base of the first switch is connected to the third resistor, so that when the key switch is turned on, the battery power source is applied to the base of the first switch through the third resistor, thereby turning on the collector and the emitter of the first switch; when the key switch is turned off, the base of the first switch is low, so that the collector and the emitter of the first switch are disconnected. In the embodiment of the present application, an NPN triode may be used as the first switch, and of course, other electrical elements may also be used as the first switch, and the specific type of the element of the first switch should not be construed as a limitation to the present application.
Optionally, the power supply circuit further includes an external power supply, and the external power supply is connected to the battery power supply, the input terminal of the power supply voltage stabilization chip, and the enable terminal of the power supply voltage stabilization chip respectively.
In the above embodiment, the external power supply may charge the battery power supply, may directly supply power to the power supply voltage stabilization chip, and may input a high level to the enable terminal of the power supply voltage stabilization chip to maintain the enable state of the power supply voltage stabilization chip.
Optionally, the power supply circuit further includes a second level changing unit, an input end of the second level changing unit is connected to the external power supply, and an output end of the second level changing unit is connected to a second input pin of the single chip microcomputer; the second level changing unit is configured to change a level signal of the output end according to the on-off of the external power supply; if the second input pin of the single chip receives a second level signal, the single chip controls the first output end to output a high level signal so as to maintain the enabling of the power supply voltage stabilization chip.
In the foregoing embodiment, when the external power supply supplies power, the level signal of the output end of the second level changing unit changes, the second input pin of the single chip microcomputer can receive the change of the level signal of the output end of the second level changing unit, and according to the change, the first output end of the single chip microcomputer is controlled to output a high level signal, and the enable of the power supply voltage stabilizing chip is maintained through the first output end, so that the external power supply can continuously supply power to the single chip microcomputer. Under the condition that the single chip microcomputer needs to be shut down, the first output end of the single chip microcomputer controls the first output end of the single chip microcomputer to output a low level signal to the enabling end of the power supply voltage stabilizing chip, and at the moment, whether the enabling end of the power supply voltage stabilizing chip keeps enabling depends on whether an external power supply is connected or not. If the external power supply is continuously connected, the enabling end of the power supply voltage stabilization chip can be enabled by the connection of the external power supply, so that the single chip microcomputer is in a dormant state; if the external power supply is disconnected, the enabling end of the power supply voltage stabilization chip cannot keep enabling, and the single chip microcomputer can be in a shutdown state instead of a dormant state. Through the mode, the single chip microcomputer is kept in the dormant state under the condition that the external power supply exists, the quick startup response of the single chip microcomputer is facilitated, the single chip microcomputer is in the shutdown state under the condition that the external power supply does not exist, and the electric energy of a battery power supply is prevented from being wasted.
Optionally, in the above power supply circuit, the second level changing unit includes a fifth resistor and a sixth resistor; one end of the fifth resistor is connected with the external power supply, and the other end of the fifth resistor is grounded through the sixth resistor; and the second input pin of the singlechip is connected between the fifth resistor and the sixth resistor.
In the above-described embodiment, the second level changing unit may be configured by two resistors, i.e., the fifth resistor and the sixth resistor, and may be coupled to the second input pin of the single chip microcomputer. Under the condition that the external power supply is not electrified, the potential between the fifth resistor and the sixth resistor is the same as the potential of the ground and is zero, and the second input pin of the singlechip inputs low level; under the condition that the external power supply is electrified, the potential between the fifth resistor and the sixth resistor is the potential left after the external power supply is divided by the fifth resistor, namely the input of the second input pin of the singlechip is high level. Therefore, the electrified or non-electrified state of the external power supply can be distinguished through the mode.
Optionally, in the power supply circuit described above, the second level changing unit includes a seventh resistor, an eighth resistor, and a second switch, where one end of the eighth resistor is connected to the external power supply, and the other end of the eighth resistor is connected to a control end of the second switch; one end of the second switch is connected with the seventh resistor and a second input pin of the singlechip, and the other end of the second switch is grounded; and one end of the seventh resistor, which is far away from the second switch, is connected with the output end of the power supply voltage stabilizing chip.
In the above-described embodiment, the second level changing unit may be configured by the seventh resistor, the eighth resistor, and the second switch, and may be coupled to the second input pin of the single chip microcomputer. When the external power supply is not powered on, the second switch is switched off, the output end of the power supply voltage stabilizing chip supplies power to the second input pin of the single chip microcomputer through the seventh resistor, and the second input pin of the single chip microcomputer is input with a high level. When the external power supply is electrified, the second switch is closed, an electric signal output by the output end of the power supply voltage stabilizing chip is grounded after passing through the seventh resistor and the second switch, and the input of the second input pin of the singlechip is low level. Therefore, the electrified or non-electrified state of the external power supply can be distinguished through the mode.
Optionally, in the above power supply circuit, the second switch is an NPN transistor; the base electrode of the second switch is connected with one end, far away from the external power supply, of the eighth resistor; the collector of the second switch is connected with the seventh resistor and a second input pin of the singlechip; the emitter of the second switch is grounded.
In the above embodiment, the second switch may specifically be an NPN transistor, and a base of the second switch is connected to the eighth resistor, so that when the external power supply is powered on, the external power supply is applied to the base of the second switch through the eighth resistor, so as to turn on a collector and an emitter of the second switch; in the case that the external power supply is not powered on, the base of the second switch is then at a low level, so that the collector of the second switch is disconnected from the emitter. In the embodiment of the present application, an NPN triode may be used as the second switch, and of course, other electrical elements may also be used as the second switch, and the specific type of the second switch should not be construed as a limitation to the present application.
Optionally, the power supply circuit further includes a pull-down resistor, and an enable terminal of the power supply voltage stabilization chip is grounded through the pull-down resistor.
In the above embodiment, the enable terminal of the power supply voltage stabilization chip may be further connected with a pull-down resistor, so as to ensure that the enable terminal is in a low level state when no other input is input.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 is a circuit schematic diagram of an embodiment of a power supply circuit provided in an embodiment of the present application;
FIG. 2 is a circuit schematic diagram of another embodiment of a power supply circuit provided by an embodiment of the present application;
FIG. 3 is a circuit schematic diagram of yet another implementation of a power supply circuit provided by an embodiment of the present application;
fig. 4 is a circuit diagram of another specific implementation of a power supply circuit provided in an embodiment of the present application.
Icon: a power supply circuit 100; a power supply voltage stabilization chip U1; a key switch SW 1; a battery power supply BAT; a first level changing unit 110; a first resistor R1; a second resistor R2; a third resistor R3; a fourth resistor R4; a first switch Q1; an external power supply VCC; a second level changing unit 120; a fifth resistor R5; a sixth resistor R6; a seventh resistor R7; an eighth resistor R8; a second switch Q2; a pull-down resistor R9.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The following detailed description of the embodiments of the present application, presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Examples
Referring to fig. 1, fig. 1 illustrates a power supply circuit 100 according to an embodiment of the present application, where the power supply circuit 100 includes: the power supply circuit comprises a power supply voltage stabilizing chip U1, a key switch SW1, a battery power supply BAT and a first level changing unit 110, wherein an output end VOUT of the power supply voltage stabilizing chip U1 is connected with a power supply end of a singlechip (not shown).
The battery power supply BAT is connected to the input terminal VIN of the power supply voltage stabilization chip U1.
One end of the key switch SW1 is connected with the battery power supply BAT, the other end of the key switch SW1 is connected with the enable end EN of the power supply voltage stabilizing chip U1, and the enable end EN of the power supply voltage stabilizing chip U1 is also connected with the first output end of the single chip microcomputer.
The input end of the first level changing unit 110 is connected to one end of the key switch SW1, which is far away from the battery power supply BAT (i.e., VBAT), and the output end of the first level changing unit 110 is connected to the first input pin of the single chip microcomputer. The first level changing unit 110 is configured to: the level signal at the output terminal of the first level changing unit 110 is changed according to the on/off of the key switch SW 1. If the first input pin of the single chip receives the first level signal, the single chip controls the first output terminal to output a high level signal to maintain the enabling of the power supply regulator chip U1, and the high level signal can be transmitted to the enabling terminal of U1 through the diode D2 shown in fig. 1. The first level signal may be a low level signal or a high level signal, and a specific signal type of the first level signal is related to a specific composition of the first level changing unit 110.
Under the condition that battery source BAT provides the electric energy, when key switch SW1 is pressed, the level signal of the output of first level change unit 110 will change, the first input pin of singlechip can receive the change of the level signal of the output of first level change unit 110, and according to this change, the first output of control singlechip exports high level signal, make key switch SW1 bounce back, through first output, just can maintain the enabling of power steady voltage chip U1, make it can continuously supply power for the singlechip. The single chip microcomputer can also be judged by combining the self starting-up condition when controlling the first output end of the single chip microcomputer to output the high-level signal according to the change of the level signal, and then controls the first output end to output the high-level signal under the condition that the self starting-up condition is also met.
Under the condition that the single chip microcomputer needs to be shut down, a first output end of the single chip microcomputer outputs a low-level signal to an enabling end of the power supply voltage stabilizing chip U1, and therefore power supply for the single chip microcomputer is cut off. Compared with the prior art, the power supply circuit 100 provided by the embodiment of the application can completely cut off power supply when the single chip microcomputer is shut down, but is not in a dormant state, so that the service life of the battery is prolonged.
Referring to fig. 1, in an embodiment, the first level changing unit 110 includes a first resistor R1 and a second resistor R2, one end of the first resistor R1 is connected to one end of the key switch SW1 away from the battery power BAT, and the other end of the first resistor R1 is grounded via a second resistor R2. The first input pin of the single chip microcomputer is connected between the first resistor R1 and the second resistor R2.
The first level changing unit 110 may be formed by two resistors, i.e., a first resistor R1 and a second resistor R2, and is coupled to a first input pin of the single chip. Under the condition that the battery power supply BAT supplies power, when the key switch SW1 is turned off, the potential between the first resistor R1 and the second resistor R2 is the same as the potential of the ground and is zero, and the input of the first input pin of the singlechip is low level; when the key switch SW1 is closed, the potential between the first resistor R1 and the second resistor R2 is the potential left after the battery power BAT is divided by the first resistor R1, that is, the input of the first input pin of the single chip microcomputer is high level. Therefore, the open or closed state of the key switch SW1 can be discriminated in the above manner. In the above embodiment, when the key switch SW1 is closed, an electrical signal is transmitted to the enable terminal of U1 through the diode D2.
Referring to fig. 2, in another embodiment, the first level changing unit 110 includes a third resistor R3, a fourth resistor R4 and a first switch Q1, one end of the third resistor R3 is connected to one end of the key switch SW1, which is far away from the battery power BAT, and the other end of the third resistor R3 is connected to a control end of the first switch Q1.
One end of the first switch Q1 is connected with a first input pin of the singlechip, and the other end is grounded. One end of the fourth resistor R4 is connected to the output terminal VOUT of the power regulator chip U1, and the other end is connected to the end of the first switch Q1 away from the ground terminal.
The first level change unit 110 may be configured by a third resistor R3, a fourth resistor R4, and a first switch Q1, and is coupled to a first input pin of the single chip microcomputer. Under the condition that the battery power supply BAT supplies power, when the key switch SW1 is turned off, the first switch Q1 is turned off, and the output terminal VOUT of the power supply voltage stabilization chip U1 supplies power to the first input pin of the single chip microcomputer through the fourth resistor R4, that is, the input of the first input pin of the single chip microcomputer is a high level. When the key switch SW1 is turned on, the first switch Q1 is turned on accordingly, and an electrical signal output by the output terminal of the power supply voltage stabilization chip U1 passes through the fourth resistor R4 and the first switch Q1 and then is grounded, that is, the input of the first input pin of the single chip microcomputer is low level. Therefore, the open or closed state of the key switch SW1 can be discriminated in the above manner.
In one embodiment, the first switch Q1 may be an NPN transistor. The base of the first switch Q1 is connected to one end of the third resistor R3 remote from the keyswitch SW1, the collector of the first switch Q1 is connected to the fourth resistor R4, and the emitter of the first switch Q1 is grounded.
In the embodiment of the present application, an NPN transistor may be used as the first switch Q1, and of course, other electrical components may also be used as the first switch Q1, for example, a mos transistor, and the specific component type of the first switch Q1 should not be construed as limiting the present application.
Referring to fig. 3, in an embodiment of the present application, the external power supply VCC may be further included, and the second level changing unit 120 may be further included, where the external power supply VCC is respectively connected to the battery power supply BAT, the input terminal of the power regulator chip U1, and the enable terminal of the power regulator chip U1.
The input end of the second level changing unit 120 is connected to the external power VCC, and the output end of the second level changing unit 120 is connected to the second input pin of the single chip.
The second level altering unit 120 is configured to: and changing the level signal of the output end of the second level changing unit 120 according to the on/off state of the external power VCC. If the second input pin of the single chip receives the second level signal, the single chip controls the first output end to output a high level signal so as to maintain the enabling of the power supply voltage stabilizing chip U1. The second level signal may be a low level signal or a high level signal, and the specific signal type of the second level signal is related to the specific composition of the second level changing unit 120.
The external power supply VCC can supply power to the battery power supply BAT through the charging circuit, and can also supply power to the input end of the U1. The external power supply can also be connected with the enabling end of the U1 through a diode D3. Under the condition that the external power source VCC provides electric energy, the level signal of the output end of the second level changing unit 120 changes, the second input pin of the single chip microcomputer can receive the change of the level signal of the output end of the second level changing unit 120, and according to the change, the first output end of the single chip microcomputer is controlled to output a high level signal, the enabling of the power source voltage stabilizing chip U1 is maintained through the first output end, and the external power source VCC can continuously supply power to the single chip microcomputer.
Under the condition that the single chip microcomputer needs to be shut down, the first output end of the single chip microcomputer controls the output of a low level signal to the enabling end of the power supply voltage stabilizing chip U1, and at the moment, whether the enabling end of the power supply voltage stabilizing chip U1 keeps enabled depends on whether an external power supply VCC is communicated.
If the external power supply VCC is continuously connected, the enabling end of the power supply voltage stabilization chip U1 can be kept enabled by the connection of the external power supply VCC, so that the single chip microcomputer is in a dormant state; if the external power supply VCC is disconnected, the enable end of the power supply voltage stabilization chip U1 cannot keep enabling, so that the single chip microcomputer is in a shutdown state instead of a dormant state.
Through the mode, the single chip microcomputer is kept in the dormant state under the condition that the external power supply VCC exists, the quick startup response of the single chip microcomputer is facilitated, the single chip microcomputer is in the shutdown state under the condition that the external power supply VCC does not exist, and the waste of electric energy of the battery power supply BAT is avoided.
Referring to fig. 3, in one embodiment, the second level shift unit 120 may include a fifth resistor R5 and a sixth resistor R6. One end of the fifth resistor R5 is connected to the external power VCC, and the other end of the fifth resistor R5 is grounded via the sixth resistor R6. The second input pin of the single chip is connected between the fifth resistor R5 and the sixth resistor R6.
The second level changing unit 120 may be formed by two resistors of a fifth resistor R5 and a sixth resistor R6, and coupled to the second input pin of the single chip microcomputer. Under the condition that the external power supply VCC is not electrified, the potential between the fifth resistor R5 and the sixth resistor R6 is the same as the potential of the ground and is zero, and the second input pin of the singlechip is at a low level; under the condition that the external power supply VCC is electrified, the potential between the fifth resistor R5 and the sixth resistor R6 is the potential left after the external power supply VCC is divided by the fifth resistor R5, namely the input of the second input pin of the singlechip is high level. Therefore, the electrified or non-electrified state of the external power source VCC can be distinguished through the above manner.
Referring to fig. 4, in another embodiment, the second level changing unit 120 includes a seventh resistor R7, an eighth resistor R8, and a second switch Q2, wherein one end of the eighth resistor R8 is connected to the external power VCC, and the other end is connected to the control end of the second switch Q2.
One end of the second switch Q2 is connected with the seventh resistor R7 and the second input pin of the single chip, and the other end is grounded. One end of the seventh resistor R7, which is far away from the second switch Q2, is connected with the output end of the power supply voltage stabilizing chip U1.
The second level changing unit 120 may be configured by a seventh resistor R7, an eighth resistor R8, and a second switch Q2, and is coupled to a second input pin of the single chip microcomputer. When the external power VCC is not powered on, the second switch Q2 is turned off, and the output terminal of the power supply regulator chip U1 supplies power to the second input pin of the single chip microcomputer through the seventh resistor R7, that is, the input of the second input pin of the single chip microcomputer is high level. When the external power source VCC is electrified, the second switch Q2 is closed, an electric signal output by the output end of the power source voltage stabilization chip U1 passes through the seventh resistor R7 and the second switch Q2 and then is grounded, that is, the second input pin of the single chip microcomputer inputs low level. Therefore, the electrified or non-electrified state of the external power source VCC can be distinguished through the above manner.
The second switch Q2 may be an NPN transistor, a base of the second switch Q2 is connected to one end of the eighth resistor R8 far away from the external power VCC, a collector of the second switch Q2 is connected to the seventh resistor R7 and the second input pin of the single chip, and an emitter of the second switch Q2 is grounded. In the embodiment of the present application, an NPN transistor may be used as the second switch Q2, and of course, other electrical components, for example, a mos transistor, may also be used as the second switch Q2, and the specific component type of the second switch Q2 should not be construed as limiting the present application.
The power supply circuit 100 provided by the embodiment of the application further includes a pull-down resistor R9, and the enable terminal of the power supply regulator chip U1 is grounded through the pull-down resistor R9. The enable terminal of the power supply regulator chip U1 may also be connected with a pull-down resistor R9, thereby ensuring a low state when no other input is input to the enable terminal.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application are clearly and completely described above with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the above detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be understood that the various parameters illustrated above are only exemplary, and the specific references may be flexibly adjusted according to the actual usage scenario, and the embodiments of the present application are not limited thereto.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it is to be noted that the terms "upper", "inner", and the like refer to orientations or positional relationships based on orientations or positional relationships shown in the drawings or orientations or positional relationships that are conventionally arranged when products of the application are used, and are used only for convenience in describing the application and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the application. Furthermore, the terms "first" and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
In the description of the present application, it is also to be noted that, unless otherwise explicitly specified or limited, the terms "disposed" and "connected" are to be interpreted broadly, e.g., as being either fixedly connected, detachably connected, or integrally connected; either mechanically or electrically. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.

Claims (10)

1. A power supply circuit, its characterized in that for to singlechip power supply, power supply circuit includes: the power supply comprises a power supply voltage stabilizing chip, a key switch, a battery power supply and a first level changing unit, wherein the output end of the power supply voltage stabilizing chip is connected with the power supply end of the single chip microcomputer;
the battery power supply is connected with the input end of the power supply voltage stabilization chip;
one end of the key switch is connected with the battery power supply, the other end of the key switch is connected with the enabling end of the power supply voltage stabilizing chip, and the enabling end of the power supply voltage stabilizing chip is also connected with the first output end of the single chip microcomputer;
the input end of the first level changing unit is connected with one end, far away from the battery power supply, of the key switch, the output end of the first level changing unit is connected with a first input pin of the single chip microcomputer, and the first level changing unit is configured to change a level signal of the output end according to the on-off state of the key switch; if the first input pin of the single chip receives a first level signal, the single chip controls the first output end to output a high level signal so as to maintain the enabling of the power supply voltage stabilization chip.
2. The power supply circuit of claim 1, wherein: the first level change unit includes a first resistor and a second resistor;
one end of the first resistor is connected with one end of the key switch far away from the battery power supply, and the other end of the first resistor is grounded through the second resistor;
the first input pin of the singlechip is connected between the first resistor and the second resistor.
3. The power supply circuit of claim 1, wherein: the first level changing unit comprises a third resistor, a fourth resistor and a first switch, wherein one end of the third resistor is connected with one end of the key switch, which is far away from the battery power supply, and the other end of the third resistor is connected with the control end of the first switch;
one end of the first switch is connected with a first input pin of the singlechip, and the other end of the first switch is grounded;
one end of the fourth resistor is connected with the output end of the power supply voltage stabilization chip, and the other end of the fourth resistor is connected with one end, far away from the grounding end, of the first switch.
4. The power supply circuit of claim 3, wherein: the first switch is an NPN triode;
the base electrode of the first switch is connected with one end, far away from the key switch, of the third resistor;
the collector of the first switch is connected with the fourth resistor;
the emitter of the first switch is grounded.
5. The power supply circuit according to any one of claims 1 to 4, wherein: the battery power supply is connected with the battery power supply, the input end of the power supply voltage stabilization chip and the enabling end of the power supply voltage stabilization chip.
6. The power supply circuit of claim 5, wherein: the input end of the second level change unit is connected with the external power supply, and the output end of the second level change unit is connected with a second input pin of the singlechip;
the second level changing unit is configured to change a level signal of the output end according to the on-off of the external power supply;
if the second input pin of the single chip receives a second level signal, the single chip controls the first output end to output a high level signal so as to maintain the enabling of the power supply voltage stabilization chip.
7. The power supply circuit of claim 6, wherein: the second level changing unit includes a fifth resistor and a sixth resistor;
one end of the fifth resistor is connected with the external power supply, and the other end of the fifth resistor is grounded through the sixth resistor;
and the second input pin of the singlechip is connected between the fifth resistor and the sixth resistor.
8. The power supply circuit of claim 6, wherein: the second level changing unit comprises a seventh resistor, an eighth resistor and a second switch, wherein one end of the eighth resistor is connected with the external power supply, and the other end of the eighth resistor is connected with the control end of the second switch;
one end of the second switch is connected with the seventh resistor and a second input pin of the singlechip, and the other end of the second switch is grounded;
and one end of the seventh resistor, which is far away from the second switch, is connected with the output end of the power supply voltage stabilizing chip.
9. The power supply circuit of claim 8, wherein: the second switch is an NPN triode;
the base electrode of the second switch is connected with one end, far away from the external power supply, of the eighth resistor;
the collector of the second switch is connected with the seventh resistor and a second input pin of the singlechip;
the emitter of the second switch is grounded.
10. The power supply circuit of claim 1, wherein: the power supply voltage stabilizing chip further comprises a pull-down resistor, and the enabling end of the power supply voltage stabilizing chip is grounded through the pull-down resistor.
CN202021819479.9U 2020-08-26 2020-08-26 Power supply circuit Active CN212460402U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202021819479.9U CN212460402U (en) 2020-08-26 2020-08-26 Power supply circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202021819479.9U CN212460402U (en) 2020-08-26 2020-08-26 Power supply circuit

Publications (1)

Publication Number Publication Date
CN212460402U true CN212460402U (en) 2021-02-02

Family

ID=74474404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202021819479.9U Active CN212460402U (en) 2020-08-26 2020-08-26 Power supply circuit

Country Status (1)

Country Link
CN (1) CN212460402U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114028821A (en) * 2021-12-06 2022-02-11 广东乐心医疗电子股份有限公司 Mechanical box
CN116774638A (en) * 2023-08-21 2023-09-19 北京领创医谷科技发展有限责任公司 Switching circuit applied to external energy controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114028821A (en) * 2021-12-06 2022-02-11 广东乐心医疗电子股份有限公司 Mechanical box
CN116774638A (en) * 2023-08-21 2023-09-19 北京领创医谷科技发展有限责任公司 Switching circuit applied to external energy controller

Similar Documents

Publication Publication Date Title
CN212460402U (en) Power supply circuit
US5341085A (en) Power supply circuit with standby arrangement
CN114336857B (en) Conversion circuit for series charging and parallel power supply
CN216751719U (en) Multi-key awakening identification circuit and electronic equipment
CN116707118A (en) Power failure detection and power failure holding function circuit and electronic equipment
CN107561991B (en) Startup and shutdown management circuit and terminal
CN111756091A (en) Power supply switching circuit and intelligent door lock
CN211653439U (en) Key awakening circuit and electronic equipment
CN212462838U (en) Power supply switching circuit and intelligent door lock system
CN114902157B (en) Electronic circuit unit and battery pack
CN111669158B (en) Portable multifunctional switch circuit
CN211351757U (en) Low-power consumption standby circuit, mobile power supply and robot
CN211925953U (en) Low-power consumption control system and air conditioner
CN221227519U (en) Switching circuit and atomizing device
CN216252223U (en) Control circuit of battery module, battery module and terminal
JP2003087994A (en) Power supply backup circuit and reverse current consuming circuit
CN217956942U (en) Low-power-consumption memory starting circuit
CN217769863U (en) Starting control circuit and electronic equipment
CN216526819U (en) Multi-key awakening identification circuit and electronic equipment
CN213959958U (en) Power supply circuit, switching power supply and digital power supply
CN218124360U (en) Battery pack, low-power-consumption control circuit thereof and handheld terminal equipment
CN218301202U (en) Power supply circuit with low standby power consumption
CN211207117U (en) Hard switching circuit and mobile terminal
CN215990213U (en) Self-locking power supply switching circuit
CN215871358U (en) Switching circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant