CN117762232A - Power supply chip, power supply circuit, electronic device, and power supply control method - Google Patents
Power supply chip, power supply circuit, electronic device, and power supply control method Download PDFInfo
- Publication number
- CN117762232A CN117762232A CN202311828879.4A CN202311828879A CN117762232A CN 117762232 A CN117762232 A CN 117762232A CN 202311828879 A CN202311828879 A CN 202311828879A CN 117762232 A CN117762232 A CN 117762232A
- Authority
- CN
- China
- Prior art keywords
- power supply
- module
- power
- switch
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000005540 biological transmission Effects 0.000 claims abstract description 57
- 230000005611 electricity Effects 0.000 claims abstract description 5
- 238000006243 chemical reaction Methods 0.000 claims description 61
- 230000009467 reduction Effects 0.000 claims description 25
- 238000007726 management method Methods 0.000 description 35
- 238000010586 diagram Methods 0.000 description 8
- 238000005070 sampling Methods 0.000 description 8
- 238000012544 monitoring process Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 108700025151 PD protocol Proteins 0.000 description 6
- 238000004891 communication Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000015556 catabolic process Effects 0.000 description 2
- 238000006731 degradation reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003071 parasitic effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The application relates to the field of power supplies and provides a power supply chip, a power supply circuit, electronic equipment and a power supply control method. The power supply chip includes: the device comprises a processor, a first switch unit and a second switch unit; the processor is used for switching on or off the first switch unit and the second switch unit according to the type of the device; the first switch unit is used for being conducted under the control of the processor so as to convey the electric energy input from the second transmission end of the first switch unit to the first interface through the first switch unit; the second switch unit is used for being conducted under the control of the processor so as to convey the electric energy input from the first transmission end of the second switch unit to the second interface through the second switch unit or convey the electric energy input from the second interface to the second electricity utilization module through the second switch unit. According to the scheme, the electric energy output by the mobile power supply can be output to the second power utilization module through the power supply chip, and then the power supply pressure of the accessed charging device is reduced.
Description
Technical Field
The present disclosure relates to the field of power technologies, and in particular, to a power supply chip, a power supply circuit, an electronic device, and a power supply control method.
Background
With the development of technology, more and more electronic devices now adopt a Type-C interface as a charging interface and/or a data transmission interface, and even some electronic devices further have multiple interfaces to simultaneously insert multiple different devices. Generally, the use of the Type-C interface requires the provision of a corresponding power output (USB Power Delivery, PD for short) chip.
In the related art, when the power adapter is plugged into the Type-C interface of the notebook computer, handshaking is required to be performed based on the PD protocol, and then the voltage output by the adapter is adjusted to the voltage required by the notebook computer. However, a PD chip on the market can limit a notebook computer to be powered by only one power adapter, and when two power adapters are plugged into different interfaces of the notebook computer at the same time, the PD chip can select one power adapter to supply power and reject the other power adapter.
However, the power consumption of various devices inside the electronic equipment is continuously increased, and the situation that the power consumption requirement of the electronic equipment reaches or even exceeds the power supply limit of the adapter, so that the internal devices of the electronic equipment are subjected to frequency reduction and power failure often occurs. It can be seen that the related art solution has difficulty in balancing the performance of the electronic device with reliable and stable power supply.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a power supply chip, a power supply circuit, an electronic device, and a power supply control method that can relieve the power supply pressure of a charging device and avoid the occurrence of frequency-down or power-off of internal devices of the electronic device.
In a first aspect, an embodiment of the present application provides a power supply chip, where the power supply chip includes: the device comprises a processor, a first switch unit and a second switch unit;
the processor is connected with the controlled end of the first switch unit, and the processor is connected with the controlled end of the second switch unit;
the first transmission end of the first switch unit is used for being connected with a first interface, the first transmission end of the second switch unit is used for being connected with a second interface, the second transmission end of the first switch unit and the second transmission end of the second switch unit are respectively used for being connected with a first power module, and the third transmission end of the second switch unit is used for being connected with a second power module;
the processor is used for switching on or off the first switch unit and the second switch unit according to the type of the first interface and/or the second interface access device;
the first switch unit is used for being conducted under the control of the processor so as to convey the electric energy input from the second transmission end of the first switch unit to the first interface through the first switch unit;
The second switch unit is used for being conducted under the control of the processor so as to convey the electric energy input from the first transmission end of the second switch unit to the second interface through the second switch unit or convey the electric energy input from the second interface to the second power utilization module through the second switch unit.
In one embodiment, the first switching unit includes a first switching tube;
the drain electrode of the first switching tube is connected with the first interface, the grid electrode of the first switching tube is connected with the first control end of the processor, and the source electrode of the first switching tube is connected with the second transmission end corresponding to the second switching unit;
the first switching tube is used for being conducted under the control of the processor so as to supply electric energy input from the second transmission end of the first switching unit to the electric equipment or the mobile power supply through the first switching tube.
In one embodiment, the second switching unit includes a second switching tube, a first switch, and a second switch;
the drain electrode of the second switching tube is connected with the second interface, the grid electrode of the second switching tube is connected with the third end of the processor, and the source electrode of the second switching tube is respectively connected with the first end of the first switch and the first end of the second switch;
The second end of the first switch is used for being connected with a second power utilization module, and the second end of the second switch is connected with the fourth end of the first switch unit;
the second switch tube, the first switch and the second switch are respectively used for being conducted under the control of the processor so as to convey electric energy input from the second end of the second switch to the second interface through the second switch tube or convey electric energy input from the second interface to the second electricity utilization module through the first switch tube and the second switch tube.
In one embodiment, the second switching unit further comprises a third switching tube;
the source electrode of the third switching tube is connected with the source electrode of the second switching tube, the grid electrode of the third switching tube is connected with the second control end corresponding to the processor, and the drain electrode of the third switching tube is respectively connected with the first end of the first switch and the first end of the second switch;
and under the condition that the second switching tube is conducted and waits for preset time, the third switching tube is conducted under the control of the processor.
In a second aspect, an embodiment of the present application provides a power supply circuit, applied to an electronic device, where the power supply circuit includes: at least one first interface, at least one second interface, a power supply module, and the power supply chip according to the first aspect;
the first interface is connected with a first end of the power supply chip, and the second interface is connected with a second end of the power supply chip; the third end of the power supply chip is connected with the first end of the power supply module and the first power module, and the fourth end of the power supply chip is connected with the second end of the power supply module and the second power module;
the first interface and the second interface are respectively used for accessing an external device;
the power supply module is used for supplying power to the first power utilization module and/or the second power utilization module; and under the condition that the power supply chip transmits the electric energy input by the second interface to the second power utilization module, stopping supplying power to the second power utilization module.
In one embodiment, the power supply module includes: the power supply system comprises a switch module, a power supply switching module and a power supply conversion module;
the power supply system comprises a switch module, a power supply switching module and a power supply conversion module;
The first end of the switch module is connected with the first interface and the first end of the power supply chip, the second end of the switch module is connected with the second interface and the second end of the power supply chip, and the third end and the fourth end of the switch module are connected with the first end of the power supply conversion module;
the first end of the power supply switching module is connected with the third end of the power supply chip and the first power module, the second end of the power supply switching module is connected with the fourth end of the power supply chip and the second power module respectively, the fifth end of the power supply chip is connected with the third end of the power supply switching module, and the fourth end of the power supply switching module is connected with the second end of the power supply conversion module;
the third end of the power conversion module is connected with a third power module, and the fourth end of the power conversion module is connected with a battery;
the power supply chip is specifically configured to control a corresponding switch in the switch module to be turned on when it is confirmed that the device accessed by the first interface or the second interface is a high-voltage charging device; under the condition that the equipment accessed by the first interface is confirmed to be electric equipment, a corresponding switch in the switch module is controlled to be turned off, and a first switch unit in the power supply chip is controlled to be turned on; under the condition that the equipment accessed by the second interface is confirmed to be electric equipment, a corresponding switch in the switch module is controlled to be turned off, and a second switch unit in the power supply chip is controlled to be turned on, so that electric energy input by the power supply switching module is transmitted to the electric equipment; and under the condition that the equipment accessed by the second interface is a mobile power supply, controlling a corresponding switch in the switch module to be turned off and a second switch unit in the power supply chip to be turned on so as to transmit the electric energy input by the mobile power supply to the second power utilization module;
The power conversion module is used for converting the electric energy input from the switch module into a first voltage and outputting the first voltage to the power supply switching module and the battery; and outputting a second voltage output by the battery to the power supply switching module;
the power supply switching module is used for converting the first voltage or the second voltage into preset voltage and transmitting the preset voltage to the first power module and the second power module; and stopping outputting the electric energy to the second power utilization module under the control of the power supply chip.
In one embodiment, the power conversion module comprises a conversion chip, a third switching unit, a fourth switching tube, a first voltage reduction unit and a second voltage reduction unit;
the input end of the conversion chip is connected with the first transmission end of the third switch unit, the third end and the fourth end of the switch module, the first control end of the conversion chip is respectively connected with the controlled end of the third switch unit, the output end of the conversion chip is connected with the grounding end of the third switch unit, and the second control end of the conversion chip is connected with the grid electrode of the fourth switch tube;
The drain electrode of the fourth switching tube is respectively connected with the second transmission end of the third switching unit, the input end of the first voltage reduction unit, the input end of the second voltage reduction unit and the fourth end of the power supply switching module, and the source electrode of the fourth switching tube is respectively connected with the output end of the second voltage reduction unit and the battery;
the output end of the first voltage reduction unit is used for being connected with a third power module;
the switching chip is used for controlling the fourth switching tube to be turned off and controlling the third switching unit to be turned on under the condition that the switching module inputs electric energy; under the condition that the switch module does not input electric energy, the fourth switch tube is controlled to be conducted, and the third switch unit is controlled to be turned off;
the first voltage reduction unit is used for converting the voltage level of the input electric energy and outputting the converted electric energy to the third power module; the second step-down unit is used for converting the voltage level of the input electric energy under the condition that the fourth switching tube is turned off, and outputting the converted electric energy to the battery.
In one embodiment, the power supply switching module includes a third buck unit and a fifth switching tube;
The input end of the third voltage reduction unit is connected with the second end of the power supply conversion module, and the output end of the third voltage reduction unit is respectively connected with the third end of the power supply chip, the first electric module and the drain electrode of the fifth switching tube;
the grid electrode of the fifth switching tube is connected with the third end of the power supply chip, and the source electrode of the fifth switching tube is respectively connected with the fifth end of the power supply chip and the second power utilization module;
the third step-down unit is used for converting the voltage level of the input electric energy and outputting the converted electric energy;
the fifth switching tube is used for being switched on or off under the control of the power supply chip so as to switch on or off a power supply channel between the third voltage reduction unit and the second power utilization module.
In a third aspect, an embodiment of the present application provides an electronic device, including a high-voltage power consumption module, a plurality of low-voltage power consumption modules, a system management chip, and the power supply circuit described in the second aspect.
In a fourth aspect, an embodiment of the present application provides a power supply control method, where the method includes:
obtaining the type of an external device, wherein the external device is a device connected with a first interface and/or a second interface;
And controlling the first switch unit and the second switch unit in the power supply chip to be turned on or turned off according to the type of the external device.
The power supply chip, the power supply circuit, the electronic device and the power supply control method provided by the embodiment of the application comprise a first switch unit, a second switch unit and a processor. And the processor can control the first switch unit and/or the second switch unit to be turned on or off according to the type of the first interface and/or the second interface access device, so as to achieve the purposes that the electric energy input from the second transmission end of the first switch unit is transmitted to the first interface through the first switch unit, the electric energy input from the first transmission end of the second switch unit is transmitted to the second interface through the second switch unit, or the electric energy input from the second interface is transmitted to the second power utilization module through the second switch unit.
If the mobile power supply is connected to the second interface, the processor can control the second switch unit to be turned on, so that the mobile power supply can supply power for the second power utilization module through the second interface and the second switch unit. Therefore, the high-voltage charging device can not need to supply power to the second power utilization module, and the power supply pressure of the high-voltage charging device can be reduced, so that the problems that the high-voltage charging device easily reaches the power supply limit and the frequency of a powered device is reduced or power is cut off can be avoided.
The power supply circuit provided by the embodiment of the application comprises a first interface, a second interface, a power supply module and a power supply chip. The mobile power supply can supply power for the second power utilization module without a high-voltage charging device connected with the first interface or the battery supplies power for the second power utilization module under the condition that the mobile power supply connected with the second interface can output electric energy. Therefore, the power supply pressure of the high-voltage charging device or the battery can be reduced, and the problems that the high-voltage charging device or the battery easily reaches the power supply limit and the device powered by the high-voltage charging device or the battery is subjected to frequency reduction or power failure can be avoided.
The electronic device provided by the embodiment of the application comprises: the system comprises a high-voltage power utilization module, a plurality of low-voltage power utilization modules, a system management chip and a power supply circuit. The high-voltage charging device or the battery can distribute the electric energy which is originally required to be supplied to the low-voltage power module to the high-voltage power module in the electronic equipment, such as a central processing unit, a graphic processor and other high-power consumption devices. The problem of performance degradation of the electronic device due to the limited power supply capability of the high-voltage charging device or the battery is effectively improved.
In this way, when power is supplied by the power supply chip or the power supply circuit, both the performance of the power supply device and the stability of power supply can be achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a block diagram of a power chip in one embodiment;
FIG. 2 is a schematic diagram of a power chip in another embodiment;
FIG. 3 is a schematic diagram of a power chip according to another embodiment;
FIG. 4 is a schematic diagram of a power circuit in one embodiment;
FIG. 5 is a schematic diagram of a power supply circuit according to another embodiment;
FIG. 6 is a schematic diagram of a power supply circuit in yet another embodiment;
FIG. 7 is a schematic diagram of an electronic device in one embodiment;
Fig. 8 is a flow chart of a power supply control method in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In general, when the power adapter is plugged into the Type-C interface of the notebook computer, handshaking is required based on the PD protocol, and then the voltage output by the adapter is adjusted to the voltage required by the notebook computer. However, a PD chip on the market can limit a notebook computer to be powered by only one power adapter, and when two power adapters are plugged into different interfaces of the notebook computer at the same time, the PD chip can select one power adapter to supply power and reject the other power adapter. However, the power consumption of various devices inside the electronic equipment is continuously increased, and the situation that the power consumption requirement of the electronic equipment reaches or even exceeds the power supply limit of the adapter, so that the internal devices of the electronic equipment are subjected to frequency reduction and power failure often occurs. It can be seen that the related art solution has difficulty in balancing the performance of the electronic device with reliable and stable power supply.
To this end, the embodiments of the present disclosure provide a power supply chip, a power supply circuit, an electronic device, and a power supply control method, by providing a processor, a first switching unit, and a second switching unit in the power supply chip, and the processor is configured to turn on or off the first switching unit and the second switching unit according to a type of the first interface and/or the second interface access device. The first switch unit is used for being conducted under the control of the processor so as to convey the electric energy input from the second transmission end of the first switch unit to the first interface through the first switch unit. The second switch unit is used for being conducted under the control of the processor so as to convey the electric energy input from the first transmission end of the second switch unit to the second interface through the second switch unit or convey the electric energy input from the second interface to the second electricity utilization module through the second switch unit. The electric energy output by the mobile power supply can be output to the second power utilization module through the power supply chip, so that the power supply pressure of the accessed charging device is reduced.
The power supply chip provided by the application can be applied to any possible electronic equipment, and generally, the electronic equipment can be provided with a high-voltage power utilization module and at least one low-voltage power utilization module. The electronic device may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
It will be appreciated that the electronic device may also include other components for implementing any possible other functions, such as sensors, display devices, input devices, audio devices, etc., which are not limited in this embodiment.
The power supply chip, the power supply circuit, the electronic device and the power supply control method provided by the embodiment of the disclosure are described below in an exemplary manner with reference to the accompanying drawings.
In one embodiment, as shown in FIG. 1, a power chip is provided. The present embodiment is mainly exemplified by the power supply chip 100 being applied to the electronic device. The power supply chip 100 includes: the device comprises a processor, a first switch unit and a second switch unit.
The processor 103 is connected to the controlled end of the first switching unit 101, and the processor 103 is connected to the controlled end of the second switching unit 102.
The first transmission end of the first switch unit 101 is used for connecting with the first interface, the first transmission end of the second switch unit 102 is used for connecting with the second interface, the second transmission end of the first switch unit 101 and the second transmission end of the second switch unit 102 are respectively used for connecting with the first power module, and the third transmission end of the second switch unit 102 is used for connecting with the second power module.
Wherein the processor 103 may be configured to switch on or off the first switching unit 101 and the second switching unit 102 according to the type of the first interface and/or the second interface access device.
The first switching unit 101 is configured to be turned on under the control of the processor 103, so that the electric energy input from the second transmission terminal of the first switching unit 101 is transmitted to the first interface through the first switching unit 101.
The second switch unit 102 is configured to be turned on under the control of the processor 103, so that the electric energy input from the first transmission end of the second switch unit 102 is delivered to the second interface through the second switch unit 102, or the electric energy input from the second interface is delivered to the second power consumption module through the second switch unit 102.
In particular, the processor 103 may be a microcontroller (Microcontroller Unit, abbreviated MCU) capable of providing control functions and supporting the PD protocol. Processor 103 may also refer to a processing unit integrated by a MCU and a fast charge protocol controller or the like with processing capabilities. The embodiments of the present application are not limited in this regard.
Further, the processor 103 may be configured to perform handshake communication with a device accessing the first interface and/or the second interface, and to retrieve the type of the device if the handshake is successful.
Specifically, the first interface and the second interface may be interfaces supporting a PD protocol, for example, the first interface and the second interface may be Type-C interfaces. Generally, the first interface and the second interface may be disposed outside the power supply chip 100, or may be disposed on the power supply chip 100, and may be specifically adjusted according to actual needs.
The devices connected to the first interface and the second interface may also have Type-C interfaces, for example, the devices may be high-voltage charging devices, that is, power adapters, electrical devices such as a mobile hard disk, and small power sources such as a mobile power source, which is not limited in this embodiment of the present application.
It will be appreciated that the type of device may be indicative of the device, in particular a high voltage charging device, powered device or mobile power supply.
In this embodiment, the first switch unit 101 and the second switch unit 102 may include at least one controllable switch, and the controlled ends of the controllable switches are respectively connected to the processor 103, so that the processor 103 can control the controllable switches to be turned on or off when needed, and further, the first switch unit 101 and the second switch unit 102 are turned on or off.
In this embodiment, the first power module and the second power module are low-voltage power modules, and at least one power device may be included in the first power module and the second power module, respectively.
For example, in the case where it is determined that the device to which the first interface is connected is a high voltage charging device, the processor 103 may control the first switching unit 101 to be turned off so as to avoid damage to the first electrical module. In case it is determined that the device to which the second interface is connected is a high voltage charging device, the processor 103 may control the second switching unit 102 to be turned off, so as to avoid damage of the second power module.
In the case that the device to which the first interface is connected is determined to be an electrical device or a mobile power source, the processor 103 may control the first switch unit 101 to be turned on, so as to transmit the electrical energy input from the first transmission end of the first switch unit 101 to the first interface through the first switch unit 101, thereby supplying power to the electrical device or the mobile power source.
In the case that the device to which the second interface is connected is determined to be an electrical device, the processor 103 may control the second switch unit 102 to be turned on, so as to transmit the electrical energy input from the first transmission end of the second switch unit 102 to the second interface through the second switch unit 102, thereby supplying power to the electrical device.
For another example, in the case that the device to which the second interface is connected is determined to be a mobile power supply, the processor 103 may control the second switch unit 102 to be turned on, so as to transmit the electric energy input by the second interface to the second power consumption module through the second switch unit 102, so that the mobile power supply may supply power to the second power consumption module through the second interface and the second switch unit 102. Or, the electric energy input from the first transmission end of the second switch unit 102 is transmitted to the second interface through the second switch unit 102, so as to supply power to the mobile power supply.
In one embodiment, the second switch unit 102 may be turned on again to enable the mobile power supply to supply power to the second power consumption module when it is determined that the device connected to the first interface is a high-voltage charging device and the device connected to the second interface is a mobile power supply. The embodiments of the present application are not limited in this regard.
In one embodiment, the first switch unit 101 may further include a third transmission end, and the third transmission end of the first switch unit 101 may be connected to the second power module. Then, in the case that the device to which the first interface is connected is determined to be a mobile power source, the processor 103 may control the first switch unit 101 to be turned on, and transmit the electric energy input by the first interface to the first electric module through the first switch unit 101.
It should be noted that, in the case where the first interface and/or the device to which the second interface is connected does not supply power to the first power module or the second power module, any other possible module or device may supply power to the first power module or the second power module. The first power module or the second power module needs to be connected to the power source terminal of the first power module or the second power module when power is supplied to the first power module or the second power module.
If the first switch unit 101 and the second switch unit 102 are turned on, then, in the case that the other modules or devices supply power to the first power module or the second power module, the other modules or devices may supply power to the devices connected to the first interface and/or the second interface through the power end of the first power module and/or the power end of the second power module, and the first switch unit 101 and/or the second switch unit 102. In this way, it is possible to achieve the effect of transmitting the electric power input from the second transmission terminal of the first switching unit 101 to the first interface through the first switching unit 101, and transmitting the electric power input from the first transmission terminal of the second switching unit 102 to the second interface through the second switching unit 102.
It should be noted that, since the power supply chip 100 provided in the embodiment of the present application includes the first switch unit 101, the second switch unit 102, and the processor 103. And, the processor 103 may control the first switching unit 101 and/or the second switching unit 102 to be turned on or off according to the type of the first interface and/or the second interface access device, so as to achieve the purpose of transmitting the electric energy input from the second transmission end of the first switching unit 101 to the first interface through the first switching unit 101, transmitting the electric energy input from the first transmission end of the second switching unit 102 to the second interface through the second switching unit 102, or transmitting the electric energy input from the second interface to the second power consumption module through the second switching unit 102. In this way, it is possible to realize that the power supply chip 100 can flexibly turn on or off the corresponding switching unit according to the type of the interface access device.
And in the case that the first interface is determined to be connected to the high-voltage charging device, the processor 103 may control the first switch unit 101 to be disconnected, if the second interface is connected to the mobile power supply at this time, the processor 103 may control the second switch unit 102 to be turned on, so that the mobile power supply may supply power to the second power consumption module through the second interface and the second switch unit 102. Therefore, the high-voltage charging device can not need to supply power to the second power utilization module, and the power supply pressure of the high-voltage charging device can be reduced, so that the problems that the high-voltage charging device easily reaches the power supply limit and the frequency of a powered device is reduced or power is cut off can be avoided.
In this way, when power is supplied by the power supply chip 100, both the performance of the power supply apparatus and the stability of power supply can be achieved.
In a possible implementation, referring to fig. 2, the first switching unit 101 includes a first switching tube Q1.
The drain electrode of the first switching tube Q1 is connected to the first interface, the gate electrode of the first switching tube Q1 is connected to the first control end of the processor 103, and the source electrode of the first switching tube Q1 is connected to the second transmission end corresponding to the second switching unit 102.
The first switching tube Q1 is used for being turned on under the control of the processor 103, so that the electric energy input from the second transmission end of the first switching unit 101 can be supplied to the electric equipment or the mobile power supply through the first switching tube Q1.
In this embodiment, the first switching tube Q1 may be an N-channel type switching tube, specifically an N-Metal-Oxide-Semiconductor (NMOS) transistor, an N-channel type Insulated Gate Bipolar Transistor (IGBT) or any other possible switching tube, which is not limited in this embodiment.
Specifically, the processor 103 may control the first switching tube Q1 to remain turned off in the case where it is determined that the device to which the first interface is connected is a high voltage charging device. When the device accessed by the first interface is determined to be electric equipment or a mobile power supply, the processor 103 controls the first switching tube Q1 to be conducted so as to convey the electric energy input from the first transmission end of the first switching unit 101 to the first interface through the first switching unit 101, and then power is supplied to the electric equipment or the mobile power supply.
It should be noted that, since the N-channel switching tube has the advantages of fast response speed, stability and reliability, the first switching tube Q1 can be turned on or off rapidly and stably under the control of the processor 103, so as to ensure the reliability of power supply.
In addition, in one embodiment, the first switch unit 101 may further include a controllable switch 1 and a controllable switch 2 controlled by the processor 103, one end of the controllable switch 1 is connected to one end of the controllable switch 2 and the source of the first switch Q1, the other end of the controllable switch 1 is connected to a second transmission end corresponding to the second switch unit, and the other end of the controllable switch 2 is used for connecting to the second power consumption module.
In this case, if the device to which the first interface is connected is determined to be a mobile power source, the processor 103 may control the first switching tube Q1 and the controllable switch 1 to be turned on, so as to transmit the electric energy input from the controllable switch 1 to the first interface through the controllable switch 1 and the first switching tube Q1, and further supply power to the mobile power source. Or, the processor 103 may control the first switching tube Q1 and the controllable switch 2 to be turned on, so as to transmit the electric energy input by the first interface to the second power consumption module through the first switching tube Q1 and the controllable switch 2, so that the mobile power supply may supply power to the second power consumption module through the first interface, the first switching tube Q1 and the controllable switch 2.
Specifically, when it is determined that the device to which the first interface is connected is a mobile power supply and the device to which the second interface is connected is a high-voltage charging device, the first switching tube Q1 and the controllable switch 2 may be turned on. Therefore, the mobile power supply connected with the first interface can supply power to the low-voltage part while the high-voltage charging device connected with the second interface supplies power to the high-voltage part, and the power supply pressure of the high-voltage charging device connected with the second interface can be reduced.
For another example, the processor 103 may specifically determine whether the mobile power source connected to the first interface and/or the second interface outputs electric energy. And, the processor 103 may control the first switching tube Q1 and the controllable switch 2 to be turned on under the condition that it is determined that the mobile power source accessed by the first interface can output electric energy. And under the condition that the mobile power supply connected to the first interface does not output electric energy or needs to be charged, the first switching tube Q1 and the controllable switch 1 are controlled to be conducted. The embodiments of the present application are not limited in this regard.
In this way, the on state of the first switch unit 101 can be switched according to the state of the mobile power source, and the flexibility of power supply can be improved.
In a possible implementation, referring to fig. 2, the second switching unit 102 includes a second switching tube Q2, a first switch OP1, and a second switch OP2.
The drain electrode of the second switching tube Q2 is connected to the second interface, the gate electrode of the second switching tube Q2 is connected to the third end of the processor 103, and the source electrode of the second switching tube Q2 is connected to the first end of the first switch OP1 and the first end of the second switch OP2, respectively.
The second end of the first switch OP1 is used for connecting with a second power consumption module, and the second end of the second switch OP2 is connected with the fourth end of the first switch unit 101.
The second switch tube Q2, the first switch OP1 and the second switch OP2 are respectively used for being turned on under the control of the processor 103, so that the electric energy input from the second end of the second switch is transmitted to the second interface through the second switch OP2 and the second switch tube Q2, or the electric energy input from the second interface is transmitted to the second electricity consumption module through the first switch OP1 and the second switch tube Q2.
In this embodiment, the second switching transistor Q2 may be an N-channel switching transistor. The first switch OP1 and the second switch OP2 may be controllable switches controlled by the processor 103, and the controlled ends of the first switch OP1 and the second switch OP2 may be connected to the control ends corresponding to the processor 103, respectively. The embodiments of the present application are not limited in this regard.
Since the second end of the first switch OP1 is used for connecting the second power consumption module and the second end of the second switch OP2 is used for connecting the first power consumption module, when the second interface is connected to a device of a different type, the first switch OP1 or the second switch OP2 can be respectively turned on, so that the device connected to the second interface can form a power supply channel with a different module or device through the second switch unit 102.
Specifically, in the case where it is determined that the device to which the second interface is connected is a high-voltage charging device, the processor 103 may control the second switching tube Q2, the first switch OP1, and the second switch OP2 to be turned off.
In the case that the device accessed by the second interface is determined to be electric equipment, or the device accessed by the second interface is a mobile power supply, and the mobile power supply does not supply power (or the mobile power supply needs to be charged), the processor 103 may control the second switching tube Q2 and the second switch OP2 to be turned on, and control the first switch OP1 to be turned off.
In the case that the device to which the second interface is connected is determined to be a mobile power supply and the mobile power supply can supply power to the outside, the processor 103 may control the second switch Q2 and the first switch OP1 to be turned on, and control the second switch OP2 to be turned off.
It should be noted that, in this embodiment, the first switch OP1 and the second switch OP2 are not turned on at the same time, so that interference between other modules connected to the second end of the first switch OP1 and other modules connected to the second end of the second switch OP1 or backflow can be effectively avoided.
It should be noted that, under the control of the processor 103, the second switching tube Q2 may be turned on or off quickly and stably, so as to ensure the reliability of power supply. In addition, the on condition of the second switch unit 102 may be switched according to the type of the second interface access device, and the on condition of the second switch unit 102 may also be switched according to the state of the second interface access to the mobile power supply. In this way, the flexibility of the power supply can be improved.
In a possible implementation, referring to fig. 3, the second switching unit 102 further includes a third switching tube Q3.
The source electrode of the third switching tube Q3 is connected with the source electrode of the second switching tube Q2, the grid electrode of the third switching tube Q3 is connected with the second control end corresponding to the processor 103, and the drain electrode of the third switching tube Q3 is connected with the first end of the first switch OP1 and the first end of the second switch OP2 respectively.
The third switching tube Q3 is turned on under the control of the processor 103 when the second switching tube Q2 is turned on and waits for a preset time.
In this embodiment, the third switching transistor Q3 may be an N-channel switching transistor.
Waiting for the preset time after the second switching tube Q2 is turned on to turn on the third switching tube Q3 is to prevent the electric energy from flowing backward to the second switching tube Q2.
Typically, after waiting for the preset time, the other devices or modules will stop supplying power to the second power module. The preset time is set by a relevant technician according to actual needs, for example, may be 10 milliseconds (ms), or may be any other possible duration, which is not limited in the embodiment of the present application.
It should be noted that, when the second switch Q2 is turned on and the first switch OP1 or the second switch OP2 is turned on, the third switch Q3 is not turned on yet, but the parasitic diode exists in the third switch Q3, so that the electric energy input into the second switch Q2 from the second interface can be output to the second power consumption module through the parasitic diode of the third switch Q3 and the first switch OP 1. Therefore, besides the purposes of preventing backflow and improving the safety of the power supply chip 100, the mobile power supply connected to the second interface can output electric energy to the second power utilization module before other devices or modules stop supplying power to the second power utilization module, so that seamless switching of power supply to the second power utilization module can be realized, power failure of the second power utilization module is avoided, and the reliability of power supply is improved.
In a possible implementation, with continued reference to fig. 3, the second switching unit 102 further includes a sixth switching tube Q6.
The source electrode of the sixth switching tube Q6 is connected with the grid electrode of the first switching tube Q1, the grid electrode of the sixth switching tube Q6 is connected with the first control end of the processor 103, and the drain electrode of the sixth switching tube Q6 is connected with the second transmission end corresponding to the second switching unit 102.
The sixth switching tube Q6 is configured to be turned on under the control of the processor 103, so that the electric energy input from the second transmission end of the first switching unit 101 is supplied to the electric device or the mobile power supply through the sixth switching tube Q6 and the first switching tube Q1.
In this embodiment, since the drain electrode of the sixth switching tube Q6 is connected to the second transmission end corresponding to the second switching unit 102, that is, the drain electrode of the sixth switching tube Q6 is connected to the first electric device, when the first electric device is powered by other power supply devices, the sixth switching tube Q6 can avoid the electric energy output by the other power supply devices to the first electric device from flowing backward to the first switching tube Q1, the first interface, and the device connected to the first interface.
In this way, the safety of the power supply chip 100 can be improved.
In a possible implementation, the power supply chip 100 may further comprise a monitoring unit.
The first end of the monitoring unit is connected to the first transmission end of the first switch unit 101, the second end of the monitoring unit is connected to the first transmission end of the second switch unit 102, and the third end of the monitoring unit is connected to the third transmission end of the processor 103.
The monitoring unit is configured to monitor the electrical energy parameter input to the first switch unit 102 and/or the second switch unit 102 by the first interface and/or the second interface, and output the monitored electrical energy parameter to the processor 103.
The electric energy parameters at least can comprise parameters such as current, voltage, electric quantity of a mobile power supply and the like.
It should be noted that, the processor 103 may determine, according to the power parameter, whether the power output by the mobile power supply connected to the first interface or the second interface is stable, and whether the corresponding condition is met, and the processor 103 may further control the first switch unit 102 and/or the second switch unit 102 to be turned off if it is determined that the power output by the mobile power supply is unstable or the corresponding condition is not met.
In a possible implementation, the power supply chip 100 may further comprise a clock unit.
The clock unit is connected to the processor 103.
The clock unit is used for recording time and outputting the recorded time information to the processor 103.
For example, the clock unit may start recording time when the second switching tube Q2 is turned on, and send the recorded time information to the processor 103 in real time, and the processor 103 may determine whether the preset time has been waited according to the time information, and when the time information meets the preset time, control the third switching tube Q3 to be turned on.
For example, the power supply chip 100 may detect the discharge current and the output voltage of the mobile power supply connected to the first interface and/or the second interface in real time through the monitoring unit, and may turn off the first switching unit 102 and/or the second switching unit 102 when the load of the second power consumption module exceeds the maximum discharge current of the mobile power supply for a certain time T1. Therefore, the situation that the second power module cannot work normally when the mobile power supply supplies power can be avoided.
Alternatively, the first switching unit 102 and/or the second switching unit 102 may be turned off in a case where the output voltage of the mobile power supply falls below 95% of the normal state for a certain time T2. In this way, the mobile power supply can be prevented from overdischarging.
The time T1 and the time T2 may be adjusted according to actual needs, for example, T1 may be 3 seconds, and T2 may be 5 seconds, which is not limited in the embodiment of the present application.
In a possible implementation manner, the power supply chip 100 further includes at least one communication interface, where each communication interface includes at least a host interface.
In addition, each communication interface may further include any possible interface, such as an I/2 interface, a GPIO interface, a lightning interface, etc., which is not limited in this embodiment of the present application.
One end of the host interface is connected to the processor 103 and the other end of the host interface is used to connect to the processor of the electronic device.
The processor 103 is further configured to output the power parameter, the time information and/or any other possible parameter to a system management chip of the electronic device via the host interface.
In this embodiment, the system management chip may refer to an embedded controller (Embedded Controller, abbreviated as EC). The system management chip may receive information sent by the processor 103 to perform corresponding processing, and may also send corresponding instructions to the processor 103, so as to control units or modules such as the first switch unit 101, the second switch unit 102, and the like through the processor 103.
It should be noted that if the electronic device further includes an input device, the system management chip may package the instruction input by the user or the related technician through triggering the input device and send the instruction to the processor 103. If the electronic device further includes a display device, the system management chip may output information sent by the processor 103 to the display device.
Therefore, interaction between the power supply chip 100 and the external device can be realized through each communication interface, so that a user can conveniently control the power supply chip 100 through the external device, and effective power supply assistance can be provided.
In one embodiment, as shown in fig. 4, a power supply circuit is provided, which may also be applied to the above-described electronic device. The power supply circuit includes: at least one first interface C1, at least one second interface C2, a power supply module 200, and any of the power supply chips 100 of the above embodiments.
The first interface C1 is connected to a first end of the power supply chip 100, and the second interface C2 is connected to a second end of the power supply chip 100. The third terminal of the power supply chip 100 is connected with the first terminal of the power supply module 200 and the first power module, and the fourth terminal of the power supply chip 100 is connected with the second terminal of the power supply module 200 and the second power module.
The first interface C1 and the second interface C2 may be Type-C interfaces supporting the PD protocol, and the first interface C1 and the second interface C2 are used to access an external device, respectively.
The external device may be the high voltage charging device, powered device and/or mobile power supply described above.
The power supply module 200 is configured to supply power to the first power module and/or the second power module, and stop supplying power to the second power module when the power supply chip 100 transfers the power input by the second interface C2 to the second power module.
The power supply chip 100 may implement the functions and effects mentioned in any of the above embodiments, which are not described herein.
In this embodiment, the power supply module 200 may be a module that supplies power to the low-voltage power module and the high-voltage power module in the above-described electronic device. And, the power supply module 200 may convert the electric energy into specifications required for the low voltage power consumption module and/or the high voltage power consumption module, respectively.
In one embodiment, the power supply module 200 may be further configured to supply power to an external device connected to the first interface C1 through the first switch unit 101 and the first interface C1 when the first switch unit 101 in the power supply chip 100 is turned on. And, in case that the second switching unit 102 in the power supply chip 100 is turned on, power is supplied to the external device accessed to the first interface C2 through the second switching unit 102 and the first interface C2. The adjustment can be specifically performed according to actual situations, and the embodiment of the application is not limited to this.
Specifically, the power of the power supply module 200 may be provided by a high voltage charging device connected to the first interface C1 and/or the second interface C2, or may be provided by a battery in the electronic device, or may be provided by any other possible device or apparatus. The embodiments of the present application are not limited in this regard.
For example, if the power of the power supply module 200 is provided by a high voltage charging device connected to the first interface C1 and/or the second interface C2, the power input terminal of the power supply module 200 may be further connected to the first interface C1 and/or the second interface C2.
In addition, for example, the power supply module 200 may directly detect whether the power supply chip 100 transmits the electric energy input by the second interface C2 to the second power consumption module, or may interact with the power supply chip 100 to learn whether the power supply chip 100 transmits the electric energy input by the second interface C2 to the second power consumption module, or may determine whether the power supply chip 100 transmits the electric energy input by the second interface C2 to the second power consumption module under the control of the power supply chip 100, which is not limited in the embodiment of the present application.
It should be noted that, the working principle of the power supply circuit is as follows: in the case where neither the first interface C1 nor the second interface C2 has access to any device, both the first switching unit 101 and the second switching unit 102 in the power supply chip 100 are turned off. In addition, if a battery is used to supply power to the power supply module 200, the power supply module 200 supplies power to the first power module and/or the second power module.
In the case where the first interface C1 and/or the second interface C2 access the external device, the processor 103 in the power supply chip 100 handshakes with the external device and determines the type of the external device.
In case that it is determined that the type of the external device to which the first interface C1 is connected is a high voltage charging device and the second interface C2 is not connected to the external device, the high voltage charging device may output electric power (e.g., 20V voltage) to the power supply module 200 through the first interface C1, and both the first switching unit 101 and the second switching unit 102 in the power supply chip 100 remain turned off.
In the case where it is determined that the types of the external devices to which the first and second interfaces C1 and C2 are connected are both high-voltage charging devices, the high-voltage charging devices may output electric power to the power supply module 200 through the first or second interface C1 or C2, and both the first and second switching units 101 and 102 in the power supply chip 100 remain turned off.
In case it is determined that the type of the external device to which the second interface C2 is connected is a high voltage charging device, and the first interface C1 is not connected to the external device, the high voltage charging device may output electric power to the power supply module 200 through the second interface C2, and both the first and second switching units 101 and 102 in the power supply chip 100 remain turned off.
It can be seen that the high voltage charging device supplies power to the first power module and/or the second power module through the power supply module 200.
In case that it is determined that the type of the external device to which the first interface C1 is connected is a high voltage charging device and the type of the second interface C2 to which the external device is connected is an electric device (or the type of the second interface C2 to which the external device is connected is a mobile power source and the mobile power source does not output electric power), the high voltage charging device may output electric power to the power supply module 200 through the first interface C1, the first switching unit 101 in the power supply chip 100 is kept off, and the second switching unit 102 is turned on, so that the power supply module 200 supplies power to the electric device (or the mobile power source) through the second switching unit 102 and the second interface C2.
In the case where it is determined that the type of the external device to which the first interface C1 is connected is a high-voltage charging device, the type of the external device to which the second interface C2 is connected is a mobile power source, and the mobile power source outputs electric power, the high-voltage charging device may output electric power to the power supply module 200 through the first interface C1, the first switching unit 101 in the power supply chip 100 remains turned off, the second switching unit 102 is turned on, and at this time, the power supply module 200 stops supplying power to the second power consumption module so that the mobile power source supplies power to the second power consumption module through the second switching unit 102 and the second interface C2.
In the case where it is determined that the type of the first interface C1 connected to the external device and the type of the second interface C2 connected to the external device are mobile power sources, and the mobile power sources output electric power, the first switching unit 101 in the power supply chip 100 may be controlled to remain off, the second switching unit 102 may be controlled to be turned on, and at this time, the battery may supply power to the power supply module 200, and the power supply module 200 stops supplying power to the second power consumption module.
It should be noted that, since the power supply circuit provided in the embodiment of the present application includes the first interface C1, the second interface C2, the power supply module 200, and the power supply chip 100. And, the power supply chip 100 may control the first switching unit 101 and/or the second switching unit 102 in the power supply chip 100 to be turned on or off according to the type of the external device to which the first and second interfaces C1 and C2 are connected, while the power supply module 200 may supply power to the first and/or the second power modules, and stop supplying power to the second power modules in case that the power supply chip 100 transfers the power input by the second interface C2 to the second power modules.
That is, the power supply circuit may be switched to a device or module to which the first power module and the second power module supply power according to whether the first interface C1 and the second interface C2 are connected to an external device and the type of the connected external device. Specifically, under the condition that the mobile power supply connected to the second interface C2 can output electric energy, the mobile power supply supplies power to the second power consumption module, without the need of the high-voltage charging device connected to the first interface C1 or the need of the battery to supply power to the second power consumption module. Therefore, the power supply pressure of the high-voltage charging device or the battery can be reduced, and the problems that the high-voltage charging device or the battery easily reaches the power supply limit and the device powered by the high-voltage charging device or the battery is subjected to frequency reduction or power failure can be avoided.
In one possible implementation, referring to fig. 5, a power module 200 includes: a switch module 201, a power supply switching module 202, and a power conversion module 203.
A first end of the switch module 201 is connected to the first interface C1 and the first end of the power supply chip 100, a second end of the switch module 201 is connected to the second interface C2 and the second end of the power supply chip 100, and a third end and a fourth end of the switch module 201 are connected to the first end of the power conversion module 203.
The first end of the power supply switching module 202 is connected with the third end of the power supply chip 100 and the first power module, the second end of the power supply switching module 202 is connected with the fourth end of the power supply chip 100 and the second power module respectively, the fifth end of the power supply chip 100 is connected with the third end of the power supply switching module 202, and the fourth end of the power supply switching module 202 is connected with the second end of the power supply conversion module 203.
The third terminal of the power conversion module 203 is connected to a third power module, and the fourth terminal of the power conversion module 203 is connected to a battery.
The power supply chip 100 is specifically configured to control a corresponding switch in the switch module 201 to be turned on when it is confirmed that the device accessed by the first interface C1 or the second interface C2 is a high-voltage charging device. In the case that the device accessed by the first interface C1 is determined to be the electric device, the corresponding switch in the control switch module 201 is turned off, and the first switch unit in the power supply chip 100 is turned on. In the case that the device accessed by the second interface C2 is determined to be an electric device, the corresponding switch in the control switch module 201 is turned off, and the second switch unit in the power supply chip 100 is turned on, so as to transmit the electric energy input by the power supply switching module 202 to the electric device. And when the equipment connected to the second interface C2 is determined to be a mobile power supply, controlling the corresponding switch in the switch module 201 to be turned off and the second switch unit in the power supply chip 100 to be turned on, so as to transmit the electric energy input by the mobile power supply to the second power consumption module.
In this embodiment, when the corresponding switch in the switch module 201 is turned on, the high-voltage charging device connected to the first interface C1 or the second interface C2 can supply power to the power supply module 200 through the switch module 201.
Specifically, in the case that the device to which the second interface C2 is connected is determined to be a mobile power supply and the mobile power supply can output electric energy, the corresponding switch in the control switch module 201 is turned off, and the second switch unit in the power supply chip 100 is turned on, so as to transmit the electric energy input by the mobile power supply to the second power consumption module. In the case that the device connected to the second interface C2 is determined to be a mobile power source and the mobile power source does not output electric energy, the corresponding switch in the control switch module 201 is turned off, and the second switch unit in the power supply chip 100 is turned on, so as to transmit the electric energy input by the power supply switching module 202 to the mobile power source. Therefore, the second power utilization module can be supplied with power by the mobile power supply only when the mobile power supply can output electric energy, and the mobile power supply is only charged under the condition that the electric quantity of the mobile power supply is low or the output parameters of the mobile power supply are not in accordance with the requirements. Therefore, the mobile power supply can be prevented from being overdischarged, and is protected from being damaged, and the reliability and the safety of the power supply circuit are improved.
The power conversion module 203 is configured to convert the electric energy input from the switching module 201 into a first voltage, and output the first voltage to the power supply switching module 202 and/or the battery. And outputting the second voltage output by the battery to the power supply switching module 202.
In addition, the electric power input from the switching module 201 may refer to electric power output to the power supply module 200 through the first interface C1 or the second interface C2 by the high-voltage charging device.
Further, the power conversion module 203 may specifically output the second voltage output by the battery to the power supply switching module 202 in a case where the switching module 201 does not output electric power to the power conversion module.
The power supply switching module 202 is configured to convert the first voltage or the second voltage into a preset voltage, and transmit the preset voltage to the first power module and the second power module. And stopping outputting the electric power to the second power consumption module under the control of the power supply chip 100.
In this embodiment, the voltage level of the first voltage may satisfy the voltage level required by the power supply switching module 202 to operate normally and charge the battery. The voltage level of the second voltage may be a voltage level of the battery output voltage. The embodiments of the present application are not limited in this regard.
The voltage level of the preset voltage may be a voltage level capable of enabling the first power module and the second power module to work normally, and may be generally 5V. The embodiments of the present application are not limited in this regard.
In this embodiment, the condition that the power supply switching module 202 of the power supply chip 100 stops outputting the electric energy to the second power consumption module may be that the mobile power source connected to the first interface C1 or the second interface C2 may supply the electric energy to the second power consumption module through the power supply chip 100, or that the mobile power source connected to the first interface C1 or the second interface C2 may supply the electric energy to the second power consumption module through the power supply chip 100 and wait for the above-mentioned preset time.
It should be noted that, the power conversion module 203 converts the electric energy input from the switch module 201 into the first voltage and outputs the first voltage to the power supply switching module 202 and the battery, so that the purpose of supplying power to the power supply switching module 202 and charging the battery by the high voltage charging device can be achieved. The power conversion module 203 outputs the second voltage to the power supply switching module 202, so that the battery can supply power to the power supply switching module 202.
The power supply switching module 202 may transmit the preset voltage to the first power module and/or the second power module, so that the purpose of supplying power to the first power module and/or the second power module by the high voltage charging device or the battery may be achieved.
Therefore, the flexibility of power supply by using the power supply circuit can be improved, and the mobile power supply can supply power for the second power utilization module under the condition that the first interface C1 is connected with the high-voltage charging device and the mobile power supply connected with the second interface C2 can output electric energy.
In a possible implementation, referring to fig. 6, the power conversion module 203 includes a conversion chip 2031, a third switching unit 2032, a fourth switching tube Q4, a first step-down unit 2033, and a second step-down unit 2034.
The input end of the conversion chip 2031 is connected to the first transmission end of the third switching unit 2032, the third end and the fourth end of the switching module 201, the first control end of the conversion chip 2031 is connected to the controlled end of the third switching unit 2032, the output end of the conversion chip 2031 is connected to the ground end of the third switching unit 2032, and the second control end of the conversion chip 2031 is connected to the gate of the fourth switching tube Q4.
The drain electrode of the fourth switching tube Q4 is connected to the second transmission end of the third switching unit 2032, the input end of the first voltage reducing unit 2033, the input end of the second voltage reducing unit 2034, and the fourth end of the power supply switching module 202, and the source electrode of the fourth switching tube Q4 is connected to the output end of the second voltage reducing unit 2034 and the battery, respectively.
The output terminal of the first step-down unit 2033 is used for connecting to a third power module.
The conversion chip 2031 may be any possible chip for voltage conversion, or may be a charging chip (Charger IC). The conversion chip 2031 is used for controlling the fourth switching tube Q4 to be turned off and controlling the third switching unit 2032 to be turned on when the switching module 201 inputs electric energy. In the case where the switching module 201 does not input power, the fourth switching tube Q4 is controlled to be turned on, and the third switching unit 2032 is controlled to be turned off.
In the present embodiment, the fourth switching tube Q4 is a switching tube for switching the above-described battery and high-voltage charging device, and the third switching unit 2032 may be used for preventing the electric power output from the battery from flowing backward to the conversion chip 2031 and/or the switching module 201, and the conversion chip 2031 may be effectively protected.
Specifically, if the switch module 201 inputs electric energy to the conversion chip 2031, it indicates that the first interface C1 or the second interface C2 is connected to the high-voltage charging device, and the high-voltage charging device can supply power to the corresponding power consumption module without the battery. At this time, the fourth switching tube Q4 may be turned off and the third switching unit 2032 may be turned on.
If the switch module 201 does not input electric energy to the conversion chip 2031, it indicates that the first interface C1 or the second interface C2 is not connected to the high-voltage charging device or the high-voltage charging device cannot output electric energy, and the battery is required to supply power to the corresponding power utilization module. At this time, the fourth switching tube Q4 may be turned on, and the third switching unit 2032 may be turned off.
The first step-down unit 2033 is configured to convert a voltage level of input electric power and output the converted electric power to the third electric power module. The second step-down unit 2034 is configured to convert a voltage level of input electric power and output the converted electric power to the battery in a case where the fourth switching tube Q4 is turned off.
In the present embodiment, the first step-down unit 2033 and the second step-down unit 2034 may be BUCK circuits.
The third power module may include a high-voltage power device in the electronic device, such as a cpu, a graphics processor, and other high-power devices. Then, the voltage level of the electric power converted by the first step-down unit 2033 may be matched to the voltage level required by the third electric module.
The voltage level of the electric energy converted by the second step-down unit 2034 may satisfy the input voltage range that the battery can support. The embodiments of the present application are not limited in this regard.
In this way, it is ensured that the power output by the power conversion module 203 does not damage the third power module and the battery, and the safety of power supply can be improved.
In one possible implementation, the power conversion module 203 may further include a sampling resistor. The first end of the sampling resistor is connected to the source of the fourth switching tube Q4 and the first sampling end of the switching chip 2031, and the second end of the sampling resistor is connected to the second sampling end of the switching chip 2031 and the battery.
In this embodiment, the sampling resistor may be used to sample a first parameter of the electrical energy output by the battery or a second parameter of the electrical energy input to the battery.
The first parameter and the second parameter may comprise a current value or a voltage value.
The conversion chip 2031 may acquire the first parameter and/or the second parameter through the first sampling end and the second sampling end, and determine whether the first parameter and/or the second parameter is in a normal interval. And stopping outputting the electric energy to the battery or turning off the fourth switching tube Q4 under the condition that the first parameter or the second parameter is not in a normal interval.
In one possible implementation, with continued reference to fig. 6, the power supply switching module 202 includes a third buck unit and a fifth switching tube Q5.
The input end of the third step-down unit is connected to the second end of the power conversion module 203, and the output end of the third step-down unit is connected to the third end of the power supply chip 100, the first electric module, and the drain electrode of the fifth switching tube Q5, respectively.
The grid electrode of the fifth switching tube Q5 is connected with the third end of the power supply chip 100, and the source electrode of the fifth switching tube Q5 is respectively connected with the fifth end of the power supply chip 100 and the second power utilization module.
The third step-down unit is used for converting the voltage level of the input electric energy and outputting the converted electric energy.
The fifth switching tube Q5 is used to turn on or off under the control of the power supply chip 100, so as to turn on or off the power supply channel between the third voltage reduction unit and the second power consumption module.
In this embodiment, the third step-down unit may be a BUCK circuit. The voltage level of the electric energy converted by the third voltage reduction unit may correspond to a voltage level required by the first electric module and/or the second electric module. For example, 5V, or any other possible voltage level.
And the fifth switching tube Q5 is used to control whether the power supply switching module 202 supplies power to the second power using module. In general, the fifth switching tube Q5 may be in an off state in case that the power supply circuit is just powered on, so as to ensure that the second power module may be normally powered on when the mobile power source is not supplying power.
For example, if the mobile power source connected to the first interface C1 or the second interface C2 can supply power to the second power module through the power supply chip 100, the fifth switching tube Q5 may be turned off. Otherwise, the fifth switching tube Q5 may be turned on, and the battery or the high voltage charging device may supply power to the second power module.
In one embodiment, the power supply switching module 202 may further include a processing module with a detecting and processing function, and specifically, the processing module may detect whether the mobile power supply supplies power to the second power consumption module through the power supply chip 100, and turn off the fifth switching tube Q5 when it is determined that the mobile power supply supplies power to the second power consumption module through the power supply chip 100. The embodiments of the present application are not limited in this regard.
In this way, the manner of supplying power to the second power utilization module can be switched accurately, quickly and reliably. And after the fifth switching tube Q5 is turned off, the third switching tube Q3 can be turned on after waiting for the preset time, so that seamless switching of power supply for the second power utilization module can be realized, the condition that the second power utilization module is powered down is avoided, and the reliability of power supply is further improved.
In one possible implementation, with continued reference to fig. 6, the switch module 201 includes: a third switch and a fourth switch.
The first end of the third switch is connected to the first end of the power supply chip 100, the first end of the fourth switch is connected to the second end of the power supply chip 100, and the second end of the third switch and the second end of the fourth switch are both connected to the first end of the power conversion module 203.
Wherein the third switch and the fourth switch are respectively used for being turned on or off under the control of the power supply chip 100.
In this embodiment, if the first interface C1 is connected to the high-voltage charging device, the third switch may be turned on. If the second interface C2 is connected to the high voltage charging device, the fourth switch may be turned on.
And, the third switch and the fourth switch are not normally turned on at the same time. If the first interface C1 and the second interface C2 are connected to the high-voltage charging device, the third switch may be preferentially selected to be turned on, and the fourth switch, the first switch unit 101, the second switch unit 102, and the like may be turned off. The embodiments of the present application are not limited in this regard.
In this way, it may be ensured that only one high voltage charging device may supply power to the power conversion module 203 through the switch module 201 at the same time, and damage to the power conversion module 203, the power supply switching module 202 and/or the corresponding power utilization module may be avoided. And further, the safety and reliability of the power supply circuit can be improved.
In a possible implementation, the third switching unit 2032 includes a seventh switching tube.
The drain electrode of the seventh switching tube is connected with the input end of the conversion chip, the grid electrode of the seventh switching tube is connected with the first control end corresponding to the conversion chip, and the source electrode of the seventh switching tube is connected with the drain electrode of the fifth switching tube.
In addition, the third switching unit may further include an eighth switching tube.
The source electrode of the eighth switching tube is connected with the source electrode of the seventh switching tube, the grid electrode of the eighth switching tube is connected with the first control end corresponding to the conversion chip, and the drain electrode of the eighth switching tube is connected with the drain electrode of the fifth switching tube.
And the source electrode of the eighth switching tube can be connected with the ground end of the conversion chip, so that the source electrodes of the eighth switching tube and the seventh switching tube are grounded.
In this embodiment, the seventh switching tube and/or the eighth switching tube may be controlled to be turned on, so that the high voltage charging device may supply power to the power supply switching module 202 and the corresponding power using module through the switching module 201, the third switching unit 2032. The seventh switching tube and/or the eighth switching tube may also be controlled to be turned off to prevent the electric power output from the above-described battery from flowing backward to the switching chip 2031. In this way, the safety and reliability of the power supply circuit can be improved.
In one embodiment, there is provided an electronic device D including: a high voltage power module, a plurality of low voltage power modules, a system management chip EC, and any of the power supply circuits of the above embodiments.
The high voltage power module may be referred to as a third power module. Each low voltage power module may refer to a first power module and/or a second power module.
As shown in fig. 7, the system management chip EC may be connected to the power supply chip 100, and the system management chip EC is configured to receive power supply parameters transmitted from the power supply chip 100, output corresponding display information according to the power supply parameters, and transmit control instructions to the power supply chip 100 in response to a user's operation.
The power supply parameter may include a discharge current, an output voltage, an electric quantity, and/or a power supply duration of the mobile power supply.
For example, assuming that the second interface C1 is connected to the mobile power supply, the power supply chip 100 sends the discharging current and the output voltage of the mobile power supply to the system management chip EC after successful handshaking with the mobile power supply. The system management chip EC may display the corresponding option sub-interface on the operation interface of the electronic device D.
For example, the option sub-interface may display an option for the user to select the mobile power source as a power supply device or as a charged device. If the user selects the mobile power supply as the power supply device, the system management chip EC may send a command to the power supply chip 100 to set the interface connected to the mobile power supply as DFP (Downstream Facing port, downstream port), and after receiving the command, the power supply chip 100 may confirm that the mobile power supply may supply power to the second power consumption module, and may turn on the responsive switching unit in the manner mentioned in the foregoing embodiment.
If the user selects the mobile power supply as the power supply device, the system management chip EC may send an instruction to the power supply chip 100 to set the interface to access the mobile power supply as UFP (Upstream Facing port, downlink port), and the power supply chip 100 may confirm that the mobile power supply cannot supply power to the second power consumption module after receiving the instruction.
Further, the power supply chip 100 may further monitor whether the output voltage of the mobile power supply is stable through the above-mentioned monitoring unit when receiving the instruction of setting the corresponding interface to DFP, for example, may detect whether the output voltage of the mobile power supply meets +/-5% accuracy. If the power supply is stable, the mobile power supply can be confirmed to supply power to the second power utilization module. If the mobile power supply is unstable, the mobile power supply can be fed back to the system management chip EC so that the system management chip EC can output information for prompting that the mobile power supply can only be charged.
For another example, in the process of supplying power to the mobile power supply, the power supply chip 100 may acquire the power of the mobile power supply and send the power of the mobile power supply to the system management chip EC, where the system management chip EC may display the power of the mobile power supply on the operation interface of the electronic device D to remind the user of paying attention to the power of the mobile power supply, so as to avoid overdischarging of the mobile power supply.
In addition, the power supply chip 100 may control the power supply module in the power supply circuit to supply power to the second power utilization module again when the electric quantity of the mobile power supply is less than or equal to the preset threshold value, and turn off the switch unit corresponding to the interface connected to the mobile power supply. Meanwhile, the power supply chip 100 may feed back to the system management chip EC, and the system management chip EC may output information prompting the user whether to charge the mobile power supply, and if the user selects not to charge the mobile power supply, the corresponding switching unit is kept off. If the user selects to charge the mobile power supply, the corresponding switching unit is turned on, forming a path among the power supply module 200, the switching unit, the interface, and the mobile power supply.
For another example, if the electric quantity of the mobile power supply cannot be obtained, the recorded power supply time length of the mobile power supply may be sent to the system management chip EC, and the system management chip EC may display the common electric time length on the operation interface of the electronic device D to remind the user.
In one embodiment, the electronic device D may further include a battery, which may be connected to the power supply module in the power supply circuit.
It should be noted that, since the mobile power supply is connected to the interface of the electronic device and is used to supply power to at least one low-voltage power consumption module in the electronic device, the high-voltage charging device connected to the electronic device D or the battery inside the electronic device D is not required to supply power to the second power consumption module, so that the power supply pressure of the high-voltage charging device or the battery can be reduced, and the problem of frequency reduction or power failure of the device powered by the high-voltage charging device or the battery is avoided.
It will be appreciated that in this way, the high voltage charging device or the battery may be allocated to the high voltage power module in the electronic device D, such as a high power consumption device, e.g. a cpu, a graphics processor, etc., with which the low voltage power module is originally required to be supplied. The problem of performance degradation of the electronic device D due to the limitation of the high-voltage charging device or the battery power supply capability is effectively improved.
In addition, through utilizing the system management chip EC to interact with the power supply chip 100, not only can the user conveniently trigger the operation on the electronic device D to control the power supply chip, but also can intuitively display the power supply parameters of the mobile power supply connected with the power supply chip 100 on the operation interface of the electronic device D for the user to check, so as to provide effective power supply assistance.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the electronic device to which the present application is applied, and that a particular electronic device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In order to better illustrate the power supply chip, the power supply circuit and/or the logic for performing power supply control in the electronic device provided by the embodiments of the present application, the embodiments of the present application further provide a power supply control method, and specific implementation processes and technical effects of the power supply control method are referred to above, and are not described in detail below.
As shown in fig. 8, the power supply control method may be applied to the power supply chip, the power supply circuit, and/or the electronic device in any of the above embodiments, and is specifically executed by a processor in the power supply chip. The method may include:
step 801: the type of the external device is obtained.
The external device is a device connected with the first interface and/or the second interface.
In this embodiment, handshake communication may be performed with the external device based on the PD protocol, so as to obtain the type of the external device.
Step 802: and controlling the first switch unit and the second switch unit in the power supply chip to be turned on or turned off according to the type of the external device.
It should be understood that, when the power supply chip is applied to the power supply circuit or the electronic device, other switch components in the power supply circuit may be controlled to be turned on or off according to the type of the external device, and in particular, the above embodiments may be referred to, which is not described herein.
In a possible implementation manner, the method may further include:
and under the condition that the type of the external device is determined to be a high-voltage charging device, turning off a corresponding switch unit in the power supply chip and turning on a corresponding switch in the switch module. In this way, the electric energy output by the high-voltage charging device can be output to the power supply module through the switch module.
And under the condition that the type of the external device is determined to be the electric equipment, turning off a corresponding switch in the switch module and turning on a corresponding switch unit in the power supply chip. In this way, the power supply module can supply power to the electric equipment through the corresponding switch unit.
And under the condition that the type of the external device is determined to be a mobile power supply, turning off a corresponding switch in the switch module and turning on a corresponding switch unit in the power supply chip. In this way, the power supply module can supply power to the mobile power supply through the corresponding switch unit, or the electric energy output by the mobile power supply is output to the second power utilization module through the corresponding switch unit.
In one embodiment, if the type of the external device is determined to be a mobile power source, the following steps may be executed:
and acquiring the power supply parameters of the mobile power supply, and sending the power supply parameters to a system management chip.
The system management chip can display corresponding options or prompt information on an operation interface of the electronic equipment, and send instructions to the power supply chip when a user triggers the corresponding options.
And receiving and analyzing an instruction sent by the system management chip, determining the mobile power supply as a power supply device or a charged device, and controlling the corresponding switch to be turned on or turned off.
Further, the method may further include:
in the case of determining that the mobile power supply is to be the power supply device, it is possible to monitor whether the output voltage of the mobile power supply satisfies the preset accuracy.
If yes, the mobile power supply is confirmed to supply power to the second power utilization module, and the corresponding switch is controlled to be turned on or off.
If the power consumption of the second power consumption module is not satisfied, the mobile power supply is confirmed to be incapable of supplying power to the second power consumption module, and the power consumption module is fed back to the system management chip EC.
In one embodiment, during the power supply process of the mobile power supply, the method may further include:
and acquiring the electric quantity of the mobile power supply, and sending the electric quantity of the mobile power supply to a system management chip.
The system management chip can display the electric quantity on an operation interface of the electronic device.
And under the condition that the electric quantity is smaller than or equal to a preset threshold value, controlling a power supply module in the power supply circuit to supply power to the second power utilization module again, and switching off a switch unit corresponding to an interface connected with the mobile power supply.
In this embodiment, the system management chip may output information prompting the user whether to charge the mobile power supply. And under the triggering of a user, the system management chip can output a corresponding instruction to the power supply chip.
And in response to receiving an instruction sent by the system management chip and used for indicating not to charge the mobile power supply, the corresponding switch unit is kept closed.
And in response to receiving an instruction for indicating to charge the mobile power supply sent by the system management chip, the corresponding switch unit is turned on to form a path among the power supply module, the switch unit, the interface and the mobile power supply.
In one embodiment, during the power supply process of the mobile power supply, the method may further include:
and recording the power supply time of the mobile power supply in real time and sending the power supply time to a system management chip.
The system management chip may display the power supply duration on an operation interface of the electronic device D.
It should be understood that the steps in the power supply control method are not strictly limited in order, and may be performed in other orders. Moreover, at least a part of the steps in the power supply control method may include a plurality of sub-steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of execution of the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with at least a part of the sub-steps or stages of other steps or other steps.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples represent only a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.
Claims (10)
1. A power chip, the power chip comprising: the device comprises a processor, a first switch unit and a second switch unit;
the processor is connected with the controlled end of the first switch unit, and the processor is connected with the controlled end of the second switch unit;
the first transmission end of the first switch unit is used for being connected with a first interface, the first transmission end of the second switch unit is used for being connected with a second interface, the second transmission end of the first switch unit and the second transmission end of the second switch unit are respectively used for being connected with a first power module, and the third transmission end of the second switch unit is used for being connected with a second power module;
the processor is used for switching on or off the first switch unit and the second switch unit according to the type of the first interface and/or the second interface access device;
The first switch unit is used for being conducted under the control of the processor so as to convey the electric energy input from the second transmission end of the first switch unit to the first interface through the first switch unit;
the second switch unit is used for being conducted under the control of the processor so as to convey the electric energy input from the first transmission end of the second switch unit to the second interface through the second switch unit or convey the electric energy input from the second interface to the second power utilization module through the second switch unit.
2. The power supply chip of claim 1, wherein the first switching unit comprises a first switching tube;
the drain electrode of the first switching tube is connected with the first interface, the grid electrode of the first switching tube is connected with the first control end of the processor, and the source electrode of the first switching tube is connected with the second transmission end corresponding to the second switching unit;
the first switching tube is used for being conducted under the control of the processor so as to supply electric energy input from the second transmission end of the first switching unit to the electric equipment or the mobile power supply through the first switching tube.
3. The power supply chip of claim 1, wherein the second switching unit comprises a second switching tube, a first switch, and a second switch;
the drain electrode of the second switching tube is connected with the second interface, the grid electrode of the second switching tube is connected with the third end of the processor, and the source electrode of the second switching tube is respectively connected with the first end of the first switch and the first end of the second switch;
the second end of the first switch is used for being connected with a second power utilization module, and the second end of the second switch is connected with the fourth end of the first switch unit;
the second switch tube, the first switch and the second switch are respectively used for being conducted under the control of the processor so as to convey electric energy input from the second end of the second switch to the second interface through the second switch tube or convey electric energy input from the second interface to the second electricity utilization module through the first switch tube and the second switch tube.
4. The power supply chip of claim 3, wherein the second switching unit further comprises a third switching tube;
The source electrode of the third switching tube is connected with the source electrode of the second switching tube, the grid electrode of the third switching tube is connected with the second control end corresponding to the processor, and the drain electrode of the third switching tube is respectively connected with the first end of the first switch and the first end of the second switch;
and under the condition that the second switching tube is conducted and waits for preset time, the third switching tube is conducted under the control of the processor.
5. A power supply circuit for use in an electronic device, the power supply circuit comprising: at least one first interface, at least one second interface, a power supply module, and a power supply chip as claimed in any one of the preceding claims 1-4;
the first interface is connected with a first end of the power supply chip, and the second interface is connected with a second end of the power supply chip; the third end of the power supply chip is connected with the first end of the power supply module and the first power module, and the fourth end of the power supply chip is connected with the second end of the power supply module and the second power module;
the first interface and the second interface are respectively used for accessing an external device;
the power supply module is used for supplying power to the first power utilization module and/or the second power utilization module; and under the condition that the power supply chip transmits the electric energy input by the second interface to the second power utilization module, stopping supplying power to the second power utilization module.
6. The power supply circuit of claim 5, wherein the power supply module comprises: the power supply system comprises a switch module, a power supply switching module and a power supply conversion module;
the first end of the switch module is connected with the first interface and the first end of the power supply chip, the second end of the switch module is connected with the second interface and the second end of the power supply chip, and the third end and the fourth end of the switch module are connected with the first end of the power supply conversion module;
the first end of the power supply switching module is connected with the third end of the power supply chip and the first power module, the second end of the power supply switching module is connected with the fourth end of the power supply chip and the second power module respectively, the fifth end of the power supply chip is connected with the third end of the power supply switching module, and the fourth end of the power supply switching module is connected with the second end of the power supply conversion module;
the third end of the power conversion module is connected with a third power module, and the fourth end of the power conversion module is connected with a battery;
the power supply chip is specifically configured to control a corresponding switch in the switch module to be turned on when it is confirmed that the device accessed by the first interface or the second interface is a high-voltage charging device; under the condition that the equipment accessed by the first interface is confirmed to be electric equipment, a corresponding switch in the switch module is controlled to be turned off, and a first switch unit in the power supply chip is controlled to be turned on; under the condition that the equipment accessed by the second interface is confirmed to be electric equipment, a corresponding switch in the switch module is controlled to be turned off, and a second switch unit in the power supply chip is controlled to be turned on, so that electric energy input by the power supply switching module is transmitted to the electric equipment; and under the condition that the equipment accessed by the second interface is a mobile power supply, controlling a corresponding switch in the switch module to be turned off and a second switch unit in the power supply chip to be turned on so as to transmit the electric energy input by the mobile power supply to the second power utilization module;
The power conversion module is used for converting the electric energy input from the switch module into a first voltage and outputting the first voltage to the power supply switching module and the battery; and outputting a second voltage output by the battery to the power supply switching module;
the power supply switching module is used for converting the first voltage or the second voltage into preset voltage and transmitting the preset voltage to the first power module and the second power module; and stopping outputting the electric energy to the second power utilization module under the control of the power supply chip.
7. The power supply circuit of claim 6, wherein the power conversion module comprises a conversion chip, a third switching unit, a fourth switching tube, a first buck unit, and a second buck unit;
the input end of the conversion chip is connected with the first transmission end of the third switch unit, the third end and the fourth end of the switch module, the first control end of the conversion chip is respectively connected with the controlled end of the third switch unit, the output end of the conversion chip is connected with the grounding end of the third switch unit, and the second control end of the conversion chip is connected with the grid electrode of the fourth switch tube;
The drain electrode of the fourth switching tube is respectively connected with the second transmission end of the third switching unit, the input end of the first voltage reduction unit, the input end of the second voltage reduction unit and the fourth end of the power supply switching module, and the source electrode of the fourth switching tube is respectively connected with the output end of the second voltage reduction unit and the battery;
the output end of the first voltage reduction unit is used for being connected with a third power module;
the switching chip is used for controlling the fourth switching tube to be turned off and controlling the third switching unit to be turned on under the condition that the switching module inputs electric energy; under the condition that the switch module does not input electric energy, the fourth switch tube is controlled to be conducted, and the third switch unit is controlled to be turned off;
the first voltage reduction unit is used for converting the voltage level of the input electric energy and outputting the converted electric energy to the third power module; the second step-down unit is used for converting the voltage level of the input electric energy under the condition that the fourth switching tube is turned off, and outputting the converted electric energy to the battery.
8. The power supply circuit of claim 6, wherein the power supply switching module comprises a third buck unit and a fifth switching tube;
The input end of the third voltage reduction unit is connected with the second end of the power supply conversion module, and the output end of the third voltage reduction unit is respectively connected with the third end of the power supply chip, the first electric module and the drain electrode of the fifth switching tube;
the grid electrode of the fifth switching tube is connected with the third end of the power supply chip, and the source electrode of the fifth switching tube is respectively connected with the fifth end of the power supply chip and the second power utilization module;
the third step-down unit is used for converting the voltage level of the input electric energy and outputting the converted electric energy;
the fifth switching tube is used for being switched on or off under the control of the power supply chip so as to switch on or off a power supply channel between the third voltage reduction unit and the second power utilization module.
9. An electronic device comprising a high voltage power module, a plurality of low voltage power modules, a system management chip, and the power supply circuit of any one of the preceding claims 5 to 8.
10. A power supply control method, characterized in that the method comprises:
obtaining the type of an external device, wherein the external device is a device connected with a first interface and/or a second interface;
and controlling the first switch unit and the second switch unit in the power supply chip to be turned on or turned off according to the type of the external device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311828879.4A CN117762232A (en) | 2023-12-27 | 2023-12-27 | Power supply chip, power supply circuit, electronic device, and power supply control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311828879.4A CN117762232A (en) | 2023-12-27 | 2023-12-27 | Power supply chip, power supply circuit, electronic device, and power supply control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117762232A true CN117762232A (en) | 2024-03-26 |
Family
ID=90322059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311828879.4A Pending CN117762232A (en) | 2023-12-27 | 2023-12-27 | Power supply chip, power supply circuit, electronic device, and power supply control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117762232A (en) |
-
2023
- 2023-12-27 CN CN202311828879.4A patent/CN117762232A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10622802B2 (en) | Power receiving apparatus and control circuit thereof | |
US10574073B2 (en) | Electronic device and method for controlling power supply | |
US10181742B2 (en) | Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device | |
EP3043442A1 (en) | Hub having complex power converters | |
US11119550B2 (en) | USB device and operation method thereof | |
JP2014524232A (en) | Power supply apparatus and method, and user apparatus | |
CN111917163A (en) | Multi-port charging control circuit and method, charging chip and power supply equipment | |
US20090100258A1 (en) | Mobile terminal aware of external device and control method for the same | |
CN105680422B (en) | Improved battery protects circuit and system | |
US9244509B2 (en) | Uninterruptible power system and power control system thereof | |
US9684362B2 (en) | Battery powered device | |
US7679321B2 (en) | Power circuit | |
CN114079302B (en) | Charging circuit, charging chip, electronic device and charging method | |
KR20140126491A (en) | power supply circuit and method for controlling thereof | |
US20140032952A1 (en) | Electronic apparatus and drive control method thereof | |
CN112886664A (en) | Electronic device | |
CN114243871A (en) | Charging and discharging circuit, electronic equipment and electronic system | |
US20190104586A1 (en) | Controlling a power adaptor light-emitting diode (led) indicator | |
CN106797414A (en) | The leakage current detection circuit and terminal of a kind of terminal | |
US10461555B2 (en) | Battery charging for mobile devices | |
CN113614919B (en) | Semiconductor integrated circuit with a high-speed circuit | |
CN112256120A (en) | Protection circuit and electronic device | |
CN102346529A (en) | Power supply control circuit | |
CN117762232A (en) | Power supply chip, power supply circuit, electronic device, and power supply control method | |
CN110365082B (en) | Power management circuit, electronic device and power management method |
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 |