CN215817599U - Power supply switching circuit and electronic equipment - Google Patents

Power supply switching circuit and electronic equipment Download PDF

Info

Publication number
CN215817599U
CN215817599U CN202122044658.0U CN202122044658U CN215817599U CN 215817599 U CN215817599 U CN 215817599U CN 202122044658 U CN202122044658 U CN 202122044658U CN 215817599 U CN215817599 U CN 215817599U
Authority
CN
China
Prior art keywords
circuit
pin
connector
output
interface circuit
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
CN202122044658.0U
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.)
Shenzhen Urovo Technology Corp ltd
Original Assignee
Shenzhen Urovo Technology Corp 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 Shenzhen Urovo Technology Corp ltd filed Critical Shenzhen Urovo Technology Corp ltd
Priority to CN202122044658.0U priority Critical patent/CN215817599U/en
Application granted granted Critical
Publication of CN215817599U publication Critical patent/CN215817599U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The utility model relates to a power supply switching circuit and an electronic device, comprising: the charging circuit comprises a rechargeable battery, a charging circuit and a first interface circuit; the input detection circuit is connected with the first interface circuit and is configured to output a first detection level when the first interface circuit is accessed by the power supply equipment and output a second detection level when the first interface circuit is accessed by the first extension equipment; a control level output circuit connected to the input detection circuit and configured to output a first control level when receiving the first detection level and to output a second control level when receiving the second detection level; a voltage conversion circuit connected to the rechargeable battery and the control level output circuit; and the switching circuit is connected with the first interface circuit, the voltage conversion circuit and the charging circuit. The utility model can meet the power supply switching requirement when the interface is connected with different equipment.

Description

Power supply switching circuit and electronic equipment
Technical Field
The present invention relates to the field of electronic circuit technologies, and in particular, to a power supply switching circuit and an electronic device.
Background
In recent years, as electronic devices, especially various mobile terminals, have more and more devices to be expanded, external interfaces are arranged more and more, and as the number of interfaces increases, the usage scenarios of the interfaces have more and more complicated, the power supply requirements of the interfaces have more and more strict, and the function of power supply switching has more and more importance.
SUMMERY OF THE UTILITY MODEL
The present invention is directed to a power supply switching circuit and an electronic device, which overcome some of the above-mentioned drawbacks of the prior art.
The technical scheme adopted by the utility model for solving the technical problems is as follows: a power supply switching circuit is configured, including: the charging circuit is connected with the charging battery and is used for connecting a first interface circuit of power supply equipment or first expansion equipment; and
the input detection circuit is connected with the first interface circuit and is configured to output a first detection level through a first output end when the first interface circuit is accessed by the power supply equipment and output a second detection level through a second output end when the first interface circuit is accessed by the first expansion equipment;
a control level output circuit connected to the input detection circuit and configured to output a first control level when receiving the first detection level and a second control level when receiving the second detection level;
the voltage conversion circuit is connected with the rechargeable battery and the control level output circuit and used for switching off the voltage output when receiving the first control level and switching on the voltage output when receiving the second control level;
and the switching circuit is connected with the first interface circuit, the voltage conversion circuit and the charging circuit and is used for conducting when the first interface circuit is connected with the power supply equipment or the first extension equipment.
Preferably, the input detection circuit comprises a diode D2, a transistor Q4, a diode D3, a resistor R19 and a resistor R20;
the anode of the diode D2 is connected with the control level output circuit, and the cathode of the diode D2 is connected with the first interface circuit;
the collector of the triode Q4 is connected with the control level output circuit, the emitter of the triode Q4 is grounded, the base of the triode Q4 is connected with the anode of the diode D3, and the cathode of the diode D3 is connected with the first interface circuit;
the first end of the resistor R19 is connected to the first interface circuit, the second end of the resistor R19 is grounded via the resistor R20, and the second end of the resistor R19 is also connected to the base of the transistor Q4.
Preferably, the switch circuit comprises a switch tube Q3, a triode Q5, a diode D4 and a resistor R18;
the first end of switch tube Q3 is connected the warp resistance R18 connect respectively triode Q5's collecting electrode with diode D4's positive pole, diode D4's negative pole is connected first interface circuit, triode Q5's base is connected first interface circuit, triode Q5's emitter ground, switch tube Q3's second end is connected the charging circuit with the voltage conversion circuit, switch tube Q3's third end is connected first interface circuit.
Preferably, the first interface circuit comprises a connector J3;
the fourth pin and the twenty-first pin of the connector J3 are both connected to the third terminal of the switching tube Q3 and the first terminal of the resistor R19, and the fifth pin and the seventeenth pin of the connector J3 are both connected to the cathode of the diode D3 and the cathode of the diode D2.
Preferably, the power supply switching circuit of the present invention further includes a second interface circuit for connecting a second expansion device;
the second interface circuit is connected to the control level output circuit and the second terminal of the switching tube Q3, wherein the control level output circuit is further configured to output the second control level when the second expansion device is connected and the first detection level input is not present.
Preferably, the second interface circuit comprises a connector J4;
the first pin and the second pin of the connector J4 are both connected to the second end of the switch tube Q3, and the eleventh pin of the connector J4 is connected to the control level output circuit.
Preferably, the power supply switching circuit of the present invention further includes a connector J2 for connecting the control level output circuit, the input detection circuit, the first interface circuit, and the second interface circuit;
the first pin of the connector J2 is connected to the anode of the diode D2, the fourth pin of the connector J2 is connected to the sixth pin and the eighteenth pin of the connector J3, the fifth pin of the connector J2 is connected to the seventh pin and the nineteenth pin of the connector J3, the eighth pin of the connector J2 is connected to the eighth pin of the connector J4, the ninth pin of the connector J2 is connected to the ninth pin of the connector J4, the tenth pin of the connector J2 is connected to the eleventh pin of the connector J4, and the eleventh pin of the connector J2 is connected to the collector of the transistor Q4.
Preferably, the voltage conversion circuit includes a switching unit, a filtering unit, a first transforming unit and a second transforming unit;
the input end of the switch unit is connected with the rechargeable battery, the output end of the switch unit is connected with the input end of the first voltage transformation unit through the filter unit, the control end of the switch unit is connected with the control level output circuit, the output end of the first voltage transformation unit is connected with the input end of the second voltage transformation unit, the output end of the second voltage transformation unit is connected with the second end of the switch tube Q3, and the control end of the second voltage transformation unit is connected with the control level output circuit.
Preferably, the switching unit includes a switching tube Q1 and a transistor Q2, a second terminal of the switching tube Q1 is connected to the rechargeable battery, a third terminal of the switching tube Q1 is connected to the filtering unit, a first terminal of the switching tube Q1 is connected to a collector of the transistor Q2, a base of the transistor Q2 receives a driving level, and an emitter of the transistor Q2 is grounded; and/or
The filtering unit comprises a capacitor C2, a capacitor C3, a magnetic bead B1 and a magnetic bead B2, wherein one end of the magnetic bead B1 is connected with the output end of the switch unit after being connected with the magnetic bead B2 in parallel, the other end of the magnetic bead B1 is connected with the first voltage transformation unit, and two ends of the magnetic bead B1 are grounded through the capacitor C2 and the capacitor C3 respectively; and/or
The first transformation unit comprises an inductor L1, a transformation chip U1, a diode D1, a resistor R2 and a resistor R3, a fifth pin and a fourth pin of the transformation chip U1 are connected with a first pin of the transformation chip U2 through the inductor L1, the first pin of the transformation chip U1 is connected with the anode of the diode D1, the cathode of the diode D1 is connected with the input end of the second transformation unit, the cathode of the diode D1 is grounded through the resistor R2 and the resistor R3 which are connected in series, and a third pin of the transformation chip U1 is connected with the series node of the resistor R2 and the resistor R3; and/or
The second transformation unit comprises a transformation chip U2 and a resistor R4, a fifth pin of the transformation chip U2 is connected with the output end of the first transformation unit, a second pin of the transformation chip U2 is grounded, a fourth pin of the transformation chip U2 is connected with the control level output circuit, a fourth pin of the transformation chip U2 is grounded through the resistor R4, and a first pin of the transformation chip U2 is connected with a second end of the switch tube Q3.
The present invention also provides an electronic device including the power supply switching circuit as described in any one of the above.
The power supply switching circuit and the electronic equipment have the following beneficial effects that: the multi-interface power supply switching requirement can be met.
Drawings
The utility model will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a logic block diagram of an embodiment of a power switching circuit of the present invention;
FIG. 2 is a schematic circuit diagram of an embodiment of a power switching circuit of the present invention;
FIG. 3 is a logic block diagram of another embodiment of a power switching circuit of the present invention;
FIG. 4 is a circuit schematic of an embodiment of a power switching circuit of the present invention;
FIG. 5 is a circuit schematic of an embodiment of a power switching circuit of the present invention;
fig. 6 is a schematic circuit diagram of an embodiment of a power supply switching circuit according to the utility model.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
As shown in fig. 1, the first embodiment of the power switching circuit of the present invention includes: the charging circuit 150 is connected with the charging battery 160, and is used for connecting the first interface circuit 110 of the power supply equipment or the first expansion equipment; and an input detection circuit 130 connected to the first interface circuit 110 and configured to output a first detection level through a first output terminal when the first interface circuit 110 has the power supply device connected thereto, and output a second detection level through a second output terminal when the first interface circuit 110 has the first expansion device connected thereto; a control level output circuit 180 connected to the input detection circuit 130 and configured to output a first control level when receiving the first detection level and a second control level when receiving the second detection level; a voltage conversion circuit 170 connected to the rechargeable battery 160 and the control level output circuit 180, for turning off the voltage output when receiving the first control level and turning on the voltage output when receiving the second control level; the first interface circuit 110, the voltage conversion circuit 170 and the charging circuit 150 are connected to the switching circuit 140, which is turned on when the first interface circuit 110 is connected to a power supply device or a first expansion device. Specifically, the first interface circuit 110 may be used to connect a power supply device or an expansion device, that is, a first expansion device, that is, an external device without power supply, and the access state of the first interface circuit 110 may be detected by the input detection circuit 130. The operation of the input detection circuit 130 may be configured in advance, when the first interface circuit 110 has no device or power access, the first output end and the second output end of the input detection circuit 130 are both default levels, when it is detected that the first interface circuit 110 is connected to an external power source or an external power supply device, the first output end outputs a first detection level, the control level output circuit 180 outputs a corresponding first control level when receiving the first detection level, the voltage conversion circuit 170 turns off the voltage output when receiving the first control level, and the switch circuit 140 is turned on when the first interface circuit 110 is connected to the external power source or the external power supply device, and at this time, the external power source or the power supply device supplies power to the internal circuits such as the charging circuit 150 through the turned on switch circuit 140. When detecting that the first interface circuit 110 is connected to the first expansion device, the input detection circuit 130 outputs a second detection level at the first output end, and outputs a third detection level at the second output end, the control level output circuit 180 outputs a second control level when receiving the third detection level, the voltage conversion circuit 170 switches on the voltage output when receiving the second control level, that is, the voltage conversion circuit 170 converts the voltage of the rechargeable battery 160 and outputs the converted voltage, and the switch circuit 140 switches on when the first interface circuit 110 is connected to the first expansion device, and the voltage output of the voltage conversion circuit 170 is output to the first interface circuit 110 through the switched-on switch circuit 140, so as to supply power to the first expansion device through the first interface circuit 110. It is understood that the switch circuit 140 can be turned on when any one of the power supply device and the first expansion device is connected to the first interface circuit 110. Meanwhile, it can be understood that when the voltage conversion circuit 170 turns on its output, the charging circuit 150 is in an off state to prevent the output of the rechargeable battery 160 from returning to the rechargeable battery 160 through the charging circuit 150.
As shown in fig. 2, the input detection circuit 130 includes a diode D2, a transistor Q4, a diode D3, a resistor R19, and a resistor R20; the anode of the diode D2 is connected with the control level output circuit 180, and the cathode of the diode D2 is connected with the first interface circuit 110; the collector of the triode Q4 is connected with the control level output circuit 180, the emitter of the triode Q4 is grounded, the base of the triode Q4 is connected with the anode of the diode D3, and the cathode of the diode D3 is connected with the first interface circuit 110; the first end of the resistor R19 is connected to the first interface circuit 110, the second end of the resistor R19 is grounded via the resistor R20, and the second end of the resistor R19 is further connected to the base of the transistor Q4. Specifically, the anode of the diode D2 corresponds to the second output end of the input detection circuit 130, the cathode of the diode D2 is connected to the first interface circuit 110, and when the first interface circuit 110 is not connected to the first extension device, that is, the unconnected device or the connected device is a power supply device, the cathode of the diode D2 is at a default level, such as a high level. When the first interface circuit 110 is connected to the first expansion device, the cathode of the diode D2 switches the level, for example, to the low level, and the anode of the diode D2 switches the level to the low level, that is, the second detection level corresponding to the second output terminal of the input detection circuit 130 is the low level, and the control level output circuit 180 receives the low level and outputs the second control level. Meanwhile, the diode D2 can prevent the output terminal of the first interface circuit from being at the low level when the second output terminal of the input detection circuit 130 has the low level input, and the connection status of the first interface circuit is erroneously determined. When the first interface circuit 110 is not connected to the device, the first interface circuit 110 has no input, the transistor Q4 is in an off state, the collector level of the transistor Q4 is at a high level, and the corresponding first output terminal of the input detection circuit 130 outputs the high level. When the first interface circuit 110 is connected to the power supply device, the power input of the first interface circuit 110 is divided by the resistor R19 and the resistor R20 to drive the transistor Q4 to be turned on, at this time, the collector level of the transistor Q4 is pulled low, and the corresponding first output terminal of the input detection circuit 130 outputs a low level. When the first interface circuit 110 is connected to the first extension device, the first interface circuit 110 outputs a low level to keep the transistor Q4 in an off state, at this time, the collector level of the transistor Q4 is a high level, and the corresponding first output terminal of the input detection circuit 130 outputs a high level.
As shown in fig. 2, in an embodiment, the switching circuit 140 includes a switching transistor Q3, a transistor Q5, a diode D4, and a resistor R18; the first end of the switch tube Q3 is connected to the collector of the transistor Q5 and the anode of the diode D4 through the resistor R18, the cathode of the diode D4 is connected to the first interface circuit 110, the base of the transistor Q5 is connected to the first interface circuit 110, the emitter of the transistor Q5 is grounded, the second end of the switch tube Q3 is connected to the charging circuit 150 and the voltage conversion circuit 170, and the third end of the switch tube Q3 is connected to the first interface circuit 110. Specifically, when the first interface circuit 110 is connected to a power supply device, the transistor Q5 is turned on to drive the switch Q3 to be turned on, and at this time, the power input of the first interface circuit 110 supplies power to internal working circuits such as the charging circuit 150 through the switch Q3. When the first interface circuit 110 is connected to the first expansion device, the transistor Q5 is turned off, the cathode of the diode D4 is at a low level, and the switch Q3 is turned on, at this time, the output voltage of the voltage conversion circuit 170 is input to the first interface circuit 110 through the switch Q3, and is supplied to the first expansion device connected to the first interface circuit 110. When the power supply device or the first expansion device is not inserted, the switching tube Q3 is turned off, and the voltage is not output to the first interface circuit 110 even though the voltage conversion circuit 170 outputs the voltage. Optionally, the switching transistor Q3 includes a MOS transistor. The MOS transistor has a gate connected to the resistor R18, a source connected to the first interface circuit 110, and a drain connected to the charging circuit 150 and the voltage conversion circuit 170.
Alternatively, as shown in FIG. 4, the first interface circuit 110 is connected to connector J3; the fourth pin and the twenty-first pin of the connector J3 are connected to the third terminal of the switching tube Q3 and the first terminal of the resistor R19, and the fifth pin and the seventeenth pin of the connector J3 are connected to the cathode of the diode D3 and the cathode of the diode D2. The fourth pin and the twenty-first pin of the connector J3 are power supply pins, the first interface circuit 110 of the connector is used for outputting power when connected to a power supply device, the first interface circuit 110 is used for inputting power to supply power to a first expansion device when connected to the first expansion device, the fifth pin and the seventeenth pin of the connector J3 are device identification pins, the fifth pin and the seventeenth pin are high level when in a default state, and the fifth pin and the seventeenth pin are low level when the first interface circuit 110 is connected to the first expansion device. Wherein the connector J3 may be a TYPEC connector, which is connected to the adapter through a normal TYPE-C USB line, i.e. to the power supply device, and which is connected to the OTG device through a TYPE-C OTG USB line, i.e. to the first expansion device.
Optionally, as shown in fig. 4, in an embodiment, the power supply switching circuit of the present invention further includes a second interface circuit 120 for connecting a second expansion device; the second interface circuit 120 connects the control level output circuit 180 to the second terminal of the switch Q3, wherein the control level output circuit 180 is further configured to output a second control level when the second expansion device is accessed and the first detection level is not input. Specifically, the second interface circuit 120 is used to connect a second expansion device, i.e. a device without power supply function, and the control level output circuit 180 is connected to the second interface circuit 120, and when it is detected that the second interface circuit 120 is connected to a corresponding second expansion device, and at the same time, it does not have a first detection level input, i.e. when the device without power supply is accessed from the first interface circuit 110, it outputs a second control level. That is, when the second interface circuit 120 is connected to an external device, if no power is supplied from the external power source, the second control level drives the voltage conversion circuit 170 to turn on the voltage output, and the external device connected to the second interface circuit 120 is supplied with power through the voltage output. When the first interface circuit 110 is powered on by an external power source, the switch circuit 140 is turned on, and the voltage output from the switch circuit 140 can be used to supply power to the second interface circuit 120.
Optionally, as shown in fig. 5, the second interface circuit 120 includes a connector J4; the first pin and the second pin of the connector J4 are both connected to the second terminal of the switch tube Q3, and the eleventh pin of the connector J4 is connected to the control level output circuit 180. Specifically, the eleventh pin of the connector J4 is a power pin, which is used to provide power for the second expansion device connected to the connector J4, and is connected to the second end of the switching tube Q3, and it can supply power through the power supply device connected to the first interface circuit 110 when the first interface circuit 110 is connected to the power supply device, and can also supply power through the voltage conversion circuit when the first interface circuit 110 is not connected to the power supply device. The connector J4 may be a connector of the YWMX family, and may be a specific model of YWMX125 VS.
Optionally, as shown in fig. 2, the power supply switching circuit of the present invention further includes a connector J2 for connecting the control level output circuit 180, the input detection circuit 130, the first interface circuit 110, and the second interface circuit 120; the first pin of the connector J2 is connected to the anode of the diode D2, the fourth pin of the connector J2 is connected to the sixth pin and the eighteenth pin of the connector J3, the fifth pin of the connector J2 is connected to the seventh pin and the nineteenth pin of the connector J3, the eighth pin of the connector J2 is connected to the eighth pin of the connector J4, the ninth pin of the connector J2 is connected to the ninth pin of the connector J4, the tenth pin of the connector J2 is connected to the eleventh pin of the connector J4, and the eleventh pin of the connector J2 is connected to the collector of the transistor Q4. Specifically, the first interface circuit 110 and the second interface circuit 120 may perform signal transmission through the connector J2, for example, transmit data signals to the CPU circuit, and the first detection level and the second detection level output by the input detection circuit 130 may also be input to the control level output circuit 180 through the connector J2. It will also be appreciated that in one embodiment, the control level output circuit 180 is integrated with the CPU circuit, i.e., the CPU circuit is configured to receive the first detection level and the second detection level and output the first control level or the second control level accordingly. In yet another embodiment, the switch circuit 140 is also connected to the connector J2, and the voltage passing through the switch circuit 140 can also simultaneously power the CPU circuit through the connector J2.
As shown in fig. 5 and 6, in an embodiment, the voltage converting circuit 170 includes a switching unit, a filtering unit, a first transforming unit and a second transforming unit; the input end of the switch unit is connected with the rechargeable battery 160, the output end of the switch unit is connected with the input end of the first voltage transformation unit through the filter unit, the control end of the switch unit is connected with the control level output circuit 180, the output end of the first voltage transformation unit is connected with the input end of the second voltage transformation unit, the output end of the second voltage transformation unit is connected with the second end of the switch tube Q3, and the control end of the second voltage transformation unit is connected with the control level output circuit 180. Specifically, the switch unit is connected to the rechargeable battery 160 and the control level output circuit 180, and is turned on according to the control level of the control level output circuit 180, when the switch unit is turned on, the output voltage of the rechargeable battery 160 is subjected to filtering processing by the filtering unit and then subjected to first voltage transformation by the first voltage transformation unit, the primary voltage obtained after the primary voltage transformation is subjected to second voltage transformation processing by the second voltage transformation unit, wherein the second voltage transformation unit enables the output end of the second voltage transformation unit to have voltage transformation output through the control level output circuit 180, the voltage transformation output is connected to the second end of the switch tube Q3, and when the switch tube Q3 is turned on, the switch tube Q3 can supply power to the first interface circuit 110.
Optionally, the switching unit includes a switching tube Q1 and a transistor Q2, a second end of the switching tube Q1 is connected to the rechargeable battery 160, a third end of the switching tube Q1 is connected to the filtering unit, a first end of the switching tube Q1 is connected to a collector of the transistor Q2, a base of the transistor Q2 receives a driving level, and an emitter of the transistor Q2 is grounded; specifically, the transistor Q2 receives a driving level, which is a high level corresponding to the driving level to drive the transistor Q2 to conduct, and a control terminal, i.e., a first terminal, of the switch Q1 forms a corresponding driving level to drive the switch Q1 to conduct.
Further, the switching transistor Q1 is a MOS transistor, the gate of the MOS transistor Q1 is connected to the collector of the transistor Q2, the source is connected to the filtering unit, and the drain is connected to the rechargeable battery 160.
Optionally, the filtering unit includes a capacitor C2, a capacitor C3, a magnetic bead B1, and a magnetic bead B2, after the magnetic bead B1 and the magnetic bead B2 are connected in parallel, one end of the magnetic bead B1 is connected to the output end of the switch unit, the other end of the magnetic bead B2 is connected to the first voltage transformation unit, and two ends of the magnetic bead B1 are grounded via the capacitor C2 and the capacitor C3, respectively; specifically, the output voltage of the rechargeable battery 160 is filtered by a filter circuit formed by the capacitor C2, the capacitor C3, the magnetic bead B1 and the magnetic bead B2.
Optionally, the first transforming unit includes an inductor L1, a transforming chip U1, a diode D1, a resistor R2, and a resistor R3, a fifth pin and a fourth pin of the transforming chip U1 are connected to the first pin through an inductor L1, the first pin of the transforming chip U1 is connected to the anode of the diode D1, the cathode of the diode D1 is connected to the input terminal of the second transforming unit, the cathode of the diode D1 is grounded through a resistor R2 and a resistor R3 which are connected in series, and the third pin of the transforming chip U1 is connected to a series node of the resistor R2 and the resistor R3; the voltage transformation chip U1 may adopt SY7101ABC to perform preliminary voltage transformation on the output voltage of the rechargeable battery 160.
Optionally, the second transforming unit includes a transforming chip U2 and a resistor R4, a fifth pin of the transforming chip U2 is connected to the output terminal of the first transforming unit, a second pin of the transforming chip U2 is grounded, a fourth pin of the transforming chip U2 is connected to the control level output circuit 180, a fourth pin of the transforming chip U2 is grounded via a resistor R4, and a first pin of the transforming chip U2 is connected to the second terminal of the switching tube Q3. The transformer chip U2 can adopt SY6280 AAC. The fourth pin of the transformer chip U2 is also connected to the control level output circuit 180, and receives the control level to enable the output of the first pin, which is the output pin of the transformer chip U2. The output terminal is grounded and filtered through a capacitor C7 and a capacitor C8.
In addition, an electronic device of the present invention includes the power supply switching circuit as described in any one of the above. That is, the power supply switching circuit is provided in the electronic device, and when the electronic device is connected to the power supply device or the expansion device through the first interface circuit 110, the power supply of the internal circuit can be switched according to the device access condition.
It is to be understood that the foregoing examples, while indicating the preferred embodiments of the utility model, are given by way of illustration and description, and are not to be construed as limiting the scope of the utility model; it should be noted that, for those skilled in the art, the above technical features can be freely combined, and several changes and modifications can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention; therefore, all equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the claims of the present invention.

Claims (10)

1. A power supply switching circuit, comprising: the charging circuit is connected with the charging battery and is used for connecting a first interface circuit of power supply equipment or first expansion equipment; and
the input detection circuit is connected with the first interface circuit and is configured to output a first detection level through a first output end when the first interface circuit is accessed by the power supply equipment and output a second detection level through a second output end when the first interface circuit is accessed by the first expansion equipment;
a control level output circuit connected to the input detection circuit and configured to output a first control level when receiving the first detection level and a second control level when receiving the second detection level;
the voltage conversion circuit is connected with the rechargeable battery and the control level output circuit and used for switching off the voltage output when receiving the first control level and switching on the voltage output when receiving the second control level;
and the switching circuit is connected with the first interface circuit, the voltage conversion circuit and the charging circuit and is used for conducting when the first interface circuit is connected with the power supply equipment or the first extension equipment.
2. The power supply switching circuit according to claim 1, wherein the input detection circuit comprises a diode D2, a transistor Q4, a diode D3, a resistor R19, and a resistor R20;
the anode of the diode D2 is connected with the control level output circuit, and the cathode of the diode D2 is connected with the first interface circuit;
the collector of the triode Q4 is connected with the control level output circuit, the emitter of the triode Q4 is grounded, the base of the triode Q4 is connected with the anode of the diode D3, and the cathode of the diode D3 is connected with the first interface circuit;
the first end of the resistor R19 is connected to the first interface circuit, the second end of the resistor R19 is grounded via the resistor R20, and the second end of the resistor R19 is also connected to the base of the transistor Q4.
3. The power supply switching circuit according to claim 2, wherein the switching circuit comprises a switching tube Q3, a transistor Q5, a diode D4 and a resistor R18;
the first end of switch tube Q3 is connected the warp resistance R18 connect respectively triode Q5's collecting electrode with diode D4's positive pole, diode D4's negative pole is connected first interface circuit, triode Q5's base is connected first interface circuit, triode Q5's emitter ground, switch tube Q3's second end is connected the charging circuit with the voltage conversion circuit, switch tube Q3's third end is connected first interface circuit.
4. The power supply switching circuit of claim 3, wherein the first interface circuit comprises a connector J3;
the fourth pin and the twenty-first pin of the connector J3 are both connected to the third terminal of the switching tube Q3 and the first terminal of the resistor R19, and the fifth pin and the seventeenth pin of the connector J3 are both connected to the cathode of the diode D3 and the cathode of the diode D2.
5. The power supply switching circuit of claim 4, further comprising a second interface circuit for connecting a second expansion device;
the second interface circuit is connected to the control level output circuit and the second terminal of the switching tube Q3, wherein the control level output circuit is further configured to output the second control level when the second expansion device is connected and the first detection level input is not present.
6. The power supply switching circuit of claim 5, wherein the second interface circuit comprises a connector J4;
the first pin and the second pin of the connector J4 are both connected to the second end of the switch tube Q3, and the eleventh pin of the connector J4 is connected to the control level output circuit.
7. The power supply switching circuit according to claim 6, further comprising a connector J2 for connecting the control level output circuit, the input detection circuit, the first interface circuit, and the second interface circuit;
the first pin of the connector J2 is connected to the anode of the diode D2, the fourth pin of the connector J2 is connected to the sixth pin and the eighteenth pin of the connector J3, the fifth pin of the connector J2 is connected to the seventh pin and the nineteenth pin of the connector J3, the eighth pin of the connector J2 is connected to the eighth pin of the connector J4, the ninth pin of the connector J2 is connected to the ninth pin of the connector J4, the tenth pin of the connector J2 is connected to the eleventh pin of the connector J4, and the eleventh pin of the connector J2 is connected to the collector of the transistor Q4.
8. The power supply switching circuit according to claim 3, wherein the voltage conversion circuit includes a switching unit, a filtering unit, a first transforming unit and a second transforming unit;
the input end of the switch unit is connected with the rechargeable battery, the output end of the switch unit is connected with the input end of the first voltage transformation unit through the filter unit, the control end of the switch unit is connected with the control level output circuit, the output end of the first voltage transformation unit is connected with the input end of the second voltage transformation unit, the output end of the second voltage transformation unit is connected with the second end of the switch tube Q3, and the control end of the second voltage transformation unit is connected with the control level output circuit.
9. The power supply switching circuit according to claim 8, wherein the switching unit comprises a switching transistor Q1 and a transistor Q2, a second terminal of the switching transistor Q1 is connected to the rechargeable battery, a third terminal of the switching transistor Q1 is connected to the filtering unit, a first terminal of the switching transistor Q1 is connected to a collector of the transistor Q2, a base of the transistor Q2 receives a driving level, and an emitter of the transistor Q2 is grounded; and/or
The filtering unit comprises a capacitor C2, a capacitor C3, a magnetic bead B1 and a magnetic bead B2, wherein one end of the magnetic bead B1 is connected with the output end of the switch unit after being connected with the magnetic bead B2 in parallel, the other end of the magnetic bead B1 is connected with the first voltage transformation unit, and two ends of the magnetic bead B1 are grounded through the capacitor C2 and the capacitor C3 respectively; and/or
The first transformation unit comprises an inductor L1, a transformation chip U1, a diode D1, a resistor R2 and a resistor R3, a fifth pin and a fourth pin of the transformation chip U1 are connected with a first pin of the transformation chip U2 through the inductor L1, the first pin of the transformation chip U1 is connected with the anode of the diode D1, the cathode of the diode D1 is connected with the input end of the second transformation unit, the cathode of the diode D1 is grounded through the resistor R2 and the resistor R3 which are connected in series, and a third pin of the transformation chip U1 is connected with the series node of the resistor R2 and the resistor R3; and/or
The second transformation unit comprises a transformation chip U2 and a resistor R4, a fifth pin of the transformation chip U2 is connected with the output end of the first transformation unit, a second pin of the transformation chip U2 is grounded, a fourth pin of the transformation chip U2 is connected with the control level output circuit, a fourth pin of the transformation chip U2 is grounded through the resistor R4, and a first pin of the transformation chip U2 is connected with a second end of the switch tube Q3.
10. An electronic device characterized by comprising the power supply switching circuit according to any one of claims 1 to 9.
CN202122044658.0U 2021-08-27 2021-08-27 Power supply switching circuit and electronic equipment Active CN215817599U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122044658.0U CN215817599U (en) 2021-08-27 2021-08-27 Power supply switching circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122044658.0U CN215817599U (en) 2021-08-27 2021-08-27 Power supply switching circuit and electronic equipment

Publications (1)

Publication Number Publication Date
CN215817599U true CN215817599U (en) 2022-02-11

Family

ID=80152399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122044658.0U Active CN215817599U (en) 2021-08-27 2021-08-27 Power supply switching circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN215817599U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115756133A (en) * 2022-11-03 2023-03-07 南京微智新科技有限公司 Output power supply circuit and electronic equipment that intelligence switches

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115756133A (en) * 2022-11-03 2023-03-07 南京微智新科技有限公司 Output power supply circuit and electronic equipment that intelligence switches

Similar Documents

Publication Publication Date Title
CN103208822A (en) Universal serial bus (USB) charging control circuit
CN104239240A (en) Electronic device with universal serial bus (USB) interface with integration function
CN215817599U (en) Power supply switching circuit and electronic equipment
CN103455121A (en) Universal serial bus (USB) power supply control circuit
CN203368616U (en) Automatic power supply system based on HDMI interfaces
CN103176922A (en) Universal serial bus (USB) identification circuit
US11128126B2 (en) Internal voltage-canceling circuit and USB device using the same
CN104238706A (en) Power adjusting device
CN109327061A (en) A kind of battery feed circuit
CN202257555U (en) USB (Universal Serial Bus) terminal
CN211831031U (en) Network switching circuit
CN214069570U (en) Overcurrent protection system for high-voltage direct-current constant-current input
CN103164008A (en) Complementary metal oxide semiconductor (CMOS) password eliminating circuit
CN220584677U (en) TTL communication adapter of protection type sensor
CN206686066U (en) Frequency converter digital signal input end and frequency converter
CN215526402U (en) Voltage switching circuit of electronic equipment master-slave mode
CN217825279U (en) Earphone line sequence switching circuit, chip and converter
CN216162615U (en) Active remote signaling anti-parallel conflict circuit
CN214069574U (en) Overvoltage protection system for high-voltage direct-current constant-current input
CN215499656U (en) LED color temperature switching circuit and LED power supply
CN101379702B (en) Method and structure for forming signal level converter
CN220570347U (en) One drags many quick charge circuit and wire rod
CN113054723B (en) Electric screwdriver and charging circuit thereof
CN221042653U (en) Isolation driving circuit and switching power supply
CN103535111A (en) Power supply circuit and wireless network card

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant