CN115207997A - Power supply system, control method and power supply equipment - Google Patents

Power supply system, control method and power supply equipment Download PDF

Info

Publication number
CN115207997A
CN115207997A CN202110400019.5A CN202110400019A CN115207997A CN 115207997 A CN115207997 A CN 115207997A CN 202110400019 A CN202110400019 A CN 202110400019A CN 115207997 A CN115207997 A CN 115207997A
Authority
CN
China
Prior art keywords
power supply
power
switch
voltage
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110400019.5A
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.)
Sunny Optical Zhejiang Research Institute Co Ltd
Original Assignee
Sunny Optical Zhejiang Research Institute 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 Sunny Optical Zhejiang Research Institute Co Ltd filed Critical Sunny Optical Zhejiang Research Institute Co Ltd
Priority to CN202110400019.5A priority Critical patent/CN115207997A/en
Publication of CN115207997A publication Critical patent/CN115207997A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00045Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application relates to a power supply system, a control method and power supply equipment, the power supply system comprises a physical interface, and a power supply system electrically connected with the physical interface, the power supply system comprises a main control module, a power management module, a battery unit, a first one-way switch module and a battery power supply switch module, the main control module is respectively electrically connected with the power management module, the first one-way switch module and the battery power supply switch module, the power management module is respectively electrically connected with the physical interface and the battery unit, the power input end of the first one-way switch module is electrically connected with the power input/output port of the power management module, the power input end of the battery power supply switch module is electrically connected with the battery unit, and the power output ends of the first one-way switch module and the battery power supply switch module are both electrically connected with the physical interface. Through the method and the device, the problem that the portable terminal cannot output power at high power in the related art is solved, and the compatible USB Type-C standard is realized to output power at high power and supply power at high efficiency.

Description

Power supply system, control method and power supply equipment
Technical Field
The present application relates to the field of power supply technologies for portable devices, and in particular, to a power supply system, a control method, and a power supply device.
Background
The USB Type-C has the most extensive application due to the advantages of exquisite and thin interface, unified specification, capability of supporting positive and negative insertion, high signal speed, high-power transmission of a power supply and the like. When the USB Type-C interface of the mobile phone is connected with external equipment, the USB Type-C interface can supply power to the equipment and simultaneously transmit data through a simple single cable, so that rich functions are realized.
In the related art, a portable wearable device is used as an external device, for example: AR glasses, to which external devices are supplied with power from a portable terminal when connected through a USB Type-C interface of the portable terminal, for example: the mobile phone supplies power to the AR glasses. However, the portable wearable device is a high-power electric device, and when the portable wearable device uses electricity, the maximum peak current can reach 3A, and in addition, the portable terminal is affected by various adverse effects such as volume, conversion efficiency, heat generation and the like, so that it is difficult to output the portable wearable device with high power, and the requirement of the portable wearable device for high-power electricity cannot be met.
Aiming at the problem that the portable terminal cannot output and supply power at high power in the related art, no effective solution is provided at present.
Disclosure of Invention
The embodiment provides a power supply system, a control method and a power supply device, so as to solve the problem that the portable terminal in the related art cannot perform high-power output power supply.
In a first aspect, a power supply system is provided in this embodiment, which includes a physical interface, and a power supply system electrically connected to the physical interface, where the power supply system includes a main control module, a power management module, a battery unit, a first unidirectional switch module, and a battery power switch module, the main control module is electrically connected to the power management module, the first unidirectional switch module, and the battery power switch module, the power management module is electrically connected to the physical interface and the battery unit, a power input end of the first unidirectional switch module is electrically connected to a power input/output port of the power management module, a power input end of the battery power switch module is electrically connected to the battery unit, power output ends of the first unidirectional switch module and the battery power switch module are electrically connected to the physical interface, where the power management module is configured to obtain a power supply protocol corresponding to an external device electrically connected to the physical interface, and select a power supply channel corresponding to the external device, where one of the following power supply channels are selected according to the power supply protocol: the first power supply channel is composed of the battery unit, the power management module, the first one-way switch module and the physical interface, and the battery power supply channel is composed of the battery unit, the battery power supply switch module and the physical interface; the main control module is used for acquiring the power supply protocol and correspondingly controlling the on-off of the first one-way switch module and the battery power supply switch module according to the power supply protocol.
In some embodiments, the power supply system further includes a charging switch module, where the charging switch module is electrically connected to the main control module, a power input end of the charging switch module is electrically connected to the physical interface, and a power output end of the charging switch module is electrically connected to the power input/output port of the power management module, where the power management module is configured to obtain a power supply type corresponding to an external device electrically connected to the physical interface, and select a charging channel or a power supply channel corresponding to the external device according to the power supply type, where the charging channel includes a charging path formed by the physical interface, the charging switch module, and the power management module, and is configured to charge the battery unit, and the power supply channel includes one of the first power supply channel and the battery power supply channel; the main control module is used for correspondingly controlling the on-off of the first one-way switch module, the battery power supply switch module and the charging switch module.
In some embodiments, the charging switch module, the first unidirectional switch module, and the battery-powered switch module each include a controlled switch branch, a comparison unit, a logic control unit, and a switch driving unit, where the controlled switch branch includes a first input end, a first controlled end, and a first output end, the first input end is electrically connected to the corresponding power input end, the first output end is electrically connected to the corresponding power output end, the first controlled end is electrically connected to the output end of the switch driving unit, a positive input end and a negative input end of the comparison unit are electrically connected to the corresponding power output end and the power input end, respectively, an output end of the comparison unit is electrically connected to one of two control ports of the logic control unit, the other control port of the logic control unit is further electrically connected to the main control module, an output end of the logic control unit is electrically connected to the controlled input end of the switch driving unit, and input ends of the switch driving unit are electrically connected to the corresponding power input end and power output end, respectively, where the controlled switch branch is used for switching on and off according to a voltage difference between one of the first input end and the first controlled end and a first preset threshold, and the first input end is corresponding to on and the first output end; the comparison unit is used for generating and outputting a corresponding first logic control level according to the voltage difference between the power supply output end and the negative input end and a second preset threshold value; the logic control unit is used for generating and outputting a corresponding switch control signal according to whether the received first logic control level and the second logic control level sent by the main control module are both preset levels; the switch driving unit is used for receiving the switch control signal, transmitting the maximum voltage of the power output end and the voltage of the power input end to the first controlled end when the voltage of the switch control signal is a first preset voltage value, and transmitting the voltage with the voltage difference of the power input end being a set value to the first controlled end when the voltage of the switch control signal is a second preset voltage value.
In some embodiments, the controlled switch branch includes two voltage-controlled switch units, an input end of one of the two voltage-controlled switch units is electrically connected to the first input end, an output end of the one of the two voltage-controlled switch units is electrically connected to an output end of the other voltage-controlled switch unit, an input end of the other voltage-controlled switch unit is electrically connected to the first output end, and controlled ends of the two voltage-controlled switch units are both electrically connected to the first controlled end, wherein when a voltage difference between a controlled end and an input end of each voltage-controlled switch unit is greater than the first preset threshold, the corresponding voltage-controlled switch unit is turned on, and the first input end is communicated with the first output end; when the voltage difference between the controlled end and the input end of each voltage-controlled switch unit is not greater than the first preset threshold, the corresponding voltage-controlled switch unit is disconnected, and the first input end and the first output end are disconnected.
In some embodiments, each of the voltage-controlled switch units includes a P-channel MOS transistor and a parasitic diode, a drain of the P-channel MOS transistor is electrically connected to the power input terminal or the power output terminal, a gate of the P-channel MOS transistor is electrically connected to the output terminal of the switch driving unit, and a source of each of the P-channel MOS transistors is butted; the anode of the parasitic diode is electrically connected with the drain electrode of the P-channel MOS tube, and the cathode of the parasitic diode is electrically connected with the source electrode of the P-channel MOS tube, wherein the parasitic diode is used for forward biasing the voltage of the drain electrode of the P-channel MOS tube to the source electrode of the P-channel MOS tube; when the voltage difference between the grid electrode and the source electrode of the P-channel MOS tube is larger than the first preset threshold value, the P-channel MOS tube is conducted, and the corresponding voltage-controlled switch unit is conducted; and when the voltage difference between the grid electrode and the source electrode of the P-channel MOS tube is not greater than the first preset threshold value, the P-channel MOS tube is cut off, and the corresponding voltage-controlled switch unit is disconnected.
In some embodiments, the comparison unit includes a comparison amplifier, the comparison amplifier includes a same-direction input end, an inverse-direction input end, and a comparison output end, the same-direction input end and the inverse-direction input end are respectively connected to the positive input end and the negative input end, and the comparison output end is electrically connected to one of two control ports of the logic control unit, where the comparison amplifier is configured to output the first logic control level of a low level when a voltage difference between the same-direction input end and the inverse-direction input end is greater than the second preset threshold, and output the first logic control level of the preset level when the voltage difference between the same-direction input end and the inverse-direction input end is not greater than the second preset threshold.
In some embodiments, the logic control unit includes an and gate circuit, the and gate circuit includes two second input ends and one second output end, one of the two second input ends is electrically connected to the output end of the comparison unit, the other second input end is electrically connected to the main control module, and the second output end is electrically connected to the controlled input end of the switch driving unit, where the and gate circuit is configured to output the switch control signal whose voltage is the second preset voltage value along the second output end when the first logic control level and the second logic control level respectively received by the two second input ends are both the preset levels, and output the switch control signal whose voltage is the first preset voltage value along the second output end when at least one of the first logic control level and the second logic control level is not the preset level.
In some embodiments, the switch driving unit includes a first diode, a second diode, a first switch tube, a second switch tube, and a zener diode, the first switch tube includes a third input end, a third controlled end, and a third output end, the second switch tube includes a fourth input end, a fourth controlled end, and a fourth output end, the third input end is respectively connected with cathodes of the first diode, the second diode, and the zener diode, the third controlled end is respectively electrically connected with the fourth input end and the first resistor, the third output end is respectively electrically connected with an anode of the zener diode and the second resistor, and is connected with an output end of the switch driving unit, anodes of the first diode and the second diode are respectively connected with two input ends of the switch driving unit, the other end of the first resistor is electrically connected with the first power source, the fourth controlled end is electrically connected with the controlled input end of the switch driving unit, the fourth output end is electrically connected with the other end of the second resistor, and is connected to ground,
when the fourth controlled end of the second switch tube receives the switch control signal with the voltage of the first preset voltage value, the second switch tube is turned off, the first switch tube is turned on, and the switch driving unit outputs the maximum voltage of the voltages of the two input ends of the switch driving unit along the third output end and transmits the maximum voltage to the first controlled end;
when the fourth controlled end of the second switch tube receives the switch control signal with the voltage of the second preset voltage value, the second switch tube is switched on, the first switch tube is switched off, and the output end of the switch driving unit outputs the voltage of the anode of the voltage stabilizing diode and transmits the voltage to the first controlled end.
In some of these embodiments, the power management module comprises: the booster circuit is electrically connected with the battery unit and the first unidirectional switch module and used for converting the voltage provided by the battery unit into a preset voltage and supplying power to the external equipment; and the voltage reduction circuit is electrically connected with the battery unit and the charging switch module and is used for reducing the voltage provided by the external equipment and charging the battery unit.
In some embodiments, the power supply system further includes a protocol processing module, and the power management module is electrically connected to the main control module and the physical interface through the protocol processing module, where the protocol processing module is configured to communicate with the external device and identify a power supply type and a power supply protocol corresponding to the external device.
In a second aspect, in this embodiment, there is provided a power supply control method including the power supply system of the first aspect, the power supply control method including: the power management module acquires a power supply protocol corresponding to the external equipment electrically connected with the physical interface, and selects a power supply channel corresponding to the external equipment, wherein the power supply channel is one of the following power supply channels according to the power supply protocol: the first power supply channel and the battery power supply channel, wherein the power supply protocol comprises power supply parameters related to the external equipment;
the main control module acquires the power supply protocol transmitted by the power management module, and correspondingly controls the on-off of the first one-way switch module and the battery power supply switch module according to the power supply protocol, so that the corresponding power supply channel is switched on and supplies power to the external equipment.
In some embodiments, the power protocol includes a voltage required by the external device and uses a non-battery power, and the power control method includes:
the power supply management module determines that the first power supply channel is a power supply channel corresponding to the external equipment according to the power supply protocol;
the main control module correspondingly controls the first one-way switch module to be conducted according to the power supply protocol, so that the first power supply channel is opened and the external equipment is powered.
In some embodiments, the power protocol includes a voltage required by the external device and power is supplied using a battery, and the power control method includes: the power supply management module determines the battery power supply channel as a power supply channel corresponding to the external equipment according to the power supply protocol; and the main control module correspondingly controls the conduction of the battery power supply switch module according to the power supply protocol, so that the battery power supply channel is opened and supplies power to the external equipment.
In some embodiments, the power supply system further includes a charging switch module, the charging switch module is electrically connected to the main control module, a power input end of the charging switch module is electrically connected to the physical interface, and a power output end of the charging switch module is electrically connected to the power input/output port of the power management module, and the power supply control method includes: the power management module acquires a power supply type corresponding to an external device electrically connected with the physical interface, wherein the power supply type comprises a charging type and a power utilization type; the power supply management module selects a charging channel or a power supply channel corresponding to the external equipment according to the power supply type, wherein the charging channel comprises a charging path formed by the physical interface, the charging switch module and the power supply management module; when the power management module selects the charging channel according to the power supply type, the power management module acquires a charging protocol corresponding to the external equipment and starts a preset charging path of the external equipment, wherein the charging protocol comprises voltage provided by the external equipment; the main control module obtains the charging protocol, correspondingly controls the charging switch module to be conducted according to the charging protocol, so that the charging channel is opened, and the voltage provided by the external equipment is charged to the battery unit through the charging switch module and the charging passage.
In a third aspect, in this embodiment, there is provided a power supply device, including a power supply system, where the power supply system is electrically connected to an external device through a physical interface, and is used to supply power to the external device or charge the power supply device through the external device, and the power supply system includes the power supply system of the first aspect.
Compared with the prior art, the embodiment provides the power supply system, the control method and the power supply equipment, the power supply system controls the corresponding power supply channel to be gated for the external equipment through the first power supply channel and the battery power supply channel and controls the first one-way switch module and the battery power supply switch module to be turned on or turned off through the cooperation of the power management module and the main control module, so that the corresponding power supply channel supplies power to the external equipment according to a power supply protocol, the problem that the portable terminal cannot output and supply power at high power in the prior art is solved, and the compatibility with the USB Type-C standard, high-power output and high-efficiency power supply are realized.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a power supply system according to an embodiment of the present application;
FIG. 2 is a first block diagram of a power supply system according to a preferred embodiment of the present application;
FIG. 3 is a block diagram of a second embodiment of the power supply system according to the present application;
FIG. 4 is a topological block diagram of a unidirectional switch module according to an embodiment of the present application;
FIG. 5 is another topology block diagram of a unidirectional switch module consistent with embodiments of the present application;
fig. 6 is a flowchart of a charging control method according to an embodiment of the present application.
Detailed Description
For a clearer understanding of the objects, technical solutions and advantages of the present application, reference is made to the following description and accompanying drawings.
Unless defined otherwise, technical or scientific terms used herein shall have the same general meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The use of the terms "a" and "an" and "the" and similar referents in the context of this application do not denote a limitation of quantity, either in the singular or the plural. The terms "comprises," "comprising," "has," "having," and any variations thereof, as referred to in this application, are intended to cover non-exclusive inclusions; for example, a process, method, and system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or modules, but may include other steps or modules (elements) not listed or inherent to such process, method, article, or apparatus. Reference throughout this application to "connected," "coupled," and the like is not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference to "a plurality" in this application means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. In general, the character "/" indicates a relationship in which the objects associated before and after are an "or". The terms "first," "second," "third," and the like in this application are used for distinguishing between similar items and not necessarily for describing a particular sequential or chronological order.
The present embodiment provides a power supply system, and fig. 1 is a block diagram of a power supply system according to an embodiment of the present application, and as shown in fig. 1, the power supply system includes: the physical interface 100, a power supply system electrically connected with the physical interface 100, the power supply system includes a main control module 200, a power management module 400, a battery unit 500, a first unidirectional switch module 700 and a battery power supply switch module 800, the main control module 200 is electrically connected with the power management module 400, the first unidirectional switch module 700 and the battery power supply switch module 800 respectively, the power management module 400 is electrically connected with the physical interface 100 and the battery unit 500 respectively, a power input end (VIN 1) of the first unidirectional switch module 700 is electrically connected with a power input/output port of the power management module 400 (an input port and an output port of the power management module 400 are set as the same pin of a power management PMIC), a power input end (VIN 2) of the battery power supply switch module 800 is electrically connected with the battery unit 500, power output ends (corresponding to VOUT1 and VOUT2 respectively) of the first unidirectional switch module 700 and the battery power supply switch module 800 are electrically connected with the physical interface 100, wherein,
the physical interface 100 is used for electrically connecting with an external device, in the present embodiment, the physical interface 100 includes but is not limited to a USB Type-C interface, and the external device includes a charging device, such as: charger, portable power source still include consumer, and at this moment, by the power supply unit who sets up the power supply system of this embodiment for the consumer power supply, for example: when the power supply equipment is a mobile phone, the external equipment can be portable wearable equipment, such as: AR glasses.
The power management module 400 is configured to obtain a power supply protocol corresponding to an external device electrically connected to the physical interface 100, and select a power supply channel corresponding to the external device, which is one of the following channels according to the power supply protocol: a first power supply channel (refer to L1 in fig. 1) composed of the battery unit 500, the power management module 400, the first unidirectional switch module 700, and the physical interface 100, and a battery power supply channel (refer to L2 in fig. 1) composed of the battery unit 500, the battery power supply switch module 800, and the physical interface 100.
In this embodiment, the power management module 400 determines the role of the power supply of the external device, and negotiates the power supply voltage and power provided or required by the external device by obtaining the power supply protocol of the external device connected to the physical interface 100; in this embodiment, the power management module 400 determines a power role of an external device connected to the physical interface 100, negotiates a power voltage and a power, and then transmits a determination result and a negotiation result to the main control module 200.
In this embodiment, the power supply protocol acquired by the power management module 400 is a protocol added to the protocol in the prior art, where the added protocol content includes: the terminal (for example, a mobile phone) with the terminal power supply system of the embodiment provides description and broadcast of the battery power supply capacity, and comprises the following components: the power supply voltage (battery voltage range, such as 3.6V-4.3V), the current capability (such as 5A), and the electric equipment selects whether to use the battery for power supply, wherein the added protocol content is realized by adding the protocol content on the original protocol physical channel. In this embodiment, the existing protocol includes, but is not limited to, the USB TYPE-C specification.
In this embodiment, the power management module 400 turns on the corresponding power channels (corresponding to L1 and L2) according to the corresponding power role determination of the external device, and provides the voltage required in the power negotiation. Of course, the power parameters required in the power negotiation include, but are not limited to, voltage, for example, current, output power, and whether to directly power the battery unit 500.
The main control module 200 is configured to obtain a power supply protocol, and correspondingly control the on/off of the first unidirectional switch module 700 and the battery power supply switch module 800 according to the power supply protocol.
In this embodiment, the main control module 200 determines that the first unidirectional switch module 700 and the battery-powered switch module 800 need to be controlled, and then determines to control the first unidirectional switch module 700 or the battery-powered switch module 800 according to whether the battery unit 500 is used for directly supplying power in the power supply protocol, for example: when the power supply protocol includes a protocol content for directly supplying power by using the battery unit 500, the main control module 200 determines the battery power supply switch module 800.
In the present embodiment, the power supply device that supplies power to the external device includes a terminal and a portable device having the power supply system in the present embodiment.
In this embodiment, the main control module 200 controls different switch modules to be turned ON or off according to different situations such as whether the power supply device is connected to the external device, the type of the external device, whether the external device needs to be powered by a battery, and the like, so as to select a proper power supply channel, and when the main control module 200 outputs an ON signal, the corresponding switch module is turned ON; when the main control module 200 outputs an OFF signal, the corresponding switch module is turned OFF; the power supply channel associated with the first unidirectional switch module 700 is a first power supply channel when the external connection electric equipment is initially powered on and started and the electric equipment requires to use non-battery power supply; the power channel associated with the battery powered switch module 800 is a battery powered channel when the external connected electrical device requires power from a battery.
The power supply system of the embodiment controls the corresponding power supply channel to be gated by the external equipment through the first power supply channel and the battery power supply channel, controls the first one-way switch module and the battery power supply switch module to be opened or closed, and enables the corresponding power supply channel to supply power to the external equipment according to the power supply protocol.
It should be noted that, the power supply system of the embodiment of the present application further has the following beneficial effects: can provide larger power output; the device has the advantages of high efficiency, and no additional increase of power loss and heat due to conversion efficiency; the mobile device is beneficial to space saving, heat dissipation, high reliability and good universality, and is compatible with the original USB Type-C standard.
Fig. 2 is a first block diagram of a power supply system according to a preferred embodiment of the present application, and as shown in fig. 2, the power supply system includes: the physical interface 100, a power system electrically connected with the physical interface 100, the power system includes a main control module 200, a power management module 400, a battery unit 500, a charging switch module 600, a first unidirectional switch module 700 and a battery power switch module 800, the main control module 200 is electrically connected with the power management module 300, the first unidirectional switch module 700, the battery power switch module 800 and the charging switch module 600 respectively, a power input end of the charging switch module 600 is electrically connected with the physical interface 100, a power output end (VOUT 3) of the charging switch module 600 is electrically connected with a power input/output port of the power management module 400, a power input end (VIN 1) of the first unidirectional switch module 700 is electrically connected with a power input/output port of the power management module 400, a power input end (VIN 2) of the battery power switch module 800 is electrically connected with the battery unit 500, power output ends (corresponding to VOUT1 and VOUT2 respectively) of the first unidirectional switch module 700 and the battery power switch module 800 are electrically connected with the physical interface 100 and the power input end (VIN 3) of the charging switch module 600 respectively, wherein,
the power management module 400 is configured to obtain a power supply type and a power supply protocol corresponding to an external device electrically connected to the physical interface, select a charging channel (refer to L3 in fig. 2) or a power supply channel (refer to L1 and L2 in fig. 2) corresponding to the external device according to the power supply type, and select one of the power supply channels (L1 and L2) according to the power supply protocol, where the charging channel includes a charging path formed by the physical interface 100, the charging switch module 600, and the power management module 400, and is configured to charge the battery unit, and the power supply channel includes one of a first power supply channel and a battery power supply channel.
In this embodiment, the power management module 400 correspondingly turns on the charging channel (corresponding to L3) or the power supply channel (corresponding to L1, L2) according to the corresponding power role determination (determining whether the external device is a charging device or an electric device), and provides the voltage required in the power negotiation. Of course, the power parameters required in the power negotiation include, but are not limited to, voltage, for example, current, output power, and whether to directly power the battery unit 500.
In this embodiment, the power management module 400 selects a charging channel (refer to L3 in fig. 2) and a selected power channel (refer to L1 and L2 in fig. 2) according to different power types; when the power supply type corresponds to the external device being a power-consuming device, the power management module 400 selects a first power supply channel and a battery power supply channel, and then selects the first power supply channel (refer to L1 in fig. 2) or the battery power supply channel (refer to L2 in fig. 2) according to whether the power supply protocol directly supplies power by using the battery unit 500, for example: when the power supply protocol has protocol content directly supplied by using the battery unit 500, the power management module 400 determines that the power channel is a battery power channel (refer to L2 in fig. 2); when the external device corresponding to the power supply type is a charging device, the power management module 400 selects a charging channel (refer to L3 in fig. 2), and charges the battery unit 500 by using the external device to supply power.
The main control module 200 is used for correspondingly controlling the on/off of the first unidirectional switch module 700, the battery power supply switch module 800 and the charging switch module 600.
In this embodiment, the main control module 200 controls different switch modules to be turned ON or off according to different situations, such as whether the power supply device is connected to an external device, the type of the external device, and whether the external device needs to be powered by a battery, so as to select a proper power supply channel, and when the main control module 200 outputs an ON signal, the corresponding switch module is turned ON; when the main control module 200 outputs an OFF signal, the corresponding switch module is turned OFF; the power supply channel associated with the charging switch module 600 is a charging channel for externally connecting a charger and charging the power supply device; a power supply channel associated with the first unidirectional switch module 700 is a first power supply channel when the external connection electric equipment is initially powered on and started and the electric equipment requires to use non-battery power supply; the power channel associated with the battery powered switch module 800 is a battery powered channel when the external connected electrical device requires power from a battery.
Fig. 3 is a block diagram of a second configuration of the power supply system according to the preferred embodiment of the present application, and as shown in fig. 3, the power supply system further includes a protocol processing module 300, and a power management module 400 is electrically connected to the main control module 200 and the physical interface 100 through the protocol processing module 300, where the protocol processing module 300 is configured to communicate with an external device and identify a power supply type and a power supply protocol corresponding to the external device.
In this embodiment, the protocol processing module 300 is configured to process communication with an external device, so as to implement determination of a power role corresponding to the external device, and negotiation of a power supply voltage and a power provided or required by the external device; in this embodiment, after the protocol processing module 300 determines the power role of the external device connected to the physical interface 100 and negotiates the power voltage and the power, the determination result and the negotiation result are transmitted to the power management module 400 and the main control module 200.
In this embodiment, the protocol processing module 300 adds protocol contents to an existing protocol, where the added protocol contents include: the terminal (for example, a mobile phone) with the terminal power supply system of the embodiment provides description and broadcast of the battery power supply capacity, and comprises the following components: the power supply voltage (battery voltage range, such as 3.6V-4.3V), the current capability (such as 5A), and the electric equipment selects whether to use the battery for power supply, wherein the added protocol content is realized by adding the protocol content on the original protocol physical channel (CC channel) of the USB Type-C.
It should be noted that, in some optional embodiments, the protocol processing module 300 may also be integrated in the CPU processor of the power management module 400 or the main control module 200, and by integrating the protocol processing module 300, the circuit structure of the power supply system may be simplified, and the space of the motherboard required by the layout design may be saved.
Fig. 4 is a topology structure diagram of a unidirectional switch module according to an embodiment of the present disclosure, as shown in fig. 4, in some embodiments of the unidirectional switch module, the charging switch module 600, the first unidirectional switch module 700, and the battery power supply switch module 800 each include a controlled switch branch 61, a comparison unit 62, a logic control unit 63, and a switch driving unit 64, where the controlled switch branch 61 includes a first input end, a first controlled end, and a first output end, the first input end is electrically connected to a corresponding power input end (VIN), the first output end is electrically connected to a corresponding power output end (VOUT), the first controlled end is electrically connected to an output end of the switch driving unit 64, a positive input end and a negative input end of the comparison unit 62 are respectively electrically connected to a corresponding power output end (VOUT) and power input end (VIN), an output end of the comparison unit 62 is electrically connected to one of two control ports of the logic control unit 63, another control port of the logic control unit 63 is further electrically connected to the main control module 200, an output end of the logic control unit 63 is electrically connected to a controlled input end of the switch driving unit 64, and two input ends of the switch driving unit are respectively electrically connected to a corresponding power input end and a power output end. In this embodiment, when the unidirectional switch module is operated,
the controlled switch branch 61 correspondingly controls the on/off of the first input end and the first output end according to the voltage difference between one of the first input end and the first output end of the controlled switch branch 61 and the first controlled end thereof and the first preset threshold value.
In this embodiment, the controlled switch branch 61 is configured to turn on the controlled switch branch 61 and turn on the corresponding unidirectional switch module when there is a voltage difference (greater than zero) between the first input terminal or the first output terminal and the first controlled terminal, and turn off the controlled switch branch 61 and turn off the corresponding unidirectional switch module when there is no voltage difference or negative voltage difference between the first input terminal or the first output terminal and the first controlled terminal.
Specifically, when the voltage difference between the first input terminal or the first output terminal and the first controlled terminal is greater than a first preset threshold, it indicates that a conduction voltage difference exists between the first input terminal or the first output terminal and the first controlled terminal, at this time, the controlled switch branch circuit 61 is turned on, and meanwhile, when the voltage difference between the first input terminal or the first output terminal and the first controlled terminal is greater than the first preset threshold, the first controlled terminal receives a voltage lower than the voltage of the first input terminal (corresponding to the power input voltage), at this time, it is implied that the voltage of the first output terminal (corresponding to the power output voltage) is not higher than the voltage of the first input terminal (corresponding to the power input voltage), and the voltage of the first output terminal is higher than the voltage of the first controlled terminal; when the voltage difference between the first input terminal or the first output terminal and the first controlled terminal is smaller than the first preset threshold, it indicates that there is no voltage difference between the first input terminal or the first output terminal and the first controlled terminal, at this time, the controlled switch branch 61 is turned off, and meanwhile, when the voltage difference between the first input terminal or the first output terminal and the first controlled terminal is smaller than the first preset threshold, the first controlled terminal receives the maximum voltage of the voltage (corresponding to the power input voltage) of the first input terminal and the voltage of the first output terminal, so there is no voltage difference or negative voltage difference between the first input terminal or the first output terminal and the first controlled terminal. In a specific embodiment, the first preset threshold is set to zero volts.
The comparing unit 62 generates and outputs a corresponding first logic control level according to the voltage difference between the power output terminal and the power input terminal and the second preset threshold.
In this embodiment, the comparing unit 62 is configured to compare the voltage at the power input end with the voltage at the power output end, where when a voltage difference between the voltage at the power input end and the voltage at the power output end is greater than a second preset threshold, it indicates that the voltage at the power output end is not higher than the voltage at the power input end, and at this time, the comparing unit 62 outputs a first logic control level of a preset level (high level); when the voltage difference between the voltage at the power input end and the voltage at the power output end is smaller than the second preset threshold, it indicates that the voltage at the power output end is higher than the voltage at the power input end, and at this time, the comparing unit 62 outputs the first logic control level of low level.
The logic control unit 63 is configured to generate and output a corresponding switch control signal according to whether the received first logic control level and the second logic control level sent by the main control module 200 are both preset levels (high levels).
In this embodiment, when any one of the first logic control level sent by the comparing unit 62 and the second logic control level sent by the main control module 200 is a low level, the logic control unit 63 outputs a switch control signal with a voltage value of a first preset voltage value (low level); when the first logic control level sent by the comparing unit 62 and the second logic control level sent by the main control module 200 are both preset levels (high levels), the logic control unit 63 outputs a switch control signal with a voltage value of the second preset voltage value (high levels).
The switch driving unit 64 receives the switch control signal, transmits the maximum voltage of the power input terminal and the voltage of the power output terminal to the first controlled terminal when the voltage of the switch control signal is a first preset voltage value, and sets the voltage difference with the power input terminal to a set value (V) when the voltage of the switch control signal is a second preset voltage value M ) Is transmitted to the first controlled terminal (corresponding to the voltage at the input terminal of the power supply minus the set value).
In the present embodiment, when the switch driving unit 64When the voltage of the received switch control signal is a first preset voltage value (low level), the switch driving unit 64 outputs a higher voltage of the voltage at the power input end and the voltage at the power output end, and at this time, no voltage difference or negative voltage difference exists between the first input end or the first output end and the first controlled end, and the controlled switch branch 61 is closed; when the voltage of the switch control signal received by the switch driving unit 64 is a second preset voltage value (high level), the switch driving unit 64 outputs a lower voltage than the power input terminal by a set value (V) M ) At this time, the voltage of the first output end is not higher than the voltage of the first input end and is higher than the voltage received by the first controlled end, a conduction voltage exists between the first input end or the first output end and the first controlled end, and the controlled switch branch 61 is conducted.
In the present embodiment, a low level is equivalent to an OFF signal and a low level can be represented by 0, a high level is equivalent to an ON signal and a high level can be represented by a digital 1.
In some embodiments, referring to fig. 4, the controlled switch branch 61 includes two voltage-controlled switch units, an input terminal of one of the two voltage-controlled switch units is electrically connected to the first input terminal, an output terminal of the one of the two voltage-controlled switch units is electrically connected to an output terminal of the other voltage-controlled switch unit, an input terminal of the other voltage-controlled switch unit is electrically connected to the first output terminal, controlled terminals of the two voltage-controlled switch units are electrically connected to the first controlled terminal, wherein,
when the voltage difference between the controlled end and the input end of each voltage-controlled switch unit is greater than a first preset threshold value, the corresponding voltage-controlled switch unit is conducted, and the first input end is communicated with the first output end;
when the voltage difference between the controlled end and the input end of each path of voltage control switch unit is not larger than a first preset threshold value, the corresponding voltage control switch unit is disconnected, and the first input end and the first output end are disconnected.
In this embodiment, when the voltage-controlled switch unit is configured with a controlled end and an output end, the voltage-controlled switch unit is turned on, and meanwhile, the voltage at the input end of the voltage-controlled switch unit can be forward biased at the output end of the voltage-controlled switch unit, so that the corresponding voltage-controlled switch unit can be controlled to be turned on according to whether the voltage difference between the controlled end and the input end of the voltage-controlled switch unit is greater than a first preset threshold value.
In some embodiments, referring to fig. 4, each of the voltage-controlled switching units includes a P-channel MOS transistor (QA/QB) and a parasitic diode (D1/D2), a drain of the P-channel MOS transistor (QA/QB) is electrically connected to the power input terminal (VIN) or the power output terminal (VOUT), respectively, a gate of the P-channel MOS transistor (QA/QB) is electrically connected to the output terminal of the switch driving unit 64, and a source of each of the P-channel MOS transistors (QA/QB) is butted; the anode of the parasitic diode (D1/D2) is electrically connected with the drain electrode of the P-channel MOS tube (QA/QB), the cathode of the parasitic diode (D1/D2) is electrically connected with the source electrode of the P-channel MOS tube (QA/QB), wherein the parasitic diode (D1/D2) is used for forward biasing the voltage of the drain electrode of the P-channel MOS tube (QA/QB) to the source electrode of the P-channel MOS tube (QA/QB); when the voltage difference between the grid electrode and the source electrode of the P-channel MOS tube (QA/QB) is larger than a first preset threshold value, the P-channel MOS tube (QA/QB) is conducted, and the corresponding voltage-controlled switch unit is conducted; when the voltage difference between the grid electrode and the source electrode of the P-channel MOS tube (QA/QB) is not larger than a first preset threshold value, the P-channel MOS tube (QA/QB) is cut off, and the corresponding voltage-controlled switch unit is disconnected.
In this embodiment, the voltage received by the gate of the P-channel MOS transistor (QA/QB) is the voltage output by the switch driving unit, or the higher voltage of the power input voltage and the power output voltage, or the lower voltage than the power input voltage by a set value (V) M ) The voltage of (c).
In some embodiments, referring to fig. 4, the comparing unit 62 includes a comparing amplifier, where the comparing amplifier includes a same-direction input end (+), a reverse-direction input end (-) and a comparing output end, the same-direction input end and the reverse-direction input end are respectively connected to the positive input end and the negative input end, and the comparing output end is electrically connected to one of the two control ports of the logic control unit 63, where the comparing amplifier is configured to output a first logic control level of a low level when a voltage difference between the same-direction input end and the reverse-direction input end is greater than a second preset threshold, and output the first logic control level of a preset level when the voltage difference between the same-direction input end and the reverse-direction input end is not greater than the second preset threshold; in some of these alternative embodiments, the second preset threshold is set to zero volts.
In some embodiments, the logic control unit 63 includes an and circuit, where the and circuit includes two second input ends and one second output end, one of the two second input ends is electrically connected to the output end of the comparison unit 62, the other second input end is electrically connected to the main control module 200, and the second output end is electrically connected to the controlled input end of the switch driving unit 64, where the and circuit is configured to output a switch control signal whose voltage is a second preset voltage value (high level) along the second output end when the first logic control level and the second logic control level respectively received by the two second input ends are both preset levels (high levels), and output a switch control signal whose voltage is a first preset voltage value (low level) along the second output end when at least one of the first logic control level and the second logic control level is not a preset level.
Fig. 5 is another topology structure diagram of a unidirectional switch module according to an embodiment of the present application, as shown in fig. 5, in some embodiments, the switch driving unit 64 includes a first diode D3, a second diode D4, a first switch tube Q1, a second switch tube Q2, and a zener diode D5, the first switch tube Q1 includes a third input terminal, a third controlled terminal, and a third output terminal, the second switch tube Q2 includes a fourth input terminal, a fourth controlled terminal, and a fourth output terminal, the third input terminal is electrically connected to the cathode of the first diode D3, the second diode D4, and the zener diode D5, the third controlled terminal is electrically connected to the fourth input terminal and the first resistor R1, the third output terminal is electrically connected to the anode of the zener diode D5 and the second resistor R2, and is connected to the output terminal of the switch driving unit 64, the anodes of the first diode D3 and the second diode D4 are electrically connected to two input terminals of the switch driving unit 64 (correspondingly connected to the power input terminal and the power output terminal VOUT), the other terminal of the first resistor R1 is electrically connected to the fourth input terminal V1, the controlled terminal of the controlled terminal is electrically connected to the second input terminal of the switch driving unit 64, and the second controlled terminal is electrically connected to the fourth input terminal VIN, and the controlled terminal of the controlled terminal is electrically connected to the first resistor R2,
when the fourth controlled end of the second switching tube Q2 receives a switching control signal with a voltage of a first preset voltage value, the second switching tube Q2 is turned off, the first switching tube Q1 is turned on, and the switch driving unit 64 outputs the maximum voltage of the voltages (corresponding to the power input end VIN and the power output end VOUT) of the two input ends of the switch driving unit 64 along the third output end, and transmits the maximum voltage to the first controlled end;
when the fourth controlled end of the second switching tube Q2 receives the switching control signal with the voltage being the second preset voltage value, the second switching tube Q2 is turned on, the first switching tube Q1 is turned off, and the output end of the switch driving unit 64 outputs the voltage of the anode of the zener diode D5 and transmits the voltage to the first controlled end.
In this embodiment, when the voltage of the power output terminal VOUT is not less than the voltage of the power input terminal VIN, the comparing unit 62 outputs a first logic control level of a low level to the logic control unit 63, the logic control unit 63 outputs a switch control signal whose voltage is a first preset voltage value (low level), the second switch Q2 is turned off, the first switch Q1 is turned on, at this time, since the voltage of the power output terminal VOUT is not less than the voltage of the power input terminal VIN, the first diode D3 is turned off, the second diode D4 is turned on, the output terminal of the switch driving unit 64 outputs the voltage with the maximum voltage of the power output terminal VOUT and the power input terminal VIN, that is, the voltage of the power output terminal VOUT, at this time, the voltage difference between the gate and the source of the P-channel MOS transistor (QA/QB) is not greater than a first preset threshold, the P-channel MOS transistor (QA/QB) is turned off, and the corresponding voltage-controlled switching unit is turned off.
When the voltage of the power input terminal VIN is greater than the voltage of the power output terminal VOUT, the comparing unit 62 outputs a first logic control level of a preset level (high level) to the logic control unit 63, and the logic control unit 63 outputs a corresponding switch control signal according to a second logic control level output by the main control module 200; when the main control module 200 requires that one of the charging switch module 600, the first unidirectional switch module 700, and the battery power supply switch module 800 is turned on correspondingly, the logic control unit 63 outputs a switch control signal whose voltage is a second preset voltage value (high level), the second switch tube Q2 is turned on, the first switch tube Q1 is turned off, and the first diode D3 is turned on and the second diode D4 is turned off because the voltage of the power input terminal VIN is greater than the voltage of the power output terminal VOUT; the voltage output by the output end of the switch driving unit 64 corresponds to the voltage of the anode of the zener diode D5, that is, the voltage difference between the voltage and the power input end VIN is a set value (corresponding to the voltage drop of the zener diode D5), at this time, the voltage difference between the gate and the source of the P-channel MOS transistor (QA/QB) is greater than a first preset threshold, the P-channel MOS transistor (QA/QB) is turned on, and the corresponding voltage-controlled switch unit is turned on;
when the main control module 200 requires that one of the charging switch module 600, the first unidirectional switch module 700, and the battery power supply switch module 800 is turned off, the logic control unit 63 outputs a switch control signal whose voltage is a first preset voltage value (high level), the second switch tube Q2 is turned off, the first switch tube Q1 is turned on, and since the voltage of the power input terminal VIN is greater than the voltage of the power output terminal VOUT, the first diode D3 is turned on, and the second diode D4 is turned off; the voltage output by the output end of the switch driving unit 64 corresponds to the voltage of the power input end VIN, at this time, the voltage difference between the gate and the source of the P-channel MOS transistor (QA/QB) is not greater than the first preset threshold, the P-channel MOS transistor (QA/QB) is turned off, and the corresponding voltage-controlled switching unit is turned off. In some of these embodiments, the power management module 400 includes: a boost circuit electrically connected to the battery unit 500 and the first unidirectional switch module 700, for converting the voltage provided by the battery unit 500 into a preset voltage and supplying power to an external device; and a voltage dropping circuit electrically connected to the battery cell 500 and the charge switch module 600, for dropping a voltage supplied from an external device and charging the battery cell 500.
The operation of the charging switch module 600, the first unidirectional switch module 700, and the battery powered switch module 800 of the present embodiment will be described and illustrated by the preferred embodiments.
Referring to fig. 4, each of the charge switch module 600, the first unidirectional switch module 700, and the battery-powered switch module 800 of the embodiment of the present application includes two P-channel MOS transistors (QA and QB, respectively), a comparison unit 62, a logic control unit 63, and a switch driving unit 64 (gate driving), where the sources of QA and QB are connected together; the gates of QA and QB are connected together and to the switch drive unit 64 (gate drive); the drain of QA is connected to the power input terminal (VIN) and also to the negative input terminal of the comparing unit 62; the drain of QB is connected to the power output terminal (VOUT) and to the positive input terminal of the comparison unit 62; the first logic control level output by the output terminal of the comparing unit 62 and the second logic control level sent by the main control module 200 are both connected to the logic control unit 63; the output of the logic control unit 63 is connected to a switch drive unit 64 (gate drive), wherein,
the comparing unit 62 compares the voltages of the power input terminal (VIN) and the power output terminal (VOUT), and when the voltage of the power output terminal (VOUT) is higher than the voltage of the power input terminal (VIN), the comparing unit 62 outputs an OFF signal (a first logic control level corresponding to a low level); when the voltage of the power supply output terminal (VOUT) is not higher than the voltage of the power supply input terminal (VIN), the comparison unit 62 outputs an ON signal (a first logic control level corresponding to a high level).
As long as any one of the signals (the first logic control level) output by the comparing unit 62 and the signal (the second logic control level) output by the main control module 200 is an OFF signal, the logic control unit 63 outputs an OFF signal (a switch control signal corresponding to a low level), and the switch driving unit 64 outputs the maximum voltage of the power input terminal (VIN) and the voltage of the power output terminal (VOUT), so that there is no voltage difference between the gate and the source of QA and QB, and the QA and QB are turned OFF; when the signal (the first logic control level) output by the comparing unit 62 and the signal (the second logic control level) output by the main control module 200 are both ON signals, the logic control unit 63 outputs an ON signal (a switch control signal corresponding to a high level), and the switch driving unit outputs a voltage several volts lower than the voltage of the power input terminal (VIN), so that the gates and sources of QA and QB have a conduction voltage difference, and thus the QA and QB are turned ON.
It should be noted that, in this embodiment, there is a complex situation that the power inputs and outputs of the charging switch module 600, the first unidirectional switch module 700, and the battery power supply switch module 800 are electrically connected together, and the input/output pins of each functional module are affected by the operating states of other modules, and the charging switch module 600, the first unidirectional switch module 700, and the battery power supply switch module 800 of this embodiment have unidirectional conduction, prevent forward leakage, and prevent reverse leakage.
When no external device is connected to the physical interface, the second logic control levels output by the main control module 200 to the charging switch module 600, the first unidirectional switch module 700, and the battery power supply switch module 800 are all OFF signals, and the charging switch module 600, the first unidirectional switch module 700, and the battery power supply switch module 800 are all turned OFF.
For the charge switch module 600: the power input end (VIN 3) is low, the power output end (VOUT 3) is low, the second logic control level output by the main control module 200 is an OFF signal, the switch control signal output by the logic control unit 63 is an OFF signal, the switch driving unit 64 outputs a voltage which is the same as the maximum voltage of the power input end (VIN 3) and the voltage of the power output end (VOUT 3), and the voltage is a low voltage (because VIN3 is low at this time), QA and QB are cut OFF, and the charging channel is disconnected.
For the first unidirectional switch module 700, the operation process is the same as that of the charging switch module 600, and the first power supply channel is disconnected.
For the battery-powered switch module 800: the power input end (VIN 2) is high, the power output end (VOUT 3) is low, the second logic control level output by the main control module 200 is an OFF signal, the switch control signal output by the logic control unit 63 is an OFF signal, the switch driving unit 64 outputs the same voltage as the power input end (VIN 2), the parasitic diode of QA is caused by electric leakage, so that the source electrode of QA is a high voltage approximately equal to the power input end (VIN 2), no voltage difference exists between the gate electrode and the source electrode, so that QB is cut OFF, the parasitic diode of QB is reversed and also cut OFF, and the battery power supply channel is disconnected and has no electric leakage.
When the physical interface is connected with the electric equipment, the protocol processing module 300 detects that the access equipment is of a sink type, and notifies the main control module 200 and the power management module 400, the second logic control level output by the main control module 200 is an ON signal, and controls the first one-way switch module 700 to be turned ON, and the power management module 400 turns ON an internal battery power supply path and outputs a 5V power after passing through an internal boost circuit. This power supply is used to perform a preliminary start-up operation using the consumer and to negotiate a subsequent power supply (see L1 in fig. 2), in which state,
for the charge switch module 600: the power input end (VIN 3) is high (the power input end is influenced by the output of the first unidirectional switch module 700 to be high), the power output end (VOUT 3) is influenced by the input of the first unidirectional switch module 700 to be high, the second logic control level output by the main control module 200 is an OFF signal, the switch control signal output by the logic control unit 63 is an OFF signal, the switch driving unit 64 outputs the same voltage as the power input end (VIN 3), the parasitic diode of QA has a source electrode which is approximately equal to the high voltage of the power input end (VIN 3) due to leakage, so that no voltage difference exists between the gate electrode and the source electrode, so that QA is cut OFF, and the parasitic diode of QB is reverse, so that no voltage difference exists between the gate electrode and the source electrode, and QB is also cut OFF, so that the charging channel is cut OFF and has no leakage.
For the first unidirectional switch module 700: the power input terminal (VIN 1) is high, and the power output terminal (VOUT 1) is affected by the output of the battery power supply switch module 800, and is high but lower than the power input terminal (VIN 1); the first logic control level output by the comparing unit 62 is an ON signal; the second logic control level output by the main control module 200 is an OFF signal, the switch control signal output by the logic control unit 63 is an OFF signal, the switch driving unit 64 outputs a voltage equal to the voltage of the power input terminal (VIN 1), and the parasitic diode of QA of the first unidirectional switch module 700 has a source equal to a high voltage of the power input terminal (VIN 1) due to leakage, so that there is no voltage difference between the gate and the source of QA and QB of the first unidirectional switch module 700, and therefore QA and QB are both turned OFF, and the parasitic diode of QB is also turned OFF, so that the first power supply channel is turned OFF and has no leakage.
For the battery-powered switch module 800: the power input end (VIN 2) is high, and the power output end (VOUT 2) is influenced by the high output of the first unidirectional switch module 700, is high (corresponding to the voltage of the power output end (VOUT 1)), and is higher than the voltage of the power input end (VIN 2) (VOUT 1 is the boosted voltage of VIN 2); the second logic control level output by the main control module 200 is an OFF signal, the first logic control level output by the comparison unit 62 is an OFF signal, the switch control signal output by the logic control unit 63 is an OFF signal, the switch driving unit 64 outputs the same voltage as the power output terminal (VOUT 2) (the voltage of the power output terminal (VOUT 2) is greater than the voltage of the power input terminal (VIN 2)), the parasitic diode of the QB of the battery power supply switch module 800 causes the source to be approximately equal to the high voltage of the power output terminal (VOUT 2) due to leakage, and there is no voltage difference between the gate and the source of the QA and the QB of the battery power supply switch module 800, so that the QA and QB are cut OFF, and the parasitic diode of the QA is in the reverse direction and also cut OFF, so that the battery power supply channel is cut OFF and has no leakage.
After this state, the terminal sends its own power supply capability, in particular the battery power supply capability, to the consumer via the protocol communication channel, for example: 3.6V-4.2V/5A, the electric device selects the required power supply, and sends the result to the terminal, if the electric device selects the battery power supply, the second logic control level output by the terminal main control module 200 to the battery power supply switch module 800 is an ON signal, the battery power supply switch module 800 is turned ON, then the second logic control level output by the main control module 200 to the first one-way switch module 700 is an OFF signal, the first one-way switch module 700 is turned OFF, so that the electric device is directly powered through the battery power supply channel formed by the battery unit 500 and the battery power supply switch module 800 (refer to L2 in fig. 1), in this state:
for the charge switch module 600: the power input terminal (VIN 3) is high (the power input terminal is influenced by the output of the first unidirectional switch module 700 to be high), the power output terminal (VOUT 3) is influenced by the input of the first unidirectional switch module 700 to be high, the second logic control level output by the main control module 200 is an OFF signal, the switch control signal output by the logic control unit 63 is an OFF signal, the switch driving unit 64 outputs the same voltage as the power input terminal (VIN 3), and the parasitic diode of QA of the charging switch module 600 has a source electrode which is approximately equal to the high voltage of the power input terminal (VIN 3) due to leakage, so that no voltage difference exists between the gate electrode and the source electrode, and therefore QA is cut OFF.
For the first unidirectional switch module 700: the power input terminal (VIN 1) is high (5V), and the power output terminal (VOUT 1) is affected by the output of the battery power supply switch module 800, and is high, but lower than the voltage of the power input terminal (VIN 1); the first logic control level output by the comparing unit 62 is an ON signal; the second logic control level output by the main control module 200 is an OFF signal, the switch control signal output by the logic control unit 63 is an OFF signal, the switch driving unit 64 outputs a voltage equal to the voltage of the power input terminal (VIN 1), and the source of the first unidirectional switch module 700 is a high voltage approximately equal to the voltage of the power input terminal (VIN 1) due to the leakage of the parasitic diode of QA of the first unidirectional switch module, so that there is no voltage difference between the gate and the source, and therefore QA and QB are both turned OFF, and the parasitic diode of QB2 is also turned OFF, so that the first power supply channel is turned OFF and has no leakage.
For the battery-powered switch module 800: the power supply input end (VIN 2) is high, and the power supply output end (VOUT 2) is not influenced by other channels and is initially low; the first logic control level output by the comparing unit 62 is an ON signal; the second logic control level output by the main control module 200 is an ON signal, the switch control signal output by the logic control unit 63 is an ON signal, the switch driving unit 64 outputs a voltage lower than the power input terminal (VIN 2) by several volts, the parasitic diode of QA of the battery powered switch module 800 has a source of a high voltage approximately equal to the power input terminal (VIN 2) due to leakage, and a conduction voltage difference exists between the gate and the source of QA and QB, so QA and QB are conducted, the battery power supply channel is opened, and the power output terminal (VOUT 2) outputs power.
The power analysis in this state is as follows:
two P channel MOS pipes of battery power supply switch module 800 are all switched on, power output end (VOUT 2) output voltage, the on-resistance of QA, QB can be as low as several milliohms, has very low power loss and calorific capacity when the heavy current, and the impedance of the P channel MOS pipe is 8 milliohms, and output power 15W is taken as an example, calculates power loss:
when the voltage of the battery cell 500 is at the lowest 3.6V, the power loss is the largest: p = (15 ÷ 3.6) ^2 × (0.008 + 0.008) =0.28W
When the voltage of the battery cell 500 is at most 4.3V, the power loss is minimal as: p = (15 ÷ 4.3) ^2 × (0.008 + 0.008) =0.19W
Therefore, in this state, the power loss is much smaller than the above loss (1.7W to 3.8W) through the boost circuit, and the heat generation amount is small.
If the powered device selects non-battery voltage, the first unidirectional switch module 700 is kept on, and the two power channels associated with the charging switch module 600 and the battery power switch module 800 are kept off, as follows:
for the charge switch module 600: the power input terminal (VIN 3) is high (the power input terminal is affected by the output of the first unidirectional switch module 700 to be high), the power output terminal (VOUT 3) is affected by the input of the first unidirectional switch module 700 to be high, the second logic control level output by the main control module 200 is an OFF signal, the switch control signal output by the logic control unit 63 is an OFF signal, the switch driving unit 64 outputs a voltage same as that of the power input terminal (VIN 3), and the parasitic diode of QA has a source equal to the high voltage of the power input terminal (VIN 3) due to leakage, so that there is no voltage difference between the gate and the source, and thus QA is cut OFF.
For the first unidirectional switch module 700: the power input terminal (VIN 1) is high, and the power output terminal (VOUT 1) is affected by the output of the battery power supply switch module 800, and is high but lower than the power input terminal (VIN 1); the first logic control level output by the comparing unit 62 is an ON signal; the second logic control level output by the main control module 200 is an OFF signal, the switch control signal output by the logic control unit 63 is an OFF signal, the switch driving unit 64 outputs a voltage equal to the voltage of the power input terminal (VIN 1), and the parasitic diode of QA of the first unidirectional switch module 700 has a source equal to a high voltage of the power input terminal (VIN 1) due to leakage, so that there is no voltage difference between the gate and the source of QA and QB of the first unidirectional switch module 700, and therefore QA and QB are both turned OFF, and the parasitic diode of QB is also turned OFF, so that the first power supply channel is turned OFF and has no leakage.
For the battery-powered switch module 800: the power input terminal (VIN 2) is high, and the power output terminal (VOUT 2) is influenced by the high output of the first unidirectional switch module 700, is high (corresponding to the voltage of the power output terminal (VOUT 1)), and is higher than the voltage of the power input terminal (VIN 2); the second logic control level output by the main control module 200 is an OFF signal, the first logic control level output by the comparison unit 62 is an OFF signal, the switch control signal output by the logic control unit 63 is an OFF signal, the switch driving unit 64 outputs the same voltage as the power output terminal (VOUT 2) (the voltage of the power output terminal (VOUT 2) is greater than the voltage of the power input terminal (VIN 2)), the parasitic diode of the QB of the battery power supply switch module 800 causes the source to be approximately equal to the high voltage of the power output terminal (VOUT 2) due to leakage, and there is no voltage difference between the gate and the source of the QA and the QB of the battery power supply switch module 800, so that the QA and QB are cut OFF, and the parasitic diode of the QA is in the reverse direction and also cut OFF, so that the battery power supply channel is cut OFF and has no leakage.
When the physical interface 100 is connected with a charger device, the protocol processing module 300 detects that the accessed external device is of a source type, and notifies the main control module 200 and the power management module 400, and the main control module 200 sends a second logic control level to the charge switch module 600 as an ON signal to control the charge switch module 600 to be turned ON; the power management module 400 opens the internal battery charging path so that the battery unit 500 is charged (power flows to L3 in fig. 1) by the power input of the charger through the charging switch module 600 and the power management module 400, and in this state,
for the charge switch module 600: the power supply input end (VIN 3) is high, and the power supply output end (VOUT 3) is not influenced by other channels and is initially low; the first logic control level output by the comparing unit 62 is an ON signal; the second logic control level that main control module 200 outputted is the ON signal, the switch control signal that logic control unit 63 outputted is the ON signal, switch drive unit 64 output is than VIN3 voltage a few volts lower, QA1 source drain diode is because the electric leakage for the source is for being approximately equal to the high-voltage of power input end (VIN 3), thereby there is pressure difference between QA of charging switch module 600, the grid of QB, the source, so QA, QB all switch ON, so this charging channel opens, power output end (VOUT 3) output high level.
For the first unidirectional switch module 700: the power input terminal (VIN 1) is affected by the output high of the charge switch module 600 and is high; the power supply output end (VOUT 1) is influenced by the power supply of the charger, is high and is basically equal to the voltage of the power supply input end (VIN 1); the first logic control level output by the comparing unit 62 is an ON signal; the second logic control level output by the main control module 200 is an OFF signal; the switch control signal output by the logic control unit 63 is an OFF signal, and the switch driving unit 64 outputs the same voltage as the power input terminal (VIN 1) and the power output terminal (VOUT 1), so that there is no voltage difference between the gate and the source, and both QA and QB of the first unidirectional switch module 700 are turned OFF; parasitic diodes of QA and QB are both in forward weak conduction, and the first power supply channel is disconnected and has no electric leakage because of the opposite connection and the non-conduction from the power supply input end to the power supply output end or in the reverse direction.
For the battery-powered switch module 800: power input terminal (VIN 2) is high; the power supply output end (VOUT 2) is influenced by the power supply of the charger, is high and is higher than the voltage of the power supply input end (VIN 2); the first logic control level output by the comparing unit 62 is an OFF signal; the second logic control level output by the main control module 200 is an OFF signal; the switch control signal outputted from the logic control unit 63 is an OFF signal, the switch driving unit 64 outputs the same voltage as the power output terminal (VOUT 2), the QB parasitic diode of the battery powered switch module 800 is electrically connected to the drain, and the source voltage is equal to the voltage of the power output terminal (VOUT 2), so that there is no voltage difference between the gate and the source, QA and QB are both OFF, and at the same time, the parasitic diode of QA is turned OFF in the reverse direction, so that the battery power supply channel is disconnected and there is no leakage.
The embodiment also provides a power supply control method, which adopts the power supply system to supply power to the external equipment or charge the external equipment. Fig. 6 is a flowchart of a charging control method according to an embodiment of the present application, and as shown in fig. 6, the flowchart includes the following steps:
step S601, the power management module obtains a power supply protocol corresponding to the external device electrically connected to the physical interface, and selects a power supply channel corresponding to one of the following external devices according to the power supply protocol: the power supply protocol comprises power supply parameters related to the external equipment.
In this embodiment, the power management module determines the role of the power supply of the external device, and negotiates the power supply voltage and power provided or required by the external device by obtaining the power supply protocol of the external device connected to the physical interface; in this embodiment, the power management module performs power role determination and power voltage and power negotiation on the external device connected to the physical interface, and then transmits the determination result and the negotiation result to the main control module.
In this embodiment, the power management module may correspondingly turn on the corresponding power channel according to the corresponding power role determination of the external device, and provide the voltage required in the power negotiation. Of course, the power parameters required in power negotiation include, but are not limited to, voltage, for example, current, output power, and whether to directly power the battery cells
Step S602, the main control module obtains the power supply protocol transmitted by the power management module, and correspondingly controls the on/off of the first unidirectional switch module and the battery power supply switch module according to the power supply protocol, so as to enable the corresponding power supply channel to be switched on and supply power to the external device.
In this embodiment, the main control module may determine that the first unidirectional switch module and the battery power supply switch module need to be controlled, and then determine to control the first unidirectional switch module or the battery power supply switch module according to whether the battery unit is used for direct power supply in the power supply protocol, for example: when the power supply protocol has protocol content for directly supplying power by adopting the battery unit, the main control module determines the battery power supply switch module.
Through the steps S601 to S602, the main control module is matched with the power management module to control the corresponding power supply channel to be gated for the external equipment, and the first one-way switch module and the battery power supply switch module are controlled to be opened or closed, so that the corresponding power supply channel supplies power to the external equipment according to the power supply protocol, the problem that the portable terminal in the related art cannot output power for high power is solved, and the compatibility with the USB Type-C standard, high power output and high-efficiency power supply are realized.
In some embodiments, the power protocol includes a voltage required by the external device and uses a non-battery power, and the power control method includes the following steps:
step 1, the power management module determines that the first power supply channel is a power supply channel corresponding to the external device according to the power supply protocol.
And 2, the main control module correspondingly controls the first one-way switch module to be conducted according to the power supply protocol, so that the first power supply channel is opened and supplies power to the external equipment.
In this embodiment, when the power supply protocol defines that a non-battery power supply mode is used for supplying power to the electric device, the main control module correspondingly controls the first unidirectional switch module according to the first power supply channel selected by the power management module.
Through the steps 1 to 2, the control that the power supply of the electric equipment is carried out in a non-battery mode is realized.
In some embodiments, the power protocol includes a voltage required by the external device and power is supplied by using a battery, and the power control method includes the following steps:
step 1, the power management module determines a battery power supply channel as a power supply channel corresponding to the external device according to a power supply protocol.
And 2, the main control module correspondingly controls the conduction of the battery power supply switch module according to the power supply protocol, so that the battery power supply channel is opened and supplies power to the external equipment.
In this embodiment, when the power supply protocol defines that the battery power supply mode is used to supply power to the electric device, the main control module correspondingly controls the battery power supply switch module according to the battery power supply channel selected by the power management module.
Through the steps 1 to 2, the control that the electric equipment adopts the battery voltage to supply power is realized
In some embodiments, the power supply system further includes a charging switch module, the charging switch module is electrically connected to the main control module, a power input end of the charging switch module is electrically connected to the physical interface, a power output end of the charging switch module is electrically connected to a power input/output port of the power management module, and the power supply control method includes the following steps:
step 1, a power management module acquires a power supply type corresponding to an external device electrically connected with a physical interface, wherein the power supply type comprises a charging type and a power utilization type.
And 2, the power supply management module selects a charging channel or a power supply channel corresponding to the external equipment according to the power supply type, wherein the charging channel comprises a charging path formed by a physical interface, a charging switch module and the power supply management module.
And 3, when the power management module selects a charging channel according to the power supply type, the power management module acquires a charging protocol corresponding to the external equipment and starts a preset charging path of the external equipment, wherein the charging protocol comprises the voltage provided by the external equipment.
In this embodiment, the power management module determines the external device as the power supply device according to the power supply type of the external device for charging, and at the same time, the power management module selects the charging channel and is powered by the external device to charge the battery unit.
And 4, the main control module acquires a charging protocol, correspondingly controls the conduction of the charging switch module according to the charging protocol, opens the charging channel and charges the battery unit with the voltage provided by the external equipment through the charging switch module and the charging path.
Through the above steps 1 to 4, the control of charging the battery is realized.
The embodiment further provides a power supply device, which includes a power supply system, where the power supply system is electrically connected to an external device through a physical interface, and is used to supply power to the external device or charge the power supply device with the external device.
It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to be limiting. All other embodiments, which can be derived by a person skilled in the art from the examples provided herein without any inventive step, shall fall within the scope of protection of the present application.
It is obvious that the drawings are only examples or embodiments of the present application, and it is obvious to those skilled in the art that the present application can be applied to other similar cases according to the drawings without creative efforts. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
The term "embodiment" is used herein to mean that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly and implicitly understood by one of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the patent protection. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (16)

1. A power supply system comprises a physical interface and a power supply system electrically connected with the physical interface, and is characterized in that the power supply system comprises a main control module, a power management module, a battery unit, a first one-way switch module and a battery power supply switch module, wherein the main control module is respectively electrically connected with the power management module, the first one-way switch module and the battery power supply switch module, the power management module is respectively electrically connected with the physical interface and the battery unit, the power input end of the first one-way switch module is electrically connected with the power input/output port of the power management module, the power input end of the battery power supply switch module is electrically connected with the battery unit, the power output ends of the first one-way switch module and the battery power supply switch module are both electrically connected with the physical interface, wherein,
the power management module is used for acquiring a power supply protocol corresponding to the external equipment electrically connected with the physical interface, and selecting a power supply channel corresponding to the external equipment, wherein the power supply channel is one of the following power supply channels according to the power supply protocol: the first power supply channel is composed of the battery unit, the power management module, the first unidirectional switch module and the physical interface, and the battery power supply channel is composed of the battery unit, the battery power supply switch module and the physical interface;
the main control module is used for acquiring the power supply protocol and correspondingly controlling the on-off of the first one-way switch module and the battery power supply switch module according to the power supply protocol.
2. The power supply system of claim 1, wherein the power supply system further comprises a charging switch module electrically connected to the main control module, a power input of the charging switch module is electrically connected to the physical interface, and a power output of the charging switch module is electrically connected to the power input/output port of the power management module, wherein,
the power management module is used for acquiring a power supply type corresponding to external equipment electrically connected with the physical interface, and selecting a charging channel or a power supply channel corresponding to the external equipment according to the power supply type, wherein the charging channel comprises a charging path formed by the physical interface, the charging switch module and the power management module and is used for charging the battery unit, and the power supply channel comprises one of the first power supply channel and the battery power supply channel;
the main control module is used for correspondingly controlling the on-off of the first one-way switch module, the battery power supply switch module and the charging switch module.
3. The power supply system according to claim 2, wherein the charging switch module, the first unidirectional switch module and the battery-powered switch module each include a controlled switch branch, a comparison unit, a logic control unit and a switch driving unit, the controlled switch branch includes a first input end, a first controlled end and a first output end, the first input end is electrically connected to the corresponding power input end, the first output end is electrically connected to the corresponding power output end, the first controlled end is electrically connected to the output end of the switch driving unit, the positive input end and the negative input end of the comparison unit are respectively electrically connected to the corresponding power output end and the power input end, the output end of the comparison unit is electrically connected to one of two control ports of the logic control unit, the other control port of the logic control unit is further electrically connected to the main control module, the output end of the logic control unit is electrically connected to the controlled input end of the switch driving unit, the input ends of the switch driving unit are respectively electrically connected to the corresponding power input end and the power output end, wherein,
the controlled switch branch circuit is used for correspondingly controlling the on-off of the first input end and the first output end according to the voltage difference between one of the first input end and the first output end and the first controlled end and the first preset threshold value;
the comparison unit is used for generating and outputting a corresponding first logic control level according to the voltage difference between the positive input end and the negative input end and a second preset threshold value;
the logic control unit is used for generating and outputting a corresponding switch control signal according to whether the received first logic control level and the second logic control level sent by the main control module are both preset levels;
the switch driving unit is used for receiving the switch control signal, transmitting the maximum voltage of the power output end and the voltage of the power input end to the first controlled end when the voltage of the switch control signal is a first preset voltage value, and transmitting the voltage with the voltage difference of the power input end being a set value to the first controlled end when the voltage of the switch control signal is a second preset voltage value.
4. The power supply system according to claim 3, wherein the controlled switch branch comprises two voltage-controlled switch units, one of the two voltage-controlled switch units has an input terminal electrically connected to the first input terminal, an output terminal electrically connected to an output terminal of the other voltage-controlled switch unit, an input terminal of the other voltage-controlled switch unit is electrically connected to the first output terminal, and controlled terminals of the two voltage-controlled switch units are both electrically connected to the first controlled terminal,
when the voltage difference between the controlled end and the input end of each voltage-controlled switch unit is greater than the first preset threshold value, the corresponding voltage-controlled switch unit is switched on, and the first input end is communicated with the first output end;
when the voltage difference between the controlled end and the input end of each voltage-controlled switch unit is not greater than the first preset threshold, the corresponding voltage-controlled switch unit is disconnected, and the first input end and the first output end are disconnected.
5. The power supply system according to claim 4, wherein each of the voltage-controlled switching units comprises a P-channel MOS transistor and a parasitic diode, a drain of the P-channel MOS transistor is electrically connected to the power input terminal or the power output terminal, respectively, a gate of the P-channel MOS transistor is electrically connected to the output terminal of the switching driving unit, and a source of each of the P-channel MOS transistors is connected to a source of the P-channel MOS transistor; the anode of the parasitic diode is electrically connected with the drain electrode of the P-channel MOS tube, the cathode of the parasitic diode is electrically connected with the source electrode of the P-channel MOS tube, wherein,
the parasitic diode is used for forward biasing the voltage of the drain electrode of the P-channel MOS tube to the source electrode of the P-channel MOS tube;
when the voltage difference between the grid electrode and the source electrode of the P-channel MOS tube is larger than the first preset threshold value, the P-channel MOS tube is conducted, and the corresponding voltage-controlled switch unit is conducted;
and when the voltage difference between the grid electrode and the source electrode of the P-channel MOS tube is not greater than the first preset threshold value, the P-channel MOS tube is cut off, and the corresponding voltage-controlled switch unit is disconnected.
6. The power supply system according to claim 3, wherein the comparing unit comprises a comparing amplifier, the comparing amplifier comprises a same-direction input terminal, a reverse-direction input terminal and a comparing output terminal, the same-direction input terminal and the reverse-direction input terminal are respectively connected with the positive input terminal and the negative input terminal, the comparing output terminal is electrically connected with one of the two control ports of the logic control unit, wherein,
the comparison amplifier is used for outputting the first logic control level with low level when the voltage difference between the equidirectional input end and the reverse input end is greater than the second preset threshold value, and outputting the first logic control level with the preset level when the voltage difference between the equidirectional input end and the reverse input end is not greater than the second preset threshold value.
7. The power supply system according to claim 3, wherein the logic control unit comprises an AND gate circuit, the AND gate circuit comprises two second input terminals and one second output terminal, one of the two second input terminals is electrically connected to the output terminal of the comparison unit, the other second input terminal is electrically connected to the main control module, the second output terminal is electrically connected to the controlled input terminal of the switch driving unit, wherein,
the and circuit is configured to output the switch control signal with the voltage of the second preset voltage value along the second output end when the first logic control level and the second logic control level respectively received by the two second input ends are both the preset levels, and output the switch control signal with the voltage of the first preset voltage value along the second output end when at least one of the first logic control level and the second logic control level is not the preset level.
8. The power supply system according to claim 3, wherein the switch driving unit comprises a first diode, a second diode, a first switch tube, a second switch tube and a zener diode, the first switch tube comprises a third input terminal, a third controlled terminal and a third output terminal, the second switch tube comprises a fourth input terminal, a fourth controlled terminal and a fourth output terminal, the third input terminal is electrically connected to the cathodes of the first diode, the second diode and the zener diode respectively, the third controlled terminal is electrically connected to a fourth input terminal and a first resistor respectively, the third output terminal is electrically connected to the anode of the zener diode and the second resistor respectively and is connected to the output terminal of the switch driving unit, the anodes of the first diode and the second diode are connected to the two input terminals of the switch driving unit respectively, the other terminal of the first resistor is electrically connected to the first power supply, the fourth controlled terminal is electrically connected to the controlled input terminal of the switch driving unit, the fourth output terminal is electrically connected to the other terminal of the second resistor and to ground,
when the fourth controlled end of the second switch tube receives the switch control signal with the voltage of the first preset voltage value, the second switch tube is turned off, the first switch tube is turned on, and the switch driving unit outputs the maximum voltage of the voltages of the two input ends of the switch driving unit along the third output end and transmits the maximum voltage to the first controlled end;
when the fourth controlled end of the second switch tube receives the switch control signal with the voltage of the second preset voltage value, the second switch tube is switched on, the first switch tube is switched off, and the output end of the switch driving unit outputs the voltage of the anode of the voltage stabilizing diode and transmits the voltage to the first controlled end.
9. The power supply system of claim 2, wherein the power management module comprises:
the voltage boosting circuit is electrically connected with the battery unit and the first unidirectional switch module and used for converting the voltage provided by the battery unit into a preset voltage and supplying power to the external equipment;
and the voltage reduction circuit is electrically connected with the battery unit and the charging switch module and is used for reducing the voltage provided by the external equipment and charging the battery unit.
10. The power supply system according to claim 2, further comprising a protocol processing module, wherein the power management module is electrically connected to the main control module and the physical interface through the protocol processing module, and the protocol processing module is configured to communicate with the external device and identify a power supply type and a power supply protocol corresponding to the external device.
11. A power supply control method including the power supply system of claim 1, characterized by comprising:
the power management module acquires a power supply protocol corresponding to the external equipment electrically connected with the physical interface, and selects a power supply channel corresponding to the external equipment, wherein the power supply channel is one of the following power supply channels according to the power supply protocol: the first power supply channel and the battery power supply channel, wherein the power supply protocol comprises power supply parameters related to the external equipment;
the main control module acquires the power supply protocol transmitted by the power management module, and correspondingly controls the on-off of the first one-way switch module and the battery power supply switch module according to the power supply protocol, so that the corresponding power supply channel is switched on and supplies power to the external equipment.
12. The power supply control method according to claim 11, wherein the power supply protocol includes a voltage required by the external device and uses a non-battery power supply, the power supply control method including:
the power supply management module determines that the first power supply channel is a power supply channel corresponding to the external equipment according to the power supply protocol;
the main control module correspondingly controls the first one-way switch module to be conducted according to the power supply protocol, so that the first power supply channel is opened and the external equipment is powered.
13. The power supply control method according to claim 11, wherein the power supply protocol includes a voltage required by the external device and power supply using a battery, the power supply control method comprising:
the power management module determines the battery power supply channel as a power supply channel corresponding to the external equipment according to the power supply protocol;
and the main control module correspondingly controls the conduction of the battery power supply switch module according to the power supply protocol, so that the battery power supply channel is opened and supplies power to the external equipment.
14. The power supply control method according to claim 11, wherein the power supply system further includes a charging switch module, the charging switch module is electrically connected to the main control module, a power input terminal of the charging switch module is electrically connected to the physical interface, and a power output terminal of the charging switch module is electrically connected to the power input/output port of the power management module, and the power supply control method includes:
the power management module acquires a power supply type corresponding to an external device electrically connected with the physical interface, wherein the power supply type comprises a charging type and a power utilization type;
the power management module selects a charging channel or a power supply channel corresponding to the external equipment according to the power supply type, wherein the charging channel comprises a charging path formed by the physical interface, the charging switch module and the power management module;
when the power management module selects the charging channel according to the power supply type, the power management module acquires a charging protocol corresponding to the external equipment and starts a preset charging path of the external equipment, wherein the charging protocol comprises voltage provided by the external equipment;
the main control module obtains the charging protocol, correspondingly controls the charging switch module to be conducted according to the charging protocol, so that the charging channel is opened, and the voltage provided by the external equipment is charged to the battery unit through the charging switch module and the charging passage.
15. The power supply control method according to claim 14, characterized by further comprising:
when the power management module detects that the physical interface is not connected to the external device, the main control module controls the charging switch module, the first one-way switch module and the battery power supply switch module to be switched off, so that the physical interface is disconnected from the power management module and the battery unit.
16. A power supply device comprising a power supply system electrically connected to an external device through a physical interface and adapted to supply power to the external device or to charge the power supply device from the external device, characterized in that the power supply system comprises the power supply system of any one of claims 1 to 10.
CN202110400019.5A 2021-04-14 2021-04-14 Power supply system, control method and power supply equipment Pending CN115207997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110400019.5A CN115207997A (en) 2021-04-14 2021-04-14 Power supply system, control method and power supply equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110400019.5A CN115207997A (en) 2021-04-14 2021-04-14 Power supply system, control method and power supply equipment

Publications (1)

Publication Number Publication Date
CN115207997A true CN115207997A (en) 2022-10-18

Family

ID=83573986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110400019.5A Pending CN115207997A (en) 2021-04-14 2021-04-14 Power supply system, control method and power supply equipment

Country Status (1)

Country Link
CN (1) CN115207997A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203722263U (en) * 2013-12-04 2014-07-16 康佳集团股份有限公司 Charging circuit of portable mobile terminal
CN107612081A (en) * 2017-09-30 2018-01-19 联想(北京)有限公司 A kind of electronic equipment and portable power source
CN108123519A (en) * 2018-01-02 2018-06-05 联想(北京)有限公司 Power supply transfer equipment and its control method, device and electric power system
CN110829585A (en) * 2019-11-29 2020-02-21 苏州贝昂科技有限公司 Double-circuit power supply device and power supply system
US20200161976A1 (en) * 2018-11-15 2020-05-21 Qualcomm Incorporated Adaptive combination power supply circuit and charging architecture
US20210399561A1 (en) * 2018-11-01 2021-12-23 Samsung Electronics Co., Ltd. Electronic device and method for receiving power from external electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203722263U (en) * 2013-12-04 2014-07-16 康佳集团股份有限公司 Charging circuit of portable mobile terminal
CN107612081A (en) * 2017-09-30 2018-01-19 联想(北京)有限公司 A kind of electronic equipment and portable power source
CN108123519A (en) * 2018-01-02 2018-06-05 联想(北京)有限公司 Power supply transfer equipment and its control method, device and electric power system
US20210399561A1 (en) * 2018-11-01 2021-12-23 Samsung Electronics Co., Ltd. Electronic device and method for receiving power from external electronic device
US20200161976A1 (en) * 2018-11-15 2020-05-21 Qualcomm Incorporated Adaptive combination power supply circuit and charging architecture
CN110829585A (en) * 2019-11-29 2020-02-21 苏州贝昂科技有限公司 Double-circuit power supply device and power supply system

Similar Documents

Publication Publication Date Title
CN100525004C (en) System and method for efficiently implementing a battery controller for an electronic device
TWI483546B (en) Power management system and driving method for mos switch
CN102640076B (en) Power converter with reduced power consumption when toggling between sleep and normal modes during device charging
US7535122B2 (en) Various methods and apparatuses for a multiple input-voltage-level voltage-regulator and a multiple voltage-level DC power supply
US7444527B2 (en) Circuit for saving power of a battery within an electronic equipment while the electronic equipment is powered off
US20090243390A1 (en) Power supply apparatus and power control method
US7705557B2 (en) Smart battery charging and power management circuit with optional power source selection based on load current
CN110741528B (en) Battery power supply circuit, equipment to be charged and charging control method
US6153949A (en) Electrical power management system providing momentarily high power to a load
US20050168189A1 (en) Power supply unit
CN104348202A (en) Charging control circuit and method and electronic device
CN101465600A (en) Electronic equipment and power supply device thereof
CN209948783U (en) Power supply switching circuit and power supply system
CN102684301A (en) Power management system and power transmission method
US20130063093A1 (en) Cold End Switch Battery Management Control Method
WO2023193646A1 (en) Circuit, power supply method, electronic device, and computer program product
CN115207997A (en) Power supply system, control method and power supply equipment
CN216904653U (en) Drive circuit, chip and electronic equipment
CN203491731U (en) Charging control circuit and electronic equipment
CN214479662U (en) Quick charging circuit, CC detection module with rectification and quick charging line
CN112713582A (en) Dual-power supply control system and method
US8362747B2 (en) Method of powering a mobile device
US20050073866A1 (en) Boost converters, power supply apparatuses, electrical energy boost methods and electrical energy supply methods
CN218415857U (en) Power supply circuit of mobile phone power supply
CN214042064U (en) Power control device for electronic device, and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20221018

Assignee: Zhejiang Shunwei Technology Co.,Ltd.

Assignor: SUNNY OPTICAL (ZHEJIANG) RESEARCH INSTITUTE Co.,Ltd.

Contract record no.: X2024330000055

Denomination of invention: Power supply system, control method, and power supply equipment

License type: Common License

Record date: 20240515

EE01 Entry into force of recordation of patent licensing contract