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
Description
技术领域Technical field
本申请实施例涉及电子设备领域,尤其涉及一种供电装置及供电方法。Embodiments of the present application relate to the field of electronic equipment, and in particular, to a power supply device and a power supply method.
背景技术Background technique
在电子设备中,供电(charger)单元是必不可少的组成部分。示例性的,以电子设备是个人计算机(personal computer,PC)为例,charger单元可以对外接电源传入的电流进行处理(如进行升压或降压),以为电子设备的运行提供电流,例如,向PC系统供电以及对PC的电池(Battery,BAT)供电。In electronic equipment, the power supply (charger) unit is an essential component. For example, taking the electronic device as a personal computer (PC), the charger unit can process the current incoming from the external power supply (such as boosting or reducing the voltage) to provide current for the operation of the electronic device, for example , supplies power to the PC system and to the PC's battery (Battery, BAT).
可以看到的是,charger单元既需要为PC系统的运行提供电流,还需要对电池供电,这会对charger单元造成较大的负担,由此也导致了charger单元的发热严重,进而影响到charger单元的供电效率。It can be seen that the charger unit not only needs to provide current for the operation of the PC system, but also needs to supply power to the battery. This will put a greater burden on the charger unit, which also leads to serious heating of the charger unit, which in turn affects the charger. The power supply efficiency of the unit.
同时,随着电子设备的更新换代,电子设备对供电电流的要求也变得更高。例如,随着PC系统的功能变得更加强大,需要charger单元提供更大的供电电流向PC系统供电。又如,随着电池容量的增大以及对快速充电的需求,需要charger单元提供更大的供电电流向电池供电。要求charger单元提供更大的电流,会导致charger单元的发热问题变得更为突出,严重影响charger单元的供电效率。At the same time, with the upgrading of electronic equipment, the requirements for power supply current of electronic equipment have become higher. For example, as the functionality of the PC system becomes more powerful, the charger unit is required to provide larger power supply current to the PC system. For another example, with the increase in battery capacity and the demand for fast charging, the charger unit is required to provide larger power supply current to supply power to the battery. Requiring the charger unit to provide larger current will cause the heating problem of the charger unit to become more prominent, seriously affecting the power supply efficiency of the charger unit.
发明内容Contents of the invention
本申请实施例提供一种供电装置及供电方法,涉及电子设备领域,如计算机,电脑,平板电脑,笔记本,便携机等领域。有效地减小供电单元工作过程中的发热,进而提高供电单元的供电效率,并降低损坏供电单元的风险。Embodiments of the present application provide a power supply device and a power supply method, which relate to the field of electronic equipment, such as computers, computers, tablet computers, notebooks, portable machines, etc. It effectively reduces the heat generated during the operation 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.
为了达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above objectives, the embodiments of this application adopt the following technical solutions:
第一方面,本申请实施例提供一种供电装置,该装置应用于电子设备,该电子设备还包括电池和系统单元。该供电装置包括:电源接口,第一供电单元以及第二供电单元。其中,该第一供电单元包括第一开关单元和第一控制单元,该第二供电单元包括第二开关单元和第二控制单元。该电源接口与该第一开关单元的第一端耦接,该第一开关单元的第一端还与该系统单元耦接,该第一开关单元的第二端与该电池耦接,该第一开关单元的第三端与该第一控制单元耦接。该电源接口还与该第二开关单元的第一端耦接,该第二开关单元的第二端与该电池耦接,该第二开关单元的第三端与该第二控制单元耦接。在该电源接口耦接外接电源时,该第一供电单元对该系统单元供电,该第一控制单元控制该第一开关单元导通,以便该第一供电单元对该电池供电,该第二控制单元控制该第二开关单元导通,以便该第二供电单元对该电池供电。或者,在该电源接口耦接该外接电源时,该第一供电单元对该系统单元供电,该第一控制单元控制该第一开关单元截止,该第二控制单元控制该第二开关单元导通,以便该第二供电单元对该电池供电。基于上述方案,第二供电单元能够分担第一供电单元为电池供电的压力,使得两个供电单元都不会长时间工作在较大的供电压力下,有效地减小供电单元工作过程中的发热,进而提高供电单元的供电效率,并降低损坏供电单元的风险。In a first aspect, embodiments of the present application provide a power supply device, which is applied to electronic equipment. The electronic equipment further includes a battery and a system unit. The power supply device includes: a power interface, a first power supply unit and a second power supply unit. Wherein, the first power supply unit includes a first switch unit and a first control unit, and the second power supply unit includes a second switch unit and a second control unit. The power interface is coupled to the first end of the first switch unit, the first end of the first switch unit is also coupled to the system unit, the second end of the first switch unit is coupled to the battery, and the first end of the first switch unit is coupled to the system unit. A third terminal of a switch unit is coupled to the first control unit. The power interface is also coupled to the first end of the second switch unit, the second end of the second switch unit is coupled to the battery, and the third end of the second switch unit is coupled to the second control unit. When the power interface is coupled to 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. The second control unit The unit controls the second switch unit to be turned on so that the second power supply unit supplies power to the battery. Alternatively, when the power interface is coupled to 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 above solution, the second power supply unit can share the pressure of the first power supply unit to supply battery, so that neither power supply unit will work under a large power supply pressure for a long time, effectively reducing the heat generated by the power supply unit during operation. , thereby improving the power supply efficiency of the power supply unit and reducing the risk of damaging the power supply unit.
在一些实现方式中,该第一供电单元还包括:第一适配单元,该第一适配单元的第一端与该电源接口耦接,该第一适配单元的第二端与该第一开关单元的第一端耦接,该第一适配单元的控制端与该第一控制单元耦接。在该电源接口耦接该外接电源时,该第一适配单元在该第一控制单元的控制下,将该外接电源输入的电流进行适配后输出。基于上述方案,通过在第一供电单元中设置第一适配单元,对接入的电流进行适配处理,使得当接入第一供电单元的电流无法满足系统单元以及电池的供电需求时,第一供电单元能够用适配处理后的电流同时对系统单元和电池或仅对电池进行供电输出。In some implementations, the first power supply unit further includes: a first adapter unit, a first end of the first adapter unit is coupled to the power interface, and a second end of the first adapter unit is coupled to the third A first end of a switch unit is coupled, and a control end of the first adaptation unit is coupled to the first control unit. When the power interface is coupled to the external power supply, the first adaptation unit adapts the current input by the external power supply and outputs it under the control of the first control unit. Based on the above solution, a first adaptation unit is provided in the first power supply unit to perform adaptation processing on the connected current, so that when the current connected to the first power supply unit cannot meet the power supply needs of the system unit and the battery, the third A power supply unit can use the adapted current to power the system unit and the battery or only the battery.
在一些实现方式中,该第一适配单元包括第一晶体管,第二晶体管,第一电感,第三晶体管以及第四晶体管。该第一晶体管的第一端为该第一适配单元的第一端,与该电源接口耦接,该第一晶体管的第二端与该第二晶体管的第一端耦接,该第二晶体管的第二端接地,该第二晶体管的第一端还与该第一电感的一端耦接,该第一电感的另一端与该第三晶体管的第一端耦接,该第三晶体管的第二端接地,该第三晶体管的第一端还与该第四晶体管的第二端耦接,该第四晶体管的第一端为该第一适配单元的第二端,与该第一开关单元的第一端耦接。该第一晶体管的第三端,该第二晶体管的第三端,该第三晶体管的第三端以及该第四晶体管的第三端均为该第一适配单元的控制端。在该第一供电单元仅对该系统单元供电时,该第一控制单元控制该第一晶体管和该第四晶体管处于导通状态,控制该第二晶体管和该第三晶体管处于截止状态,以便该第一适配单元对该外接电源输入的电流进行适配后输出。在该第一供电单元对该系统单元和该电池供电时,该第一控制单元控制该第一晶体管,该第二晶体管,该第三晶体管以及该第四晶体管处于开关状态,以便该第一适配单元对该外接电源输入的电流进行适配后输出。示例性的,第一晶体管,第二晶体管,第三晶体管以及第四晶体管可以为N沟道场效应管(NMOS管)。其中,晶体管的第一端为NMOS管的漏极,第二端为NOMS管的源极,第三端为NMOS管的栅极。基于上述方案,通过多个晶体管和电感组成的适配单元,能够对接入第一供电单元的电流进行升压或降压的适配处理,使得处理后的电流能够满足对系统单元和电池或仅对电池供电的要求。In some implementations, the first adaptation unit includes a first transistor, a second transistor, a first inductor, a third transistor and a fourth transistor. The first terminal of the first transistor is the first terminal of the first adaptation unit and is coupled to the power interface. The second terminal of the first transistor is coupled to the first terminal of the second transistor. The second terminal The second end of the transistor is connected to ground. The first end of the second transistor is also 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 third transistor has The second terminal is connected to ground. The first terminal of the third transistor is also coupled to the second terminal of the fourth transistor. The first terminal of the fourth transistor is the second terminal of the first adaptation unit and is connected to the first terminal of the first adapter unit. The first terminal of the switch unit is coupled. The third terminal of the first transistor, the third terminal of the second transistor, the third terminal of the third transistor and the third terminal of the fourth transistor are all control terminals of the first adaptation 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 the on state, and controls the second transistor and the third transistor to be in the off state, so that the The first adaptation unit adapts the current input by the external power supply and outputs it. 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 appropriate The matching unit adapts the current input by the external power supply and outputs it. For example, the first transistor, the second transistor, the third transistor and the fourth transistor may be N-channel field effect transistors (NMOS transistors). Among them, the first terminal of the transistor is the drain of the NMOS tube, the second terminal is the source of the NOMS tube, and the third terminal is the gate of the NMOS tube. Based on the above solution, through an adaptation unit composed of multiple transistors and inductors, the current connected to the first power supply unit can be adapted to step up or step down, so that the processed current can meet the requirements of the system unit and battery or Requirements for battery power only.
在一些实现方式中,该第二供电单元还包括:第二适配单元,该第二适配单元的第一端与该电源接口耦接,该第二适配单元的第二端与该第二开关单元的第一端耦接,该第二适配单元的控制端与该第二控制单元耦接。在该电源接口耦接该外接电源时,该第二适配单元在该第二控制单元的控制下,将该外接电源输入的电流进行适配后输出。基于上述方案,通过在第二供电单元中设置第二适配单元,对接入的电流进行适配处理,使得当接入第二供电单元的电流无法满足电池的供电需求时,第二供电单元可以用适配处理后的电流对电池进行供电输出。In some implementations, the second power supply unit further includes: a second adapter unit, a first end of the second adapter unit is coupled to the power interface, and a second end of the second adapter unit is coupled to the third adapter unit. The first ends of the two switch units are coupled, and the control end of the second adaptation unit is coupled to the second control unit. When the power interface is coupled to the external power supply, the second adaptation unit adapts the current input by the external power supply and outputs it under the control of the second control unit. Based on the above solution, a second adaptation unit is provided in the second power supply unit to perform adaptation processing on the connected current, so that when the current connected to the second power supply unit cannot meet the power supply demand of the battery, the second power supply unit The adapted current can be used to power the battery for output.
在一些实现方式中,该第二适配单元包括第五晶体管,第六晶体管,第二电感,第七晶体管以及第八晶体管。该第五晶体管的第一端为该第二适配单元的第一端,与该电源接口耦接,该第五晶体管的第二端与该第六晶体管的第一端耦接,该第六晶体管的第二端接地,该第六晶体管的第一端还与该第二电感的一端耦接,该第二电感的另一端与该第七晶体管的第一端耦接,该第七晶体管的第二端接地,该第七晶体管的第二端还与该第八晶体管的第二端耦接,该第八晶体管的第一端为该第二适配单元的第二端,与该第二开关单元的第一端耦接。该第五晶体管的第三端,该第六晶体管的第三端,该第七晶体管的第三端以及该第八晶体管的第三端均为该第二适配单元的控制端。在该第二供电单元对该电池供电时,该第二控制单元控制该第五晶体管,该第六晶体管,该第七晶体管以及该第八晶体管处于开关状态,以便该第二适配单元对该外接电源输入的电流进行适配后输出。示例性的,第五晶体管,第六晶体管,第七晶体管以及第八晶体管可以为N沟道场效应管(NMOS管)。其中,晶体管的第一端为NMOS管的漏极,第二端为NOMS管的源极,第三端为NMOS管的栅极。基于上述方案,通过多个晶体管和电感组成的适配单元,能够对接入第二供电单元的电流进行升压或降压的适配处理,使得处理后的电流能够满足仅对电池供电的要求。In some implementations, the second adaptation unit includes a fifth transistor, a sixth transistor, a second inductor, a seventh transistor, and an eighth transistor. The first terminal of the fifth transistor is the first terminal of the second adaptation unit and is coupled to the power interface. The second terminal of the fifth transistor is coupled to the first terminal of the sixth transistor. The sixth transistor The second end of the transistor is grounded, the first end of the sixth transistor is also 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, and the seventh transistor The second end of the seventh transistor is connected to the ground. The second end of the seventh transistor is also coupled to the second end of the eighth transistor. The first end of the eighth transistor is the second end of the second adaptation unit and is connected to the second end of the second adapting unit. The first terminal of the switch unit is coupled. 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 all control terminals of the second adaptation 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 adaptation unit The current input by the external power supply is adapted and output. For example, the fifth transistor, the sixth transistor, the seventh transistor and the eighth transistor may be N-channel field effect transistors (NMOS transistors). Among them, the first terminal of the transistor is the drain of the NMOS tube, the second terminal is the source of the NOMS tube, and the third terminal is the gate of the NMOS tube. Based on the above solution, through an adaptation unit composed of multiple transistors and inductors, the current connected to the second power supply unit can be adapted to step up or step down, so that the processed current can meet the requirements of powering only the battery. .
在一些实现方式中,该第一开关单元为第九晶体管。示例性的,该第九晶体管可以为P沟道场效应管(PMOS管),该第九晶体管的第一端(如PMOS管的源极)为该第一开关单元的第一端,该第九晶体管的第二端(如PMOS管的漏极)漏极为该第一开关单元的第二端,该第九晶体管的第三端(如PMOS管的栅极)为该第一开关单元的第三端。该第二开关单元为第十晶体管,示例性的,该第十晶体管可以为P沟道场效应管(PMOS管),该第十晶体管的第一端(如PMOS管的源极)为该第二开关单元的第一端,该第十晶体管的第二端(如PMOS管的漏极)为该第二开关单元的第二端,该第十晶体管的第三端(如PMOS管的栅极)为该第二开关单元的第三端。基于上述方案,通过控制第九晶体管和第十晶体管处于导通或截止的状态,实现了第一开关单元和第二开关单元处于不同的通断状态,进而使得第一供电单元能够同时对系统单元和电池供电,也可以仅对电池供电。同时,第二供电单元可以对电池进行供电或不供电。In some implementations, the first switch unit is a ninth transistor. For example, the ninth transistor may be a P-channel field effect transistor (PMOS transistor), and the first end of the ninth transistor (such as the source of the PMOS transistor) is the first end of the first switching unit. The drain of the second terminal of the transistor (such as the drain of the PMOS tube) is the second terminal of the first switching unit, and the third terminal of the ninth transistor (such as the gate of the PMOS tube) is the third terminal of the first switching unit. end. The second switching unit is a tenth transistor. For example, the tenth transistor can be a P-channel field effect transistor (PMOS transistor). The first end of the tenth transistor (such as the source of the PMOS transistor) is the second transistor. The first terminal of the switching unit, the second terminal of the tenth transistor (such as the drain of the PMOS tube), the second terminal of the second switching unit, and the third terminal of the tenth transistor (such as the gate of the PMOS tube) is the third terminal of the second switch unit. Based on the above solution, by controlling the ninth transistor and the tenth transistor to be in an on or off state, the first switch unit and the second switch unit are in different on-off states, thereby enabling the first power supply unit to simultaneously power the system unit. and battery powered, or battery powered only. At the same time, the second power supply unit can supply power to the battery or not.
第二方面,本申请实施例提供一种供电方法,应用于电子设备,该电子设备包括如上述第一方面及其可选的方案中任意一种供电装置,电池和系统单元。该方法包括:该电源接口与外接电源耦接,该系统单元控制该第一供电单元和该第二供电单元开始工作。该系统单元控制该第一供电单元工作在第一模式,以便该第一供电单元对该系统单元,控制该第二供电单元工作在第二模式,以便该第二供电单元对该电池供电。或者,该系统单元控制该第一供电单元工作在第三模式,以便该第一供电单元对该系统单元供电和该电池供电,控制该第二供电单元工作在该第二模式,以便该第二供电单元对该电池供电。基于上述方案,电子设备中的第二供电单元可以分担第一供电单元对于电池的供电压力,使得供电单元在为电子设备提供较大的供电电流的同时,有效地减小供电单元工作过程中的发热,进而提高供电单元的供电效率,并降低损坏供电单元的风险。In a second aspect, embodiments of the present application provide a power supply method, which is applied to electronic equipment. The electronic equipment includes any one of the power supply devices, batteries, and system units in the above-mentioned first aspect and its optional solutions. The method includes: 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 operate in a first mode so that the first power supply unit supplies power to the system unit, and controls the second power supply unit to operate in a second mode so that the second power supply unit supplies power to the battery. Alternatively, 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 The power supply unit supplies power to the battery. Based on the above solution, the second power supply unit in the electronic device can share the power supply pressure of the first power supply unit on the battery, so that the power supply unit can provide a larger power supply current for the electronic device while effectively reducing the power supply unit during its working process. generate heat, thus improving the power supply efficiency of the power supply unit and reducing the risk of damaging the power supply unit.
在一些实现方式中,该方法还包括:在该系统单元控制该第一供电单元和该第二供电单元开始工作时,该系统单元检测该电池的剩余电量。其中,当该电池的剩余电量小于第一阈值,或者无法检测到该电池的剩余电量时,该系统单元控制该供电装置工作在涓流充电模式,在该供电装置工作在该涓流充电模式下时,该第一供电单元工作在该第一模式,该第二供电单元工作在该第二模式,该第一供电单元和该第二供电单元的供电参数为第一参数。当该电池的剩余电量大于该第一阈值,且小于第二阈值时,该系统单元控制该供电装置工作在快速充电模式,在该供电装置工作在该快速充电模式下时,该第一供电单元工作在该第三模式,该第二供电单元工作在该第二模式,第一供电单元和该第二供电单元的供电参数为第二参数,该第二阈值大于该第一阈值。当该电池的剩余电量大于该第二阈值,且该电池未满电时,该系统单元控制该供电装置工作在终止充电模式,在该供电装置工作在该终止充电模式下时,该第一供电单元工作在该第一模式,该第二供电单元工作在该第二模式,该第一供电单元和该第二供电单元的供电参数为第三参数。其中,该第一参数和该第三参数不同,该供电装置工作在该快速充电模式时,对该电池的充电速率高于该供电装置工作在该涓流充电模式或该终止充电模式时对该电池的充电速率。基于上述方案,在电池电量处于不同状态下时,通过控制供电装置工作在不同的供电模式,使得供电装置可以适应系统单元以及电池的供电需求,进而提高供电装置的供电效率。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 remaining power of the battery. Wherein, when the remaining power of the battery is less than the first threshold, or the remaining power of the battery cannot be detected, the system unit controls the power supply device to operate in the trickle charging mode. When the power supply device operates in the trickle charging mode, When , the first power supply unit operates in the first mode, the second power supply unit operates 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 remaining power of the battery 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 charging mode. When the power supply device operates in the fast charging mode, the first power supply unit Working 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 is greater than the first threshold. When the remaining power of the battery is greater than the second threshold and the battery is not fully charged, the system unit controls the power supply device to operate in the termination charging mode. When the power supply device operates in the termination charging mode, the first power supply The unit operates in the first mode, the second power supply unit operates 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. When the power supply device works in the fast charging mode, the charging rate of the battery is higher than when the power supply device works in the trickle charging mode or the termination charging mode. The charging rate of the battery. Based on the above solution, when the battery power is in different states, by controlling the power supply device to work in different power supply modes, the power supply device can adapt to the power supply needs of the system unit and the battery, thereby improving the power supply efficiency of the power supply device.
在一些实现方式中,该方法还包括:在该供电装置工作在该涓流充电模式的过程中,该系统单元继续检测该电池的剩余电量。当该电池的剩余电量大于该第一阈值,且小于该第二阈值时,该系统单元控制该供电装置由该涓流充电模式切换为该快速充电模式。基于上述方案,实现了在供电装置工作在涓流充电模式后,向快速充电模式的切换。In some implementations, the method further includes: while the power supply device is operating in the trickle charging mode, the system unit continues to detect the remaining power of the battery. When the remaining power of the battery is greater than the first threshold and less than the second threshold, the system unit controls the power supply device to switch from the trickle charging mode to the fast charging mode. Based on the above solution, the switch to the fast charging mode is realized after the power supply device operates in the trickle charging mode.
在一些实现方式中,该方法还包括:在该供电装置工作在该快速充电模式的过程中,该系统单元继续检测该电池的剩余电量。当该电池的剩余电量大于该第二阈值时,该系统单元控制该供电装置由该快速充电模式切换为该终止充电模式。基于上述方案,实现了在供电装置工作在快速充电模式后,向终止充电模式的切换。In some implementations, the method further includes: while the power supply device is operating in the fast charging mode, the system unit continues to detect the remaining power of the battery. When the remaining power of the battery is greater than the second threshold, the system unit controls the power supply device to switch from the fast charging mode to the termination charging mode. Based on the above solution, the switching to the termination charging mode is realized after the power supply device operates in the fast charging mode.
在一些实现方式中,该方法还包括:在该供电装置工作在该终止充电模式的过程中,该系统单元继续检测该电池的剩余电量。当该电池满电时,该系统单元控制该第一供电单元工作在该第一模式,关闭该第二供电单元。基于上述方案,实现了在供电装置工作在终止充电模式后,向满电量模式的切换。In some implementations, the method further includes: while the power supply device is operating in the termination charging mode, the system unit continues to detect the remaining power of the battery. When the battery is fully charged, the system unit controls the first power supply unit to operate in the first mode and turns off the second power supply unit. Based on the above solution, the switching to the full power mode is realized after the power supply device operates in the termination charging mode.
在一些实现方式中,当该电池的剩余电量大于该第一阈值且小于第二阈值时,在该系统单元控制该供电装置工作在该快速充电模式之前,该方法还包括:该系统单元确定该系统单元的系统状态为开机状态。该系统单元获取当前时刻该系统单元的负载状态。其中,该系统单元的负载状态包括轻载和重载,该系统单元的负载状态为重载时对电流的需求量大于该系统单元的负载状态为轻载时对电流的需求量。该系统单元控制该供电装置工作在该快速充电模式,包括:在该系统单元的负载状态为轻载时,该系统单元控制该供电装置工作在该快速充电模式。基于上述方案,当电池可以进行快速充电时,通过确定系统状态以及负载状态,确定向电池进行快速充电的同时,不会影响对系统单元的供电输出。In some implementations, when the remaining power of the battery is greater than the first threshold and less than the second threshold, before the system unit controls the power supply device to operate in the fast charging mode, the method further includes: the system unit determines the The system status of the system unit is powered on. The system unit obtains the load status of the system unit at the current moment. The load status of the system unit includes light load and heavy load. When the load status of the system unit is heavy load, the demand for current is greater than the demand for current when the load status of the system unit is light load. The system unit controls the power supply device to operate in the fast charging mode, including: when the load state of the system unit is light load, the system unit controls the power supply device to operate in the fast charging mode. Based on the above solution, when the battery can be quickly charged, by determining the system status and load status, it is determined that fast charging of the battery will not affect the power supply output to the system unit.
在一些实现方式中,该方法还包括:在该系统单元的负载状态为重载时,该系统单元控制该供电装置工作在直通及开关充电模式。其中,在该供电装置工作在该直通及开关充电模式下时,该第一供电单元工作在该第一模式,该第二供电单元工作在该第二模式,第一供电单元和该第二供电单元的供电参数为第四参数,该第四参数与该第一参数和该第三参数均不同。基于上述方案,当电池可以进行快速充电时,如果还需要对系统单元进行较大电流的供电输出,即负载状态为重载,则可以优先保证系统单元的供电输出。In some implementations, the method further includes: when the load status of the system unit is heavy load, the system unit controls the power supply device to operate in the pass-through and switching charging modes. Wherein, when the power supply device works in the pass-through and switching charging modes, the first power supply unit works in the first mode, the second power supply unit works in the second mode, the first power supply unit and the second power supply unit The power supply parameter of the unit is a fourth parameter, which is different from the first parameter and the third parameter. Based on the above solution, when the battery can be charged quickly, if a larger current power supply output is needed to the system unit, that is, the load status is heavy load, the power supply output of the system unit can be prioritized.
在一些实现方式中,该方法还包括:在该供电装置工作在该直通及开关充电模式的过程中,该系统单元继续检测该电池的剩余电量。当该电池的剩余电量大于该第二阈值时,该系统单元控制该供电装置由该直通及开关充电模式切换为该终止充电模式。基于上述方案,实现了当供电装置工作在直通及开关充电模式后,向终止充电模式的切换。In some implementations, the method further includes: while the power supply device is operating in the pass-through and switching charging modes, the system unit continues to detect the remaining power of the battery. When the remaining power of the battery is greater than the second threshold, the system unit controls the power supply device to switch from the pass-through and switching charging modes to the termination charging mode. Based on the above solution, when the power supply device operates in the pass-through and switching charging modes, it is switched to the termination charging mode.
在一些实现方式中,该电源接口通过电源适配单元与该外接电源耦接,在该系统单元控制该第一供电单元和该第二供电单元开始工作前,该方法还包括:该系统单元确定该电源适配单元及耦接该电源适配单元和该电源接口的线缆满足预设标准,该预设标准用于指示该电源适配单元和该线缆能够支持该第一供电单元和该第二供电单元同时工作。基于上述方案,可以在确定外设,如电源适配单元和线缆,能够满足两个供电单元同时工作的条件时,启动两个供电单元同时开始工作。In some implementations, the power interface is coupled to the external power supply through a power adapter unit. 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 The power adapter unit and the cable coupling the power adapter unit and the power interface meet a preset standard. The preset standard is used to indicate that the power adapter unit and the cable can support the first power supply unit and the power interface. The second power supply unit works simultaneously. Based on the above solution, when it is determined that peripherals, such as power adapter units and cables, can meet the conditions for two power supply units to work at the same time, the two power supply units can be started to work at the same time.
在一些实现方式中,当电源适配单元或耦接该电源适配单元和电源接口的线缆其中之一或同时都不满足预设标准,启动第一供电单元开始进行供电输出。基于上述方案,当外设,如电源适配单元或线缆,不满足预设标准时,则无法正常同时启动两个供电单元进行供电输出,本申请提供了一种无法同时启动两个供电单元进行工作的解决方案,即仅启动第一供电单元开始工作。In some implementations, when one or both of the power adapter unit or the cable coupling the power adapter unit and the power interface does not meet the preset standard, the first power supply unit is activated to start power output. Based on the above solution, when peripherals, such as power adapter units or cables, do not meet the preset standards, two power supply units cannot be normally activated at the same time for power output. This application provides a method that cannot activate two power supply units at the same time for power output. The working solution is to start only the first power supply unit to start working.
第三方面,本申请实施例提供一种芯片系统。该芯片系统应用于电子设备。该芯片系统包括一个或多个接口电路和一个或多个处理器。该接口电路和该处理器通过线路互联。该接口电路用于从该电子设备的存储器接收信号,并向该处理器发送该信号,该信号包括该存储器中存储的计算机指令。当该处理器执行该计算机指令时,该电子设备执行如上述第二方面及其可能的实现方式该的供电方法。In a third aspect, embodiments of the present application provide a chip system. The chip system is used in electronic equipment. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected through lines. The interface circuit is configured to receive a signal from a memory of the electronic device and send the signal to the processor, where the signal includes computer instructions stored in the memory. When the processor executes the computer instruction, the electronic device executes the power supply method as described in the above second aspect and possible implementations thereof.
第四方面,本申请实施例提供一种装置,该装置具有实现上述各方面的方法中电子设备行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块,例如,控制单元或模块,检测单元或模块,判断单元或模块,获取单元或模块等。In the fourth aspect, embodiments of the present application provide a device that has the function of realizing the behavior of the electronic device in the methods of the above aspects. Functions can be implemented by hardware, or 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, etc.
第五方面,本申请实施例提供一种可读存储介质,该可读存储介质包括:计算机软件指令。当计算机软件指令在控制设备中运行时,使得过控制设备执行如第二方面或第二方面的可能的实现方式中任一所述的供电方法。In a fifth aspect, embodiments of the present application provide a readable storage medium. The readable storage medium includes: computer software instructions. When the computer software instructions are run in the control device, the control device is caused to execute the power supply method as described in the second aspect or any one of the possible implementations of 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 the computer, the computer is caused to execute the power supply method as described in the second aspect or any of the possible implementations of the second aspect, so as to realize the behavioral functions of the power supply device.
可以理解地,上述提供的第三方面该芯片系统,上述提供的第四方面该装置,上述提供的第五方面该可读存储介质和第六方面该的计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。It can be understood that the chip system of the third aspect provided above, the device 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 all used to execute the above. The corresponding method is provided. Therefore, the beneficial effects it can achieve can be referred to the beneficial effects in the corresponding methods provided above, which will not be described again here.
附图说明Description of the drawings
图1为一种供电单元的组成示意图;Figure 1 is a schematic diagram of the composition of a power supply unit;
图2为本申请实施例提供的一种电子设备的结构示意图;Figure 2 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图3为本申请实施例提供的一种供电装置的结构示意图;Figure 3 is a schematic structural diagram of a power supply device provided by an embodiment of the present application;
图4为本申请实施例提供的又一种供电装置的结构示意图;Figure 4 is a schematic structural diagram of another power supply device provided by an embodiment of the present application;
图5为本申请实施例提供的又一种供电装置的结构示意图;Figure 5 is a schematic structural diagram of another power supply device provided by an embodiment of the present application;
图6为本申请实施例提供的又一种供电装置的结构示意图;Figure 6 is a schematic structural diagram of another power supply device provided by an embodiment of the present application;
图7为本申请实施例提供的又一种供电装置的结构示意图;Figure 7 is a schematic structural diagram of another power supply device provided by an embodiment of the present application;
图8为本申请实施例提供的一种供电方法的流程示意图;Figure 8 is a schematic flow chart of a power supply method provided by an embodiment of the present application;
图9为本申请实施例提供的又一种供电方法的流程示意图;Figure 9 is a schematic flow chart of another power supply method provided by an embodiment of the present application;
图10为本申请实施例提供的又一种供电方法的流程示意图;Figure 10 is a schematic flow chart of another power supply method provided by an embodiment of the present application;
图11为本申请实施例提供的又一种供电方法的流程示意图;Figure 11 is a schematic flow chart of another power supply method provided by an embodiment of the present application;
图12为本申请实施例提供的又一种供电方法的流程示意图;Figure 12 is a schematic flow chart of another power supply method provided by an embodiment of the present application;
图13为本申请实施例提供的一种芯片系统的组成示意图。FIG. 13 is a schematic diagram of a chip system provided by an embodiment of the present application.
具体实施方式Detailed ways
一般而言,电子设备中都会包括供电单元用于对电子设备的工作提供所须电流。示例性的,以电子设备为PC为例,当PC的系统单元处于工作状态时,需要供电单元为其提供电流以保证系统单元的正常工作。供电单元还可以对PC中内置的电池供电,使得在没有外接电源接入PC时,电池可以向PC的系统单元提供电流,使得PC能够正常工作。Generally speaking, electronic equipment will include a power supply unit to provide the required current for the operation of the electronic equipment. For example, taking the electronic device as a PC, when the system unit of the PC is in working state, the power supply unit needs to provide current to ensure the normal operation of the system unit. The power supply unit can also supply power to the battery built into the PC, so that when no external power supply is connected to the PC, the battery can provide current to the system unit of the PC, allowing the PC to operate normally.
示例性的,请参考图1,为一种供电单元100的结构示意图。For example, please refer to FIG. 1 , which is a schematic structural diagram of a power supply unit 100 .
如图1所示,该供电单元100可以包括供电芯片(charger Integrated Circuit,charger IC)和周边电路。在供电单元100工作时,外接电源可以通过电源接口将电流输入到供电单元100中,供电单元100中的charger IC控制电流输出给系统单元,同时向电池供电。As shown in FIG. 1 , the power supply unit 100 may include a power supply chip (charger integrated circuit, charger IC) and peripheral circuits. When the power supply unit 100 is working, the external power supply can input current into the power supply unit 100 through the power interface. The charger IC in the power supply unit 100 controls the current output to the system unit and supplies power to the battery at the same time.
示例性的,该周边电路可以包括3个场效应管(MOS管)以及1个电感。例如,如图1所示,3个MOS管分别以Q1、Q2和Q3标识,1个电感以L1标识。For example, the peripheral circuit may include three field effect transistors (MOS transistors) and one inductor. For example, as shown in Figure 1, three MOS tubes are labeled Q1, Q2 and Q3 respectively, and one inductor is labeled L1.
其中,Q1的漏(Drain,D)极与电源接口耦接,Q1的源(Source,S)极与Q2的D极耦接,Q1的栅(Gate,G)极与charger IC耦接,Q2的S极接地,G极与charger IC耦接。L1的一端与Q2的D极耦接,L1的另一端与Q3的S极耦接,Q3的D极与电池耦接,Q3的G极与charger IC耦接,Q3的S极还与系统单元耦接。Among them, the drain (D) electrode of Q1 is coupled to the power interface, the source (Source, S) electrode of Q1 is coupled to the D electrode of Q2, the gate (Gate, G) electrode of Q1 is coupled to the charger IC, and Q2 The S pole is grounded, and the G pole is coupled to the charger IC. One end of L1 is coupled to the D pole of Q2, the other end of L1 is coupled to the S pole of Q3, the D pole of Q3 is coupled to the battery, the G pole of Q3 is coupled to the charger IC, and the S pole of Q3 is also coupled to the system unit. coupling.
在该供电单元100工作时,charger IC可以控制Q1、Q2和Q3处于不同的状态(如开关状态,导通状态或截止状态),使得Q1、Q2和Q3能够对输入电源接口的电流进行处理,以便获得能够满足系统单元以及电池供电要求的电流后,输出给系统单元和电池。When the power supply unit 100 is working, the charger IC can control Q1, Q2 and Q3 to be in different states (such as switching state, conduction state or cut-off state), so that Q1, Q2 and Q3 can process the current of the input power interface, In order to obtain the current that can meet the power supply requirements of the system unit and battery, it is output to the system unit and battery.
在供电单元100工作时,其所包括的各个器件都会发热,导致供电单元100的温度上升。供电单元100需要提供的电流越大,温度上升越快。同时随着温度的上升,供电单元100的工作效率会随之下降,当温度超过一定阈值时,有损坏风险。When the power supply unit 100 is working, each component included in the power supply unit 100 will generate heat, causing the temperature of the power supply unit 100 to rise. The greater the current that the power supply unit 100 needs to provide, the faster the temperature rises. At the same time, as the temperature rises, the working efficiency of the power supply unit 100 will decrease. When the temperature exceeds a certain threshold, there is a risk of damage.
在如图1所示的供电方案中,当系统单元需求的电流较大,或者电池容量较大并需要进行快速供电时,会使得供电单元100的供电压力大,其工作过程中温度会更快地上升。由此带来供电效率的下降以及损坏供电单元100的问题。在本实施例中,供电单元也可以称为供电装置。In the power supply scheme shown in Figure 1, when the current required by the system unit is large, or the battery capacity is large and fast power supply is required, the power supply pressure of the power supply unit 100 will be high, and the temperature will increase faster during its operation. The ground rises. This results in problems of reduced power supply efficiency and damage to the power supply unit 100 . In this embodiment, the power supply unit may also be called 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 the power supply unit can effectively reduce the heat generated during the operation of the power supply unit while providing a large power supply current for electronic equipment, thereby improving the efficiency of the power supply unit. improve power supply efficiency and reduce the risk of damaging the power supply unit.
示例性的,本申请实施例中所述的电子设备可以是手机、平板电脑、桌面型、膝上型、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备、媒体播放器等设备,本申请实施例对该设备的具体形态不作特殊限制。For example, the electronic device described in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), or a netbook. As well as devices such as cellular phones, personal digital assistants (PDAs), augmented reality (AR)/virtual reality (VR) devices, media players, etc., the specific forms of the devices in the embodiments of the present application No special restrictions are imposed.
下面将结合附图对本申请实施例的实施方式进行详细描述。The implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
请参考图2,为本申请实施例提供的一种电子设备的结构示意图。如图2所示,电子设备可以包括处理器210,外部存储器接口220,内部存储器221,通用串行总线(universalserial bus,USB)接口230,供电装置240,电池241,天线1,天线2,移动通信模块250,无线通信模块260,音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,传感器模块280,按键290,马达291,指示器292,摄像头293,显示屏294,以及用户标识模块(subscriber identification module,SIM)卡接口295等。其中,传感器模块280可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。Please refer to FIG. 2 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in Figure 2, the electronic device may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a power supply device 240, a battery 241, an antenna 1, an antenna 2, a mobile Communication module 250, wireless communication module 260, audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone interface 270D, sensor module 280, button 290, motor 291, indicator 292, camera 293, display screen 294, and user identification Module (subscriber identification module, SIM) card interface 295, etc. Among them, the sensor module 280 may include a pressure sensor, a gyroscope sensor, an air pressure 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.
需要说明的是,在本申请实施例中,电子设备中除供电装置240和电池241之外的其他部件的集合可称为系统单元。It should be noted that in this embodiment of the present application, a collection of other components in the electronic device except the power supply device 240 and the battery 241 may be called a system unit.
可以理解的是,本实施例示意的结构并不构成对电子设备的具体限定。在另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than illustrated, some components may be combined, some components may be separated, or components may be arranged differently. The components illustrated may be implemented in hardware, software, or a combination of software and hardware.
处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 210 may include one or more processing units. For example, the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (GPU), an image signal processor ( image signal processor (ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc. . Among them, different processing units can be independent devices or integrated in one or more processors.
控制器可以是电子设备的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。A controller can be the nerve center and command center of an electronic device. The controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.
在一些实施例中,处理器210可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 210 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (PCM) interface, and a universal asynchronous receiver (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and/or Universal serial bus (USB) interface, etc.
其中,I2C接口是一种双向同步串行总线,包括一根串行数据线(serial dataline,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器210可以通过I2C接口与供电装置240耦接,以便于处理器210通过I2C接口与供电装置240进行交互。例如,处理器210可以通过I2C接口接收供电装置240发送的输入电流大小,输出电流大小,供电装置240的温度情况以及供电装置240是否已经处于平稳输出等信息。处理器210还可以通过I2C接口向供电装置240发送控制信息,以便控制供电装置240处于不同的工作模式,进行高效的供电输出。Among them, the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 210 may be coupled to the power supply device 240 through an I2C interface, so that the processor 210 interacts with the power supply device 240 through the I2C interface. For example, the processor 210 can receive information such as the input current size, the output current size, the temperature of the power supply device 240 and whether the power supply device 240 is in steady output through the I2C interface. The processor 210 can 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 working modes and perform efficient power supply output.
电子设备的无线通信功能可以通过天线1,天线2,移动通信模块250,无线通信模块260,调制解调处理器以及基带处理器等实现。电子设备通过GPU,显示屏294,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏294和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器210可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。电子设备可以通过ISP,摄像头293,视频编解码器,GPU,显示屏294以及应用处理器等实现拍摄功能。ISP用于处理摄像头293反馈的数据。摄像头293用于捕获静态图像或视频。数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。视频编解码器用于对数字视频压缩或解压缩。电子设备可以支持一种或多种视频编解码器。这样,电子设备可以播放或录制多种编码格式的视频。NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。外部存储器接口220可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口220与处理器210通信,实现数据存储功能。内部存储器221可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器210通过运行存储在内部存储器221的指令,从而执行电子设备的各种功能应用以及数据处理。内部存储器221可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器221可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The wireless communication function of the electronic device can be realized through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor. The electronic device implements display functions through the GPU, display screen 294, and application processor. The GPU is an image processing microprocessor and is connected to the display screen 294 and the application processor. GPUs are 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 alter display information. The electronic device can realize the shooting function through ISP, camera 293, video codec, GPU, display screen 294 and application processor. The ISP is used to process the data fed back by the camera 293. Camera 293 is used to capture still images or video. Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. Video codecs are used to compress or decompress digital video. Electronic devices may support one or more video codecs. In this way, electronic devices can play or record videos in multiple encoding formats. NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can continuously learn by itself. Intelligent cognitive applications of electronic devices can be realized through NPU, such as image recognition, face recognition, speech recognition, text understanding, etc. The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 210 through the external memory interface 220 to implement the data storage function. Internal memory 221 may be used to store computer executable program code, which includes instructions. The processor 210 executes instructions stored in the internal memory 221 to execute various functional applications and data processing of the electronic device. The internal memory 221 may include a program storage area and a data storage area. Among them, the stored program area can store an operating system, at least one application program required for a function (such as a sound playback function, an image playback function, etc.). The storage data area can store data created during the use of electronic equipment (such as audio data, phone books, etc.). In addition, the internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
电子设备可以通过音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,以及应用处理器等实现音频功能。扬声器270A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备可以通过扬声器270A收听音乐,或收听免提通话。受话器270B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备接听电话或语音信息时,可以通过将受话器270B靠近人耳接听语音。麦克风270C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息或需要通过语音助手触发电子设备执行某些功能时,用户可以通过人嘴靠近麦克风270C发声,将声音信号输入到麦克风270C。电子设备可以设置至少一个麦克风270C。在另一些实施例中,电子设备可以设置两个麦克风270C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备还可以设置三个,四个或更多麦克风270C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。耳机接口270D用于连接有线耳机。按键290包括开机键,音量键等。马达291可以产生振动提示。指示器292可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口295用于连接SIM卡。SIM卡可以通过插入SIM卡接口295,或从SIM卡接口295拔出,实现和电子设备的接触和分离。电子设备可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口295可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口295可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口295也可以兼容不同类型的SIM卡。SIM卡接口295也可以兼容外部存储卡。电子设备通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备中,不能和电子设备分离。The electronic device can implement audio functions through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone interface 270D, and the application processor. Speaker 270A, also called "speaker", is used to convert audio electrical signals into sound signals. The electronic device can listen to music through speaker 270A, or listen to hands-free calls. Receiver 270B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device answers a call or a voice message, the voice can be heard by bringing the receiver 270B close to the human ear. Microphone 270C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message or needing to trigger an electronic device to perform certain functions through a voice assistant, the user can speak by approaching the microphone 270C with the human mouth and input the sound signal to the 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, which in addition to collecting sound signals, may also implement a noise reduction function. In other embodiments, the electronic device can also be equipped with three, four or more microphones 270C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions, etc. The headphone interface 270D is used to connect wired headphones. The buttons 290 include a power button, a volume button, etc. The motor 291 can generate vibration prompts. The indicator 292 may be an indicator light, which may be used to indicate charging status, power changes, or may be used to indicate messages, missed calls, notifications, etc. The SIM card interface 295 is used to connect a SIM card. The SIM card can be inserted into the SIM card interface 295 or pulled out from the SIM card interface 295 to realize contact and separation from the electronic device. The electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 295 can support Nano SIM card, Micro SIM card, SIM card, etc. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 295 is also compatible with different types of SIM cards. The SIM card interface 295 is also compatible with external memory cards. Electronic devices interact with the network through SIM cards to implement functions such as calls and data communications. In some embodiments, the electronic device uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
电池241可以用于在没有外接电源接入时,向系统单元供电,保证系统单元的正常工作。本申请实施例中,电池241可以是包括多串电池的电池组。例如,该电池241可以是由4串电池串联构成的电池组。The battery 241 can be used to provide power to the system unit when there is no external power supply to ensure the normal operation of the system unit. In this embodiment of the present application, the battery 241 may be a battery pack including multiple battery strings. For example, the battery 241 may be a battery pack composed of four series of batteries connected in series.
供电装置240可以用于在与外接电源连接时,接收外接电源提供的电流,向系统单元以及电池241供电。本申请实施例中,供电装置240可以是包括在上述电子设备中的一个具有供电功能的单元。The power supply device 240 can be used to receive current provided by the external power supply when connected to the external power supply, and supply power to the system unit and the battery 241 . In this embodiment of the present application, the power supply device 240 may be a unit with a power supply function included in the above-mentioned electronic device.
示例性的,请参考图3,为本申请实施例提供的一种供电装置的结构示意图。该供电装置可以包括电源接口,第一供电单元和第二供电单元。其中,第一供电单元包括第一控制单元和第一开关单元。第二供电单元包括第二控制单元和第二开关单元。For example, please refer to FIG. 3 , which is a schematic structural diagram of a power supply device provided by 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. Wherein, the first power supply unit includes a first control unit and a first switch unit. The second power supply unit includes a second control unit and a second switch unit.
如图3所示,电源接口可以与第一开关单元的第一端(如A端)耦接,第一开关单元的第一端还与系统单元耦接,第一开关单元的第二端(如B端)与电池耦接,第一开关单元的第三端(如C端)与第一控制单元耦接。As shown in Figure 3, the power interface can be coupled to the first end of the first switch unit (such as end A). The first end of the first switch unit is also coupled to the system unit. The second end of the first switch unit (eg, end A) For example, terminal B) is coupled to the battery, and a third terminal (such as terminal C) of the first switch unit is coupled to the first control unit.
电源接口还与第二开关单元的第一端(如D端)耦接,第二开关单元的第二端(如E端)与电池耦接,第二开关单元的第三端(如F端)与第二控制单元耦接。The power interface is also coupled to the first terminal (such as D terminal) of the second switch unit, the second terminal (such as E terminal) of the second switch unit is coupled to the battery, and the third terminal (such as F terminal) of the second switch unit ) is coupled to the second control unit.
在如图3所示的结构中,在一些实施例中,第一供电单元可以对系统单元和电池供电,同时第二供电单元对电池供电。在其他一些实施例中,第一供电单元可以仅对电池供电,同时第二供电单元对电池供电。示例性的,在电源接口耦接外接电源时,第一控制单元控制第一开关单元导通,第一供电单元同时对系统单元和电池供电,同时第二控制单元控制第二开关单元导通,第二供电单元对电池供电。在电源接口耦接外接电源时,第一控制单元控制第一开关单元截止,第一供电单元仅对系统单元供电,同时第二控制单元控制第二开关单元导通,第二供电单元对电池供电。In the structure shown in Figure 3, in some embodiments, the first power supply unit can power the system unit and the battery, while the second power supply unit powers the battery. In some other embodiments, the first power supply unit may only power the battery while the second power supply unit supplies power to the battery. For example, when the power interface is coupled to an 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, The second power supply unit supplies power to the battery. When the power interface is coupled to an external power supply, the first control unit controls the first switch unit to turn off, and the first power supply unit only supplies power to the system unit. At the same time, the second control unit controls the second switch unit to turn on, and the second power supply unit supplies power to the battery. .
在一些实施例中,第一控制单元和第二控制单元可以为供电芯片,如称为chargerIC。第一开关单元和第二开关单元可以为晶体管。例如,晶体管可以为P沟道场效应管,即PMOS管。In some embodiments, the first control unit and the second control unit may be power supply chips, such as chargerICs. The first switching unit and the second switching unit may be transistors. For example, the transistor may be a P-channel field effect transistor, that is, a PMOS transistor.
在如图3所示的供电装置中,通过设置两个供电单元,分担供电压力,使得两个供电单元都不会出现供电压力过大的问题。因此不会出现由于供电压力过大而导致的高温影响,提高了供电效率。In the power supply device shown in Figure 3, two power supply units are provided to share the power supply pressure, so that neither of the two power supply units will have the problem of excessive power supply pressure. Therefore, there will be no high temperature effects caused by excessive power supply pressure, and the power supply efficiency will be improved.
在一些实施例中,第一供电单元还可以包括设置于电源接口和第一开关单元之间的第一适配单元,第二供电单元还可以包括设置于电源接口和第二开关单元之间的第二适配单元。如图4所示,例如,第一适配单元的第一端与电源接口耦接,第一适配单元的第二端与第一开关单元的第一端耦接,第一适配单元的控制端与第一控制单元耦接。在电源接口耦接外接电源时,第一适配单元可以在第一控制单元的控制下,将外接电源输入的电流进行适配后输出。以便通过对电流的适配处理,使得第一供电单元能够满足系统单元以及电池的供电需求。又如,第二适配单元的第一端与电源接口耦接,第二适配单元的第二端与第二开关单元的第一端耦接,第二适配单元的控制端与第二控制单元耦接。在电源接口耦接外接电源时,第二适配单元可以在第二控制单元的控制下,将外接电源输入的电流进行适配后输出。以便通过对电流的适配处理,使得第二供电单元能够满足电池的供电需求。In some embodiments, the first power supply unit may further include a first adaptation unit disposed between the power interface and the first switch unit, and the second power supply unit may further include a first adapter unit disposed between the power interface and the second switch unit. The second adaptation unit. As shown in Figure 4, for example, the first end of the first adapter unit is coupled to the power interface, the second end of the first adapter unit is coupled to the first end of the first switch unit, and the first end of the first adapter unit is coupled to the first end of the switch unit. The control end is coupled to the first control unit. When the power interface is coupled to an external power supply, the first adaptation unit can adapt the current input by the external power supply and output it under the control of the first control unit. In order to enable the first power supply unit to meet the power supply requirements of the system unit and the battery through current adaptation processing. For another example, the first end of the second adaptation unit is coupled to the power interface, the second end of the second adaptation unit is coupled to the first end of the second switch unit, and the control end of the second adaptation unit is coupled to the second The control unit is coupled. When the power interface is coupled to an external power supply, the second adaptation unit can adapt the current input by the external power supply and output it under the control of the second control unit. In order to enable the second power supply unit to meet the power supply requirements of the battery through current adaptation processing.
本申请实施例中,第一适配单元可以包括第一晶体管Q1,第二晶体管Q2,第三晶体管Q3,第四晶体管Q4以及第一电感L1。第二适配单元可以包括第五晶体管Q5,第六晶体管Q6,第七晶体管Q7,第八晶体管Q8以及第二电感L2。其中,在一些实施例中,晶体管Q1-Q8均可为MOS管,例如,Q1-Q8均可为NMOS管。In this embodiment of the present application, the first adaptation 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 inductor L2. In some embodiments, the transistors Q1-Q8 may all be MOS transistors, for example, Q1-Q8 may all be NMOS transistors.
示例性的,请参考图5,以第一开关单元为晶体管Q9,第二开关单元为晶体管Q10,第一控制单元为第一供电芯片(即charger IC 1),第二控制单元为第二供电芯片(即charger IC 2),晶体管Q1-Q8以及晶体管Q9、Q10均为MOS管为例进行说明。For example, please refer to Figure 5. The first switching unit is the transistor Q9, the second switching unit is the transistor Q10, the first control unit is the first power supply chip (i.e., charger IC 1), and the second control unit is the second power supply chip. The chip (i.e. charger IC 2), the transistors Q1-Q8 and the transistors Q9 and Q10 are all MOS tubes for illustration.
如图5所示,在第一适配单元中,Q1的第一端(如D极)可以作为第一适配单元的第一端,与电源接口耦接,Q1的第二端(如S极)与Q2的D极耦接,Q2的S极接地,Q2的D极与L1的一端耦接,L1的另一端还与Q3的D极耦接,Q3的S极接地,Q3的D极还与Q4的S极耦接,Q4的D极可以作为第一适配单元的第二端,与Q9的S极耦接。另外,Q1、Q2、Q3以及Q4的G极可以构成第一适配单元的控制端与charger IC 1耦接。As shown in Figure 5, in the first adaptation unit, the first terminal of Q1 (such as D pole) can be used as the first terminal of the first adaptation unit and coupled with the power interface, and the second terminal of Q1 (such as S pole) is coupled to the 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 also coupled to the D pole of Q3, the S pole of Q3 is grounded, and the D pole of Q3 It is also coupled with the S pole of Q4, and the D pole of Q4 can be used as the second terminal of the first adaptation unit and coupled with the S pole of Q9. In addition, the G poles of Q1, Q2, Q3 and Q4 may constitute a control terminal of the first adaptation unit coupled to the charger IC 1.
与之类似的,在第二适配单元中,Q5的D极可以作为第二适配单元的第一端,与电源接口耦接,Q5的S极与Q6的D极耦接,Q6的S极接地,Q6的D极与L2的一端耦接,L2的另一端还与Q7的D极耦接,Q7的S极接地,Q7的D极还与Q8的S极耦接,Q8的D极可以作为第二适配单元的第二端,与Q9的S极耦接。另外,Q5、Q6、Q7以及Q8的G极可以构成第二适配单元的控制端与charger IC 2连接。Similarly, in the second adaptation unit, the D pole of Q5 can be used as the first end of the second adaptation unit, coupled to the power interface, the S pole of Q5 is coupled to the D pole of Q6, and the S pole of Q6 The D pole of Q6 is coupled to one end of L2, the other end of L2 is also coupled to the D pole of Q7, the S pole of Q7 is grounded, the D pole of Q7 is also coupled to the S pole of Q8, and the D pole of Q8 It can be used as the second end of the second adaptation unit and is 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 and be connected to the charger IC 2.
其中,Q1、Q2以及L1可以构成升压电路,以便对电源接口接入的电流进行升压的适配处理。L1、Q3以及Q4可以构成降压电路,以便对通路上的电流进行降压的适配处理。与之类似的Q5、Q6以及L2也可以构成升压电路对电源接口接入的电流进行升压的适配处理。L2、Q7以及Q8可以构成降压电路对通路上的电流进行降压的适配处理。示例性的,电流在通过晶体管时,可以产生具有不同特性的脉冲宽度调制(Pulse width modulation,PWM)波,配合电感,就可以实现对电流的适配处理。例如,charger IC 1可以控制Q1和Q4处于导通状态,控制Q2和Q3处于截止状态。此时可以实现适配后的电流能够满足第一供电单元仅对系统单元的供电。又如,charger IC 1可以控制Q1,Q2,Q3以及Q4均处于开关状态。此时可以实现适配后的电流能够满足第一供电单元同时对系统单元和电池的供电。又如,charger IC2可以控制Q5,Q6,Q7以及Q8处于开关状态。此时可以实现适配后的电流能够满足第二供电单元对电池的供电。Among them, Q1, Q2 and L1 can form a boost circuit to adapt the voltage boost to the current connected to the power interface. L1, Q3 and Q4 can form a step-down circuit to adapt the voltage step-down to the current on the path. Similarly, Q5, Q6 and L2 can also form a boost circuit to adapt the voltage to the current connected to the power interface. L2, Q7 and Q8 can form a step-down circuit to perform adaptive processing to step down the current on the path. For example, when current passes through a transistor, pulse width modulation (PWM) waves with different characteristics can be generated, and in conjunction with an inductor, current adaptation can be achieved. For example, charger IC 1 can control Q1 and Q4 to be in the on state, and control Q2 and Q3 to be in the off state. At this time, it can be realized that the adapted current can satisfy the power supply of the first power supply unit to only the system unit. For another example, charger IC 1 can control Q1, Q2, Q3 and Q4 to be in a switching state. At this time, it can be realized that the adapted current can satisfy the first power supply unit to supply power to the system unit and the battery at the same time. For another example, charger IC2 can control Q5, Q6, Q7 and Q8 to be in a switching state. At this time, it can be realized that the adapted current can satisfy the power supply of the battery by the second power supply unit.
在如图5所示的供电装置中,即使通过电源接口接入的电流无法直接对系统单元或电池供电,也可以通过第一供电单元以及第二供电单元中的适配单元进行适配调整,使得供电装置在无论输入的电流是否可以直接供电的情况下,都可以满足系统单元以及电池的供电需求。In the power supply device as shown in Figure 5, even if the current connected through the power interface cannot directly power the system unit or battery, it can still be adapted and adjusted through the adaptation units in the first power supply unit and the second power supply unit. This enables the power supply device to meet the power supply needs of the system unit and battery regardless of whether the input current can directly supply power.
在本申请的一些实施例中,在如图3或图4或图5所示的供电装置中,还可以包括其他器件,以进一步保证供电装置的正常工作。In some embodiments of the present application, the power supply device as shown in Figure 3 or Figure 4 or Figure 5 may also include other components to further ensure the normal operation of the power supply device.
以下以供电装置中的第一开关单元、第二开关单元、第一控制单元和第二控制单元为如图5所示部件,同时供电装置中还包括如图5所示的第一适配单元和第二适配单元为例进行说明。In the following, the first switch unit, the second switch unit, the first control unit and the second control unit in the power supply device are the components shown in Figure 5. At the same time, the power supply device also includes a first adaptation unit as shown in Figure 5. Take the second adaptation unit as an example for description.
请参考图6,第一供电单元中还可以包括电容C1,电阻R1,电容C2,电阻R2以及电容C5。第二供电单元中还可以包括电容C3,电阻R3,电容C4以及电阻R4。Please refer to Figure 6. The first power supply unit may also include a capacitor C1, a resistor R1, a capacitor C2, a resistor R2 and a capacitor C5. The second power supply unit may also include a capacitor C3, a resistor R3, a capacitor C4 and a resistor R4.
在第一供电单元中,C1的一端与电源接口耦接,C1的另一端接地,C2的一端与Q1的D极耦接,C2的另一端接地。C1和C2可以用于对接入电源接口的电流进行整流,防止该电流在波动较大时可能对第一供电单元的损害。In the first power supply unit, one end of C1 is coupled to the power interface, the other end of C1 is grounded, one end of C2 is coupled to the D pole of Q1, and the other end of C2 is grounded. C1 and C2 can be used to rectify the current connected to the power interface to prevent damage to the first power supply unit when the current fluctuates greatly.
R1可以串联在电源接口与Q1的D极之间,如设置在C1与C2之间。当第一供电单元工作时,可以对R1两端的电压进行采样,并将该电压值反馈给系统单元。则系统单元可以结合R1的阻值,获知由电源接口接入第一供电单元的电流大小,以便系统单元根据输入的电流大小,调整供电装置的供电策略(具体可参见以下图8所示实施例中对应内容的具体描述),以提高供电装置的供电效率。R1 can 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 is working, the voltage across R1 can be sampled and the voltage value is fed back to the system unit. Then the system unit can combine the resistance value of R1 to learn the current level connected to the first power supply unit through the power interface, so that the system unit can adjust the power supply strategy of the power supply device according to the input current level (for details, please refer to the embodiment shown in Figure 8 below (detailed description of the corresponding content in ) to improve the power supply efficiency of the power supply device.
R2可以串联在电池与Q9的D极之间。Charger IC 1可以通过对R2两端的电压进行采样,并将该电压值反馈给系统单元。则系统单元可以结合R2的阻值,获知电池的输出电流大小,进而知晓电池的剩余电量(Relative State of Charge,RSOC),以便系统单元根据电池的RSOC,调整供电装置的供电策略(具体可参见以下图8所示实施例中对应内容的具体描述),以提高供电装置的供电效率。R2 can be connected in series between the battery and the D pole of Q9. Charger IC 1 can sample the voltage across R2 and feed the voltage value back to the system unit. Then the system unit can combine the resistance value of R2 to know the output current of the battery, and then know the remaining power (Relative State of Charge, RSOC) of the battery, so that the system unit can adjust the power supply strategy of the power supply device according to the RSOC of the battery (for details, see The following is a detailed description of the corresponding content in the embodiment shown in Figure 8) to improve the power supply efficiency of the power supply device.
另外,第一供电单元中还可以包括电容C5,该电容C5的一端与Q9的S极耦接,C5的另一端接地。设置该C5可以对第一供电单元输出给系统单元的电流进行整流,以便在第一供电单元的输出电流出现波动时,保护系统单元的不受影响。In addition, the first power supply unit may also include a capacitor C5, one end of the capacitor C5 is coupled to the S pole of Q9, and the other end of the capacitor C5 is grounded. C5 is set to rectify the current output by 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.
如图6所示,第二供电单元中包括的电容(如C3和C4)和电阻(如R3和R4)的耦接方式与第一供电单元中的电容和电阻类似,其作用也与第一供电单元中的电容和电阻分别相同,此处不再赘述。As shown in Figure 6, the capacitors (such as C3 and C4) and resistors (such as R3 and R4) included in the second power supply unit are coupled in a similar manner to the capacitors and resistors in the first power supply unit, and their functions are also similar to those in the first power supply unit. The capacitors and resistors in the power supply unit are the same and will not be described again here.
需要说明的是,如图6所示,第一供电芯片(即charger IC 1)和第二供电芯片(即charger IC 2)还可以通过I2C接口与系统单元(如系统单元中的处理器)耦接,以便与系统单元进行交互。示例性的,在第一供电单元的输出电压稳定后,charger IC 1可以向系统单元发送“电压稳定输出”信号(如高电平信号),使得系统单元知晓第一供电单元的电压已稳定输出。当第一供电单元过热时,charger IC 1可以向系统单元发送“过热”信号(如低电平信号),使得系统单元知晓第一供电单元过热。charger IC 1和charger IC 2还可以通过I2C接口向系统单元反馈供电装置的输出电流的大小,以便系统单元知晓供电装置当前时刻的供电能力。除此之外,系统单元还可以通过I2C接口向charger IC 1和/或charger IC2发送控制信息,以便设置供电装置的供电参数和模式。It should be noted that, as shown in Figure 6, the first power supply chip (i.e., charger IC 1) and the second power supply chip (i.e., charger IC 2) can also be coupled to the system unit (such as the processor in the system unit) through the I2C interface. to interact with system units. For example, after the output voltage of the first power supply unit is stable, the charger IC 1 can send a "voltage stable output" signal (such as a high-level signal) to the system unit, so that the system unit knows that the voltage of the first power supply unit has been stably output. . When the first power supply unit is overheated, the charger IC 1 can send an "overheat" signal (such as a low level signal) to the system unit, so that the system unit knows that the first power supply unit is overheated. Charger IC 1 and charger IC 2 can also feedback 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 can also send control information to charger IC 1 and/or charger IC2 through the I2C interface in order to set the power supply parameters and mode of the power supply device.
例如,请参考图7,第一供电芯片(即charger IC 1)和第二供电芯片(即chargerIC 2)均可以包括多个端口,实现与系统单元之间的交互。以下对各个端口的作用进行示例性说明。For example, please refer to Figure 7. Both the first power supply chip (ie, charger IC 1) and the second power supply chip (ie, charger IC 2) may include multiple ports to implement interaction with the system unit. The following is an example description of the role of each port.
在charger IC 1中,有一部分端口可以用于控制第一适配单元并采集第一适配单元中的电信号。例如,ACN端口和ACP端口分别与电阻R1的两端耦接,用于对电阻R1两端的电压进行采样,以便确定输入供电装置的电流情况。VBUS_IN端口与Q1的D极耦接,用于对输入供电装置的电压进行采样。HIDRV 1端口与Q1的G极耦接,用于控制Q1的工作状态。L0 DRV 1端口与Q2的G极耦接,用于控制Q2的工作状态。SW 1端口和SW 2端口分别与电感L1的两端耦接,用于对电感L1两端的电压进行采样。L0 DRV 2端口与Q3的G极耦接,用于控制Q3的工作状态。HIDRV 2端口与Q4的G极耦接,用于控制Q4的工作状态。SYS端口与系统单元耦接,用于向系统单元输出电流。BATDRV端口与Q9的G极耦接,用于控制Q9的工作状态。SRP端口和SRN端口分别与电阻R2的两端耦接,用于对电阻R2两端的电压进行采样,以便确定电池中的电量情况。In the charger IC 1, some ports can be used to control the first adaptation unit and collect electrical signals in the first adaptation unit. For example, the ACN port and the ACP port are coupled to two ends of the resistor R1 respectively, and are used to sample the voltage across the resistor R1 in order to determine the current situation of the input power supply device. The VBUS_IN port is coupled to the D pole of Q1 and is used to sample the voltage of the input power supply device. The HIDRV 1 port is coupled to the G pole of Q1 and is used to control the working status of Q1. The L0 DRV 1 port is coupled to the G pole of Q2 and is used to control the working status of Q2. The SW 1 port and the SW 2 port are respectively coupled to both ends of the inductor L1 and are used to sample the voltage across the inductor L1. The L0 DRV 2 port is coupled to the G pole of Q3 and is used to control the working status of Q3. The HIDRV 2 port is coupled to the G pole of Q4 and is used to control the working status of Q4. The SYS port is coupled to the system unit and used to output current to the system unit. The BATDRV port is coupled to the G pole of Q9 and is used to control the working status of Q9. The SRP port and the SRN port are respectively coupled to both ends of the resistor R2 and are used to sample the voltage across the resistor R2 in order to determine the power level in the battery.
在charger IC 1中,还包括PSYS端口,ACOK端口,IBAT端口,IADPT端口,I2C_D端口,I2C_C端口,ILIM_HIZ端口以及PROCHOT端口。这些端口可以分别通过I2C总线与系统单元耦接,用于与系统单元进行通信。例如,PSYS端口可以用于向系统单元反馈第一供电单元输出电流的大小。ACOK端口可以用于在第一供电单元输出电压稳定后,向系统单元发送高电平信号,以便系统单元知晓第一供电单元的输出电压已经稳定。IBAT端口可以用于向系统单元反馈电池放电的电流大小。IADPT端口可以用于向系统单元反馈输入第一供电单元的电流大小。I2C_C端口以及I2C_D端口可以用于接收系统单元发送的控制信号,以便根据该控制信号修改charger IC 1的供电参数。ILIM_HIZ端口可以用于接收系统单元发送的控制信号,以便根据该控制信号控制第一供电单元模块进入不同的供电模式(如BB或PTM模式)。PROCHOT端口可以用于当第一供电单元过热时,向系统单元发送低电平信号,以便系统单元知晓第一供电单元过热。In charger IC 1, it also includes PSYS port, ACOK port, IBAT port, IADPT port, I2C_D port, I2C_C port, ILIM_HIZ port and PROCHOT port. These ports can be respectively coupled to the system unit through the I2C bus for communicating with the system unit. For example, the PSYS port can be used to feed back the size of the output current of the first power supply unit to the system unit. The ACOK port can be used to send a high-level signal to the system unit after the output voltage of the first power supply unit is stable, so that the system unit knows that the output voltage of the first power supply unit has stabilized. The IBAT port can be used to feedback the battery discharge current to the system unit. The IADPT port may be used to feed back the current level of the first power supply unit to the system unit. The I2C_C port and the I2C_D port can be used to receive the control signal sent by the system unit in order to modify the power supply parameters of the charger IC 1 according to the control signal. The ILIM_HIZ port can be used to receive a control signal sent by the system unit, so as to control the first power supply unit module to enter different power supply modes (such as BB or PTM mode) according to the control signal. The PROCHOT port can be used to send a low-level 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.
如图7所示,charger IC 2中也可以包括与charger IC 1类似的端口,其作用也与charger IC 1中的端口的作用一一对应。其区别在于,由于第二供电单元可以仅对电池供电,其多种参数并不需要反馈系统单元,因此,charger IC 2中的PROCHOT端口、ACOK端口、IBAT端口以及IADPT端口可以不与系统单元连接。另外,charger IC 2的PSYS端口可以与charger IC 1的PSYS端口连接,以便系统单元可知晓第一供电单元和第二供电单元能够输出的电流的总和。As shown in Figure 7, charger IC 2 may also include ports similar to charger IC 1, and their functions also correspond to the functions of the ports in charger IC 1. The difference is that since the second power supply unit can only supply power to the battery, its various parameters do not need to be fed back to the system unit. Therefore, the PROCHOT port, ACOK port, IBAT port and IADPT port in charger IC 2 do not need to be connected to the system unit. . In addition, the PSYS port of the charger IC 2 can be connected to the PSYS port of the charger IC 1 so that the system unit can know the sum of the 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 into the power interface, the current provided by the external power supply can also be rectified through the power adapter to reduce the fluctuation or voltage of the external power supply. The impact of excessive voltage on the power supply device.
本申请实施例提供的供电方法可以应用于如图3、图4、图5、图6或图7所示的任意一种供电装置。基于该供电方法,供电装置在为电子设备提供较大的供电电流的同时,可有效地减少供电装置的发热,进而提高供电装置的供电效率,并降低损坏供电装置的风险。The power supply method provided by the embodiment of the present application can be applied to any power supply device as shown in Figure 3, Figure 4, Figure 5, Figure 6 or Figure 7. Based on this power supply method, the power supply device can effectively reduce the heat generated by the power supply device while providing a large power supply current for electronic equipment, thereby improving the power supply efficiency of the power supply device and reducing the risk of damaging the power supply device.
为了更加清楚的说明本申请实施例提供的供电方法,以下以电子设备为PC,其中包括的供电装置为如图7所示的供电装置,外接电源通过电源适配器接入电源接口,PC包括的电池为多个电池串联构成的电池组为例进行说明。如图8所示,该方法可以包括S801-S803。In order to more clearly explain the power supply method provided by the embodiment of the present application, the electronic device is taken as a PC in the following, and the power supply device included therein is the power supply device as shown in Figure 7. The external power supply is connected to the power interface through the power adapter, and the battery included in the PC A battery pack composed of multiple batteries connected in series is used as an example for explanation. As shown in Figure 8, the method may include S801-S803.
S801、电源接口与外接电源耦接,系统单元控制第一供电单元和第二供电单元开始工作。S801. The power interface is coupled to the external power supply, and the system unit controls the first power supply unit and the second power supply unit to start working.
当电源接口接入外接电源时,电流可以通过电源接口接入到供电装置中。系统单元中的处理器可以启动供电装置开始工作,例如,处理器可以启动第一供电单元和第二供电单元开始双charger IC充电。When the power interface is connected to an external power supply, current can be connected to the power supply device through the power interface. The processor in the system unit can start the power supply device to start working. For example, the processor can start the first power supply unit and the second power supply unit to start charging the dual charger IC.
S802、系统单元对电池组的剩余电量进行检测。S802. The system unit detects the remaining power of the battery pack.
PC中电池组的剩余电量(RSOC)会影响电池组对于电流的需求,因此,为了能够控制供电装置进行有效的供电输出,系统单元的处理器可以在启动供电装置时,对电池组的剩余电量进行检测。其中,系统单元可以通过对供电装置中对应器件的电压采样,并根据采样获取的电压、该器件的电属性(如阻值)以及电池组的电属性计算获取电池组的RSOC。The remaining capacity (RSOC) of the battery pack in the PC will affect the current demand of the battery pack. Therefore, in order to control the power supply device for effective power output, the processor of the system unit can determine the remaining capacity of the battery pack when starting the power supply device. Perform testing. Among them, the system unit can sample the voltage of the corresponding device in the power supply device, and calculate and obtain the RSOC of the battery pack based on the sampled voltage, the electrical properties (such as resistance) of the device, and the electrical properties of the battery pack.
示例性的,结合图7所示,供电装置可以对R2和R4两个电阻两端的电压进行采样,并将采样获取的4个电压采样值发送给处理器。则处理器就可以根据R2两端的电压和R2的阻值,确定R2所在通路上的电流大小。类似的,处理器还可以确定R4所在通路上的电流大小。由于电池组的电流等于R2所在通路上的电流与R4所在通路上的电流大小之和,因此,处理器可以根据R2所在通路上的电流以及R4所在通路上的电流确定流经电池组的电流。结合电池组的等效电阻,通过计算便可确定电池组的RSOC。For example, as shown in Figure 7, the power supply device can sample the voltage across the two resistors R2 and R4, and send the four voltage sampling values obtained by sampling to the processor. Then the processor can determine the current on the path where R2 is located based on the voltage across R2 and the resistance of R2. Similarly, the processor can also determine the amount of current on the path where R4 is located. Since the current of the battery pack is equal to the sum of the current on the path where R2 is located and the current on the path where R4 is located, the processor can determine the current flowing through the battery pack based on the current on the path where R2 is located and the current on the path where R4 is located. Combined with the equivalent resistance of the battery pack, the RSOC of the battery pack can be determined through calculation.
S803、系统单元根据电池组剩余电量的情况,控制供电装置以对应供电模式向系统单元以及电池组供电。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 remaining power of the battery pack.
本申请实施例中,供电装置的供电模式可以包括涓流充电模式(Pre/WakeupCharge)、快速充电模式(Fast Charge)、终止充电模式(Terminated Charge)、直通及开关充电模式(PTM+BuckBoost Charge)以及满电量模式(Full Charge)。对上述几种供电模式的示例性说明将在以下说明内容中体现。In the embodiment of the present application, the power supply mode of the power supply device may include trickle charging mode (Pre/WakeupCharge), fast charging mode (Fast Charge), terminated charging mode (Terminated Charge), pass-through and switching charging mode (PTM+BuckBoost Charge) And full charge mode. Exemplary descriptions of the above power supply modes will be reflected in the following description.
示例性的,系统单元的处理器可以通过控制第一供电单元的工作模式、第二供电单元的工作模式以及供电装置的供电参数实现控制供电装置工作在不同供电模式。For example, the processor of the system unit can control the power supply device to operate in different power supply modes by controlling the working mode of the first power supply unit, the working mode of the second power supply unit, and the power supply parameters of the power supply device.
其中,供电单元(如第一供电单元或第二供电单元)的工作模式可以包括:直通(Pass Through Mode,PTM)模式,升压/降压(BuckBust,BB)模式。例如,结合图5,第一供电单元处于直通(Pass Through Mode,PTM)模式时,第一供电单元中的Q1和Q4处于导通状态Q2和Q3处于截止状态时。又如,第一供电单元处于升压/降压(BuckBust,BB)模式时,第一供电单元中的Q1,Q2,Q3以及Q4处于开关状态。又如,第二供电单元处于BB模式时,第二供电单元中的Q5,Q6,Q7以及Q8处于开关状态。The working modes of the power supply unit (such as the first power supply unit or the second power supply unit) may include: Pass Through Mode (PTM) mode, BuckBust (BB) mode. For example, with reference to FIG. 5 , when the first power supply unit is in Pass Through Mode (PTM) mode, Q1 and Q4 in the first power supply unit are in the on state and Q2 and Q3 are in the off state. For another example, when the first power supply unit is in the BuckBust (BB) mode, Q1, Q2, Q3 and Q4 in the first power supply unit are in the switching state. For another example, when the second power supply unit is in the BB mode, Q5, Q6, Q7 and Q8 in the second power supply unit are in the switching state.
请参考图9,以供电装置的供电参数包括第一供电单元的输入电流限制参数Ilim1,第一供电单元的输出电流限制参数Ichg1,第二供电单元的输入电流限制参数Ilim2以及第二供电单元的输出电流限制参数Ichg2,电流的单位均为安培(A)为例。上述S803具体的可以包括S901-S904。Please refer to Figure 9. The power supply parameters of the power supply device include the input current limit parameter I lim1 of the first power supply unit, the output current limit parameter I chg1 of the first power supply unit, the input current limit parameter I lim2 of the second power supply unit and the second The output current limiting parameter I chg2 of the power supply unit, the unit of current is Ampere (A) as an example. The above-mentioned S803 may specifically include S901-S904.
S901、当电池组的RSOC小于第一阈值,或者无法检测到电池组的RSOC时,系统单元控制供电装置工作在涓流充电模式。S901. When the RSOC of the battery pack is less 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 charging mode.
当电池组中的RSOC较低,如电池组中的RSOC小于第一阈值(如第一阈值可以为0%)时,出于对电池组的保护,不能对电池组进行大电流的快速充电。此时系统单元的处理器可以控制供电装置工作在涓流充电模式。When the RSOC in the battery pack is low, for example, when the RSOC in the battery pack is less than a first threshold (for example, the first threshold may be 0%), for the protection of the battery pack, the battery pack cannot be quickly charged with a large current. At this time, the processor of the system unit can control the power supply device to work in trickle charging mode.
例如,处理器可以通过以下方法,控制供电装置工作在涓流充电模式:控制第一供电单元工作在第一模式(如PTM模式),第二供电单元工作在第二模式(如BB模式),使得第一供电单元仅对系统单元供电,第二供电单元对电池组供电。同时设置供电装置的供电参数为第一参数,该第一参数满足以下公式(1-1)、公式(1-2)和公式(1-3)。For example, the processor can control the power supply device to work in the trickle charging mode through the following method: control the first power supply unit to work in the first mode (such as PTM mode), and the second power supply unit to work in the second mode (such as BB mode), The first power supply unit only supplies power to the system unit, and the second power supply unit supplies power to the battery pack. At the same time, the power supply parameter of the power supply device is set as the first parameter, and the first parameter satisfies the following formula (1-1), formula (1-2) and formula (1-3).
Ichg2=0.128……公式(1-1),I chg2 =0.128...Formula (1-1),
Ilim2=0.128*Vbat/(a*x)……公式(1-2),I lim2 =0.128*V bat /(a*x)......Formula (1-2),
Ilim1=b*y-Ilim2……公式(1-3)。I lim1 =b*yI lim2 ...Formula (1-3).
其中,Vbat为电池组的充电电压,a为第二供电单元的供电效率,x为电源适配器的额定输出电压,b为安全系数,y为电源适配器的额定输出电流。示例性的,Vbat可根据Vbat=c*4计算得到,其中c为电池组的串数。Among them, V bat is the charging voltage of the battery pack, a is the power supply efficiency of the second power supply unit, x is the rated output voltage of the power adapter, b is the safety factor, and y is the rated output current of the power adapter. For example, V bat can be calculated according to V bat =c*4, where c is the number of strings in the battery pack.
S902、当电池组的剩余电量大于第一阈值,且小于第二阈值时,系统单元控制供电装置工作在快速充电模式。S902. When the remaining power 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 charging mode.
当电池组中存储有一定电量时(如电池组的RSOC大于第一阈值(如第一阈值为0%),且小于第二阈值(如第二阈值为90%))时,就可以对其进行快速充电,以便在短时间内充满电池组。此时系统单元的处理器可以控制供电装置工作在快速充电模式。When there is a certain amount of electricity stored in the battery pack (for example, the RSOC of the battery pack is greater than the first threshold (for example, the first threshold is 0%) and less than the second threshold (for example, the second threshold is 90%)), it can be Performs fast charging to fully charge the battery pack in a short time. At this time, the processor of the system unit can control the power supply device to work in fast charging mode.
例如,处理器可以通过以下方法,控制供电装置工作在快速充电模式:控制第一供电单元工作在第三模式(如BB模式),第二供电单元工作在第二模式(如BB模式),以便第一供电单元同时为系统单元和电池组供电,第二供电单元为电池组供电。同时设置第一供电单元和第二供电单元的供电参数为第二参数,该第二参数满足以下公式(2-1)、公式(2-2)、公式(2-3)以及公式(2-4)。For example, the processor can control the power supply device to work in the fast charging mode through the following method: control the first power supply unit to work in the third mode (such as BB mode), and the second power supply unit to work in the 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. At the same time, the power supply parameters of the first power supply unit and the second power supply unit are set as the second parameter. The second parameter satisfies the following formula (2-1), formula (2-2), formula (2-3) and formula (2- 4).
Ilim2=Ichg2*Vbat/(a*x)……公式(2-1),I lim2 =I chg2 *V bat /(a*x)......Formula (2-1),
Ichg2=1/3*Ichg……公式(2-2),I chg2 =1/3*I chg ...Formula (2-2),
Ilim1=b*y-Ilim2……公式(2-3),I lim1 =b*yI lim2 ...Formula (2-3),
Ichg1=2/3*Ichg……公式(2-4)。I chg1 =2/3*I chg ...Formula (2-4).
其中,Ichg为电池组的最大充电电流。Among them, I chg is the maximum charging current of the battery pack.
需要说明的是,当供电装置工作在快速充电模式下时,由于第一供电装置需要同时为系统单元与电池供电,因此,在上述公式(2-2)以及(2-4)的示例性说明中,Ichg1被设置成Ichg2的两倍。本申请实施例中,还可以设置Ichg1与Ichg2为其他的大小关系,例如,可以设置第二参数满足Ichg2=1/4*Ichg1=1/5*Ichg。在本申请实施例的具体实施过程中,可以结合实际,对第一供电单元的输出电流大小与第二供电单元的输出电流大小的关系灵活设定,本申请实施例在此不做限制。It should be noted that when the power supply device works in the fast charging mode, since the first power supply device needs to supply power to the system unit and the battery at the same time, in the exemplary explanation of the above formulas (2-2) and (2-4) , I chg1 is set to twice the value of I chg2 . In the embodiment of the present application, I chg1 and I chg2 can also be set to other size relationships. For example, the second parameter can be set to satisfy I chg2 =1/4*I chg1 =1/5*I chg . During the specific implementation of the embodiments 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 can be flexibly set based on the actual situation. The embodiments of the present application are not limited here.
S903、当电池的剩余电量大于第二阈值,且电池未满电时,系统单元控制供电装置工作在终止充电模式。S903. When the remaining power of the battery is greater than the second threshold and the battery is not fully charged, the system unit controls the power supply device to operate in the termination charging mode.
当电池的RSOC大于第二阈值(如第二阈值为90%),且电池未满电时,则电池接近满电,不再需要对电池进行快速充电。此时系统单元的处理器可以控制供电装置工作在终止充电模式。When the RSOC of the battery is greater than the second threshold (for example, the second threshold is 90%) and the battery is not fully charged, the battery is close to being fully charged and there is no need to fast charge the battery. At this time, the processor of the system unit can control the power supply device to work in the termination charging mode.
例如,处理器可以通过以下方法,控制供电装置工作在终止充电模式:控制第一供电单元工作在第一模式(如PTM模式),第二供电单元工作在第二模式(如BB模式),以便第一供电单元为系统单元供电,第二供电单元为电池组供电。同时设置第一供电单元和第二供电单元的供电参数为第三参数,该第三参数满足以下公式(3-1)、公式(3-2)以及公式(3-3)。For example, the processor can control the power supply device to work in the charging termination mode through the following method: control the first power supply unit to work in a first mode (such as PTM mode), and the second power supply unit to work in a second mode (such as 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. At the same time, the power supply parameters of the first power supply unit and the second power supply unit are set as third parameters, and the third parameters satisfy the following formula (3-1), formula (3-2) and formula (3-3).
Ichg2=0.5……公式(3-1),I chg2 =0.5...Formula (3-1),
Ilim2=0.5*Vbat/(a*x)……公式(3-2),I lim2 =0.5*V bat /(a*x)......Formula (3-2),
Ilim1=b*y-Ilim2……公式(3-3)。I lim1 =b*yI lim2 ...Formula (3-3).
S904、当电池满电时,系统单元控制供电装置工作在满电量模式。S904. When the battery is fully charged, the system unit controls the power supply device to work in the full power mode.
当电池满电,则不再需要对电池组继续进行供电。此时系统单元的处理器可以控制供电装置工作在满电量模式。When the battery is fully charged, there is no need to continue supplying power to the battery pack. At this time, the processor of the system unit can control the power supply device to work in full power mode.
例如,处理器可以通过以下方法,控制供电装置工作在满电量模式:控制第一供电单元工作在第一模式(如PTM模式),并控制第二供电单元。同时设置第一供电单元和第二供电单元的供电参数满足以下公式(4-1)、公式(4-2)以及公式(4-3)。For example, the processor can control the power supply device to work in the full power mode through the following method: control the first power supply unit to work in the first mode (such as PTM mode), and control the second power supply unit. At the same time, the power supply parameters of the first power supply unit and the second power supply unit are set to satisfy the following formula (4-1), formula (4-2) and formula (4-3).
Ichg2=0……公式(4-1),I chg2 =0...Formula (4-1),
Ilim2=0……公式(4-2),I lim2 =0...Formula (4-2),
Ilim1=y……公式(4-3)。I lim1 =y...Formula (4-3).
可以理解的是,当输入功率一定时,供电装置能够输出的总电流大小也是一定的。如果对电池组进行快速充电,则供电装置需要对电池组输出较大的电流,那么对系统单元输出的电流也就响应减小。而如果此时系统单元需求的电流较大,会出现系统单元供电不足的问题。因此,在本申请实施例的一些实现方式中,系统单元的处理器可以通过检测系统状态以及系统单元的负载情况,并根据检测结果控制供电装置的工作模式,以便保证系统单元正常工作的同时实现对电池组的快速充电。It can be understood 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 quickly charged, the power supply device needs to output a larger current to the battery pack, and the current output to the system unit will also decrease accordingly. If the current required by the system unit is relatively large at this time, there will be a problem of insufficient power supply for the system unit. Therefore, in some implementations of the embodiments of the present application, the processor of the system unit can detect the system status and the load condition of the system unit, and control the working mode of the power supply device according to the detection results, so as to ensure the normal operation of the system unit while achieving Quick charging of battery packs.
其中,系统状态可以包括休眠状态(或称为S3态)、关机状态(或称为S5态)以及开机状态(或称为S0态)。当系统状态处于S0态时,系统单元处于正常工作状态,其负载情况可以包括轻载和重载,系统单元的负载状态为重载时对电流的需求量大于系统单元的负载状态为轻载时对电流的需求量。例如,当系统单元工作需求的电流大于供电装置能够提供的最大电流的70%,则认为当前负载情况为重载。当系统单元工作需求的电流小于供电装置能够提供的最大电流的70%,则认为当前负载情况为轻载。The system state may include a sleep state (or called S3 state), a shutdown state (or called S5 state), and a power-on state (or called S0 state). When the system state is in S0 state, the system unit is in normal working state, and its load conditions can include light load and heavy load. When the system unit's load state is heavy load, the current demand is greater than when the system unit's load state is light load. The demand for current. For example, when the current required by the system unit is greater than 70% of the maximum current that the power supply device can provide, the current load condition is considered to be heavy load. When the current required by the system unit is less than 70% of the maximum current that the power supply device can provide, the current load condition is considered to be light load.
示例性的,请参考图10,示出了一种结合系统状态以及系统单元的负载情况控制供电单元进行供电输出的供电方法的流程示意图。该供电方法中的流程与图9所示的流程类似,以下对二者之间的差异进行示例性说明。For example, please refer to FIG. 10 , which shows a schematic flowchart of a power supply method for controlling a power supply unit to perform power output based on the system status and the load condition of the system unit. The process in this power supply method is similar to the process shown in Figure 9, and the differences between the two are exemplified below.
如图10所示,在执行S802之后,当电池组的RSOC大于第一阈值且小于第二阈值时,系统单元的处理器可以系统状态进行检测,并根据检测结果控制供电装置工作在不同的模式进行供电输出。该过程可以包括S1001-S1005。As shown in Figure 10, after executing S802, 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 can detect the system status and control the power supply device to work in different modes according to the detection results. Perform power output. The process may include S1001-S1005.
S1001、当电池组的RSOC大于第一阈值且小于第二阈值时,系统单元检测系统状态。S1001. When the RSOC of the battery pack is greater than the first threshold and less than the second threshold, the system unit detects the system status.
示例性的,对于系统状态的检测,可以是系统单元中的处理器完成的。For example, the detection of the system status may be completed by the processor in the system unit.
S1002、系统单元确定系统状态为开机状态。S1002. The system unit determines that the system status is the power-on status.
可以理解的是,当系统状态为开机状态时,系统单元的大部分部件处于正常工作状态,其对于供电电流的需求可能较大,也可能较小。本申请实施例中,在系统状态处于开机状态下时,系统单元的处理器可以执行以下S1003,以确定需要对系统单元输出电流的大小情况。It can be understood that when the system status is powered on, most components of the system unit are in normal working status, and their demand for power supply current may be larger or smaller. In this embodiment of the present application, when the system state is in the powered-on state, the processor of the system unit may execute the following S1003 to determine the amount of current that needs to be output to the system unit.
而当系统状态为关机状态或休眠状态时,系统单元的大部分部件也处于不工作或休眠状态,其对供电电流的需求非常小。则处理器可以按照如图9所示的方法控制供电装置进入快速充电模式。其中,处理器控制供电装置进入快速充电模式的方法与上述S902中的说明类似,此处不再赘述。When the system state is in a shutdown state or a sleep state, most components of the system unit are also in a non-working or sleep state, and their demand for power supply current is very small. Then the processor can control the power supply device to enter the fast charging mode according to the method shown in Figure 9. The method by which the processor controls the power supply device to enter the fast charging mode is similar to the description in S902 above, and will not be described again here.
S1003、系统单元获取当前时刻系统单元的负载状态。S1003. The system unit obtains the load status of the system unit at the current moment.
S1004、在系统单元的负载状态为轻载时,系统单元控制供电装置工作在快速充电模式。S1004. 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.
当系统单元的负载状态为轻载时,代表着系统单元的正常工作不需要较大的供电电流。此时系统单元的处理器可以控制供电装置工作在快速充电模式,使得供电装置可以为电池组提供较大的供电电流,对其进行快速充电。其中,处理器控制供电装置工作在快速充电模式的方法与图9所示的S902类似,此处不再赘述。When the load status of the system unit is light load, it means that the normal operation of the system unit does not require a large power supply current. At this time, the processor of the system unit can control the power supply device to work in the fast charging mode, so that the power supply device can provide a larger power supply current for the battery pack and charge it quickly. The method by which the processor controls the power supply device to operate in the fast charging mode is similar to S902 shown in FIG. 9 and will not be described again here.
S1005、在系统单元的负载状态为重载时,系统单元控制供电装置工作在直通及开关充电模式。S1005. When the load status of the system unit is heavy load, the system unit controls the power supply device to work in the pass-through and switching charging modes.
当系统单元的负载状态为重载时,则表明系统单元的正常工作需要较大的供电电流才能进行。本申请实施例中,虽然电池的RSOC可以支持进行快速充电,但为了保证系统单元的正常工作,供电装置需要优先对系统单元进行供电输出。When the load status of the system unit is heavy load, it indicates that the normal operation of the system unit requires a larger power supply current. In the embodiment of the present application, although the RSOC of the battery can support fast charging, in order to ensure the normal operation of the system unit, the power supply device needs to give priority to the system unit for power output.
示例性的,系统单元的处理器可以控制供电装置工作在直通及开关充电模式。For example, the processor of the system unit can control the power supply device to operate in pass-through and switching charging modes.
例如,处理器可以控制第一供电单元工作在第一模式(如PTM模式),第二供电单元工作在第二模式(如BB模式),以便第一供电单元为系统单元供电,第二供电单元为电池组供电。同时处理器可以设置第一供电单元和第二供电单元的供电参数为第四参数,该第四参数满足以下公式(5-1)、公式(5-2)以及公式(5-3)。For example, the processor can control the first power supply unit to work in a first mode (such as PTM mode), and the second power supply unit to work in a second mode (such as BB mode), so that the first power supply unit supplies power to the system unit, and the second power supply unit Power the battery pack. At the same time, the processor can set the power supply parameters of the first power supply unit and the second power supply unit as the fourth parameter, and the fourth parameter satisfies the following formula (5-1), formula (5-2) and formula (5-3).
Ichg2=t……公式(5-1),I chg2 =t...Formula (5-1),
Ilim2=t*Vbat/(a*x)……公式(5-2),I lim2 =t*V bat /(a*x)...Formula (5-2),
Ilim1=b*y-Ilim2……公式(5-3)。I lim1 = b*yI lim2 ...Formula (5-3).
其中,t为预设的对于电池组的输出电流大小。在一些实施例中,该参数t也可以是由用户自定义的参数。Among them, t is the preset output current of the battery pack. In some embodiments, the parameter t may also be a user-defined parameter.
为了对上述不同供电模式的设置进行更加清楚的说明,以下以电池的最大充电电流Ichg为6.67A,电池串数c为2串,电源适配器输出额定电压x为20V,电源适配器输出额定电流y为3.25A,第二供电单元的供电效率a为0.94,安全系数b为0.97,t被设置为128mA为例。In order to explain the settings of the above different power supply modes more clearly, the following assumes that the maximum charging current I chg of the battery is 6.67A, the number of battery strings c is 2 strings, the power adapter output rated voltage x is 20V, and the power adapter output rated current y 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.
当处理器控制供电装置工作在涓流充电模式下时,根据公式(1-1),(1-2)以及(1-3),可以将供电装置的供电参数设置为第一参数:When the processor controls the power supply device to work in the trickle charging mode, according to formulas (1-1), (1-2) and (1-3), the power supply parameter of the power supply device can be set as the first parameter:
Ichg2=128mA,I chg2 =128mA,
Ilim2=0.128*Vbat/(a*x)=0.128*2*4/(0.94*20)=54.5mA,I lim2 =0.128*V bat /(a*x)=0.128*2*4/(0.94*20)=54.5mA,
Ilim1=b*y-Ilim2=0.97*3.25-0.0545=3.1A。 Ilim1 =b* yIlim2 =0.97*3.25-0.0545=3.1A.
当处理器控制供电装置工作在快速充电模式下时,根据公式(2-1),(2-2),(2-3)以及(2-4),可以将供电装置的供电参数设置为第二参数:When the processor controls the power supply device to work in the fast charging mode, according to formulas (2-1), (2-2), (2-3) and (2-4), the power supply parameters of the power supply device can be set to the first Two parameters:
Ichg2=1/3*Ichg=2.22A,I chg2 =1/3*I chg =2.22A,
Ilim2=Ichg2*Vbat/(a*x)=0.95A,I lim2 =I chg2 *V bat /(a*x)=0.95A,
Ilim1=b*y-Ilim2=2.2A,I lim1 = b*yI lim2 = 2.2A,
Ichg1=2/3*Ichg=4.45A。I chg1 =2/3*I chg =4.45A.
当处理器控制供电装置工作在终止充电模式下时,根据公式(3-1),(3-2)以及(3-3),可以将供电装置的供电参数设置为第三参数:When the processor controls the power supply device to work in the termination charging mode, according to formulas (3-1), (3-2) and (3-3), the power supply parameter of the power supply device can be set as the third parameter:
Ichg2=500mAI chg2 =500mA
Ilim2=0.5*Vbat/(a*x)=0.5*8/(0.94*20)=0.21A Ilim2 =0.5*V bat /(a*x)=0.5*8/(0.94*20)=0.21A
Ilim1=b*y-Ilim2=0.97*3.25-0.21=2.94A Ilim1 =b* yIlim2 =0.97*3.25-0.21=2.94A
当处理器控制供电装置工作在满电量模式下时,根据公式(4-1),(4-2)以及(4-3),可以将供电装置的供电参数设置为:When the processor controls the power supply device to work in full power mode, according to formulas (4-1), (4-2) and (4-3), the power supply parameters of the power supply device can be set as:
Ichg2=0,I chg2 = 0,
Ilim2=0,I lim2 = 0,
Ilim1=y=3.25A。I lim1 =y=3.25A.
当处理器控制供电装置工作在直通及开关充电模式下时,根据公式(5-1),(5-2)以及(5-3),可以将供电装置的供电参数设置为第四参数:When the processor controls the power supply device to work in the pass-through and switching charging modes, according to formulas (5-1), (5-2) and (5-3), the power supply parameter of the power supply device can be set as the fourth parameter:
Ichg2=128mA,I chg2 =128mA,
Ilim2=0.128*Vbat/(a*x)=0.128*2*4/(0.94*20)=54.5mA,I lim2 =0.128*V bat /(a*x)=0.128*2*4/(0.94*20)=54.5mA,
Ilim1=b*y-Ilim2=0.97*3.25-0.0545=3.1A。 Ilim1 =b* yIlim2 =0.97*3.25-0.0545=3.1A.
需要说明的是,以上图10所示的方法中,是以在确定电池组的RSOC大于第一阈值且小于第二阈值之后,进行系统状态检测为例进行示例性说明的。本申请实施例中,还可以先对系统状态进行检测,在确定系统状态后,对电池组的RSOC进行检测,并结合上述两个检测结果控制供电装置工作在不同的模式进行供电输出。It should be noted that in the method shown in FIG. 10 above, the system status detection is performed after determining that the RSOC of the battery pack is greater than the first threshold and less than the second threshold. In the embodiment of the present application, the system status can also be detected first, and after the system status is determined, the RSOC of the battery pack is detected, and the power supply device is controlled to operate in different modes for power supply output based on the above two detection results.
示例性的,请参考图11,以第一阈值为0%,第二阈值为90%为例进行说明。如图11所示,该方法可以包括S1101-S1112。For example, please refer to Figure 11, taking the first threshold as 0% and the second threshold as 90% as an example for explanation. As shown in Figure 11, the method may include S1101-S1112.
S1101、当电源接口接入外接电源时,系统单元启动供电装置开始供电。S1101. When the power interface is connected to the external power supply, the system unit starts the power supply device to start supplying power.
S1102、系统单元检测系统状态。S1102. The system unit detects the system status.
系统状态为休眠状态或关机状态时,执行以下S1103-S1107。系统状态为开机状态时,执行以下S1108-S1112。When the system state is in sleep state or shutdown state, perform the following S1103-S1107. When the system status is powered on, execute the following S1108-S1112.
S1103、系统单元对电池的RSOC进行检测。S1103. The system unit detects the RSOC of the battery.
当RSOC<0%,或无法检测出RSOC时,执行以下S1104。当0%<RSOC<90%时,执行以下S1105。当90%<RSOC<100%时,执行以下S1106。当RSOC=100%时,执行以下S1107。When RSOC<0%, or RSOC cannot be detected, the following S1104 is executed. When 0%<RSOC<90%, the following S1105 is executed. When 90%<RSOC<100%, the following S1106 is executed. When RSOC=100%, the following S1107 is executed.
S1104、系统单元控制供电装置工作在快速充电模式。S1104. The system unit controls the power supply device to work in fast charging mode.
S1105、系统单元控制供电装置工作在快速充电模式。S1105. The system unit controls the power supply device to work in fast charging mode.
S1106、系统单元控制供电装置工作在终止充电模式。S1106. The system unit controls the power supply device to work in the charging termination mode.
S1107、系统单元控制供电装置工作在满电量模式。S1107. The system unit controls the power supply device to work in full power mode.
S1108、系统单元对电池的RSOC进行检测。S1108. The system unit detects the RSOC of the battery.
当RSOC<0%,或无法检测出RSOC时,执行以下S1109。当0%<RSOC<90%时,执行以下S1110。当90%<RSOC<100%时,执行以下S1111。当RSOC=100%时,执行以下S1112。When RSOC<0%, or RSOC cannot be detected, perform the following S1109. When 0%<RSOC<90%, the following S1110 is executed. When 90%<RSOC<100%, the following S1111 is executed. When RSOC=100%, the following S1112 is executed.
S1109、系统单元控制供电装置工作在快速充电模式。S1109. The system unit controls the power supply device to work in fast charging mode.
S1110、系统单元获取负载状态。S1110. The system unit obtains the load status.
当负载状态为轻载时,系统单元控制供电装置工作在快速充电模式(即执行S1110a)。当负载状态为重载时,系统单元控制供电装置工作在直通及开关充电模式(即执行S1110b)。When the load state is light load, the system unit controls the power supply device to operate in the fast charging mode (ie, execute S1110a). When the load status is heavy load, the system unit controls the power supply device to operate in the pass-through and switching charging modes (ie, execute S1110b).
S1111、系统单元控制供电装置工作在终止充电模式。S1111. The system unit controls the power supply device to work in the charging termination mode.
S1112、系统单元控制供电装置工作在满电量模式。S1112. The system unit controls the power supply device to work in full power mode.
需要说明的是,在上述图8、图9、图10以及图11所示的供电方法的基础上,在供电装置工作的过程中,系统单元的处理器可以多次对电池组的RSOC进行检测,以实现对供电装置的工作模式的实时控制。It should be noted that, based on the power supply methods shown in Figures 8, 9, 10 and 11 above, during the operation of the power supply device, the processor of the system unit can detect the RSOC of the battery pack multiple times. , to achieve real-time control of the working mode of the power supply device.
示例性的,请参考图12,以图9所示的供电方法为例进行说明。For example, please refer to FIG. 12 and take the power supply method shown in FIG. 9 as an example for description.
如图12所示,在执行S901,使得供电装置工作在涓流充电模式之后,可以执行S1201。即,系统单元对电池组的剩余电量进行检测。供电装置工作在涓流充电模式的过程中,由于对电池组的供电,电池组的RSOC会逐渐上升。例如,电池组的RSOC逐渐上升至能够被检测出或达到第一阈值(如第一阈值为0%)。当处理器检测到电池组的RSOC大于或等于第一阈值时,则可以执行S902。即,当电池组的剩余电量大于第一阈值,且小于第二阈值时,系统单元控制供电装置工作在快速充电模式。这样,便实现了在供电装置工作在涓流充电模式后,随着电池组RSOC的上升,将供电模式由涓流充电模式向快速充电模式的切换。As shown in FIG. 12 , after performing S901 so that the power supply device operates in the trickle charging mode, S1201 may be performed. That is, the system unit detects the remaining power of the battery pack. When the power supply device is working in the trickle charging mode, the RSOC of the battery pack will gradually increase due to the power supplied to the battery pack. For example, the RSOC of the battery pack gradually rises until it can be detected or reaches a first threshold (for example, 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, S902 may be executed. That is, when the remaining power 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 charging mode. In this way, after the power supply device operates in the trickle charging mode, as the RSOC of the battery pack increases, the power supply mode is switched from the trickle charging mode to the fast charging mode.
需要说明的是,本申请实施例中,当处理器控制供电装置工作在涓流充电模式一段时间后,如果电池的RSOC依然处于小于第一阈值或无法检测出电量的状态,则表明电池已经损坏(dead battery)。本申请实施例中,处理器可以控制供电装置停止第二供电单元,转为仅第一供电单元工作的状态进行供电输出。It should be noted that in the embodiment of the present application, when the processor controls the power supply device to operate in the trickle charging mode for a period of time, if the RSOC of the battery is still less than the first threshold or the power cannot be detected, it indicates that the battery has been damaged. (dead battery). In the embodiment of the present application, the processor can control the power supply device to stop the second power supply unit and switch to a state where only the first power supply unit is working for power output.
类似的,在供电装置工作在快速充电模式之后,例如,第一供电单元和第二供电单元开始工作时,电池组的RSOC满足大于第一阈值且小于第二阈值,则系统单元控制供电装置直接进入快速充电模式,又如,供电装置工作在涓流充电模式之后一段时间,电池组的RSOC满足大于第一阈值且小于第二阈值,则系统单元控制供电装置的供电模式由涓流充电模式切换到快速充电模式。系统单元可以继续执行S1202。即,系统单元对电池组的剩余电量进行检测。供电装置工作在快速充电模式的过程中,由于对电池组的供电,电池组的RSOC会逐渐上升。例如,电池组的RSOC会在第一阈值到第二阈值的范围内,逐渐上升至大于或等于第二阈值(如第二阈值为90%)。当处理器检测到电池组的RSOC大于或等于第二阈值时,则可以执行S903。即,当电池的剩余电量大于第二阈值,且电池未满电时,系统单元控制供电装置工作在终止充电模式。这样,便实现了在供电装置工作在快速充电模式后,随着电池组RSOC的上升,将供电模式由快速充电模式向终止充电模式的切换。Similarly, after the power supply device operates in the fast charging mode, for example, when the first power supply unit and the second power supply unit start to operate, and the RSOC of the battery pack is greater than the first threshold and less than the second threshold, the system unit controls the power supply device directly. Enter the fast charging mode. For example, after the power supply device operates in the trickle charging mode for a period of time, and the RSOC of the battery pack is greater than the first threshold and less than the second threshold, the system unit controls the power supply mode of the power supply device to switch from the trickle charging mode. to fast charging mode. The system unit can continue to execute S1202. That is, the system unit detects the remaining power of the battery pack. When the power supply device is working in the fast charging mode, the RSOC of the battery pack will gradually increase due to the power supplied to the battery pack. For example, the RSOC of the battery pack will gradually rise to be greater than or equal to the second threshold (for example, the second threshold is 90%) within the range from 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, S903 may be executed. That is, when the remaining power of the battery is greater than the second threshold and the battery is not fully charged, the system unit controls the power supply device to operate in the termination charging mode. In this way, after the power supply device operates in the fast charging mode, as the RSOC of the battery pack rises, the power supply mode is switched from the fast charging mode to the terminated charging mode.
在供电装置工作在终止充电模式之后,例如第一供电单元和第二供电单元开始工作时,电池组的RSOC满足大于第二阈值且未满电,则系统单元控制供电装置直接进入终止充电模式,又如,供电装置工作在快速充电模式之后一段时间,电池组的RSOC满足大于第二阈值且未满电,则系统单元控制供电装置的供电模式由快速充电模式切换到终止充电模式。系统单元可以继续执行S1203。即,系统单元对电池组的剩余电量进行检测。供电装置工作在终止充电模式的过程中,由于对电池组的供电,电池组的RSOC会逐渐上升。例如,电池组的RSOC会在第二阈值到满电的范围内,逐渐上升至达到满电(即RSOC=100%)。当处理器检测到电池组的RSOC=100%时,则可以执行S904。即,当当电池满电时,系统单元控制供电装置工作在满电量模式。这样,便实现了在供电装置工作在终止充电模式后,随着电池组RSOC的上升,将供电模式由终止充电模式向满电量模式的切换。After the power supply device operates in the termination charging mode, for example, when the first power supply unit and the second power supply unit start to operate, and the RSOC of the battery pack is greater than the second threshold and is not fully charged, the system unit controls the power supply device to directly enter the termination charging mode. For another example, after the power supply device operates in the fast charging mode for a period of time and the RSOC of the battery pack is greater than the second threshold and is not fully charged, the system unit controls the power supply mode of the power supply device to switch from the fast charging mode to the terminated charging mode. The system unit can continue to execute S1203. That is, the system unit detects the remaining power of the battery pack. When the power supply device is working in the charging termination mode, the RSOC of the battery pack will gradually increase due to the power supplied to the battery pack. For example, the RSOC of the battery pack will gradually increase until it reaches full power (ie, RSOC=100%) within the range from the second threshold to full power. When the processor detects that the RSOC of the battery pack=100%, S904 can be executed. That is, when the battery is fully charged, the system unit controls the power supply device to operate in the full power mode. In this way, after the power supply device operates in the termination charging mode, as the RSOC of the battery pack rises, the power supply mode is switched from the termination charging mode to the full power mode.
类似的,结合图10或图11所示的实施例,在供电装置工作在直通及开关充电模式的过程中,系统单元也可以继续检测电池的剩余电量。当电池的剩余电量大于第二阈值时,系统单元控制供电装置由直通及开关充电模式切换为终止充电模式。Similarly, with reference to the embodiment shown in FIG. 10 or FIG. 11 , when the power supply device is operating in the pass-through and switching charging modes, the system unit can also continue to detect the remaining power of the battery. When the remaining power of the battery is greater than the second threshold, the system unit controls the power supply device to switch from the pass-through and switch charging modes to the termination charging mode.
由此,便实现了系统单元随着电池组RSOC的变化,控制供电装置在不同供电模式下的切换。使得供电装置可以灵活地对不同的供电需求进行高效地供电输出。As a result, the system unit can control the switching of the power supply device in different power supply modes as the RSOC of the battery pack changes. This enables the power supply device to flexibly and efficiently provide power output for different power supply needs.
另外,在本申请的一些实施例中,系统单元可以在控制第一供电单元和第二供电单元开始工作之前,确定电源适配单元及耦接电源适配单元和电源接口的线缆满足预设标准,该预设标准用于指示电源适配单元和线缆能够支持所述第一供电单元和所述第二供电单元工作,如双charger IC充电。例如,该预设标准可以为,电源适配单元为标准电源适配单元,线缆为标准线缆。而当处理器确定电源适配单元或线缆不满足预设标准时,则表明电源适配单元和线缆不支持双charger IC充电,处理器可以单独开启第一供电单元进行供电输出。In addition, in some embodiments of the present application, the system unit may determine that the power adapter unit and the cable coupling the power adapter unit and the power interface meet the preset requirements before controlling the first power supply unit and the second power supply unit to start working. Standard, this preset standard is used to indicate that the power adapter unit and cable can support the operation of the first power supply unit and the second power supply unit, such as dual charger IC charging. For example, the preset standard may be that the power adapter unit is a standard power adapter unit and the cable is a standard cable. When the processor determines that the power adapter unit or cable does not meet the preset standards, it indicates that the power adapter unit and cable do not support dual charger IC charging, and the processor can independently turn on the first power supply unit for power output.
基于该方案,通过设置第二供电单元,合理地分担了第一供电单元对于电池的供电压力,使得第一供电单元不会长时间工作在较高的负荷下。在保证供电装置对系统单元以及电池的供电不受影响的前提下,减小了供电装置的发热,进而提升了整个供电装置的工作效率,并减小了供电装置损坏的风险。Based on this solution, by setting up the second power supply unit, the power supply pressure of the first power supply unit on the battery is reasonably shared, so that the first power supply unit will not work under a higher load for a long time. On the premise of ensuring that the power supply device does not affect the power supply of the system unit and the battery, the heat generated by the power supply device is reduced, thereby improving the working efficiency of the entire power supply device and reducing the risk of damage to the power supply device.
进一步的,处理器根据系统状态以及电池中剩余电量的不同状态,控制供电单元工作在不同的充电模式下,实现了针对不同充电场景的供电输出的匹配,使得供电装置能够更加高效地进行供电输出。Furthermore, the processor controls the power supply unit to work in different charging modes according to the system status and the remaining power in the battery, achieving matching of power supply output for different charging scenarios, so that the power supply device can perform power supply output more efficiently. .
图13示出了的一种芯片系统1300的组成示意图。该芯片系统1300可以包括:处理器1301和通信接口1302,用于支持供电装置实现上述实施例中所涉及的功能。在一种可能的设计中,芯片系统1300还包括存储器,用于保存终端必要的程序指令和数据。该芯片系统1300,可以由芯片构成,也可以包含芯片和其他分立器件。Figure 13 shows a schematic diagram of the composition of a chip system 1300. The chip system 1300 may include: a processor 1301 and a communication interface 1302, used to support the power supply device to implement the functions involved in the above embodiments. In one possible design, the chip system 1300 also includes a memory for storing necessary program instructions and data for the terminal. The chip system 1300 may be composed of chips, or may include chips and other discrete devices.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the above description of the embodiments, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be allocated as needed. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be The combination can either be integrated into another device, or some features can be omitted, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated. The components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or contribute to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium , including several instructions to cause a device (which can be a microcontroller, a chip, etc.) or a processor to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be covered by the protection scope of the present application. . Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims (24)
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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113964887B (en) * | 2021-10-25 | 2025-02-14 | 环荣电子(惠州)有限公司 | Power configuration system with power adapter and power 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 |
CN115047358B (en) * | 2022-06-24 | 2025-05-09 | 广东汇泰龙科技股份有限公司 | A method, system, device and storage medium for reporting battery power of smart lock |
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 |
---|---|
CN117762231A (en) | 2024-03-26 |
CN113009995A (en) | 2021-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113009995B (en) | Power supply device and power supply method | |
AU2017215235B2 (en) | Adapter and charging control method | |
CN114498803B (en) | Charging and discharging circuit and electronic equipment | |
US9997940B2 (en) | Smart power bank system for efficient energy transfer | |
CN110797925A (en) | Battery control system and method and electronic equipment | |
CN114498865B (en) | Charging circuit, charging control method and electronic device | |
CN114865755B (en) | Multi-battery power supply, charging and discharging method and electronic equipment | |
WO2020124529A1 (en) | Charging control apparatus and method, and electronic device | |
TWI532293B (en) | Charging method and portable electronic apparatus using the same | |
CN117368785A (en) | Electricity meter and electronic device for multiple battery | |
WO2023020050A1 (en) | Method for improving external playback sound effect and related apparatus | |
CN110797924A (en) | Battery control system and method, electronic device | |
CN112018831A (en) | A charging control method, charging control device and electronic equipment | |
CN114844182B (en) | Charging circuit, charging method and electronic device | |
CN110086229A (en) | A kind of charging method, device, terminal device and computer readable storage medium | |
WO2013174081A1 (en) | Charging circuit and control method therefor | |
CN117118006A (en) | Electronic device, charging circuit, charging control method and chip | |
CN117375139A (en) | Charging method, charging circuit and electronic equipment | |
CN115693808A (en) | Discharge circuit and terminal equipment | |
CN110739745A (en) | Automatic charge and discharge detection circuit for high battery voltage audio | |
CN205610243U (en) | Support equipment and device of quick charge of many batteries | |
CN114465294B (en) | Power Management Modules and Electronics | |
CN210430974U (en) | 5V-4.5A large-current quick charging circuit for smart phone | |
CN203589802U (en) | Charging device of mobile device | |
CN212627216U (en) | Wireless headset charging box based on solar charging |
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 |