CN113009995B - Power supply device and power supply method - Google Patents
Power supply device and power supply method Download PDFInfo
- Publication number
- CN113009995B CN113009995B CN201911331023.XA CN201911331023A CN113009995B CN 113009995 B CN113009995 B CN 113009995B CN 201911331023 A CN201911331023 A CN 201911331023A CN 113009995 B CN113009995 B CN 113009995B
- Authority
- CN
- China
- Prior art keywords
- power supply
- unit
- transistor
- battery
- coupled
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0063—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The embodiment of the application provides a power supply device and a power supply method, and relates to the field of electronic equipment, such as computers, tablet computers, notebooks, portable computers and the like. The specific scheme is as follows: when the power interface is coupled with an external power supply, the first power supply unit supplies power to the system unit, the first control unit controls the first switch unit to be turned on so that the first power supply unit supplies power to the battery, and the second control unit controls the second switch unit to be turned on so that the second power supply unit supplies power to the battery; or when the power interface is coupled with the external power supply, the first power supply unit supplies power to the system unit, the first control unit controls the first switch unit to be turned off, and the second control unit controls the second switch unit to be turned on so that the second power supply unit supplies power to the battery. By the technical scheme provided by the embodiment of the application, the electronic equipment can be rapidly charged.
Description
Technical Field
The embodiment of the application relates to the field of electronic equipment, in particular to a power supply device and a power supply method.
Background
In an electronic device, a power supply (charger) unit is an indispensable component. Illustratively, taking the example of the electronic device being a personal computer (personal computer, PC), the charger unit may process (e.g., step up or step down) the current drawn by the external power source to provide current for operation of the electronic device, e.g., to power the PC system and to power a Battery (BAT) of the PC.
It can be seen that the charge unit needs to supply current for the operation of the PC system and also needs to supply power to the battery, which can cause a large burden on the charge unit, thereby also causing serious heat generation of the charge unit and further affecting the power supply efficiency of the charge unit.
Meanwhile, with the updating of electronic devices, the requirements of the electronic devices on the supply current are also becoming higher. For example, as PC systems become more powerful, the charger unit is required to provide a greater supply current to power the PC systems. As another example, as battery capacity increases and rapid charging is required, the charger unit is required to provide a greater supply current to the battery. The requirement that the charge unit provide a larger current can cause the problem of heat generation of the charge unit to become more prominent, and seriously affect the power supply efficiency of the charge unit.
Disclosure of Invention
The embodiment of the application provides a power supply device and a power supply method, and relates to the field of electronic equipment, such as computers, tablet computers, notebooks, portable computers and the like. Heating in the working process of the power supply unit is effectively reduced, so that the power supply efficiency of the power supply unit is improved, and the risk of damaging the power supply unit is reduced.
In order to achieve the above purpose, the embodiment of the application adopts the following technical scheme:
in a first aspect, an embodiment of the present application provides a power supply apparatus, where the apparatus is applied to an electronic device, and the electronic device further includes a battery and a system unit. The power supply device includes: and the power interface, the first power supply unit and the second power supply unit. The first power supply unit comprises a first switch unit and a first control unit, and the second power supply unit comprises a second switch unit and a second control unit. The power interface is coupled to a first end of the first switch unit, the first end of the first switch unit is further coupled to the system unit, a second end of the first switch unit is coupled to the battery, and a third end of the first switch unit is coupled to the first control unit. The power interface is also coupled to a first end of the second switching unit, a second end of the second switching unit is coupled to the battery, and a third end of the second switching unit is coupled to the second control unit. When the power interface is coupled with an external power supply, the first power supply unit supplies power to the system unit, the first control unit controls the first switch unit to be turned on so that the first power supply unit supplies power to the battery, and the second control unit controls the second switch unit to be turned on so that the second power supply unit supplies power to the battery. Or when the power interface is coupled with the external power supply, the first power supply unit supplies power to the system unit, the first control unit controls the first switch unit to be turned off, and the second control unit controls the second switch unit to be turned on so that the second power supply unit supplies power to the battery. Based on the scheme, the second power supply unit can share the pressure of the first power supply unit for battery power supply, so that the two power supply units cannot work under the larger power supply pressure for a long time, heating in the working process of the power supply units is effectively reduced, the power supply efficiency of the power supply units is improved, and the risk of damaging the power supply units is reduced.
In some implementations, the first power supply unit further includes: the first end of the first adapting unit is coupled with the power interface, the second end of the first adapting unit is coupled with the first end of the first switch unit, and the control end of the first adapting unit is coupled with the first control unit. When the power interface is coupled with the external power supply, the first adapting unit adapts and outputs the current input by the external power supply under the control of the first control unit. Based on the scheme, the first adapting unit is arranged in the first power supply unit to adapt the accessed current, so that when the current accessed into the first power supply unit cannot meet the power supply requirements of the system unit and the battery, the first power supply unit can simultaneously supply power to and output the system unit and the battery or only supply power to the battery by using the current after the adapting.
In some implementations, the first adaptation unit includes a first transistor, a second transistor, a first inductance, a third transistor, and a fourth transistor. The first end of the first transistor is the first end of the first adapting unit, which is coupled to the power interface, the second end of the first transistor is coupled to the first end of the second transistor, the second end of the second transistor is grounded, the first end of the second transistor is further coupled to one end of the first inductor, the other end of the first inductor is coupled to the first end of the third transistor, the second end of the third transistor is grounded, the first end of the third transistor is further coupled to the second end of the fourth transistor, and the first end of the fourth transistor is the second end of the first adapting unit, which is coupled to the first end of the first switching unit. The third end of the first transistor, the third end of the second transistor and the third end of the fourth transistor are both control ends of the first adapting unit. When the first power supply unit only supplies power to the system unit, the first control unit controls the first transistor and the fourth transistor to be in a conducting state, and controls the second transistor and the third transistor to be in a cutting-off state, so that the first adaptation unit adapts current input by the external power supply and outputs the current. When the first power supply unit supplies power to the system unit and the battery, the first control unit controls the first transistor, the second transistor, the third transistor and the fourth transistor to be in a switching state, so that the first adapting unit adapts current input by the external power supply and outputs the current. The first transistor, the second transistor, the third transistor, and the fourth transistor may be N-channel field effect transistors (NMOS transistors), for example. The first end of the transistor is the drain electrode of the NMOS tube, the second end of the transistor is the source electrode of the NOMS tube, and the third end of the transistor is the grid electrode of the NMOS tube. Based on the scheme, through the adaptive unit formed by the plurality of transistors and the inductors, the current which is accessed to the first power supply unit can be subjected to the step-up or step-down adaptive processing, so that the processed current can meet the requirements on the system unit and the battery or only the battery power supply.
In some implementations, the second power supply unit further includes: the first end of the second adapting unit is coupled with the power interface, the second end of the second adapting unit is coupled with the first end of the second switch unit, and the control end of the second adapting unit is coupled with the second control unit. When the power interface is coupled with the external power supply, the second adapting unit adapts and outputs the current input by the external power supply under the control of the second control unit. Based on the scheme, the second adapting unit is arranged in the second power supply unit to adapt the accessed current, so that when the current accessed into the second power supply unit cannot meet the power supply requirement of the battery, the second power supply unit can supply power to the battery by using the current after the adapting process.
In some implementations, the second adaptation unit includes a fifth transistor, a sixth transistor, a second inductance, a seventh transistor, and an eighth transistor. The first end of the fifth transistor is the first end of the second adapting unit, and is coupled to the power interface, the second end of the fifth transistor is coupled to the first end of the sixth transistor, the second end of the sixth transistor is grounded, the first end of the sixth transistor is further coupled to one end of the second inductor, the other end of the second inductor is coupled to the first end of the seventh transistor, the second end of the seventh transistor is grounded, the second end of the seventh transistor is further coupled to the second end of the eighth transistor, and the first end of the eighth transistor is the second end of the second adapting unit, and is coupled to the first end of the second switching unit. The third terminal of the fifth transistor, the third terminal of the sixth transistor, the third terminal of the seventh transistor and the third terminal of the eighth transistor are both control terminals of the second adapting unit. When the second power supply unit supplies power to the battery, the second control unit controls the fifth transistor, the sixth transistor, the seventh transistor and the eighth transistor to be in a switching state, so that the second adapting unit adapts current input by the external power supply and outputs the current. Illustratively, the fifth transistor, the sixth transistor, the seventh transistor, and the eighth transistor may be N-channel field effect transistors (NMOS transistors). The first end of the transistor is the drain electrode of the NMOS tube, the second end of the transistor is the source electrode of the NOMS tube, and the third end of the transistor is the grid electrode of the NMOS tube. Based on the scheme, through the adaptation unit formed by the plurality of transistors and the inductors, the adaptation processing of boosting or reducing the voltage of the current which is accessed to the second power supply unit can be performed, so that the processed current can meet the requirement of only supplying power to the battery.
In some implementations, the first switching unit is a ninth transistor. The ninth transistor may be a P-channel field effect transistor (PMOS transistor), the first terminal of the ninth transistor (e.g., the source of the PMOS transistor) is the first terminal of the first switching unit, the second terminal of the ninth transistor (e.g., the drain of the PMOS transistor) is the second terminal of the first switching unit, and the third terminal of the ninth transistor (e.g., the gate of the PMOS transistor) is the third terminal of the first switching unit. The second switching unit is a tenth transistor, which may be a P-channel field effect transistor (PMOS transistor), for example, where a first end (e.g., a source of the PMOS transistor) of the tenth transistor is a first end of the second switching unit, a second end (e.g., a drain of the PMOS transistor) of the tenth transistor is a second end of the second switching unit, and a third end (e.g., a gate of the PMOS transistor) of the tenth transistor is a third end of the second switching unit. Based on the scheme, the ninth transistor and the tenth transistor are controlled to be in the on or off state, so that the first switch unit and the second switch unit are in different on-off states, and the first power supply unit can supply power to the system unit and the battery at the same time, and can supply power to the battery only. Meanwhile, the second power supply unit may supply or not supply power to the battery.
In a second aspect, an embodiment of the present application provides a power supply method applied to an electronic device, where the electronic device includes any one of the power supply apparatuses, the battery, and the system unit in the first aspect and optional aspects thereof. The method comprises the following steps: the power interface is coupled with an external power supply, and the system unit controls the first power supply unit and the second power supply unit to start working. The system unit controls the first power supply unit to work in a first mode so that the first power supply unit can work in a second mode for the system unit and controls the second power supply unit to work in a second mode so that the second power supply unit can supply power for the battery. Or the system unit controls the first power supply unit to operate in a third mode so that the first power supply unit supplies power to the system unit and the battery, and controls the second power supply unit to operate in the second mode so that the second power supply unit supplies power to the battery. Based on the scheme, the second power supply unit in the electronic equipment can share the power supply pressure of the first power supply unit to the battery, so that the power supply unit can effectively reduce the heat generated in the working process of the power supply unit when providing larger power supply current for the electronic equipment, further the power supply efficiency of the power supply unit is improved, and the risk of damaging the power supply unit is reduced.
In some implementations, the method further includes: when the system unit controls the first power supply unit and the second power supply unit to start working, the system unit detects the residual electric quantity of the battery. When the residual electric quantity of the battery is smaller than a first threshold value or the residual electric quantity of the battery cannot be detected, the system unit controls the power supply device to work in a trickle charge mode, when the power supply device works in the trickle charge mode, the first power supply unit works in the first mode, the second power supply unit works in the second mode, and the power supply parameters of the first power supply unit and the second power supply unit are first parameters. When the residual electric quantity of the battery is larger than the first threshold value and smaller than the second threshold value, the system unit controls the power supply device to work in a quick charging mode, when the power supply device works in the quick charging mode, the first power supply unit works in the third mode, the second power supply unit works in the second mode, the power supply parameters of the first power supply unit and the second power supply unit are second parameters, and the second threshold value is larger than the first threshold value. When the residual electric quantity of the battery is larger than the second threshold value and the battery is not full, the system unit controls the power supply device to work in a termination charging mode, when the power supply device works in the termination charging mode, the first power supply unit works in the first mode, the second power supply unit works in the second mode, and the power supply parameters of the first power supply unit and the second power supply unit are third parameters. Wherein the first parameter and the third parameter are different, and the charging rate of the battery is higher when the power supply device works in the fast charging mode than when the power supply device works in the trickle charging mode or the termination charging mode. Based on the scheme, when the battery electric quantity is in different states, the power supply device is controlled to work in different power supply modes, so that the power supply device can adapt to the power supply requirements of the system unit and the battery, and further the power supply efficiency of the power supply device is improved.
In some implementations, the method further includes: during the period when the power supply device is operating in the trickle charge mode, the system unit continues to detect the remaining power of the battery. When the residual electric quantity of the battery is larger than the first threshold value and smaller than the second threshold value, the system unit controls the power supply device to switch from the trickle charge mode to the quick charge mode. Based on the scheme, the switching to the quick charging mode is realized after the power supply device works in the trickle charging mode.
In some implementations, the method further includes: during the operation of the power supply device in the fast charge mode, the system unit continues to detect the remaining power of the battery. When the residual electric quantity of the battery is larger than the second threshold value, the system unit controls the power supply device to be switched from the quick charging mode to the termination charging mode. Based on the scheme, the switching to the termination charging mode is realized after the power supply device works in the rapid charging mode.
In some implementations, the method further includes: during the operation of the power supply device in the charging termination mode, the system unit continues to detect the remaining power of the battery. When the battery is full, the system unit controls the first power supply unit to work in the first mode, and the second power supply unit is closed. Based on the scheme, the switching to the full-power mode is realized after the power supply device works in the termination charging mode.
In some implementations, when the remaining power of the battery is greater than the first threshold and less than a second threshold, before the system unit controls the power supply device to operate in the fast charge mode, the method further includes: the system unit determines that the system state of the system unit is a power-on state. The system unit obtains the load state of the system unit at the current moment. The load state of the system unit comprises light load and heavy load, and the current demand of the system unit is larger when the load state of the system unit is heavy load than when the load state of the system unit is light load. The system unit controls the power supply device to work in the fast charging mode, and comprises: when the load state of the system unit is light load, the system unit controls the power supply device to work in the quick charging mode. Based on the scheme, when the battery can be charged rapidly, the power supply output of the system unit is not influenced when the battery is charged rapidly through determining the system state and the load state.
In some implementations, the method further includes: when the load state of the system unit is heavy load, the system unit controls the power supply device to work in a direct connection and switch charging mode. When the power supply device works in the direct connection and switch charging mode, the first power supply unit works in the first mode, the second power supply unit works in the second mode, and power supply parameters of the first power supply unit and the second power supply unit are fourth parameters which are different from the first parameters and the third parameters. Based on the scheme, when the battery can be charged rapidly, if the power supply output of the system unit with larger current is required, namely the load state is a heavy load, the power supply output of the system unit can be ensured preferentially.
In some implementations, the method further includes: during the operation of the power supply device in the pass-through and switch charging mode, the system unit continues to detect the remaining power of the battery. When the residual electric quantity of the battery is larger than the second threshold value, the system unit controls the power supply device to be switched from the direct-connection and switch charging mode to the termination charging mode. Based on the scheme, the switching to the termination charging mode is realized after the power supply device works in the direct-connection and switch charging mode.
In some implementations, the power interface is coupled to the external power source through a power adapter unit, and before the system unit controls the first power supply unit and the second power supply unit to start working, the method further includes: the system unit determines that the power supply adapting unit and a cable coupled to the power supply adapting unit and the power supply interface meet a preset standard, wherein the preset standard is used for indicating that the power supply adapting unit and the cable can support the first power supply unit and the second power supply unit to work simultaneously. Based on the scheme, when the peripheral equipment such as the power supply adapting unit and the cable can be determined to meet the condition that the two power supply units work simultaneously, the two power supply units are started to work simultaneously.
In some implementations, when one or both of the power adapting unit or the cable coupling the power adapting unit and the power interface does not meet the preset standard, the first power supplying unit is started to start power supply output. Based on the above scheme, when the peripheral equipment such as the power supply adapting unit or the cable does not meet the preset standard, the two power supply units cannot be started normally and simultaneously to perform power supply output.
In a third aspect, an embodiment of the present application provides a chip system. The chip system is applied to electronic equipment. The system-on-chip includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a wire. The interface circuit is for receiving a signal from a memory of the electronic device and transmitting the signal to the processor, the signal including computer instructions stored in the memory. When the processor executes the computer instructions, the electronic device performs the power supply method as described in the second aspect and possible implementations thereof.
In a fourth aspect, an embodiment of the present application provides an apparatus, where the apparatus has a function of implementing the behavior of an electronic device in the method of the above aspects. The functions may be realized by hardware, or may be realized by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions, for example, a control unit or module, a detection unit or module, a judgment unit or module, an acquisition unit or module, and the like.
In a fifth aspect, an embodiment of the present application provides a readable storage medium, including: computer software instructions. When the computer software instructions are run in the control device, the control device is caused to perform the power supply method as described in any one of the possible implementations of the second aspect or the second aspect.
In a sixth aspect, embodiments of the present application provide a computer program product. When the computer program product is run on a computer, the computer is caused to perform the power supply method as described in any one of the possible implementations of the second aspect or the second aspect to realize the behavioural function of the power supply device.
It will be appreciated that the system on a chip of the third aspect provided above, the apparatus of the fourth aspect provided above, the readable storage medium of the fifth aspect provided above and the computer program product of the sixth aspect provided above are each adapted to perform the corresponding method provided above, and therefore the advantages achieved by the method are referred to the advantages of the corresponding method provided above and are not repeated here.
Drawings
Fig. 1 is a schematic diagram of a power supply unit;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of a power supply device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another power supply device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another power supply device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another power supply device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another power supply device according to an embodiment of the present application;
fig. 8 is a schematic flow chart of a power supply method according to an embodiment of the present application;
FIG. 9 is a schematic flow chart of another power supply method according to an embodiment of the present application;
fig. 10 is a schematic flow chart of another power supply method according to an embodiment of the present application;
FIG. 11 is a schematic flow chart of another power supply method according to an embodiment of the present application;
FIG. 12 is a flowchart of another power supply method according to an embodiment of the present application;
fig. 13 is a schematic diagram of a system-on-chip according to an embodiment of the present application.
Detailed Description
Generally, a power supply unit is included in an electronic device to supply a required current for the operation of the electronic device. Taking an electronic device as an example, when a system unit of the PC is in an operating state, a power supply unit is required to supply current to the system unit to ensure normal operation of the system unit. The power supply unit can also supply power to a battery arranged in the PC, so that when no external power supply is connected to the PC, the battery can supply current to a system unit of the PC, and the PC can work normally.
For example, please refer to fig. 1, which is a schematic diagram of a power supply unit 100.
As shown in fig. 1, the power supply unit 100 may include a power supply chip (charger Integrated Circuit, charger IC) and a peripheral circuit. When the power supply unit 100 works, an external power supply can input current into the power supply unit 100 through a power interface, and a charger IC in the power supply unit 100 controls current output to a system unit and simultaneously supplies power to a battery.
By way of example, the peripheral circuit may include 3 field effect transistors (MOS transistors) and 1 inductor. For example, as shown in fig. 1, 3 MOS transistors are respectively identified by Q1, Q2, and Q3, and 1 inductor is identified by L1.
Wherein, drain (D) electrode of Q1 is coupled with the power interface, source (S) electrode of Q1 is coupled with D electrode of Q2, gate (G) electrode of Q1 is coupled with the charger IC, S electrode of Q2 is grounded, G electrode is coupled with the charger IC. One end of L1 is coupled with the D pole of Q2, the other end of L1 is coupled with the S pole of Q3, the D pole of Q3 is coupled with the battery, the G pole of Q3 is coupled with the charger IC, and the S pole of Q3 is also coupled with the system unit.
When the power supply unit 100 works, the charger IC may control Q1, Q2 and Q3 to be in different states (such as a switch state, an on state or an off state), so that Q1, Q2 and Q3 can process the current input to the power interface, so as to obtain a current capable of meeting the power supply requirements of the system unit and the battery, and output the current to the system unit and the battery.
When the power supply unit 100 operates, each of the devices included therein generates heat, resulting in an increase in temperature of the power supply unit 100. The greater the current that the power supply unit 100 needs to supply, the faster the temperature rises. Meanwhile, as the temperature increases, the working efficiency of the power supply unit 100 may decrease, and when the temperature exceeds a certain threshold, there is a risk of damage.
In the power supply scheme shown in fig. 1, when the current required by the system unit is large, or the battery capacity is large and rapid power supply is required, the power supply pressure of the power supply unit 100 is large, and the temperature rises more rapidly during the operation. Thereby causing a problem of a decrease in power supply efficiency and damage to the power supply unit 100. In the present embodiment, the power supply unit may also be referred to as a power supply device.
In order to solve the above problems, embodiments of the present application provide a power supply device and a power supply method, so that a power supply unit provides a larger power supply current for an electronic device, and simultaneously, effectively reduces heat generated in the working process of the power supply unit, thereby improving the power supply efficiency of the power supply unit and reducing the risk of damaging the power supply unit.
The electronic device in the embodiments of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (um r a-mobile personal computer, um pc), a netbook, a cellular phone, a personal digital assistant (personal digital assistant, PDA), an augmented reality (augmented reality, AR) \virtual reality (VR) device, a media player, or the like, and the embodiment of the present application is not limited to a specific form of the device.
The following describes in detail the implementation of the embodiment of the present application with reference to the drawings.
Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 2, the electronic device may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (universal serial bus, USB) interface 230, a power supply 240, a battery 241, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, keys 290, a motor 291, an indicator 292, a camera 293, a display 294, a subscriber identity module (subscriber identification module, SIM) card interface 295, and the like. The sensor module 280 may include, among other things, a pressure sensor, a gyroscope sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
It should be noted that, in the embodiment of the present application, the set of the other components in the electronic device except the power supply device 240 and the battery 241 may be referred to as a system unit.
It is to be understood that the configuration illustrated in this embodiment does not constitute a specific limitation on the electronic apparatus. In other embodiments, the electronic device may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units such as, for example: the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and command center of the electronic device. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
In some embodiments, processor 210 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bidirectional synchronous serial bus, and includes a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 210 may be coupled with the power supply 240 through an I2C interface to facilitate interaction of the processor 210 with the power supply 240 through the I2C interface. For example, the processor 210 may receive information such as the input current size, the output current size, the temperature condition of the power supply 240, and whether the power supply 240 is already in a smooth output, which are transmitted from the power supply 240, through the I2C interface. The processor 210 may also send control information to the power supply device 240 through the I2C interface, so as to control the power supply device 240 to be in different operation modes for efficient power supply output.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like. The electronic device implements display functions through the GPU, the display screen 294, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or change display information. The electronic device may implement shooting functions through an ISP, a camera 293, a video codec, a GPU, a display 294, an application processor, and the like. The ISP is used to process the data fed back by the camera 293. The camera 293 is used to capture still images or video. The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. Video codecs are used to compress or decompress digital video. The electronic device may support one or more video codecs. In this way, the electronic device may play or record video in multiple encoding formats. The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent cognition of electronic devices can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc. The external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device. The external memory card communicates with the processor 210 through an external memory interface 220 to implement data storage functions. Internal memory 221 may be used to store computer executable program code that includes instructions. The processor 210 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 221. The internal memory 221 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device (e.g., audio data, phonebook, etc.), and so forth. In addition, the internal memory 221 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device may implement audio functions through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an ear-headphone interface 270D, an application processor, and the like. Speaker 270A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device may listen to music, or to hands-free conversations, through speaker 270A. A receiver 270B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the electronic device picks up a phone call or voice message, the voice can be picked up by placing the receiver 270B close to the human ear. Microphone 270C, also referred to as a "microphone" or "microphone," is used to convert sound signals into electrical signals. When making a call or sending a voice message or when it is desired to trigger the electronic device to perform certain functions by a voice assistant, the user may sound near microphone 270C through his mouth, inputting a sound signal to microphone 270C. The electronic device may be provided with at least one microphone 270C. In other embodiments, the electronic device may be provided with two microphones 270C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device may also be provided with three, four, or more microphones 270C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc. The earphone interface 270D is for connecting a wired earphone. Keys 290 include a power on key, a volume key, etc. The motor 291 may generate a vibration alert. The indicator 292 may be an indicator light, which may be used to indicate a state of charge, a change in power, a message indicating a missed call, a notification, etc. The SIM card interface 295 is for interfacing with a SIM card. The SIM card may be inserted into the SIM card interface 295 or removed from the SIM card interface 295 to enable contact and separation from the electronic device. The electronic device may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 295 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 295 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 295 may also be compatible with different types of SIM cards. The SIM card interface 295 may also be compatible with external memory cards. The electronic equipment interacts with the network through the SIM card, so that the functions of communication, data communication and the like are realized. In some embodiments, the electronic device employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
The battery 241 can be used for supplying power to the system unit when no external power is connected, so as to ensure the normal operation of the system unit. In an embodiment of the present application, the battery 241 may be a battery pack including a plurality of strings of batteries. For example, the battery 241 may be a battery pack constituted by 4 series of batteries.
The power supply device 240 may be configured to receive a current provided by an external power source and supply power to the system unit and the battery 241 when connected to the external power source. In the embodiment of the present application, the power supply device 240 may be a unit having a power supply function, which is included in the above-described electronic apparatus.
For example, please refer to fig. 3, which is a schematic structural diagram of a power supply device according to an embodiment of the present application. The power supply device may include a power interface, a first power supply unit, and a second power supply unit. The first power supply unit comprises a first control unit and a first switch unit. The second power supply unit includes a second control unit and a second switching unit.
As shown in fig. 3, the power interface may be coupled to a first terminal (e.g., a terminal) of the first switching unit, which is further coupled to the system unit, a second terminal (e.g., B terminal) of the first switching unit is coupled to the battery, and a third terminal (e.g., C terminal) of the first switching unit is coupled to the first control unit.
The power interface is further coupled to a first terminal (e.g., a D terminal) of the second switching unit, a second terminal (e.g., an E terminal) of the second switching unit is coupled to the battery, and a third terminal (e.g., an F terminal) of the second switching unit is coupled to the second control unit.
In the structure shown in fig. 3, in some embodiments, the first power supply unit may supply power to the system unit and the battery, while the second power supply unit supplies power to the battery. In other embodiments, the first power supply unit may supply power to the battery only, while the second power supply unit supplies power to the battery. When the power interface is coupled to the external power supply, the first control unit controls the first switch unit to be turned on, the first power supply unit supplies power to the system unit and the battery at the same time, and the second control unit controls the second switch unit to be turned on, and the second power supply unit supplies power to the battery. When the power interface is coupled with an external power supply, the first control unit controls the first switch unit to cut off, the first power supply unit only supplies power to the system unit, meanwhile, the second control unit controls the second switch unit to conduct, and the second power supply unit supplies power to the battery.
In some embodiments, the first control unit and the second control unit may be power supply chips, such as what is known as a charger IC. The first and second switching units may be transistors. For example, the transistor may be a P-channel field effect transistor, i.e., a PMOS transistor.
In the power supply device shown in fig. 3, by providing two power supply units, the power supply pressure is shared, so that the problem of excessive power supply pressure does not occur in both power supply units. Therefore, high-temperature influence caused by overlarge power supply pressure can not occur, and the power supply efficiency is improved.
In some embodiments, the first power supply unit may further include a first adaptation unit disposed between the power interface and the first switching unit, and the second power supply unit may further include a second adaptation unit disposed between the power interface and the second switching unit. As shown in fig. 4, for example, a first end of the first adapting unit is coupled to the power interface, a second end of the first adapting unit is coupled to a first end of the first switching unit, and a control end of the first adapting unit is coupled to the first control unit. When the power interface is coupled with the external power supply, the first adapting unit can adapt the current input by the external power supply and output the current under the control of the first control unit. So that the first power supply unit can meet the power supply requirements of the system unit and the battery by adapting the current. For another example, the first end of the second adapting unit is coupled to the power interface, the second end of the second adapting unit is coupled to the first end of the second switching unit, and the control end of the second adapting unit is coupled to the second control unit. When the power interface is coupled with the external power supply, the second adapting unit can adapt the current input by the external power supply and output the current under the control of the second control unit. So that the second power supply unit can meet the power supply requirement of the battery by the adapting process of the current.
In the embodiment of the present application, the first adapting unit may include a first transistor Q1, a second transistor Q2, a third transistor Q3, a fourth transistor Q4, and a first inductor L1. The second adaptation unit may include a fifth transistor Q5, a sixth transistor Q6, a seventh transistor Q7, an eighth transistor Q8, and a second inductance L2. In some embodiments, the transistors Q1-Q8 may be MOS transistors, e.g., Q1-Q8 may be NMOS transistors.
For example, referring to fig. 5, the first switch unit is taken as a transistor Q9, the second switch unit is taken as a transistor Q10, the first control unit is taken as a first power supply chip (i.e. a charger IC 1), the second control unit is taken as a second power supply chip (i.e. a charger IC 2), and the transistors Q1-Q8 and the transistors Q9 and Q10 are all MOS transistors for illustration.
As shown in fig. 5, in the first adapting unit, a first end (e.g., a D pole) of Q1 may be used as a first end of the first adapting unit, coupled to the power interface, a second end (e.g., an S pole) of Q1 may be coupled to a D pole of Q2, the S pole of Q2 is grounded, the D pole of Q2 is coupled to one end of L1, the other end of L1 is further coupled to a D pole of Q3, the S pole of Q3 is grounded, the D pole of Q3 is further coupled to an S pole of Q4, and the D pole of Q4 may be used as a second end of the first adapting unit, coupled to an S pole of Q9. In addition, the G poles of Q1, Q2, Q3 and Q4 may form the control terminal of the first adaptation unit coupled to the charger IC 1.
Similarly, in the second adapting unit, the D pole of Q5 may be used as the first end of the second adapting unit, coupled to the power interface, the S pole of Q5 is coupled to the D pole of Q6, the S pole of Q6 is grounded, the D pole of Q6 is coupled to one end of L2, the other end of L2 is further coupled to the D pole of Q7, the S pole of Q7 is grounded, the D pole of Q7 is further coupled to the S pole of Q8, and the D pole of Q8 may be used as the second end of the second adapting unit, coupled to the S pole of Q9. In addition, the G poles of Q5, Q6, Q7 and Q8 may constitute the control terminal of the second adaptation unit connected to the charger IC 2.
The Q1, Q2, and L1 may form a boost circuit, so as to perform boost adaptation processing on the current accessed by the power interface. L1, Q3, and Q4 may constitute a step-down circuit to perform an adaptation process of step-down the current on the path. Similarly, Q5, Q6 and L2 may also form an adaptive processing that boosts the current that is supplied to the power interface by the booster circuit. L2, Q7, and Q8 may constitute an adaptation process in which the step-down circuit steps down the current on the path. Illustratively, when current passes through the transistor, pulse width modulated (Pulse width modulation, PWM) waves with different characteristics can be generated, and the adaptation of the current can be achieved in combination with the inductance. For example, charge IC 1 may control Q1 and Q4 to be on and Q2 and Q3 to be off. In this case, the adapted current can be such that the first power supply unit only supplies power to the system unit. As another example, charge IC 1 can control Q1, Q2, Q3, and Q4 to be in a switching state. At this time, the adapted current can be realized so that the first power supply unit can supply power to the system unit and the battery at the same time. As another example, charge IC 2 may control Q5, Q6, Q7, and Q8 to be in a switching state. At this time, the adapted current can be realized to satisfy the power supply of the battery by the second power supply unit.
In the power supply device shown in fig. 5, even if the current accessed through the power interface cannot directly supply power to the system unit or the battery, the power supply device can meet the power supply requirements of the system unit and the battery under the condition that whether the input current can directly supply power or not can be achieved through the adapting units in the first power supply unit and the second power supply unit.
In some embodiments of the present application, other devices may be further included in the power supply apparatus as shown in fig. 3 or fig. 4 or fig. 5, so as to further ensure the normal operation of the power supply apparatus.
The following description will be given by taking the first switch unit, the second switch unit, the first control unit, and the second control unit in the power supply device as components shown in fig. 5, and the power supply device further includes the first adapting unit and the second adapting unit shown in fig. 5 as examples.
Referring to fig. 6, the first power supply unit may further include a capacitor C1, a resistor R1, a capacitor C2, a resistor R2, and a capacitor C5. The second power supply unit may further include a capacitor C3, a resistor R3, a capacitor C4, and a resistor R4.
In the first power supply unit, one end of C1 is coupled with the power interface, the other end of C1 is grounded, one end of C2 is coupled with the D pole of Q1, and the other end of C2 is grounded. C1 and C2 may be used to rectify the current that accesses the power interface, preventing this current from possibly damaging the first power supply unit when the ripple is large.
R1 may be connected in series between the power interface and the D pole of Q1, such as between C1 and C2. When the first power supply unit works, the voltage at two ends of the R1 can be sampled, and the voltage value is fed back to the system unit. The system unit may be combined with the resistance value of R1 to obtain the current value of the first power supply unit connected to the power interface, so that the system unit adjusts the power supply policy of the power supply device according to the input current value (see the following detailed description of the corresponding content in the embodiment shown in fig. 8) to improve the power supply efficiency of the power supply device.
R2 may be connected in series between the battery and the D pole of Q9. The Charger IC 1 may sample the voltage across R2 and feed back the voltage value to the system unit. The system unit may be combined with the resistance value of R2 to obtain the output current of the battery, so as to further know the remaining capacity (Relative State of Charge, RSOC) of the battery, so that the system unit adjusts the power supply policy of the power supply device according to the RSOC of the battery (see the following detailed description of the corresponding content in the embodiment shown in fig. 8), so as to improve the power supply efficiency of the power supply device.
In addition, the first power supply unit may further include a capacitor C5, where one end of the capacitor C5 is coupled to the S pole of Q9, and the other end of the capacitor C5 is grounded. The C5 is provided to rectify the current output from the first power supply unit to the system unit so as to protect the system unit from being affected when the output current of the first power supply unit fluctuates.
As shown in fig. 6, the coupling manner of the capacitor (e.g., C3 and C4) and the resistor (e.g., R3 and R4) included in the second power supply unit is similar to that of the capacitor and the resistor in the first power supply unit, and the effect thereof is also the same as that of the capacitor and the resistor in the first power supply unit, respectively, which are not described herein again.
It should be noted that, as shown in fig. 6, the first power supply chip (i.e., the charger IC 1) and the second power supply chip (i.e., the charger IC 2) may also be coupled to a system unit (e.g., a processor in the system unit) through an I2C interface so as to interact with the system unit. For example, after the output voltage of the first power supply unit stabilizes, the charger IC 1 may send a "voltage stabilization output" signal (e.g., a high level signal) to the system unit, so that the system unit knows that the voltage of the first power supply unit has stabilized output. When the first power supply unit overheats, the charger IC 1 may send an "overheat" signal (e.g., a low level signal) to the system unit so that the system unit knows that the first power supply unit overheats. The charge IC 1 and the charge IC 2 can also feed back the magnitude of the output current of the power supply device to the system unit through the I2C interface, so that the system unit knows the power supply capability of the power supply device at the current moment. In addition, the system unit may send control information to the charger IC 1 and/or the charger IC 2 through the I2C interface, so as to set the power supply parameters and modes of the power supply device.
For example, referring to fig. 7, each of the first power supply chip (i.e., the charger IC 1) and the second power supply chip (i.e., the charger IC 2) may include a plurality of ports to implement interaction with the system unit. The function of each port is exemplarily described below.
In the charger IC 1, a part of the ports may be used to control the first adaptation unit and collect the electrical signals in the first adaptation unit. For example, ACN and ACP ports are coupled to respective ends of resistor R1 for sampling the voltage across resistor R1 to determine the current condition input to the power supply. The vbus_in port is coupled to the D pole of Q1 for sampling the voltage input to the power supply. The HIDRV 1 port is coupled with the G pole of Q1 for controlling the operating state of Q1. The L0 DRV 1 port is coupled with the G pole of the Q2 and is used for controlling the working state of the Q2. The SW 1 port and the SW 2 port are coupled to two ends of the inductor L1, respectively, for sampling the voltage across the inductor L1. The L0 DRV 2 port is coupled with the G pole of the Q3 and is used for controlling the working state of the Q3. The HIDRV 2 port is coupled to the G pole of Q4 for controlling the operating state of Q4. The SYS port is coupled to the system unit for outputting a current to the system unit. The BATDRV port is coupled with the G pole of the Q9 and is used for controlling the working state of the Q9. The SRP port and the SRN port are coupled to both ends of the resistor R2, respectively, for sampling the voltage across the resistor R2 in order to determine the charge condition in the battery.
In the charger IC 1, a PSYS port, an ACOK port, an IBAT port, an IADPT port, an i2c_d port, an i2c_c port, an ilim_hiz port, and a PROCHOT port are further included. These ports may be coupled to the system unit via an I2C bus, respectively, for communication with the system unit. For example, the PSYS port may be used to feed back to the system unit the magnitude of the first power supply unit output current. The ACOK port may be used to send a high level signal to the system unit after the output voltage of the first power supply unit has stabilized, so that the system unit knows that the output voltage of the first power supply unit has stabilized. The IBAT port may be used to feed back the magnitude of the battery discharge current to the system unit. The IADPT port may be used to feed back to the system unit the magnitude of the current input to the first power supply unit. The i2c_c port and the i2c_d port may be configured to receive a control signal sent by the system unit, so as to modify a power supply parameter of the charge IC 1 according to the control signal. The ilimhiz port may be configured to receive a control signal sent by the system unit, so as to control the first power supply unit module to enter a different power supply mode (such as a BB or PTM mode) according to the control signal. The PROCHOT port may be used to send a low signal to the system unit when the first power supply unit is overheated so that the system unit knows that the first power supply unit is overheated.
As shown in fig. 7, a port similar to the port in the charge IC 1 may also be included in the charge IC 2, and its function corresponds to the function of the port in the charge IC 1 one by one. The difference is that the PROCHOT port, the ACOK port, the IBAT port, and the IADPT port in the charge IC 2 may not be connected to the system unit, since the second power supply unit may supply only the battery, and various parameters thereof do not need the feedback system unit. In addition, the PSYS port of the charge IC 2 may be connected to the PSYS port of the charge IC 1 so that the system unit may be aware of the sum of currents that the first power supply unit and the second power supply unit can output.
It should be noted that, in other embodiments of the present application, before the external power supply inputs the current to the power interface, the current provided by the external power supply may be rectified by the power adapter, so as to reduce the influence of the fluctuation or the overhigh voltage of the external power supply on the power supply device.
The power supply method provided by the embodiment of the application can be applied to any power supply device shown in fig. 3, 4, 5, 6 or 7. Based on the power supply method, the power supply device can effectively reduce the heating of the power supply device while providing larger power supply current for the electronic equipment, so that the power supply efficiency of the power supply device is improved, and the risk of damaging the power supply device is reduced.
In order to more clearly illustrate the power supply method provided by the embodiment of the application, the electronic device is a PC, the power supply device included in the method is the power supply device shown in fig. 7, the external power supply is connected to the power supply interface through the power adapter, and the battery included in the PC is a battery pack formed by connecting a plurality of batteries in series. As shown in fig. 8, the method may include S801-S803.
S801, a power interface is coupled with an external power supply, and the system unit controls the first power supply unit and the second power supply unit to start working.
When the power interface is connected with an external power supply, the current can be connected into the power supply device through the power interface. The processor in the system unit may initiate the power supply to start operating, e.g., the processor may initiate the first power supply unit and the second power supply unit to start dual charge IC charging.
S802, the system unit detects the residual electric quantity of the battery pack.
The remaining power (RSOC) of the battery pack in the PC may affect the current demand of the battery pack, and therefore, in order to control the power supply device to perform effective power output, the processor of the system unit may detect the remaining power of the battery pack when the power supply device is started. The system unit may sample the voltage of the corresponding device in the power supply device, and calculate and obtain the RSOC of the battery pack according to the voltage obtained by sampling, the electrical property (such as the resistance value) of the device, and the electrical property of the battery pack.
For example, as shown in fig. 7, the power supply device may sample voltages across the two resistors R2 and R4, and send 4 voltage sampling values obtained by the sampling to the processor. The processor can determine the current on the path where R2 is located according to the voltage at both ends of R2 and the resistance value of R2. Similarly, the processor may also determine the magnitude of the current on the path on which R4 is located. Since the current of the battery pack is equal to the sum of the current on the path of R2 and the current on the path of R4, the processor can determine the current flowing through the battery pack according to the current on the path of R2 and the current on the path of R4. The RSOC of the battery pack can be determined by calculation in combination with the equivalent resistance of the battery pack.
S803, the system unit controls the power supply device to supply power to the system unit and the battery pack in a corresponding power supply mode according to the residual capacity of the battery pack.
In the embodiment of the present application, the power supply modes of the power supply device may include a trickle Charge mode (Pre/Wakeup Charge), a Fast Charge mode (Fast Charge), a stop Charge mode (Terminated Charge), a pass-through and switch Charge mode (ptm+buckboost Charge), and a Full Charge mode (Full Charge). An exemplary description of several of the power modes described above will be presented in the following description.
The processor of the system unit may control the power supply device to operate in different power supply modes by controlling the operation mode of the first power supply unit, the operation mode of the second power supply unit, and the power supply parameters of the power supply device.
The operation modes of the power supply unit (such as the first power supply unit or the second power supply unit) may include: through (Pass Through Mode, PTM) mode, boost/buck (BB) mode. For example, in connection with fig. 5, when the first power supply unit is in the through (Pass Through Mode, PTM) mode, Q1 and Q4 in the first power supply unit are in on states Q2 and Q3 are in off states. As another example, when the first power supply unit is in a buck/boost (BB) mode, Q1, Q2, Q3, and Q4 in the first power supply unit are in a switching state. For another example, when the second power supply unit is in BB mode, Q5, Q6, Q7, and Q8 in the second power supply unit are in switch states.
Referring to fig. 9, the power supply parameters of the power supply device include an input current limiting parameter I of the first power supply unit lim1 Output current limiting parameter I of the first power supply unit chg1 Input current limiting parameter I of the second power supply unit lim2 Output current limiting parameter I of the second power supply unit chg2 The unit of current is ampere (a) for example. The step S803 may specifically include steps S901 to S904.
S901, when the RSOC of the battery pack is smaller than the first threshold, or the RSOC of the battery pack cannot be detected, the system unit controls the power supply device to operate in the trickle charge mode.
When the RSOC in the battery pack is low, such as the RSOC in the battery pack is less than the first threshold (e.g., the first threshold may be 0%), the battery pack cannot be charged quickly with a large current for protection of the battery pack. The processor of the system unit may then control the power supply to operate in a trickle charge mode.
For example, the processor may control the power supply to operate in the trickle charge mode by: the first power supply unit is controlled to operate in a first mode (such as a PTM mode), and the second power supply unit is controlled to operate in a second mode (such as a BB mode), so that the first power supply unit only supplies power to the system unit and the second power supply unit supplies power to the battery pack. And simultaneously setting the power supply parameter of the power supply device as a first parameter which satisfies the following formulas (1-1), (1-2) and (1-3).
I chg2 =0.128 … … formula (1-1),
I lim2 =0.128*V bat equation (1-2) … …,
I lim1 =b*y-I lim2 … … equation (1-3).
Wherein V is bat The charging voltage of the battery pack is a power supply efficiency of the second power supply unit, x is a rated output voltage of the power adapter, b is a safety coefficient, and y is a rated output current of the power adapter. Exemplary, V bat Can be according to V bat Calculated as c×4, where c is the number of strings of the battery.
And S902, when the residual electric quantity of the battery pack is larger than a first threshold value and smaller than a second threshold value, the system unit controls the power supply device to work in a quick charging mode.
When a certain amount of power is stored in the battery pack (e.g., the RSOC of the battery pack is greater than a first threshold (e.g., 0%) and less than a second threshold (e.g., 90%), the battery pack can be quickly charged to fill the battery pack in a short period of time. The processor of the system unit may then control the power supply to operate in a fast charge mode.
For example, the processor may control the power supply to operate in the fast charge mode by: the first power supply unit is controlled to operate in a third mode (such as BB mode), and the second power supply unit is controlled to operate in a second mode (such as BB mode), so that the first power supply unit supplies power to the system unit and the battery pack at the same time, and the second power supply unit supplies power to the battery pack. And setting the power supply parameters of the first power supply unit and the second power supply unit as second parameters, wherein the second parameters meet the following formulas (2-1), (2-2), (2-3) and (2-4).
I lim2 =I chg2 *V bat Equation (2-1) … …,
I chg2 =1/3*I chg … … equation (2-2),
I lim1 =b*y-I lim2 … … equation (2-3),
I chg1 =2/3*I chg … … equation (2-4).
Wherein I is chg Is the maximum charge current of the battery pack.
It should be noted that, when the power supply device is operated in the fast charge mode, since the first power supply device is required to supply power to the system unit and the battery at the same time, in the exemplary descriptions of the above formulas (2-2) and (2-4), I chg1 Is set as I chg2 Twice as many as (x). In the embodiment of the application, I can also be set chg1 And I chg2 For other size relationships, for example, a second parameter may be set to satisfy I chg2 =1/4*I chg1 =1/5*I chg . In the implementation process of the embodiment of the present application, the relationship between the output current of the first power supply unit and the output current of the second power supply unit may be flexibly set in combination with reality, and the embodiment of the present application is not limited herein.
S903, when the residual capacity of the battery is larger than a second threshold value and the battery is not full, the system unit controls the power supply device to work in a charging termination mode.
When the RSOC of the battery is greater than the second threshold (e.g., the second threshold is 90%) and the battery is not fully charged, then the battery is near fully charged and no rapid charging of the battery is necessary. The processor of the system unit may then control the power supply to operate in a terminated charging mode.
For example, the processor may control the power supply device to operate in a terminated charge mode by: the first power supply unit is controlled to operate in a first mode (e.g., PTM mode), and the second power supply unit is controlled to operate in a second mode (e.g., BB mode), so that the first power supply unit supplies power to the system unit and the second power supply unit supplies power to the battery pack. And setting the power supply parameters of the first power supply unit and the second power supply unit as third parameters, wherein the third parameters meet the following formulas (3-1), (3-2) and (3-3).
I chg2 =0.5 … … formula (3-1),
I lim2 =0.5*V bat equation (3-2) … …,
I lim1 =b*y-I lim2 … … equation (3-3).
And S904, when the battery is full, the system unit controls the power supply device to work in a full-charge mode.
When the battery is full, it is no longer necessary to continue to power the battery pack. The processor of the system unit may then control the power supply to operate in full charge mode.
For example, the processor may control the power supply to operate in full charge mode by: the first power supply unit is controlled to operate in a first mode, such as a PTM mode, and the second power supply unit is controlled. The power supply parameters of the first power supply unit and the second power supply unit are simultaneously set to satisfy the following formulas (4-1), (4-2) and (4-3).
I chg2 =0 … … formula (4-1),
I lim2 =0 … … formula (4-2),
I lim1 =y … … formula (4-3).
It will be appreciated that when the input power is constant, the total current that the power supply device can output is also constant. If the battery pack is charged quickly, the power supply device needs to output a larger current to the battery pack, and the current output to the system unit is reduced in response. If the current required by the system unit is large at this time, the problem of insufficient power supply of the system unit occurs. Therefore, in some implementations of the embodiments of the present application, the processor of the system unit may detect the system state and the load condition of the system unit, and control the working mode of the power supply device according to the detection result, so as to ensure that the system unit works normally and simultaneously realize fast charging of the battery pack.
The system states may include a sleep state (or S3 state), an off state (or S5 state), and an on state (or S0 state), among others. When the system state is in the S0 state, the system unit is in a normal working state, the load condition of the system unit can comprise light load and heavy load, and the current demand is larger when the load state of the system unit is heavy load than when the load state of the system unit is light load. For example, when the current required for operation of the system unit is greater than 70% of the maximum current that the power supply device is capable of providing, the current load situation is considered to be heavy. When the current required by the system unit is less than 70% of the maximum current which can be provided by the power supply device, the current load condition is considered to be light load.
For example, please refer to fig. 10, which illustrates a flowchart of a power supply method for controlling a power supply unit to perform power supply output in combination with a system state and a load condition of a system unit. The flow in this power supply method is similar to that shown in fig. 9, and differences between the two are exemplarily described below.
As shown in fig. 10, after S802 is performed, when the RSOC of the battery pack is greater than the first threshold and less than the second threshold, the processor of the system unit may detect a system state and control the power supply device to operate in different modes to perform power supply output according to the detection result. The process may include S1001-S1005.
S1001, when the RSOC of the battery pack is greater than the first threshold and less than the second threshold, the system unit detects a system state.
For example, the detection of the system state may be done by a processor in the system unit.
S1002, the system unit determines that the system state is a starting state.
It will be appreciated that when the system state is an on state, most of the components of the system unit are in a normal operating state, and the demand for supply current may be greater or lesser. In the embodiment of the present application, when the system state is in the on state, the processor of the system unit may execute the following S1003 to determine the condition that the current output to the system unit is required.
When the system state is in the shutdown state or the sleep state, most parts of the system unit are also in the non-working or sleep state, and the requirement on the power supply current is very small. The processor may control the power supply device to enter the fast charge mode in the manner shown in fig. 9. The method for controlling the power supply device to enter the fast charging mode by the processor is similar to the description in S902, and will not be repeated here.
S1003, the system unit acquires the load state of the system unit at the current moment.
S1004, when the load state of the system unit is light load, the system unit controls the power supply device to work in a quick charging mode.
When the load state of the system unit is light load, the normal operation of the system unit is represented without larger supply current. At this time, the processor of the system unit can control the power supply device to work in a fast charging mode, so that the power supply device can provide a larger power supply current for the battery pack to rapidly charge the battery pack. The method of controlling the power supply device to operate in the fast charging mode by the processor is similar to S902 shown in fig. 9, and will not be described herein.
S1005, when the load state of the system unit is heavy load, the system unit controls the power supply device to work in the direct connection and switch charging mode.
When the load state of the system unit is heavy, the normal operation of the system unit is indicated to be carried out by a larger supply current. In the embodiment of the application, although the RSOC of the battery can support quick charge, in order to ensure the normal operation of the system unit, the power supply device needs to preferentially supply power to and output power from the system unit.
The processor of the system unit may, for example, control the power supply device to operate in a pass-through and switch charging mode.
For example, the processor may control the first power supply unit to operate in a first mode (e.g., PTM mode) and the second power supply unit to operate in a second mode (e.g., BB mode) such that the first power supply unit supplies power to the system unit and the second power supply unit supplies power to the battery pack. Meanwhile, the processor may set the power supply parameters of the first power supply unit and the second power supply unit to fourth parameters satisfying the following equations (5-1), (5-2) and (5-3).
I chg2 T … … formula (5-1),
I lim2 =t*V bat equation (5-2) … …,
I lim1 =b*y-I lim2 ……equation (5-3).
Wherein t is the preset output current of the battery pack. In some embodiments, the parameter t may also be a parameter that is user-defined.
In order to more clearly describe the above-mentioned settings of different power supply modes, the following is performed by the maximum charging current I of the battery chg The number of battery strings c is 6.67A, the output rated voltage x of the power adapter is 20V, the output rated current y of the power adapter is 3.25A, the power supply efficiency a of the second power supply unit is 0.94, the safety factor b is 0.97, and t is set to 128mA as an example.
When the processor controls the power supply device to operate in the trickle charge mode, the power supply parameter of the power supply device may be set to the first parameter according to formulas (1-1), (1-2) and (1-3):
I chg2 =128mA,
I lim2 =0.128*V bat /(a*x)=0.128*2*4/(0.94*20)=54.5mA,
I lim1 =b*y-I lim2 =0.97*3.25-0.0545=3.1A。
when the processor controls the power supply device to operate in the fast charge mode, the power supply parameter of the power supply device may be set to the second parameter according to the formulas (2-1), (2-2), (2-3) and (2-4):
I chg2 =1/3*I chg =2.22A,
I lim2 =I chg2 *V bat /(a*x)=0.95A,
I lim1 =b*y-I lim2 =2.2A,
I chg1 =2/3*I chg =4.45A。
when the processor controls the power supply device to operate in the termination charge mode, the power supply parameter of the power supply device may be set to a third parameter according to formulas (3-1), (3-2) and (3-3):
I chg2 =500mA
I lim2 =0.5*V bat /(a*x)=0.5*8/(0.94*20)=0.21A
I lim1 =b*y-I lim2 =0.97*3.25-0.21=2.94A
when the processor controls the power supply device to operate in the full charge mode, the power supply parameters of the power supply device may be set as follows according to formulas (4-1), (4-2) and (4-3):
I chg2 =0,
I lim2 =0,
I lim1 =y=3.25A。
when the processor controls the power supply device to operate in the pass-through and switch charging modes, the power supply parameter of the power supply device may be set to a fourth parameter according to formulas (5-1), (5-2) and (5-3):
I chg2 =128mA,
I lim2 =0.128*V bat /(a*x)=0.128*2*4/(0.94*20)=54.5mA,
I lim1 =b*y-I lim2 =0.97*3.25-0.0545=3.1A。
In the method shown in fig. 10, the system state detection is performed after the RSOC of the battery pack is determined to be greater than the first threshold value and less than the second threshold value. In the embodiment of the application, the system state can be detected first, after the system state is determined, the RSOC of the battery pack is detected, and the power supply device is controlled to work in different modes to supply power and output by combining the two detection results.
For example, please refer to fig. 11, the first threshold is 0%, and the second threshold is 90% will be described as an example. As shown in fig. 11, the method may include S1101-S1112.
S1101, when the power interface is connected to an external power supply, the system unit starts the power supply device to start power supply.
S1102, the system unit detects the system state.
When the system state is the sleep state or the shutdown state, the following S1103 to S1107 are executed. When the system state is the on state, the following S1108-S1112 are executed.
And S1103, the system unit detects the RSOC of the battery.
When RSOC <0%, or RSOC cannot be detected, the following S1104 is performed. When 0% < RSOC <90%, the following S1105 is performed. When 90% < RSOC <100%, the following S1106 is performed. When rsoc=100%, the following S1107 is performed.
S1104, the system unit controls the power supply device to work in a fast charging mode.
S1105, the system unit controls the power supply device to work in a fast charging mode.
S1106, the system unit controls the power supply device to work in a termination charging mode.
S1107, the system unit controls the power supply device to work in a full-power mode.
S1108, the system unit detects the RSOC of the battery.
When RSOC is <0%, or RSOC cannot be detected, the following S1109 is performed. When 0% < RSOC <90%, the following S1110 is performed. When 90% < RSOC <100%, the following S1111 is performed. When rsoc=100%, the following S1112 is performed.
S1109, the system unit controls the power supply device to work in a fast charging mode.
S1110, the system unit acquires a load state.
When the load state is light load, the system unit controls the power supply device to operate in the fast charge mode (i.e., performs S1110 a). When the load status is heavy, the system unit controls the power supply device to operate in the pass-through and switch charging modes (i.e. executing S1110 b).
S1111, the system unit controls the power supply device to work in a termination charging mode.
S1112, the system unit controls the power supply device to operate in a full power mode.
It should be noted that, on the basis of the power supply methods shown in fig. 8, 9, 10 and 11, during the operation of the power supply device, the processor of the system unit may detect the RSOC of the battery pack multiple times, so as to realize real-time control over the operation mode of the power supply device.
For example, please refer to fig. 12, a power supply method shown in fig. 9 is taken as an example for explanation.
As shown in fig. 12, after S901 is performed such that the power supply device operates in the trickle charge mode, S1201 may be performed. That is, the system unit detects the remaining capacity of the battery pack. During the trickle charge mode of operation of the power supply device, the RSOC of the battery pack will rise gradually due to the power supplied to the battery pack. For example, the RSOC of the battery pack gradually rises to be able to be detected or to reach a first threshold (e.g., the first threshold is 0%). When the processor detects that the RSOC of the battery pack is greater than or equal to the first threshold, then S902 may be performed. That is, when the remaining capacity of the battery pack is greater than the first threshold and less than the second threshold, the system unit controls the power supply device to operate in the fast charge mode. In this way, it is realized that after the power supply device is operated in the trickle charge mode, the power supply mode is switched from the trickle charge mode to the quick charge mode as the battery pack RSOC rises.
It should be noted that, in the embodiment of the present application, after the processor controls the power supply device to operate in the trickle charge mode for a period of time, if the RSOC of the battery is still in a state of less than the first threshold or no charge can be detected, it indicates that the battery is damaged (dead battery). In the embodiment of the application, the processor can control the power supply device to stop the second power supply unit, and the power supply device is converted into a state that only the first power supply unit works to supply power and output.
Similarly, after the power supply device is operated in the fast charge mode, for example, when the first power supply unit and the second power supply unit start to operate, the RSOC of the battery pack satisfies more than the first threshold and less than the second threshold, the system unit controls the power supply device to directly enter the fast charge mode, and for example, after the power supply device is operated in the trickle charge mode for a period of time, the RSOC of the battery pack satisfies more than the first threshold and less than the second threshold, and the system unit controls the power supply mode of the power supply device to be switched from the trickle charge mode to the fast charge mode. The system unit may continue to S1202. That is, the system unit detects the remaining capacity of the battery pack. During operation of the power supply device in the fast charge mode, the RSOC of the battery pack will rise gradually due to the power supplied to the battery pack. For example, the RSOC of the battery pack may gradually rise to greater than or equal to the second threshold (e.g., 90% of the second threshold) over a range of the first threshold to the second threshold. When the processor detects that the RSOC of the battery pack is greater than or equal to the second threshold, then S903 may be performed. That is, when the remaining capacity of the battery is greater than the second threshold value and the battery is not full, the system unit controls the power supply device to operate in the termination charge mode. In this way, it is achieved that after the power supply device is operated in the fast charge mode, the power supply mode is switched from the fast charge mode to the termination charge mode as the battery pack RSOC rises.
After the power supply device is operated in the termination charging mode, for example, when the first power supply unit and the second power supply unit start to operate, the RSOC of the battery pack satisfies more than the second threshold value and is not full of power, the system unit controls the power supply device to directly enter the termination charging mode, and for another example, after the power supply device is operated in the rapid charging mode for a period of time, the RSOC of the battery pack satisfies more than the second threshold value and is not full of power, and the system unit controls the power supply mode of the power supply device to be switched from the rapid charging mode to the termination charging mode. The system unit may continue to execute S1203. That is, the system unit detects the remaining capacity of the battery pack. During operation of the power supply device in the termination of the charging mode, the RSOC of the battery pack gradually rises due to the power supplied to the battery pack. For example, the RSOC of the battery pack may gradually rise to full power (i.e., rsoc=100%) over a range from the second threshold to full power. When the processor detects rsoc=100% of the battery pack, S904 may be performed. That is, when the battery is full, the system unit controls the power supply device to operate in the full charge mode. In this way, it is realized that after the power supply device operates in the end charging mode, the power supply mode is switched from the end charging mode to the full charge mode as the battery pack RSOC rises.
Similarly, in connection with the embodiments shown in fig. 10 or 11, the system unit may also continue to detect the remaining battery power during the operation of the power supply device in the pass-through and switch charging modes. When the residual electric quantity of the battery is larger than the second threshold value, the system unit controls the power supply device to switch from the direct-connection charging mode to the switching charging mode.
Thereby, it is achieved that the system unit controls the switching of the power supply device in different power supply modes as the battery pack RSOC changes. The power supply device can flexibly and efficiently supply and output power to different power supply demands.
In addition, in some embodiments of the present application, the system unit may determine, before controlling the first power supply unit and the second power supply unit to start operating, that the power adapting unit and the cable coupling the power adapting unit and the power interface meet a preset criterion for indicating that the power adapting unit and the cable can support the first power supply unit and the second power supply unit to operate, such as dual-charge IC charging. For example, the preset standard may be that the power adapting unit is a standard power adapting unit and the cable is a standard cable. And when the processor determines that the power supply adapting unit or the cable does not meet the preset standard, the processor indicates that the power supply adapting unit and the cable do not support double-charge IC charging, and the processor can independently start the first power supply unit to supply power and output.
Based on this scheme, through setting up the second power supply unit, shared the power supply pressure of first power supply unit to the battery rationally for first power supply unit can not work under higher load for a long time. On the premise of ensuring that the power supply device is not influenced on the power supply of the system unit and the battery, the heating of the power supply device is reduced, the working efficiency of the whole power supply device is further improved, and the risk of damage of the power supply device is reduced.
Further, the processor controls the power supply unit to work in different charging modes according to the system state and different states of the residual electric quantity in the battery, so that the matching of power supply output aiming at different charging scenes is realized, and the power supply device can more efficiently perform power supply output.
Fig. 13 shows a schematic diagram of the components of a chip system 1300. The chip system 1300 may include: a processor 1301 and a communication interface 1302 for supporting the power supply device to implement the functions referred to in the above embodiments. In one possible design, the chip system 1300 also includes a memory to hold the program instructions and data necessary for the terminal. The chip system 1300 may be formed of a chip or may include a chip and other discrete devices.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (24)
1. An electronic device comprising a power supply device, a battery, and a system unit, the power supply device comprising: the power supply interface, the first power supply unit and the second power supply unit;
the first power supply unit comprises a first switch unit and a first control unit, and the second power supply unit comprises a second switch unit and a second control unit;
the power interface is coupled with a first end of the first switch unit, the first end of the first switch unit is also coupled with the system unit, a second end of the first switch unit is coupled with the battery, and a third end of the first switch unit is coupled with the first control unit;
the power interface is further coupled with a first end of the second switch unit, a second end of the second switch unit is coupled with the battery, and a third end of the second switch unit is coupled with the second control unit;
The first control unit is used for controlling the first switch unit to be turned on or turned off, and the second control unit is used for controlling the second switch unit to be turned on or turned off;
when the power interface is coupled with an external power supply, the first power supply unit supplies power to the system unit and the battery in response to the first control unit controlling the first switch unit to be turned on, and the second power supply unit supplies power to the battery in response to the second control unit controlling the second switch unit to be turned on;
when the power interface is coupled with the external power supply, the first control unit is used for controlling the first switch unit to cut off, the first power supply unit is used for supplying power to the system unit, the first power supply unit is used for not supplying power to the battery, the second control unit is used for controlling the second switch unit to be conducted, and the second power supply unit is used for supplying power to the battery.
2. The electronic device of claim 1, wherein the first power supply unit further comprises: a first adapting unit, a first end of which is coupled with the power interface, a second end of which is coupled with the first end of the first switch unit, and a control end of which is coupled with the first control unit;
When the power interface is coupled with the external power supply, the first adapting unit adapts and outputs the current input by the external power supply under the control of the first control unit.
3. The electronic device of claim 2, wherein the first adaptation unit comprises a first transistor, a second transistor, a first inductance, a third transistor, and a fourth transistor;
the first end of the first transistor is the first end of the first adapting unit, is coupled with the power interface, the second end of the first transistor is coupled with the first end of the second transistor, the second end of the second transistor is grounded, the first end of the second transistor is also coupled with one end of the first inductor, the other end of the first inductor is coupled with the first end of the third transistor, the second end of the third transistor is grounded, the first end of the third transistor is also coupled with the second end of the fourth transistor, and the first end of the fourth transistor is the second end of the first adapting unit and is coupled with the first end of the first switching unit;
the third end of the first transistor, the third end of the second transistor and the third end of the fourth transistor are both control ends of the first adapting unit.
4. The electronic device according to claim 3, wherein when the first power supply unit supplies power to only the system unit, the first control unit controls the first transistor and the fourth transistor to be in an on state, and controls the second transistor and the third transistor to be in an off state, so that the first adaptation unit adapts and outputs a current input by the external power supply;
when the first power supply unit supplies power to the system unit and the battery, the first control unit controls the first transistor, the second transistor, the third transistor and the fourth transistor are in a switching state, so that the first adaptation unit adapts current input by the external power supply and outputs the current.
5. The electronic device of any one of claims 1-4, wherein the second power supply unit further comprises: a second adapting unit, a first end of which is coupled with the power interface, a second end of which is coupled with the first end of the second switch unit, and a control end of which is coupled with the second control unit;
When the power interface is coupled with the external power supply, the second adapting unit adapts and outputs the current input by the external power supply under the control of the second control unit.
6. The electronic device of claim 5, wherein the second adaptation unit comprises a fifth transistor, a sixth transistor, a second inductance, a seventh transistor, and an eighth transistor;
the first end of the fifth transistor is the first end of the second adapting unit and is coupled with the power interface, the second end of the fifth transistor is coupled with the first end of the sixth transistor, the second end of the sixth transistor is grounded, the first end of the sixth transistor is also coupled with one end of the second inductor, the other end of the second inductor is coupled with the first end of the seventh transistor, the second end of the seventh transistor is grounded, the second end of the seventh transistor is also coupled with the second end of the eighth transistor, and the first end of the eighth transistor is the second end of the second adapting unit and is coupled with the first end of the second switching unit;
the third terminal of the fifth transistor, the third terminal of the sixth transistor, the third terminal of the seventh transistor and the third terminal of the eighth transistor are both control terminals of the second adapting unit;
When the second power supply unit supplies power to the battery, the second control unit controls the fifth transistor, the sixth transistor, the seventh transistor and the eighth transistor are in a switching state, so that the second adapting unit adapts current input by the external power supply and outputs the current.
7. The electronic device of any one of claims 1-6, wherein,
the first switch unit is a ninth transistor; the first end of the ninth transistor is the first end of the first switch unit, the second end of the ninth transistor is the second end of the first switch unit, and the third end of the ninth transistor is the third end of the first switch unit;
the second switch unit is a tenth transistor; the first end of the tenth transistor is the first end of the second switch unit, the second end of the tenth transistor is the second end of the second switch unit, and the third end of the tenth transistor is the third end of the second switch unit.
8. The electronic device of claim 3 or 4, wherein the first power supply unit further comprises a first capacitor and a second capacitor, wherein,
A first end of the first capacitor is coupled with the power interface, and a second end of the first capacitor is grounded; the first end of the second capacitor is coupled with the first end of the first transistor, and the second end of the second capacitor is grounded.
9. The electronic device of claim 8, wherein the first power supply unit further comprises a first resistor and a second resistor, wherein,
the first resistor is connected in series between the first end of the first capacitor and the first end of the second capacitor;
the second resistor is connected in series between the battery and the second end of the first switch unit.
10. The electronic device of claim 8 or 9, wherein the first power supply unit further comprises a fifth capacitor, a first end of the fifth capacitor being coupled to the first end of the first switch unit, a second end of the fifth capacitor being grounded.
11. The electronic device of claim 6, wherein the second power supply unit further comprises a third capacitor and a fourth capacitor, wherein,
a first end of the third capacitor is coupled with the power interface, and a second end of the third capacitor is grounded;
the first end of the fourth capacitor is coupled with the first end of the fifth transistor, and the second end of the fourth capacitor is grounded.
12. The electronic device of claim 11, wherein the second power supply unit further comprises a third resistor and a fourth resistor, wherein,
the third resistor is connected in series between the first end of the third capacitor and the first end of the fourth capacitor;
the fourth resistor is connected in series between the battery and the second terminal of the second switching unit.
13. A power supply method, characterized in that it is applied to an electronic device according to any one of claims 1 to 12, said method comprising:
the power interface is coupled with an external power supply, and the system unit controls the first power supply unit and the second power supply unit to start working; the system unit controls the working modes of the first power supply unit and the second power supply unit so that the power supply device works in different power supply modes; the operation mode of the first power supply unit includes a first mode, the operation mode of the second power supply unit includes a second mode, the first mode indicates that the first power supply unit supplies power to the system unit only, the second mode indicates that the second power supply unit supplies power to the battery, and the operation mode of the first power supply unit further includes a third mode indicating that the first power supply unit supplies power to the system unit and the battery.
14. The power supply method according to claim 13, characterized in that the method further comprises: the system unit detects the remaining power of the battery;
and the system unit controls the working modes of the first power supply unit and the second power supply unit according to the residual electric quantity of the battery so that the power supply device works in different power supply modes.
15. The power supply method according to claim 13 or 14, characterized in that the method further comprises:
the system unit also controls the power supply parameters of the power supply device so that the power supply device can work in different power supply modes.
16. The power supply method according to claim 15, wherein the system unit controls the operation modes of the first power supply unit and the second power supply unit and the power supply parameters of the power supply device so that the power supply device operates in different power supply modes, comprising:
when the residual electric quantity of the battery is smaller than a first threshold value or the residual electric quantity of the battery cannot be detected, the system unit controls the power supply device to work in a trickle charge mode, when the power supply device works in the trickle charge mode, the first power supply unit works in the first mode, the second power supply unit works in the second mode, and power supply parameters of the first power supply unit and the second power supply unit are first parameters;
When the residual electric quantity of the battery is larger than the first threshold value and smaller than a second threshold value, the system unit controls the power supply device to work in a quick charging mode, when the power supply device works in the quick charging mode, the first power supply unit works in the third mode, the second power supply unit works in the second mode, power supply parameters of the first power supply unit and the second power supply unit are second parameters, and the second threshold value is larger than the first threshold value;
when the residual electric quantity of the battery is larger than the second threshold value and the battery is not full, the system unit controls the power supply device to work in a termination charging mode, when the power supply device works in the termination charging mode, the first power supply unit works in the first mode, the second power supply unit works in the second mode, and the power supply parameters of the first power supply unit and the second power supply unit are third parameters;
wherein the first parameter and the third parameter are different.
17. The method of supplying power according to claim 16, wherein the rate of charge of the battery when the power supply device is operating in the fast charge mode is higher than the rate of charge of the battery when the power supply device is operating in the trickle charge mode or the end charge mode.
18. The power supply method according to claim 16, characterized in that the method further comprises:
during the operation of the power supply device in the trickle charge mode, the system unit continues to detect the remaining power of the battery;
when the remaining capacity of the battery is larger than the first threshold value and smaller than the second threshold value, the system unit controls the power supply device to be switched from the trickle charge mode to the quick charge mode.
19. The power supply method according to claim 16, characterized in that the method further comprises:
during operation of the power supply device in the quick charge mode, the system unit continues to detect the remaining power of the battery;
when the remaining capacity of the battery is greater than the second threshold, the system unit controls the power supply device to switch from the quick charge mode to the termination charge mode.
20. The power supply method according to claim 16, characterized in that the method further comprises:
during the process that the power supply device works in the charging termination mode, the system unit continues to detect the residual electric quantity of the battery;
when the battery is full, the system unit controls the first power supply unit to work in the first mode, and the second power supply unit is closed.
21. The power supply method according to claim 16, wherein when the remaining amount of the battery is greater than the first threshold value and less than a second threshold value, before the system unit controls the power supply device to operate in the quick charge mode, the method further comprises:
the system unit determines that the system state of the system unit is a starting state;
the system unit acquires the load state of the system unit at the current moment; the load state of the system unit comprises light load and heavy load;
and when the load state of the system unit is light load, the system unit controls the power supply device to work in the rapid charging mode.
22. The method of powering according to claim 21, characterized in that the method further comprises:
when the load state of the system unit is heavy load, the system unit controls the power supply device to work in a direct connection and switch charging mode;
when the power supply device works in the direct connection and switch charging mode, the first power supply unit works in the first mode, the second power supply unit works in the second mode, power supply parameters of the first power supply unit and the second power supply unit are fourth parameters, and the fourth parameters are different from the first parameters and the third parameters.
23. The method of powering according to claim 22, characterized in that the method further comprises:
during the process that the power supply device works in the direct connection and switch charging mode, the system unit continuously detects the residual electric quantity of the battery;
when the residual capacity of the battery is larger than the second threshold value, the system unit controls the power supply device to be switched from the direct-connection and switch charging mode to the termination charging mode.
24. The power supply method according to any one of claims 13-23, wherein the power interface is coupled to the external power source through a power adapting unit, the method further comprising, before the system unit controls the first power supply unit and the second power supply unit to start operating:
the system unit determines that the power supply adaptation unit and a cable coupled with the power supply adaptation unit and the power supply interface meet preset standards, and the preset standards are used for indicating that the power supply adaptation unit and the cable can support the first power supply unit and the second power supply unit to work simultaneously.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311553468.9A CN117762231A (en) | 2019-12-20 | 2019-12-20 | Power supply device and power supply method |
CN201911331023.XA CN113009995B (en) | 2019-12-20 | 2019-12-20 | Power supply device and power supply method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911331023.XA CN113009995B (en) | 2019-12-20 | 2019-12-20 | Power supply device and power supply method |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311553468.9A Division CN117762231A (en) | 2019-12-20 | 2019-12-20 | Power supply device and power supply method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113009995A CN113009995A (en) | 2021-06-22 |
CN113009995B true CN113009995B (en) | 2023-10-20 |
Family
ID=76382881
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911331023.XA Active CN113009995B (en) | 2019-12-20 | 2019-12-20 | Power supply device and power supply method |
CN202311553468.9A Pending CN117762231A (en) | 2019-12-20 | 2019-12-20 | Power supply device and power supply method |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311553468.9A Pending CN117762231A (en) | 2019-12-20 | 2019-12-20 | Power supply device and power supply method |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN113009995B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113964887A (en) * | 2021-10-25 | 2022-01-21 | 环荣电子(惠州)有限公司 | Power supply configuration system with power adapter and power supply output module |
TWI784788B (en) * | 2021-11-10 | 2022-11-21 | 技嘉科技股份有限公司 | Power supply regulating circuit, charging device and power supply mode adjustment method thereof |
CN114384802B (en) * | 2021-12-30 | 2023-12-05 | 苏州博思得电气有限公司 | Control method and device of X-ray equipment |
CN116054306B (en) * | 2022-07-20 | 2023-12-12 | 荣耀终端有限公司 | Power supply control method and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008067551A (en) * | 2006-09-08 | 2008-03-21 | Sanyo Electric Co Ltd | Battery charging system |
JP2014138531A (en) * | 2013-01-18 | 2014-07-28 | Nec Casio Mobile Communications Ltd | Power supply device, power supply control method, and program thereof |
CN104505888A (en) * | 2014-12-24 | 2015-04-08 | 广东欧珀移动通信有限公司 | Mobile terminal and charging device |
CN105098932A (en) * | 2015-09-21 | 2015-11-25 | 联想(北京)有限公司 | Charging method, a charger and a charging module |
CN105978049A (en) * | 2015-10-26 | 2016-09-28 | 乐视移动智能信息技术(北京)有限公司 | Battery voltage-multiplying charging circuit and mobile terminal |
CN107276145A (en) * | 2016-04-08 | 2017-10-20 | 宏达国际电子股份有限公司 | Electronic System And Charging Method |
CN207967976U (en) * | 2018-01-11 | 2018-10-12 | 厦门美图移动科技有限公司 | Charging system, charging module and mobile terminal |
-
2019
- 2019-12-20 CN CN201911331023.XA patent/CN113009995B/en active Active
- 2019-12-20 CN CN202311553468.9A patent/CN117762231A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008067551A (en) * | 2006-09-08 | 2008-03-21 | Sanyo Electric Co Ltd | Battery charging system |
JP2014138531A (en) * | 2013-01-18 | 2014-07-28 | Nec Casio Mobile Communications Ltd | Power supply device, power supply control method, and program thereof |
CN104505888A (en) * | 2014-12-24 | 2015-04-08 | 广东欧珀移动通信有限公司 | Mobile terminal and charging device |
CN105098932A (en) * | 2015-09-21 | 2015-11-25 | 联想(北京)有限公司 | Charging method, a charger and a charging module |
CN105978049A (en) * | 2015-10-26 | 2016-09-28 | 乐视移动智能信息技术(北京)有限公司 | Battery voltage-multiplying charging circuit and mobile terminal |
CN107276145A (en) * | 2016-04-08 | 2017-10-20 | 宏达国际电子股份有限公司 | Electronic System And Charging Method |
CN207967976U (en) * | 2018-01-11 | 2018-10-12 | 厦门美图移动科技有限公司 | Charging system, charging module and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN113009995A (en) | 2021-06-22 |
CN117762231A (en) | 2024-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113009995B (en) | Power supply device and power supply method | |
KR101682386B1 (en) | A portable charging apparatus and a charging method thereof and a charging system | |
CN108988431B (en) | Multi-protocol charging device and multi-protocol charging method | |
AU2017215235A1 (en) | Adapter and charging control method | |
US9997940B2 (en) | Smart power bank system for efficient energy transfer | |
CN1413374A (en) | Method and apparatus for charging battery | |
CN112928787B (en) | Charging circuit, electronic device, charging control method and device | |
CN109525012B (en) | Charging device, charging control method, charging control system, and storage medium | |
WO2023197699A1 (en) | Charging circuit, charging control method and electronic device | |
KR102052443B1 (en) | System for performing charging and data communication | |
WO2024007687A1 (en) | Multi-battery power supply, charging/discharging method, and electronic device | |
US8941361B2 (en) | Computer system and control method thereof | |
WO2022218046A1 (en) | Battery charging method and electronic device | |
CN113013934A (en) | Electronic equipment, electronic device and charging method | |
US8970175B2 (en) | Charging circuit employing a southbridge microchip to control charging when the electronic apparatus is shut down | |
CN114844182B (en) | Charging circuit, charging method and electronic equipment | |
CN114498811A (en) | Charging management module, charging circuit, charging control method and electronic equipment | |
WO2022061677A1 (en) | Charing control method and circuit, device, and storage medium | |
CN110518673B (en) | Wireless earphone charging circuit, wireless earphone and wireless earphone charging method | |
CN114094647A (en) | Battery cell connection state switching method, power supply system and electronic equipment | |
JP3461323B2 (en) | PC card | |
CN117526471A (en) | Wireless charging circuit applied to wearable device and wearable device | |
CN210956143U (en) | WiFi-based voice control circuit and voice remote controller | |
CN210517858U (en) | Terminal power supply circuit and terminal | |
KR20120009890A (en) | Gender For Personal Potable Device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |