CN114844182A - Charging circuit, charging method and electronic device - Google Patents
Charging circuit, charging method and electronic device Download PDFInfo
- Publication number
- CN114844182A CN114844182A CN202210790128.7A CN202210790128A CN114844182A CN 114844182 A CN114844182 A CN 114844182A CN 202210790128 A CN202210790128 A CN 202210790128A CN 114844182 A CN114844182 A CN 114844182A
- Authority
- CN
- China
- Prior art keywords
- battery
- circuit
- value
- charging
- current
- 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.)
- Granted
Links
Images
Classifications
-
- 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/00047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with provisions for charging different types of batteries
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
- H01M10/441—Methods for charging or discharging for several batteries or cells simultaneously or sequentially
-
- 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/0013—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
-
- 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/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
- H02J7/0048—Detection of remaining charge capacity or state of charge [SOC]
-
- 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/007—Regulation of charging or discharging current or voltage
- H02J7/00712—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
- H02J7/00714—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
-
- 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/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
- H02J7/0048—Detection of remaining charge capacity or state of charge [SOC]
- H02J7/0049—Detection of fully charged condition
-
- 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/007—Regulation of charging or discharging current or voltage
- H02J7/00712—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
- H02J7/00714—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
- H02J7/00716—Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current in response to integrated charge or discharge current
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
本申请公开了充电电路、充电方法及电子设备,涉及电源技术领域。充电电路向电池组充电,充电电路包括第一电路和第二电路,电池组包括第一电池和第二电池,两个电池串联,两个电池的容量不同。第一电路的一端与充电器的供电端耦合,另一端与第一电池的正极耦合;第二电路与第一电池并联。第一电路用于向第一电池输入第一充电电流;第一电池的第一充电电流输出至第二电池;第二电路用于向第二电池输入第二充电电流;第一充电电流和第二充电电流一起输入第二电池,第二电池的充电电流为第三充电电流;第一充电电流与第三充电电流的比例,和第一电池与第二电池的容量比例相等。这样,两个不同容量的电池可以同时充满。
The present application discloses a charging circuit, a charging method and an electronic device, and relates to the technical field of power supplies. The charging circuit charges the battery pack, the charging circuit includes a first circuit and a second circuit, the battery pack includes a first battery and a second battery, the two batteries are connected in series, and the capacities of the two batteries are different. One end of the first circuit is coupled with the power supply end of the charger, and the other end is coupled with the positive electrode of the first battery; the second circuit is connected in parallel with the first battery. The first circuit is used to input the first charging current to the first battery; the first charging current of the first battery is output to the second battery; the second circuit is used to input the second charging current to the second battery; The two charging currents are input to the second battery together, and the charging current of the second battery is the third charging current; the ratio of the first charging current to the third charging current is equal to the capacity ratio of the first battery and the second battery. In this way, two batteries of different capacities can be charged at the same time.
Description
技术领域technical field
本申请涉及电源技术领域,尤其涉及充电电路、充电方法及电子设备。The present application relates to the field of power supply technology, and in particular, to a charging circuit, a charging method and an electronic device.
背景技术Background technique
由于电子设备框架限制等原因,手机等体积较小的电子设备中的多个电池的容量一般不同。并且,体积较小的电子设备中用于电池的空间有限,电池的体积受限,导致电池容量也受限。因而,电池容量资源非常宝贵。现有技术中,同时为容量不同的电池充电时,会造成电池容量损失,浪费宝贵的电池容量资源。如何为多个不同容量的电池充电,降低电池容量损失,是需要解决的一个问题。Due to the limitation of the frame of the electronic device and other reasons, the capacities of multiple batteries in a small electronic device such as a mobile phone are generally different. In addition, the space for batteries in smaller electronic devices is limited, the volume of the batteries is limited, and the battery capacity is also limited. Therefore, battery capacity resources are very valuable. In the prior art, when batteries with different capacities are charged at the same time, the capacity of the batteries is lost and precious battery capacity resources are wasted. How to charge multiple batteries of different capacities and reduce the loss of battery capacity is a problem that needs to be solved.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种充电电路、充电方法及电子设备,能够同时为不同容量的电池充电,在不牺牲充电速度的条件下,使得多个电池同时充满,避免电池容量损失,节约电池容量资源。Embodiments of the present application provide a charging circuit, a charging method, and an electronic device, which can charge batteries of different capacities at the same time, make multiple batteries fully charged at the same time without sacrificing charging speed, avoid battery capacity loss, and save battery capacity resources .
为达到上述目的,本申请的实施例采用如下技术方案:To achieve the above object, the embodiments of the present application adopt the following technical solutions:
第一方面,提供了一种充电电路,包括:第一电路和第二电路;第一电路和第二电路用于向电池组充电;电池组包括第一电池和第二电池,第一电池和第二电池串联;第一电池的容量为第一值,第二电池的容量为第二值,第一值小于第二值;也就是说两个电池的容量是不同的。第一电路的一端与充电器的供电端耦合,另一端与第一电池的正极耦合;第二电路与第一电池并联。第一电路,用于向第一电池输入第一充电电流;第一电池的第一充电电流输出至第二电池;第二电路,用于向第二电池输入第二充电电流;流过第一电池的第一充电电流和第二电路输出的第二充电电流一起输入第二电池,第二电池的充电电流为第三充电电流(第三充电电流为第一充电电流与第二充电电流之和);输入第一电池的第一充电电流与输入第二电池的第三充电电流的比例,和第一值与第二值的比例相等。In a first aspect, a charging circuit is provided, comprising: a first circuit and a second circuit; the first circuit and the second circuit are used for charging a battery pack; the battery pack includes a first battery and a second battery, the first battery and The second battery is connected in series; the capacity of the first battery is the first value, the capacity of the second battery is the second value, and the first value is smaller than the second value; that is, the capacities of the two batteries are different. One end of the first circuit is coupled with the power supply end of the charger, and the other end is coupled with the positive electrode of the first battery; the second circuit is connected in parallel with the first battery. The first circuit is used to input the first charging current to the first battery; the first charging current of the first battery is output to the second battery; the second circuit is used to input the second charging current to the second battery; The first charging current of the battery and the second charging current output by the second circuit are input into the second battery together, and the charging current of the second battery is the third charging current (the third charging current is the sum of the first charging current and the second charging current) ); the ratio of the first charging current input to the first battery to the third charging current input to the second battery is equal to the ratio of the first value to the second value.
这样,两个电池的充电电流的比例与两个电池容量的比例相等;两个不同容量的电池可以同时充满,避免了电池容量的损失。In this way, the ratio of the charging current of the two batteries is equal to the ratio of the capacity of the two batteries; two batteries of different capacities can be fully charged at the same time, thus avoiding the loss of battery capacity.
根据第一方面,在一种可能的实施方式中,第二电路的一端与第一电池的正极耦合,另一端与第一电池的负极耦合;以实现第二电路与第一电池并联。According to the first aspect, in a possible implementation, one end of the second circuit is coupled to the positive electrode of the first battery, and the other end is coupled to the negative electrode of the first battery; so as to realize that the second circuit is connected in parallel with the first battery.
根据第一方面,在一种可能的实施方式中,第二电路的一端与充电器的供电端耦合,另一端与第一电池的负极耦合;以实现第二电路与第一电池并联。According to the first aspect, in a possible implementation, one end of the second circuit is coupled to the power supply end of the charger, and the other end is coupled to the negative electrode of the first battery; so as to realize that the second circuit is connected in parallel with the first battery.
根据第一方面,在一种可能的实施方式中,第一充电电流的值为第一电流值;第二充电电流的值为第二电流值;充电电路还包括控制器,用于向第一电路发送第一电流值;还用于向第二电路发送第二电流值。According to the first aspect, in a possible implementation manner, the value of the first charging current is a first current value; the value of the second charging current is a second current value; the charging circuit further includes a controller for sending the first current value to the first The circuit sends the first current value; and is also used for sending the second current value to the second circuit.
在该实施方式中,控制器控制第一电路和第二电路的充电电流的比例。In this embodiment, the controller controls the ratio of the charging currents of the first circuit and the second circuit.
根据第一方面,在一种可能的实施方式中,充电电路还包括采样电路,采样电路的一端与第一电池的负极耦合,采样电路的另一端与第二电路的输出端耦合;采样电路通过控制器与第一电路通信连接;采样电路,用于检测第一充电电流的检测值;第一电路,还用于根据第一充电电流的检测值和第一电流值调节输出电流,使得第一充电电流的值为第一电流值。According to the first aspect, in a possible implementation manner, the charging circuit further includes a sampling circuit, one end of the sampling circuit is coupled to the negative electrode of the first battery, and the other end of the sampling circuit is coupled to the output end of the second circuit; The controller is connected in communication with the first circuit; the sampling circuit is used to detect the detected value of the first charging current; the first circuit is also used to adjust the output current according to the detected value of the first charging current and the first current value, so that the first The value of the charging current is the first current value.
在该实施方式中,通过采样电路实时获取第一电池的充电电流的值,并调节第一电路的输出电流;如果第一充电电流的当前值小于预设的第一电流值,则增大第一电路的输出电流;如果第一充电电流的当前值大于预设的第一电流值,则减小第一电路的输出电流;以使得第一充电电流的值等于预设的第一电流值。In this embodiment, the value of the charging current of the first battery is acquired in real time through the sampling circuit, and the output current of the first circuit is adjusted; if the current value of the first charging current is smaller than the preset first current value, the output current of a circuit; if the current value of the first charging current is greater than the preset first current value, reduce the output current of the first circuit; so that the value of the first charging current is equal to the preset first current value.
根据第一方面,在一种可能的实施方式中,第一充电电流的值为第一电流值,充电电路还控制器和采样电路,采样电路的一端与第一电池的负极耦合,采样电路的另一端与第二电路的输出端耦合;采样电路,用于检测第一充电电流的检测值;采样电路,还用于向控制器发送第一充电电流的检测值;控制器,用于根据第一充电电流的检测值和第一电流值控制第一电路调节输出电流,使得第一充电电流的值为第一电流值。According to the first aspect, in a possible implementation manner, the value of the first charging current is the first current value, the charging circuit further includes a controller and a sampling circuit, one end of the sampling circuit is coupled to the negative electrode of the first battery, and the sampling circuit has a The other end is coupled with the output end of the second circuit; the sampling circuit is used to detect the detection value of the first charging current; the sampling circuit is also used to send the detection value of the first charging current to the controller; A detected value of the charging current and the first current value control the first circuit to adjust the output current, so that the value of the first charging current is the first current value.
根据第一方面,在一种可能的实施方式中,第一电路为直充电路或升压电路,第二电路为降压电路。According to the first aspect, in a possible implementation manner, the first circuit is a direct charging circuit or a boosting circuit, and the second circuit is a bucking circuit.
第二方面,提供了一种充电方法,应用于充电电路,充电电路包括第一电路和第二电路;第一电路和第二电路用于向电池组充电;电池组包括第一电池和第二电池,第一电池和第二电池串联;第一电池的容量为第一值,第二电池的容量为第二值,第一值小于第二值;第一电路的一端与充电器的供电端耦合,另一端与第一电池的正极耦合;第二电路与第一电池并联;该方法包括:第一电路向第一电池输入第一充电电流;第一电池的第一充电电流输出至第二电池;第二电路向第二电池输入第二充电电流;其中,输入第一电池的第一充电电流与输入第二电池的第三充电电流的比例,和第一值与第二值的比例相等;其中,第三充电电流为第一充电电流与第二充电电流之和。In a second aspect, a charging method is provided, applied to a charging circuit, the charging circuit includes a first circuit and a second circuit; the first circuit and the second circuit are used for charging a battery pack; the battery pack includes a first battery and a second circuit battery, the first battery and the second battery are connected in series; the capacity of the first battery is the first value, the capacity of the second battery is the second value, and the first value is less than the second value; one end of the first circuit is connected to the power supply end of the charger the second circuit is connected in parallel with the first battery; the method includes: the first circuit inputs a first charging current to the first battery; the first charging current of the first battery is output to the second battery battery; the second circuit inputs a second charging current to the second battery; wherein the ratio of the first charging current input to the first battery to the third charging current input to the second battery is equal to the ratio of the first value to the second value ; wherein, the third charging current is the sum of the first charging current and the second charging current.
这样,两个电池的充电电流的比例与两个电池容量的比例相等;两个不同容量的电池可以同时充满,避免了电池容量的损失。In this way, the ratio of the charging current of the two batteries is equal to the ratio of the capacity of the two batteries; two batteries of different capacities can be fully charged at the same time, thus avoiding the loss of battery capacity.
根据第二方面,在一种可能的实施方式中,第二电路的一端与第一电池的正极耦合,另一端与第一电池的负极耦合,第一电路向第一电池输入第一充电电流包括:第一电路接收充电器的供电电流,输出第一输出电流;第一输出电流包括第一充电电流和第二输出电流;第二电路向第二电池输入第二充电电流包括:第二电路接收第二输出电流,输出第二充电电流。According to the second aspect, in a possible implementation, one end of the second circuit is coupled to the positive electrode of the first battery, and the other end is coupled to the negative electrode of the first battery, and the first circuit inputting the first charging current to the first battery includes: : The first circuit receives the power supply current of the charger and outputs the first output current; the first output current includes the first charging current and the second output current; the second circuit inputting the second charging current to the second battery includes: the second circuit receiving The second output current outputs the second charging current.
根据第二方面,在一种可能的实施方式中,第二电路的一端与充电器的供电端耦合,另一端与第一电池的负极耦合,第一电路向第一电池输入第一充电电流包括:第一电路接收充电器的第一供电电流,输出第一充电电流;第二电路向第二电池输入第二充电电流包括:第二电路接收充电器的第二供电电流,输出第二充电电流。According to the second aspect, in a possible implementation, one end of the second circuit is coupled to the power supply end of the charger, and the other end is coupled to the negative electrode of the first battery, and the first circuit inputting the first charging current to the first battery includes: : the first circuit receives the first power supply current of the charger and outputs the first charging current; the second circuit inputs the second charging current to the second battery including: the second circuit receives the second power supply current of the charger and outputs the second charging current .
根据第二方面,在一种可能的实施方式中,第一充电电流的值为第一电流值,第二充电电流的值为第二电流值,充电电路还包括控制器,该方法还包括:控制器向第一电路发送第一电流值,向第二电路发送第二电流值。According to the second aspect, in a possible implementation manner, the value of the first charging current is the first current value, the value of the second charging current is the second current value, the charging circuit further includes a controller, and the method further includes: The controller sends the first current value to the first circuit and the second current value to the second circuit.
在该方法中,控制器控制第一电路和第二电路的充电电流的比例。In this method, the controller controls the ratio of the charging currents of the first circuit and the second circuit.
根据第二方面,在一种可能的实施方式中,充电电路还包括采样电路,采样电路的一端与第一电池的负极耦合,采样电路的另一端与第二电路的输出端耦合,该方法还包括:采样电路检测第一充电电流的检测值,向控制器发送第一充电电流的检测值;控制器根据第一充电电流的检测值和第一电流值控制第一电路调节输出电流,使得第一充电电流的值为第一电流值。According to the second aspect, in a possible implementation manner, the charging circuit further includes a sampling circuit, one end of the sampling circuit is coupled to the negative electrode of the first battery, and the other end of the sampling circuit is coupled to the output end of the second circuit, the method further It includes: the sampling circuit detects the detected value of the first charging current, and sends the detected value of the first charging current to the controller; the controller controls the first circuit to adjust the output current according to the detected value of the first charging current and the first current value, so that the first The value of a charging current is the first current value.
在该方法中,控制器通过采样电路实时获取第一电池的充电电流的值,并控制第一电路调节输出电流;如果第一充电电流的当前值小于预设的第一电流值,则增大第一电路的输出电流;如果第一充电电流的当前值大于预设的第一电流值,则减小第一电路的输出电流;以使得第一充电电流的值等于预设的第一电流值。In this method, the controller obtains the value of the charging current of the first battery in real time through the sampling circuit, and controls the first circuit to adjust the output current; if the current value of the first charging current is less than the preset first current value, it increases The output current of the first circuit; if the current value of the first charging current is greater than the preset first current value, reduce the output current of the first circuit; so that the value of the first charging current is equal to the preset first current value .
第三方面,提供了一种充电方法,应用于充电电路,充电电路包括第一电路、第二电路和控制器;第一电路和第二电路用于向电池组充电;电池组包括第一电池和第二电池,第一电池和第二电池串联;第一电池的容量为第一值,第二电池的容量为第二值,第一值小于第二值;第一电路的一端与充电器的供电端耦合,另一端与第一电池的正极耦合;第二电路与第一电池并联;该方法包括:控制器向第一电路发送第一电流值,向第二电路发送第二电流值;第一电路向第一电池输入第一充电电流;第一电池的第一充电电流输出至第二电池;第一充电电流的值为第一电流值;第二电路向第二电池输入第二充电电流;第二充电电流的值为第二电流值;其中,输入第二电池的第三充电电流的值为第三电流值,第三电流值为第一电流值与第二电流值之和;第一电流值与第三电流值的比例,和第一值与第二值的比例相等。In a third aspect, a charging method is provided, applied to a charging circuit, the charging circuit includes a first circuit, a second circuit and a controller; the first circuit and the second circuit are used for charging a battery pack; the battery pack includes a first battery and the second battery, the first battery and the second battery are connected in series; the capacity of the first battery is the first value, the capacity of the second battery is the second value, and the first value is less than the second value; one end of the first circuit is connected to the charger The second circuit is connected in parallel with the first battery; the method includes: the controller sends a first current value to the first circuit, and sends a second current value to the second circuit; The first circuit inputs the first charging current to the first battery; the first charging current of the first battery is output to the second battery; the value of the first charging current is the first current value; the second circuit inputs the second charging current to the second battery current; the value of the second charging current is a second current value; wherein, the value of the third charging current input to the second battery is a third current value, and the third current value is the sum of the first current value and the second current value; The ratio of the first current value to the third current value is equal to the ratio of the first value to the second value.
在该方法中,控制器控制两个电池的充电比例,使得两个电池的充电电流的比例与两个电池容量的比例相等;两个不同容量的电池可以同时充满,避免了电池容量的损失。In this method, the controller controls the charging ratio of the two batteries, so that the ratio of the charging current of the two batteries is equal to the ratio of the capacity of the two batteries; two batteries of different capacities can be fully charged at the same time, avoiding the loss of battery capacity.
根据第三方面,在一种可能的实施方式中,充电电路还包括采样电路,采样电路的一端与第一电池的负极耦合,采样电路的另一端与第二电路的输出端耦合,该方法还包括:采样电路检测第一充电电流的检测值,向控制器发送第一充电电流的检测值;控制器根据第一充电电流的检测值和第一电流值控制第一电路调节输出电流,使得第一充电电流的值为第一电流值。According to the third aspect, in a possible implementation manner, the charging circuit further includes a sampling circuit, one end of the sampling circuit is coupled to the negative electrode of the first battery, and the other end of the sampling circuit is coupled to the output end of the second circuit, and the method further It includes: the sampling circuit detects the detected value of the first charging current, and sends the detected value of the first charging current to the controller; the controller controls the first circuit to adjust the output current according to the detected value of the first charging current and the first current value, so that the first The value of a charging current is the first current value.
在该方法中,控制器通过采样电路实时获取第一电池的充电电流的值,并控制第一电路调节输出电流;如果第一充电电流的当前值小于预设的第一电流值,则增大第一电路的输出电流;如果第一充电电流的当前值大于预设的第一电流值,则减小第一电路的输出电流;以使得第一充电电流的值等于预设的第一电流值。In this method, the controller obtains the value of the charging current of the first battery in real time through the sampling circuit, and controls the first circuit to adjust the output current; if the current value of the first charging current is less than the preset first current value, it increases The output current of the first circuit; if the current value of the first charging current is greater than the preset first current value, reduce the output current of the first circuit; so that the value of the first charging current is equal to the preset first current value .
第四方面,提供了一种电子设备,包括第一方面及其任意一种实施方式所述的充电电路,以及电池组,电池组包括第一电池和第二电池,第一电池和第二电池串联;第一电池的容量为第一值,第二电池的容量为第二值,第一值小于第二值。In a fourth aspect, an electronic device is provided, including the charging circuit according to the first aspect and any one of the embodiments thereof, and a battery pack, the battery pack includes a first battery and a second battery, the first battery and the second battery connected in series; the capacity of the first battery is the first value, the capacity of the second battery is the second value, and the first value is smaller than the second value.
第五方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第二方面及其任意一种实施方式或第三方面及其任意一种实施方式所述的方法。In a fifth aspect, a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium, so that when the computer-readable storage medium runs on a computer, the computer can execute the above-mentioned second aspect and any one of the implementations or the first. The method described in the three aspects and any one of the embodiments thereof.
第六方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第二方面及其任意一种实施方式或第三方面及其任意一种实施方式所述的方法。A sixth aspect provides a computer program product comprising instructions that, when run on a computer, enable the computer to execute the second aspect and any one of its embodiments or the third aspect and any of its embodiments. method described.
第七方面,提供了一种装置(例如,该装置可以是芯片系统),该装置包括处理器,用于支持电子设备实现上述第二方面及其任意一种实施方式或第三方面及其任意一种实施方式所涉及的功能。在一种可能的设计中,该装置还包括存储器,该存储器,用于保存电子设备必要的程序指令和数据。该装置是芯片系统时,可以由芯片构成,也可以包含芯片和其他分立器件。In a seventh aspect, there is provided an apparatus (for example, the apparatus may be a chip system), the apparatus includes a processor, and is used to support an electronic device to implement the second aspect and any one of the implementation manners thereof or the third aspect and any of the foregoing A function involved in an implementation. In a possible design, the apparatus further includes a memory for storing necessary program instructions and data of the electronic device. When the device is a system-on-chip, it may be composed of chips, or may include chips and other discrete devices.
其中,第四方面至第七方面中任意一种实施方式所带来的技术效果可参见第二方面或第三方面中不同实施方式所带来的技术效果,此处不再赘述。Wherein, for the technical effects brought by any one of the implementations in the fourth aspect to the seventh aspect, reference may be made to the technical effects brought by different implementations in the second aspect or the third aspect, which will not be repeated here.
附图说明Description of drawings
图1为本申请实施例提供的一种充电系统架构示意图;FIG. 1 is a schematic diagram of the architecture of a charging system provided by an embodiment of the present application;
图2为本申请实施例提供的另一种充电系统架构示意图;FIG. 2 is a schematic diagram of another charging system architecture provided by an embodiment of the present application;
图3为本申请实施例提供的一种电子设备的硬件结构示意图;3 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application;
图4为一种充电电路示意图;4 is a schematic diagram of a charging circuit;
图5为另一种充电电路示意图;5 is a schematic diagram of another charging circuit;
图6为本申请实施例提供的一种充电电路示意图;FIG. 6 is a schematic diagram of a charging circuit provided by an embodiment of the present application;
图7为本申请实施例提供的一种充电电路示意图;FIG. 7 is a schematic diagram of a charging circuit provided by an embodiment of the present application;
图8为本申请实施例提供的一种充电方法的流程示意图;FIG. 8 is a schematic flowchart of a charging method provided by an embodiment of the present application;
图9为本申请实施例提供的一种充电电路示意图;FIG. 9 is a schematic diagram of a charging circuit provided by an embodiment of the present application;
图10为本申请实施例提供的一种充电电路示意图;10 is a schematic diagram of a charging circuit provided by an embodiment of the present application;
图11为本申请实施例提供的一种充电方法的流程示意图;11 is a schematic flowchart of a charging method provided by an embodiment of the present application;
图12为本申请实施例提供的一种放电电路示意图;12 is a schematic diagram of a discharge circuit provided by an embodiment of the present application;
图13为本申请实施例提供的一种充放电电路示意图;13 is a schematic diagram of a charging and discharging circuit provided by an embodiment of the present application;
图14为本申请实施例提供的一种充电电路示意图;FIG. 14 is a schematic diagram of a charging circuit provided by an embodiment of the present application;
图15为本申请实施例提供的一种放电电路示意图;15 is a schematic diagram of a discharge circuit provided by an embodiment of the present application;
图16为本申请实施例提供的一种充放电电路示意图;16 is a schematic diagram of a charging and discharging circuit provided by an embodiment of the present application;
图17为本申请实施例提供的一种充放电电路示意图;FIG. 17 is a schematic diagram of a charging and discharging circuit provided by an embodiment of the application;
图18为本申请实施例提供的一种充放电电路示意图;18 is a schematic diagram of a charging and discharging circuit provided by an embodiment of the present application;
图19为本申请实施例提供的一种开关结构示意图;FIG. 19 is a schematic structural diagram of a switch provided by an embodiment of the present application;
图20为本申请实施例提供的一种开关结构示意图;FIG. 20 is a schematic structural diagram of a switch according to an embodiment of the present application;
图21为本申请实施例提供的一种充放电方法的流程示意图;21 is a schematic flowchart of a charging and discharging method provided by an embodiment of the present application;
图22为本申请实施例提供的一种充放电电路示意图;22 is a schematic diagram of a charging and discharging circuit provided by an embodiment of the present application;
图23为本申请实施例提供的一种电量计示意图;23 is a schematic diagram of a fuel gauge provided by an embodiment of the present application;
图24为本申请实施例提供的一种电量计示意图;FIG. 24 is a schematic diagram of a fuel gauge provided by an embodiment of the present application;
图25为本申请实施例提供的一种电量计示意图;FIG. 25 is a schematic diagram of a fuel gauge provided by an embodiment of the present application;
图26为本申请实施例提供的一种电量计示意图;26 is a schematic diagram of a fuel gauge provided by an embodiment of the present application;
图27为本申请实施例提供的一种电量计示意图;27 is a schematic diagram of a fuel gauge provided by an embodiment of the present application;
图28为本申请实施例提供的一种电子设备示意图;FIG. 28 is a schematic diagram of an electronic device provided by an embodiment of the present application;
图29为本申请实施例提供的一种芯片系统的结构示意图。FIG. 29 is a schematic structural diagram of a chip system provided by an embodiment of the present application.
具体实施方式Detailed ways
在本申请实施例的描述中,以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个或两个以上(包含两个)。术语“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。In the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations of the present application. As used in the specification of this application and the appended claims, the singular expressions "a," "the," "above," "the," and "the" are intended to also include, for example, "a" or more" this expression unless the context clearly dictates otherwise. It should also be understood that, in the following embodiments of the present application, "at least one" and "one or more" refer to one or more than two (including two). The term "and/or", used to describe the association relationship of related objects, indicates that there can be three kinds of relationships; for example, A and/or B, can indicate: A alone exists, A and B exist at the same time, and B exists alone, A and B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship.
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。术语“连接”包括直接连接和间接连接,除非另外说明。“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。References in this specification to "one embodiment" or "some embodiments" and the like mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically emphasized otherwise. The terms "including", "including", "having" and their variants mean "including but not limited to" unless specifically emphasized otherwise. The term "connected" includes both direct and indirect connections unless otherwise specified. "First" and "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implying the number of indicated technical features.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or illustrations. Any embodiments or designs described in the embodiments of the present application as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.
本申请实施例涉及的术语“耦合”、“连接”应做广义理解,例如,可以指物理上的直接连接,也可以指通过电子器件实现的间接连接,例如通过电阻、电感、电容或其他电子器件实现的连接。The terms "coupling" and "connection" involved in the embodiments of the present application should be understood in a broad sense, for example, it may refer to a physical direct connection, or it may refer to an indirect connection achieved through electronic devices, such as through resistance, inductance, capacitance or other electronic devices. The connection made by the device.
电池容量表示在一定条件下(比如,放电率,温度,终止电压等),电池可以放出的电量。比如,电池在规定的电流下能放电的时间长度即该电池的容量;通常以安培·小时为单位(以A·h表示)。譬如说,容量为5A·h的电池,在用1A电流放电时,能够工作大约5小时的时间。The battery capacity represents the amount of electricity that the battery can discharge under certain conditions (eg, discharge rate, temperature, termination voltage, etc.). For example, the length of time that a battery can be discharged at a specified current is the capacity of the battery; usually in ampere hours (expressed in A h). For example, a battery with a capacity of 5A·h can work for about 5 hours when discharged with a current of 1A.
目前,手机等体积较小的电子设备中的多个电池的容量一般不同。示例性的,如图1和图2所示,电子设备10包括电池11和电池12;其中,电池11和电池12的电池容量不同。在一种示例中,电池11的容量小于电池12的容量。比如,电池11的容量为2000毫安·小时(mA·h),电池12的容量为3000 mA·h。需要说明的是,本申请实施例以电子设备10包括电池11和电池12为例进行介绍。可以理解的,电子设备10中还可以包括更多数量的电池。当包括更多数量电池时,实现原理与包括电池11和电池12类似,本申请实施例中不再一一举例。Currently, the capacities of multiple batteries in a small electronic device such as a mobile phone are generally different. Exemplarily, as shown in FIG. 1 and FIG. 2 , the
电子设备10可以通过图1或图2所示的充电器20进行充电。充电器20可以为图1中所示的有线充电器,或者为图2中所示的无线充电器,或者其它形态的充电器。当充电时,图1中所示的充电器20通过有线方式与电子设备10相连接,图2中所示的充电器20通过无线方式(例如电磁感应)与电子设备10中的无线充电线圈(见图3中的无线充电线圈142)相耦合。The
本申请实施例提供的方法可以应用于包括多个电池的电子设备。上述电子设备可以包括手机、平板电脑、笔记本电脑、个人电脑(personal computer,PC)、超级移动个人计算机(ultra-mobile personal computer,UMPC)、手持计算机、上网本、智能家居设备(比如,智能电视、智慧屏、大屏、智能音箱、智能空调等)、个人数字助理(personal digitalassistant,PDA)、可穿戴设备(比如,智能手表、智能手环等)、车载设备、虚拟现实设备等,本申请实施例对此不做任何限制。The methods provided in the embodiments of the present application can be applied to electronic devices including multiple batteries. The above electronic devices may include mobile phones, tablet computers, notebook computers, personal computers (PCs), ultra-mobile personal computers (UMPCs), handheld computers, netbooks, smart home devices (such as smart TVs, Smart screens, large screens, smart speakers, smart air conditioners, etc.), personal digital assistants (PDAs), wearable devices (such as smart watches, smart bracelets, etc.), in-vehicle devices, virtual reality devices, etc., are implemented in this application. The example does not impose any restrictions on this.
在本申请实施例中,上述电子设备是可以运行操作系统,安装应用程序的电子设备。可选地,电子设备运行的操作系统可以是安卓®系统,Windows®系统,iOS®系统等。In the embodiment of the present application, the above-mentioned electronic device is an electronic device that can run an operating system and install application programs. Optionally, the operating system run by the electronic device may be an Android® system, a Windows® system, an iOS® system, and the like.
以电子设备为手机为例,图3示出了电子设备的一种可能的结构。该电子设备10可以包括处理器110、外部存储器接口120、内部存储器121、通用串行总线(universal serialbus,USB)接口130、电源管理模块140、电池141、无线充电线圈142、天线1、天线2、移动通信模块150、无线通信模块160、音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、传感器模块180、按键190、马达191、指示器192、摄像头193、显示屏194以及用户标识模块(subscriber identification module,SIM)卡接口195等。Taking the electronic device as a mobile phone as an example, FIG. 3 shows a possible structure of the electronic device. The
其中,传感器模块180可以包括压力传感器、陀螺仪传感器、气压传感器、磁传感器、加速度传感器、距离传感器、接近光传感器、指纹传感器、温度传感器、触摸传感器、环境光传感器、骨传导传感器等。The sensor module 180 may include a pressure sensor, a gyro 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, and the like.
可以理解的是,本申请实施例示意的结构并不构成对电子设备10的具体限定。在本申请另一些实施方式中,电子设备10可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括中央处理单元(central processing unit,CPU)、应用处理器(application processor,AP)、调制解调处理器、图形处理器(graphics processing unit,GPU)、图像信号处理器(image signalprocessor,ISP)、控制器、存储器、视频编解码器、数字信号处理器(digital signalprocessor,DSP)、基带处理器以及神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。例如,处理器110可以是应用处理器AP。或者,上述处理器110可以集成在片上系统(system onchip,SoC)中。或者,上述处理器110可以集成在集成电路(integrated circuit,IC)芯片中。该处理器110可以包括IC芯片中的模拟前端(analog front end,AFE)和微处理单元(micro-controller unit,MCU)。The
其中,控制器可以是电子设备10的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施方式中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the
在一些实施方式中,处理器110可以包括一个或多个接口。接口可以包括集成电路(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)接口和/或USB接口等。In some implementations, the
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备10的结构限定。在本申请另一些实施方式中,电子设备10也可以采用上述实施方式中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the
电子设备10的无线通信功能可以通过天线1、天线2、移动通信模块150、无线通信模块160、调制解调处理器以及基带处理器等实现。The wireless communication function of the
天线1和天线2用于发射和接收电磁波信号。电子设备10中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施方式中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备10上的包括2G/3G/4G/5G等无线通信的解决方案。无线通信模块160可以提供应用在电子设备10上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络)、蓝牙(bluetooth,BT)、全球导航卫星系统(global navigation satellite system,GNSS)、调频(frequency modulation,FM)、近距离无线通信技术(near field communication,NFC)、红外技术(infrared,IR)等无线通信的解决方案。在一些实施方式中,电子设备10的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备10可以通过无线通信技术与网络以及其他设备通信。The
电子设备10通过GPU、显示屏194以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The
显示屏194用于显示图像,视频等。显示屏194包括显示面板。在一些实施方式中,电子设备10可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. In some embodiments, the
电子设备10可以通过ISP、摄像头193、视频编解码器、GPU、显示屏194以及应用处理器等实现拍摄功能。ISP 用于处理摄像头193反馈的数据。在一些实施方式中,ISP可以设置在摄像头193中。摄像头193用于捕获静态图像或视频。在一些实施方式中,电子设备10可以包括1个或N个摄像头193,N为大于1的正整数。The
外部存储器接口120可以用于连接外部存储卡,例如微闪迪(micro SanDisk,Micro SD)卡,实现扩展电子设备10的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备10的各种功能应用以及数据处理。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、通用闪存存储器(universal flashstorage,UFS)等。Internal memory 121 may be used to store computer executable program code, which includes instructions. The
电子设备10可以通过音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D以及应用处理器等实现音频功能。例如音乐播放,录音等。The
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。在一些实施方式中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。电子设备10可以设置至少一个麦克风170C。耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动终端平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The
按键190包括开机键、音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备10可以接收按键输入,产生与电子设备10的用户设置以及功能控制有关的键信号输入。马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息、未接来电、通知等。SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备10的接触和分离。电子设备10可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持纳SIM(Nano SIM)卡、微SIM(Micro SIM)卡、SIM卡等。在一些实施方式中,电子设备10采用嵌入式(embedded SIM,eSIM)卡,eSIM卡可以嵌在电子设备10中,不能和电子设备10分离。The keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key. The
电源管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器(如电子设备10的无线充电底座或者其他可以为电子设备10无线充电的设备),也可以是有线充电器。例如,电源管理模块140可以通过USB接口130接收有线充电器的充电输入。电源管理模块140可以通过电子设备10的无线充电线圈142接收无线充电输入。The
其中,电源管理模块140为电池141充电的同时,还可以为电子设备10供电。电源管理模块140接收电池141的输入,为处理器110、内部存储器121、外部存储器接口120、显示屏194、摄像头193和无线通信模块160等供电。电源管理模块140还可以用于监测电池141的电池容量、电池循环次数、电池健康状态(漏电、阻抗)等参数。在其他一些实施方式中,电源管理模块140也可以设置于处理器110中。The
电池141可以包括多个不同容量的电池。目前,当电子设备包括多个电池时,通常将多个电池进行串联充电,或者将多个电池进行并联充电。充电过程中充入电池的电量Q=I×t;其中,I为充电电流,t为充电时长。多个电池串联或并联同时充电,即各个电池的充电时长相等。电池的充电电流与充入电池的电量成正比。The battery 141 may include a plurality of batteries of different capacities. Currently, when an electronic device includes a plurality of batteries, the plurality of batteries are usually charged in series, or the plurality of batteries are charged in parallel. The amount of electricity charged into the battery during the charging process is Q=I×t; among them, I is the charging current and t is the charging time. Multiple batteries are charged in series or parallel at the same time, that is, the charging time of each battery is equal. The charging current of the battery is proportional to the amount of power charged into the battery.
在一种示例中,如图4所示,两个电池并联,一个充电电路或多个充电电路并联共同为两个电池同时充电。由于两个电池并联,两个电池的电压相等,而电池的输入电流受链路上的电阻(包括电池本身的电阻、线路电阻等)影响;无法精确控制两个电池各自的输入电流。In an example, as shown in FIG. 4 , two batteries are connected in parallel, and one charging circuit or multiple charging circuits are connected in parallel to charge the two batteries at the same time. Since two batteries are connected in parallel, the voltages of the two batteries are equal, and the input current of the battery is affected by the resistance on the link (including the resistance of the battery itself, line resistance, etc.); the input current of the two batteries cannot be precisely controlled.
由于无法精确控制电池输入电流,一般来说,会将电池的最大输入电流设计的较高,以免损坏电池。电池的最大输入电流与电池容量密度成反比,这样就导致电池的容量密度低。同样目标容量情况下,容量密度低,则电池的体积大。由于电子设备内空间有限,电池的体积受限,这样就会损失电池容量。Since the input current of the battery cannot be precisely controlled, generally speaking, the maximum input current of the battery is designed to be higher to avoid damage to the battery. The maximum input current of the battery is inversely proportional to the battery capacity density, which results in a low capacity density of the battery. Under the same target capacity, if the capacity density is low, the volume of the battery will be large. Due to the limited space in the electronic device, the volume of the battery is limited, and thus the battery capacity is lost.
在一种示例中,如图5所示,两个电池串联,充电电路为两个电池同时充电。在该实现方式中电,两个电池的输入电流一样大,相同时间内充入的电量相等。当容量较小的电池充满时,容量较大的电池未充满。当容量较小的电池充满时,即停止充电,以避免损坏池。这样的话,容量较大的电池无法充满,容量浪费。In one example, as shown in FIG. 5 , two batteries are connected in series, and the charging circuit charges the two batteries simultaneously. In this implementation, the input currents of the two batteries are the same, and the amount of electricity charged in the same time is equal. When the smaller capacity battery is fully charged, the larger capacity battery is not fully charged. When the smaller capacity battery is full, stop charging to avoid damage to the battery. In this case, the battery with a larger capacity cannot be fully charged, and the capacity is wasted.
本申请实施例提供一种充电电路及方法,应用于向不同容量的电池充电。该充电电路可以应用于上述电子设备10的电源管理模块140中。Embodiments of the present application provide a charging circuit and method, which are applied to charging batteries of different capacities. The charging circuit can be applied to the
示例性的,如图6所示,电子设备10包括第一电路13、电压转换电路(第二电路)14和控制器15,以及电池组;其中,第一电路13和电压转换电路14作为充电电路,向电池组充电。电池组包括电池11和电池12,电池11和电池12的容量不同;示例性的,电池11的容量为第一值,电池12的容量为第二值,第二值大于第一值。第一电路13一端与充电器20的供电端耦合,另一端耦合至电池11的正极;电池11的负极与电池12的正极耦合;电压转换电路14一端与电池11正极耦合,另一端与电池11负极耦合。第一电路13的通信端、电压转换电路14的通信端分别与控制器15通信连接;比如,第一电路13和电压转换电路14通过集成电路总线连接至控制器15。Exemplarily, as shown in FIG. 6 , the
第一电路13用于对充电器20的供电电压进行转换,第一电路13的输出电压为Vout1。电压转换电路14用于对Vout1进行电压转换。控制器15用于通过控制第一电路13的输出电压Vout1的值,以控制电池11的充电电流Ibat1;控制器15还用于控制电压转换电路14在Vout1下的输出电流Iout,使得Ibat1/ Ibat2=第一值/第二值,其中Ibat2= Ibat1+Iout,即Ibat1/ (Ibat1+Iout) =第一值/第二值。也就是说,输入电池11的充电电流与输入电池12的充电电流的比例,和第一值与第二值的比例相等。需要说明的是,在实际实现中,由于检测精度、控制精度等限制,输入电池11的充电电流与输入电池12的充电电流的比例,和第一值与第二值的比例,并不一定能达到精确的相等。可以调节输入电池11的充电电流及输入电池12的充电电流,使其比例趋近于和第一值与第二值的比例相等,即和第一值与第二值的比例近似。The
由于Ibat1/ Ibat2=第一值/第二值,相同充电时长内,充入电池11和电池12的电量比值为第一值/第二值=电池11的容量/电池12的容量;这样,电池11和电池12可以同时充满,避免电池容量损失。Since I bat1 / I bat2 = the first value / the second value, within the same charging time, the ratio of the power charged into the
在一种示例中,如图7所示,第一电路13为直充电路或升压电路(Boost);比如,直充电路为开关电路;Boost电路也可以称为Boost芯片。或者,第一电路13可以包括直充电路以及Boost。控制器15可以根据充电器20的供电电压控制第一电路13采用直充电路或Boost进行充电。比如,当充电器20的供电电压与电池11和电池12的额定电压之和相等时,控制器15控制第一电路13采用直充电路进行充电。比如,当充电器20的供电电压小于电池11和电池12的额定电压之和时,控制器15控制第一电路13采用Boost进行充电。电压转换电路14为降压电路(Buck),也可以称为Buck芯片。控制器15为SoC。可选的,电子设备10还包括采样电路16。一种示例中,采样电路16的一端与电池11负极耦合,另一端与Buck 14耦合。采样电路16的通信端与控制器15通信连接。采样电路16用于实时采集电池11的充电电流Ibat1的值,并向SoC上报。需要说明的是,采样电路16的阻值很小,采样电路16两端的电压差可以忽略不计。In an example, as shown in FIG. 7 , the
SoC用于根据电池11的容量和电池12的容量确定Ibat1和Ibat2的目标值,并向第一电路13和Buck 14分别发送控制信号。比如,SoC通过集成电路总线(inter-integratedcircuit,IIC)通信协议分别向第一电路13和Buck 14发送控制信号。示例性的,SoC向第一电路13发送第一控制信号,用于通知电池11的充电电流目标值(即Ibat1目标值);SoC向Buck14发送第二控制信号,用于通知Buck 14的输出电流目标值(即Iout目标值),其中Iout=Ibat2- Ibat1。The SoC is used to determine the target values of I bat1 and I bat2 according to the capacity of the
第一电路13用于对充电器20的供电电压进行电压转换,第一电路13的输出电压为Vout1。在一种实现方式中,第一电路13根据采样电路16实时采集的Ibat1的当前值调节Vout1的值,使得Ibat1的值等于目标值。The
Buck 14用于对Vout1进行电压转换,并且输出电流Iout的值保持为Iout目标值;其中,Iout目标值=Ibat2目标值-Ibat1目标值。The
下面详细介绍本申请实施例提供的充电方法,该方法可以应用于图6或图7所示的充电电路。示例性的,如图8所示,该方法包括:The charging method provided by the embodiment of the present application is described in detail below, and the method can be applied to the charging circuit shown in FIG. 6 or FIG. 7 . Exemplarily, as shown in Figure 8, the method includes:
S801、控制器确定电池一的充电电流目标值(第一目标值)和电池二的充电电流目标值(第二目标值),以及电压转换电路的输出电流目标值(第三目标值);其中,第一目标值/第二目标值=电池一的容量/电池二的容量。S801. The controller determines the charging current target value (first target value) of battery one, the charging current target value (second target value) of battery two, and the output current target value (third target value) of the voltage conversion circuit; wherein , first target value/second target value=capacity of battery one/capacity of battery two.
比如,电池一为上述电池11,电池二为上述电池12。电池一的容量为第一值,电池二的容量为第二值;第一值小于第二值。For example, the first battery is the
当电子设备通过有线或无线方式连接充电器后,电子设备通过充电器为电池一和电池二进行充电。电池在充电过程中的充电电流是一个动态变化的过程。在一种实现方式中,电池的充电过程包括三个阶段:预充电阶段、恒流充电阶段和恒压充电阶段。当电池的初始/空载电压低于预充电阈值(比如3.0V)时,处于预充电阶段,单个电池的充电电流大约为恒流充电阶段充电电流的10%左右。在恒流充电阶段,充电电流恒定(此时的充电电流为最大充电电流),电压逐渐升高,此时为快速充电阶段。就单个电池而言,当电池达到一定电压值时,即进入恒压充电阶段,比如这个恒定电压值为4.2V。在恒压充电阶段,电压不变,充电电流递减;当充电电流达到终止电流时(比如0.01C),结束充电。一旦充电结束,则充电电流降为零。控制器根据电池一和电池二所处充电过程中的具体阶段,确定电池二的当前充电电流目标值。After the electronic device is connected to the charger in a wired or wireless manner, the electronic device charges the first battery and the second battery through the charger. The charging current of the battery during the charging process is a dynamic process. In one implementation, the charging process of the battery includes three stages: a pre-charging stage, a constant-current charging stage, and a constant-voltage charging stage. When the initial/no-load voltage of the battery is lower than the precharge threshold (such as 3.0V), it is in the precharge phase, and the charging current of a single battery is about 10% of the charging current in the constant current charging phase. In the constant current charging stage, the charging current is constant (the charging current at this time is the maximum charging current), and the voltage gradually increases, which is the fast charging stage. As far as a single battery is concerned, when the battery reaches a certain voltage value, it enters the constant voltage charging stage, for example, the constant voltage value is 4.2V. In the constant voltage charging stage, the voltage remains unchanged and the charging current decreases; when the charging current reaches the termination current (such as 0.01C), the charging is terminated. Once charging is complete, the charging current drops to zero. The controller determines the current charging current target value of the second battery according to the specific stage in the charging process of the first battery and the second battery.
示例性的,以电池一和电池二处于恒流充电阶段为例,确定电池二的当前充电电流目标值为电池二的最大充电电流。可以理解的,电池二的最大充电电流小于或等于充电器的最大输出电流。以电池二的最大充电电流为3A为例。即确定电池二的充电电流目标值为3A。Exemplarily, taking
根据电池一的充电电流目标值/电池二的充电电流目标值=电池一的容量/电池二的容量=第一值/第二值;确定电池一的充电电流目标值。示例性的,第一值为2000 mA·h ,第二值为3000 mA·h,电池二的充电电流(Ibat2)目标值为3A,则电池一的充电电流(Ibat1)目标值为2A。电压转换电路的输出电流(Iout)目标值= Ibat2目标值- Ibat1目标值。示例性的,Iout目标值= 3A -2A=1A。即第一目标值为2A,第二目标值为3A,第三目标值为1A。According to the charging current target value of battery one/charging current target value of battery two=capacity of battery one/capacity of battery two=first value/second value; determine the charging current target value of battery one. Exemplarily, the first value is 2000 mA·h, the second value is 3000 mA·h, the target value of the charging current (I bat2 ) of the second battery is 3A, and the target value of the charging current (I bat1 ) of the first battery is 2A . The output current (I out ) target value of the voltage conversion circuit = I bat2 target value - I bat1 target value. Exemplarily, I out target value = 3A - 2A = 1A. That is, the first target value is 2A, the second target value is 3A, and the third target value is 1A.
需要说明的是,上述示例以恒流充电阶段为例介绍了确定电池一的充电电流目标值和电池二的充电电流目标值的具体方法。可以理解的,充电过程中的充电电流是一个动态变化的过程,在充电过程的各个阶段,都可以采用上述方法确定电池一的充电电流目标值和电池二的充电电流目标值;使得电池一的充电电流目标值/电池二的充电电流目标值=电池一的容量/电池二的容量=第一值/第二值,且满足对应阶段的电流要求(比如,预充电阶段单个电池的充电电流为恒流充电阶段充电电流的10%)即可。It should be noted that, the above example introduces a specific method for determining the charging current target value of
S802、控制器向第一电路发送电池一的充电电流目标值(第一目标值),控制器向电压转换电路发送电压转换电路输出电流目标值(第三目标值);其中,电压转换电路输出电流目标值(第三目标值)与电池一的充电电流目标值(第一目标值)之和为电池二的充电电流目标值(第二目标值)。S802. The controller sends the charging current target value (first target value) of
在一种实现方式中,控制器通过IIC通信协议向第一电路发送第一控制信号,其中包括第一目标值。控制器通过IIC通信协议向电压转换电路发送第二控制信号,其中包括第三目标值。In one implementation, the controller sends the first control signal to the first circuit through the IIC communication protocol, which includes the first target value. The controller sends a second control signal including the third target value to the voltage conversion circuit through the IIC communication protocol.
S803、第一电路对充电器的供电电压进行电压转换,根据电池一的充电电流的当前值调节第一电路输出电压,使得电池一的充电电流达到第一目标值。电压转换电路对第一电路的输出电压进行电压转换,使得电压转换电路输出电流达到第三目标值。S803 , the first circuit performs voltage conversion on the power supply voltage of the charger, and adjusts the output voltage of the first circuit according to the current value of the charging current of the first battery, so that the charging current of the first battery reaches the first target value. The voltage conversion circuit performs voltage conversion on the output voltage of the first circuit, so that the output current of the voltage conversion circuit reaches a third target value.
在一种实现方式中,第一电路为直充电路,比如开关电路。In one implementation, the first circuit is a direct charging circuit, such as a switching circuit.
在一种示例中,采样电路实时采集Ibat1的值,并上报给控制器。控制器通过IIC通信协议向直充电路发送Ibat1当前值。如果Ibat1当前值小于第一目标值,直充电路与充电器通过充电协议进行协商,以第一步长(比如0.5V)升高充电器供电电压。这样,直充电路的输出电压Vout1升高,即Ibat1的值增大。如果Ibat1当前值大于第一目标值,直充电路与充电器通过充电协议进行协商,以第二步长(可以与第一步长相等或不相等,比如0.5V)降低充电器供电电压。这样,直充电路的输出电压Vout1降低,即Ibat1的值减小。经过一次或多次调节,通过升高或降低充电器供电电压,使得Ibat1的值达到第一目标值。In an example, the sampling circuit collects the value of I bat1 in real time and reports it to the controller. The controller sends the current value of I bat1 to the direct charging circuit through the IIC communication protocol. If the current value of I bat1 is less than the first target value, the direct charging circuit negotiates with the charger through the charging protocol, and increases the power supply voltage of the charger by the first step (for example, 0.5V). In this way, the output voltage V out1 of the direct charging circuit increases, that is, the value of I bat1 increases. If the current value of I bat1 is greater than the first target value, the direct charging circuit negotiates with the charger through the charging protocol, and reduces the charger supply voltage with the second step size (which can be equal to or unequal to the first step size, such as 0.5V). In this way, the output voltage V out1 of the direct charging circuit decreases, that is, the value of I bat1 decreases. After one or more adjustments, the value of I bat1 can reach the first target value by increasing or decreasing the power supply voltage of the charger.
在另一种示例中,采样电路实时采集Ibat1的值,并上报给控制器。如果Ibat1当前值小于第一目标值,控制器向直充电路发送升压信号;直充电路通过充电协议与充电器进行协商,以第一步长(比如0.5V)升高充电器供电电压。这样,直充电路的输出电压Vout1升高,即Ibat1的值增大。如果Ibat1当前值大于第一目标值,控制器向直充电路发送降压信号;直充电路通过充电协议与充电器进行协商,以第二步长(可以与第一步长相等或不相等,比如0.5V)降低充电器供电电压。这样,直充电路的输出电压Vout1降低,即Ibat1的值减小。经过一次或多次调节,通过升高或降低充电器供电电压,使得Ibat1的值达到第一目标值。In another example, the sampling circuit collects the value of I bat1 in real time and reports it to the controller. If the current value of I bat1 is less than the first target value, the controller sends a boost signal to the direct charging circuit; the direct charging circuit negotiates with the charger through the charging protocol, and increases the power supply voltage of the charger by the first step (for example, 0.5V). . In this way, the output voltage V out1 of the direct charging circuit increases, that is, the value of I bat1 increases. If the current value of I bat1 is greater than the first target value, the controller sends a step-down signal to the direct charging circuit; the direct charging circuit negotiates with the charger through the charging protocol, and the second step length (which can be equal to or not equal to the first step length) , such as 0.5V) to reduce the charger supply voltage. In this way, the output voltage V out1 of the direct charging circuit decreases, that is, the value of I bat1 decreases. After one or more adjustments, the value of I bat1 can reach the first target value by increasing or decreasing the power supply voltage of the charger.
在一种实现方式中,第一电路为Boost。Boost对充电器供电电压进行升压转换。在一种示例中,采样电路实时采集Ibat1的值,并上报给控制器。控制器通过IIC通信协议向Boost发送Ibat1当前值。如果Ibat1当前值小于第一目标值,Boost以第一步长(比如0.5V)升高输出电压Vout1,即Ibat1的值增大。如果Ibat1当前值大于第一目标值,Boost以第二步长(可以与第一步长相等或不相等,比如0.5V)降低输出电压Vout1,即Ibat1的值减小。经过一次或多次调节,通过升高或降低Boost输出电压,使得Ibat1的值达到第一目标值。其中,Boost通过脉冲宽度调制(pulse width modulation,PWM)调节占空比,对输入电压进行升压转换,输出目标电压值。本领域技术人员可以采用能够获取到的常规方法实现Boost功能。本申请实施例对此并不进行限定。In one implementation, the first circuit is Boost. Boost boosts the charger supply voltage. In an example, the sampling circuit collects the value of I bat1 in real time and reports it to the controller. The controller sends the current value of I bat1 to Boost through the IIC communication protocol. If the current value of I bat1 is less than the first target value, Boost increases the output voltage V out1 by a first step (eg, 0.5V), that is, the value of I bat1 increases. If the current value of I bat1 is greater than the first target value, Boost reduces the output voltage V out1 by a second step size (which may or may not be equal to the first step size, such as 0.5V), that is, the value of I bat1 decreases. After one or more adjustments, the value of I bat1 can reach the first target value by increasing or decreasing the Boost output voltage. Among them, Boost adjusts the duty cycle through pulse width modulation (PWM), boosts the input voltage, and outputs the target voltage value. Those skilled in the art can use available conventional methods to implement the Boost function. This embodiment of the present application does not limit this.
在一种实现方式中,电压转换电路为Buck。Buck对第一电路的输出电压进行降压转换,并且输出电流为第三目标值。其中,Buck通过脉冲宽度调制(pulse widthmodulation,PWM)调节占空比,对输入电压进行降压转换,输出目标电压值,并通过反馈电流控制输出电流为目标值。本领域技术人员可以采用能够获取到的常规方法实现Buck功能。本申请实施例对此并不进行限定。In one implementation, the voltage conversion circuit is a Buck. The Buck performs step-down conversion on the output voltage of the first circuit, and the output current is the third target value. Among them, Buck adjusts the duty cycle through pulse width modulation (PWM), performs step-down conversion on the input voltage, outputs the target voltage value, and controls the output current to the target value through the feedback current. Those skilled in the art can use available conventional methods to implement the Buck function. This embodiment of the present application does not limit this.
本申请实施例提供的充电方法,第一电路和电压转换电路共同为电池一和电池二充电,在充电过程的每个阶段,电池一的充电电流值/电池二的充电电流值=电池一的容量/电池二的容量。这样,电池一和电池二可以同时充满,避免了电池容量的损失。In the charging method provided by the embodiment of the present application, the first circuit and the voltage conversion circuit jointly charge the first battery and the second battery, and at each stage of the charging process, the charging current value of the battery one / the charging current value of the battery two = the capacity/capacity of battery two. In this way, the first battery and the second battery can be fully charged at the same time, thereby avoiding the loss of battery capacity.
需要说明的是,在一些实施例中,也可以不采用控制器确定电池一的充电电流目标值(第一目标值)和电池二的充电电流目标值(第二目标值),以及电压转换电路的输出电流目标值(第三目标值);而是直接将电池一的充电电流目标值预置在第一电路中,第一电路根据电池一的充电电流目标值调节输出电流;将电压转换电路的输出电流目标值预置在电压转换电路中,电压转换电路根据输出电流目标值调节输出电流。其中,第一电路根据电池一的充电电流目标值调节输出电流的具体方法,以及电压转换电路根据输出电流目标值调节输出电流的具体方法,可以参考上述实施例具体描述,此处不再赘述。It should be noted that, in some embodiments, the controller may not be used to determine the charging current target value (first target value) of battery one and the charging current target value (second target value) of battery two, and the voltage conversion circuit The output current target value (third target value) of
本申请实施例还提供一种充电电路及方法,应用于向不同容量的电池充电。该充电电路可以应用于上述电子设备10的电源管理模块140中。Embodiments of the present application further provide a charging circuit and method, which are applied to charging batteries of different capacities. The charging circuit can be applied to the
示例性的,图9示出了本申请实施例提供的另一种充电电路。电子设备10包括第一电路1c、电压转换电路1d和控制器1e,以及电池组;其中,第一电路1c和电压转换电路(第二电路)1d作为充电电路,向电池组充电。电池组包括电池1a和电池1b,电池1a和电池1b的容量不同;示例性的,电池1a的容量为第一值,电池1b的容量为第二值,第二值大于第一值。在一种示例中,第一电路1c可以是图6中第一电路13,电压转换电路1d可以是图6中电压转换电路14,控制器1e可以是图6中控制器15,电池1a和电池1b分别是图6中电池11和电池12。图9中各个单元的连接方式和功能可以参考图6中对应单元。与图6所示的充电电路不同的是,图6中电压转换电路14与电池11并联。图9所示充电电路中电压转换电路1d一端与充电器20的供电端耦合,另一端与电池1a的负极耦合;即电压转换电路1d与第一电路1c和电池1a串联后的电路并联。也就是说,图9中电压转换电路1d不是对第一电路1c的输出电压Vout1进行电压转换,而是对充电器20的供电电压进行电压转换。Exemplarily, FIG. 9 shows another charging circuit provided by this embodiment of the present application. The
在一种实现方式中,如图10所示,第一电路1c可以为直充电路或升压电路(Boost);或者,第一电路1c包括直充电路以及Boost。电压转换电路1d为降压电路(Buck),也可以称为Buck芯片。控制器1e为SoC。在一种示例中,该充电电路还可以包括采样电路1f。采样电路1f的一端与电池1a负极耦合,另一端与Buck 1d耦合。采样电路1f的通信端与控制器1e通信连接。In an implementation manner, as shown in FIG. 10 , the
本申请实施例提供一种充电方法,该方法可以应用于图9或图10所示的充电电路。示例性的,如图11所示,该方法包括:The embodiment of the present application provides a charging method, which can be applied to the charging circuit shown in FIG. 9 or FIG. 10 . Exemplarily, as shown in Figure 11, the method includes:
S1101、控制器确定电池一的充电电流目标值(第一目标值)和电池二的充电电流目标值(第二目标值),以及电压转换电路的输出电流目标值(第三目标值);其中,第一目标值/第二目标值=电池一的容量/电池二的容量。S1101. The controller determines the charging current target value (first target value) of battery one, the charging current target value (second target value) of battery two, and the output current target value (third target value) of the voltage conversion circuit; wherein , first target value/second target value=capacity of battery one/capacity of battery two.
S1102、控制器向第一电路发送电池一的充电电流目标值(第一目标值),控制器向电压转换电路发送电压转换电路输出电流目标值(第三目标值);其中,电压转换电路输出电流目标值(第三目标值)与电池一的充电电流目标值(第一目标值)之和为电池二的充电电流目标值(第二目标值)。S1102 . The controller sends the charging current target value (first target value) of battery one to the first circuit, and the controller sends the voltage conversion circuit output current target value (third target value) to the voltage conversion circuit; wherein the voltage conversion circuit outputs The sum of the current target value (third target value) and the charging current target value (first target value) of battery one is the charging current target value (second target value) of battery two.
S1101和S1102的具体实现方式可以参考S801和S802,此处不再赘述。For the specific implementation manner of S1101 and S1102, reference may be made to S801 and S802, which will not be repeated here.
S1103、第一电路对充电器的供电电压进行电压转换,根据电池一的充电电流的当前值调节第一电路输出电压,使得电池一的充电电流达到第一目标值。电压转换电路对充电器的供电电压进行电压转换,使得电压转换电路输出电流达到第三目标值。S1103: The first circuit performs voltage conversion on the power supply voltage of the charger, and adjusts the output voltage of the first circuit according to the current value of the charging current of the first battery, so that the charging current of the first battery reaches the first target value. The voltage conversion circuit performs voltage conversion on the supply voltage of the charger, so that the output current of the voltage conversion circuit reaches the third target value.
第一电路对充电器的供电电压进行电压转换,根据电池一的充电电流的当前值调节第一电路输出电压,使得电池一的充电电流达到第一目标值,具体实现方式可以参考S803。The first circuit performs voltage conversion on the power supply voltage of the charger, and adjusts the output voltage of the first circuit according to the current value of the charging current of battery one, so that the charging current of battery one reaches the first target value.
与S803不同的是,电压转换电路(比如Buck)对充电器的供电电压进行降压转换,并且输出电流为第三目标值。Different from S803, the voltage conversion circuit (such as Buck) performs step-down conversion on the supply voltage of the charger, and the output current is the third target value.
第一电路和电压转换电路共同为电池一和电池二充电,在充电过程的每个阶段,电池一的充电电流值/电池二的充电电流值=电池一的容量/电池二的容量。这样,电池一和电池二可以同时充满,避免了电池容量的损失。The first circuit and the voltage conversion circuit jointly charge the
图3中电池141(比如包括电池11和电池12,或包括电池1a和电池1b)用于向电子设备10中各个单元(系统)供电。比如,电池141可以向处理器110、内部存储器121、外部存储器接口120、显示屏194、摄像头193和无线通信模块160等供电;支持电子设备10系统正常运转。The battery 141 in FIG. 3 (for example, including the
电池为系统供电即电池放电。一般来说,多个电池串联充电,也会串联放电。由于系统额定供电电压(比如,等于单个电池供电电压)小于多个电池串联的供电电压;多个电池串联供电需要进行降压放电。When the battery supplies power to the system, the battery discharges. Generally speaking, multiple batteries are charged in series and discharged in series. Since the rated power supply voltage of the system (for example, equal to the power supply voltage of a single battery) is less than the supply voltage of multiple batteries in series; the power supply of multiple batteries in series requires step-down discharge.
在一种示例中,如图12所示,电池11和电池12串联。电池11的放电电流通过第一电路13输入降压放电电路17。电池12的放电电流经过电压转换电路(Buck)反向升压后通过第一电路13输入降压放电电路17。降压放电电路17对输入电压进行降压后,向系统供电。比如,单个电池供电电压是5v,电池11和电池12串联的供电电压是10v,系统额定供电电压为5v;降压放电电路17用于实现10v(电池供电电压)到5v(系统额定供电电压)的降压转换,即实现2:1功率变换;电池11和电池12的输出功率仅有50%左右用于向系统供电,带来效率损失,是对电池容量的浪费。In one example, as shown in FIG. 12 , the
本申请实施例还提供一种自动切换充放电的电路,示例性的,该自动切换充放电的电路可以是电子设备中的电源电路。当向电池组充电时,电池串联;第一电路和电压转换电路共同为电池一和电池二充电,使得电池一的充电电流值/电池二的充电电流值=电池一的容量/电池二的容量,电池一和电池二可以同时充满。当电池组向系统供电时,电池并联,电池的供电电压与系统额定供电电压相等,避免放电电路进行功率变换带来的效率损失,避免电池容量的浪费。Embodiments of the present application further provide a circuit for automatically switching between charging and discharging. Exemplarily, the circuit for automatically switching between charging and discharging may be a power supply circuit in an electronic device. When charging the battery pack, the batteries are connected in series; the first circuit and the voltage conversion circuit jointly charge the
在一种示例中,如图13所示,电子设备10包括电源电路,该电源电路包括电池1a、电池1b,第一电路1c、电压转换电路1d、第一开关1g以及第二开关1h。其中,电池1a和电池1b的容量不同;示例性的,电池1a的容量为第一值,电池1b的容量为第二值,第二值大于第一值。可选的,该电源电路还可以包括采样电路1f(图13中未示出)等。电源电路可以与电子设备10中其他单元进行交互。比如,电源电路可以与控制器1e进行无线通信,接收控制器1e的控制信号。比如,电源电路可以向电子设备10的系统供电。In one example, as shown in FIG. 13 , the
第一电路1c一端与充电器20的供电端耦合,另一端耦合至电池1a的正极;电池1a的负极与第二开关1h的第一受控端1h1耦合;第一开关1g的第一受控端1g1与电池1a的正极耦合;第一开关1g的第二受控端1g2与第二开关1h的第二受控端1h2以及电池1b的正极耦合在一起;第二开关1h的第三受控端1h3与电池1b的负极耦合;电压转换电路1d的一端与充电器20的供电端耦合,另一端与电池1b的正极耦合,供电端与系统供电接口耦合。第一电路1c的通信端、电压转换电路1d的通信端、第一开关1g的控制端以及第二开关1h的控制端分别与控制器1e通信连接(比如通过集成电路总线连接)。One end of the
在一种示例中,第一电路1c为直充电路,电压转换电路1d为Buck,控制器1e为SoC。控制器1e可以通过向第一电路1c的通信端发送信号,控制第一电路1c(直充电路)导通或关断。控制器1e可以通过向第一开关1g的控制端1g3发送信号,控制第一开关1g的第一受控端1g1与第二受控端1g2之间导通或关断。控制器还可以通过向第二开关1h的控制端1h4发送信号,控制第二开关1h的第一受控端1h1与第二受控端1h2之间导通,第一受控端1h1与第三受控端1h3之间关断;或者控制第二开关1h的第一受控端1h1与第二受控端1h2之间关断,第一受控端1h1与第三受控端1h3之间导通。In an example, the
在一种实现方式中,当为电池组充电时,控制器1e确定当前为充电过程;控制器1e控制第一电路1c导通;控制第一开关1g关断;并控制第二开关1h的第一受控端1h1与第二受控端1h2之间导通,第一受控端1h1与第三受控端1h3之间关断;这样,电池1a和电池1b串联。等效电路图如图9所示。示例性的,当为电池组充电时,电流走向如图14所示;第一电路1c和电压转换电路1d共同为电池1a和电池1b充电。In an implementation manner, when charging the battery pack, the controller 1e determines that it is currently a charging process; the controller 1e controls the
当电池组向系统供电时,控制器1e确定当前为放电过程;控制器1e控制第一电路1c关断;控制第一开关1g导通;并控制第二开关1h的第一受控端1h1与第二受控端1h2之间关断,第一受控端1h1与第三受控端1h3之间导通。等效电路图如图15所示,电池1a和电池1b并联,通过电压转换电路1d向系统供电。When the battery pack supplies power to the system, the controller 1e determines that it is currently in a discharging process; the controller 1e controls the
图16示出了本申请实施例提供的一种自动切换充放电的电路示意图。如图16所示,第一电路为直充电路,电压转换电路为Buck。电池1a和电池1b分别串接一个采样电阻。可以理解的,在另一些示例中,该电路中也可以不包括采样电阻。FIG. 16 shows a schematic circuit diagram of an automatic switching charging and discharging provided by an embodiment of the present application. As shown in Figure 16, the first circuit is a direct charging circuit, and the voltage conversion circuit is Buck. The battery 1a and the
当电池组充电时,直充电路1c导通,第一开关1g关断,第二开关1h的第一受控端1h1与第二受控端1h2之间导通,第一受控端1h1与第三受控端1h3之间关断;电池1a和电池1b串联。电流走向如图17所示,比如,充电接口的输入电压(充电器供电电压)为10v,直充电路1c的输出电压Vout1为10v,经过直充电路1c流过电池1a的充电电流为Ibat1。Buck对充电器供电电压进行降压转换,输出电压为5v,即电池1a负极的电压为5v;Buck输出电流为Iout。这样,电池1b的充电电流为Ibat1+Iout= Ibat2。电池1b正极的电压与Buck输出电压相等,为5v;电池1b负极接地,电压为0v。在该电路连接方式下,电池1a和电池1b串联,直充电路1c和Buck1d共同为电池1a和电池1b充电,使得电池1a的充电电流值/电池1b的充电电流值=电池1a的容量/电池1b的容量,电池1a和电池1b可以同时充满。When the battery pack is charged, the
当电池组向系统供电时,直充电路1c关断,第一开关1g导通,第二开关1h的第一受控端1h1与第二受控端1h2之间关断,第一受控端1h1与第三受控端1h3之间导通;电池1a和电池1b并联。电流走向如图18所示,单个电池正负极电压差为5v,即电池1a和电池1b的正极电压均为5v;电池1a的输出电流为Ibat1,电池1b的输出电流为Ibat2,流过Buck的电流为Ibat1+Ibat2,即电池1a和电池1b向系统供电的供电电流为Ibat1+ Ibat2。Buck的输入电压为5v,输出电压(系统额定供电电压)也为5v,避免了进行功率变换带来的效率损失,避免了电池容量的浪费。When the battery pack supplies power to the system, the
在一种示例中,图19示出了第一开关的一种具体实现方式。当电池组充电时,SoC向第一开关发送高电平控制信号,驱动电平输出高电平,对顶的双N型金属氧化物半导体型场效应管(metal oxide semiconductor field effect transistor,MOSFET,简称MOS管)导通,即第一开关导通。当电池组向系统供电时,SoC向第一开关发送低电平控制信号,驱动电平输出低电平,对顶的双N型MOS管关断,即第一开关关断。In one example, FIG. 19 shows a specific implementation of the first switch. When the battery pack is charged, the SoC sends a high-level control signal to the first switch, and the drive level outputs a high-level, which is paired with the top double N-type metal oxide semiconductor field effect transistor (MOSFET, MOS tube for short) is turned on, that is, the first switch is turned on. When the battery pack supplies power to the system, the SoC sends a low level control signal to the first switch, the drive level outputs a low level, and the dual N-type MOS transistors on the top are turned off, that is, the first switch is turned off.
在一种示例中,图20示出了第二开关的一种具体实现方式。当电池组充电时,SoC向第二开关发送高电平控制信号,驱动电平输出高电平,MOS管1关断,MOS管2导通;即第一受控端1h1与第二受控端1h2之间导通,第一受控端1h1与第三受控端1h3之间关断。当电池组向系统供电时,SoC向第二开关发送低电平控制信号,驱动电平输出低电平,MOS管1导通,MOS管2关断;即第一受控端1h1与第二受控端1h2之间关断,第一受控端1h1与第三受控端1h3之间导通。In one example, Figure 20 shows a specific implementation of the second switch. When the battery pack is charged, the SoC sends a high-level control signal to the second switch, the drive level outputs a high level, the
示例性的,在电池组充电和电池组向系统供电过程中,各个端点的电压变化如表1所示。Exemplarily, in the process of charging the battery pack and supplying power to the system from the battery pack, the voltage changes of each terminal are shown in Table 1.
表1Table 1
示例性的,图21示出了一种自动切换充放电电路的方法流程示意图,可以应用于图13所示电路。如图21所示,该方法包括:Exemplarily, FIG. 21 shows a schematic flowchart of a method for automatically switching a charging and discharging circuit, which can be applied to the circuit shown in FIG. 13 . As shown in Figure 21, the method includes:
S2101、电子设备的充电接口与充电器耦合。S2101, a charging interface of the electronic device is coupled with a charger.
电子设备的电池组包括电池一和电池二,电池一的容量为第一值,电池二的容量为第二值,第一值小于第二值。比如,电池一为上述电池1a,电池二为上述电池1b。The battery pack of the electronic device includes a first battery and a second battery. The capacity of the first battery is a first value, and the capacity of the second battery is a second value, and the first value is smaller than the second value. For example, the first battery is the aforementioned battery 1a, and the second battery is the
控制器确定电子设备的充电接口与充电器耦合,进入为电池组充电过程。The controller determines that the charging interface of the electronic device is coupled with the charger, and enters into the process of charging the battery pack.
S2102、控制器控制第一电路导通;控制第一开关关断;控制第二开关的第一受控端与第二受控端之间导通,第一受控端与第三受控端之间关断。S2102, the controller controls the first circuit to be turned on; controls the first switch to turn off; controls the conduction between the first controlled end and the second controlled end of the second switch, and the first controlled end and the third controlled end off between.
比如,第一电路为直充电路,第一开关如图19所示,第二开关如图20所示。控制器与第一电路的通信端通过IIC通信协议进行通信,控制第一电路导通。控制器与第一开关的控制端通过IIC通信协议进行通信,控制第一开关关断。控制器与第二开关的控制端通过IIC通信协议进行通信,控制第二开关的第一受控端与第二受控端之间导通,第一受控端与第三受控端之间关断。这样,电池一和电池二串联。For example, the first circuit is a direct charging circuit, the first switch is shown in FIG. 19 , and the second switch is shown in FIG. 20 . The controller communicates with the communication end of the first circuit through the IIC communication protocol to control the conduction of the first circuit. The controller communicates with the control end of the first switch through the IIC communication protocol, and controls the first switch to be turned off. The controller communicates with the control terminal of the second switch through the IIC communication protocol, and controls the conduction between the first controlled terminal and the second controlled terminal of the second switch, and between the first controlled terminal and the third controlled terminal. off. In this way, battery one and battery two are connected in series.
S2103、电池一和电池二串联;第一电路为电池一充电,第一电路与电压转换电路共同为电池二充电。S2103, the first battery and the second battery are connected in series; the first circuit charges the first battery, and the first circuit and the voltage conversion circuit jointly charge the second battery.
在一种实现方式中,可以采用图11所示方法为电池一和电池二充电。示例性的,电流走向如图17所示。In an implementation manner, the method shown in FIG. 11 can be used to charge the first battery and the second battery. Exemplarily, the current flow is shown in FIG. 17 .
S2104、电子设备的充电接口与充电器断开连接。S2104, the charging interface of the electronic device is disconnected from the charger.
控制器确定电子设备的充电接口与充电器断开连接,确定由电池组向系统供电。The controller determines that the charging interface of the electronic device is disconnected from the charger, and determines that the battery pack supplies power to the system.
S2105、控制器控制第一电路关断;控制第一开关导通;控制第二开关的第一受控端与第二受控端之间关断,第一受控端与第三受控端之间导通。S2105. The controller controls the first circuit to be turned off; controls the first switch to be turned on; controls the disconnection between the first controlled end and the second controlled end of the second switch, and the first controlled end and the third controlled end conduction between.
比如,第一电路为直充电路,第一开关如图19所示,第二开关如图20所示。控制器与第一电路的通信端通过IIC通信协议进行通信,控制第一电路关断。控制器与第一开关的控制端通过IIC通信协议进行通信,控制第一开关导通。控制器与第二开关的控制端通过IIC通信协议进行通信,控制第二开关的第一受控端与第二受控端之间关断,第一受控端与第三受控端之间导通。这样,电池一和电池二并联。For example, the first circuit is a direct charging circuit, the first switch is shown in FIG. 19 , and the second switch is shown in FIG. 20 . The controller communicates with the communication end of the first circuit through the IIC communication protocol, and controls the first circuit to be turned off. The controller communicates with the control terminal of the first switch through the IIC communication protocol to control the conduction of the first switch. The controller communicates with the control terminal of the second switch through the IIC communication protocol, and controls the disconnection between the first controlled terminal and the second controlled terminal of the second switch, and the connection between the first controlled terminal and the third controlled terminal. on. In this way, battery one and battery two are connected in parallel.
S2106、电池一和电池二并联向系统供电。S2106, the first battery and the second battery supply power to the system in parallel.
示例性的,电流走向如图18所示。Exemplarily, the current flow is shown in FIG. 18 .
在一些实施例中,当电子设备的充电接口与充电器耦合时,充电器的供电电流可以一部分用于为电子设备的电池组充电,一部分用于向电子设备的系统供电,以保证电子设备正常运行。In some embodiments, when the charging interface of the electronic device is coupled with the charger, part of the power supply current of the charger can be used to charge the battery pack of the electronic device, and part of it can be used to supply power to the system of the electronic device, so as to ensure the normal operation of the electronic device run.
在一种示例中,充电器20与电子设备10的充电接口接通,控制器1e确定当前处于充电过程,控制第一电路1c导通,控制第一开关1g关断;并控制第二开关1h的第一受控端1h1与第二受控端1h2之间导通,第一受控端1h1与第三受控端1h3之间关断;这样,电池1a和电池1b串联。示例性的,等效电路如图22所示。第一电路1c对充电器20的供电电压进行电压转换,向电池1a输出充电电流Ibat1。电压转换电路1d对充电器20的供电电压进行电压转换,一部分输出电流Iout与电池1a的充电电流Ibat1共同输入电池1b,为电池1b充电;另一部分输出电流向系统供电。在该实施例中,由充电器20通过电子设备10的Buck向系统供电,而不是由电子设备10的电池组向系统供电。In an example, the
本申请实施例还提供一种电量计,既可以应用于多个电池串联的电路,也可以用于多个电池并联的电路。该电量计可以是电子设备10的一部分,比如电量计为图3中电源管理模块140,也可以是独立的电子设备。本申请实施例及附图以该电量计是电源管理芯片为例进行示例。The embodiment of the present application also provides a fuel gauge, which can be applied to a circuit in which multiple batteries are connected in series or a circuit in which multiple batteries are connected in parallel. The electricity meter may be a part of the
在一些实施例中,如图23所示,在为电池1a和电池1b充电时,电池1a和电池1b串联;电池1a的负极和电池1b的正极耦合,电池1b的负极接地。在电池1a和电池1b向外供电时,电池1a和电池1b并联;电池1a的负极接地,电池1b的负极接地。比如,该电池1a和电池1b连接在图13所示电路中。电量计30用于测量电池1a的电压以及电池1b的电压。电量计30包括引脚Pv1、Pv2、Pv3和Pgnd。引脚Pv1与电池1a的正极耦合,用于采集电池1a正极的电压值;引脚Pv2与电池1a的负极耦合,用于采集电池1a负极的电压值;引脚Pv3与电池1b的正极耦合,用于采集电池1b正极的电压值;引脚Pgnd接地,即引脚Pgnd与电池1b的负极耦合,电压值为0v。电量计30可以通过引脚Pv1与Pv2获取电池1a的电压(即电池1a正负极之间的电压差),可以通过引脚Pv3获取电池1b的电压(即电池1b正负极之间的电压差)。In some embodiments, as shown in FIG. 23 , when charging battery 1a and
在一种实现方式中,如图24所示,电量计30包括芯片31、芯片32和差分放大器(差分放大电路)33。其中,差分放大器33的正输入端与引脚Pv1连接,差分放大器33的负输入端与引脚Pv2连接,差分放大器33包括运算放大器331,电阻332,电阻333,电阻334和电阻335;差分放大器33的正输入端与电阻332的一端以及运算放大器331的电源端连接;电阻332的另一端与运算放大器331的正输入端以及电阻333的一端连接;电阻333的另一端连接运算放大器331的输出端;差分放大器33的负输入端与电阻334的一端连接,电阻334的另一端与运算放大器331的负输入端以及电阻335的一端连接;电阻335的另一端连接运算放大器331的接地端;电阻332,电阻333,电阻334和电阻335的阻值相等,这样,差分放大器33的输出端输出的值=引脚Pv1采集的电压值-引脚Pv2采集的电压值=电池1a的电压。在一种示例中,芯片31和芯片32是相同的芯片,比如电源管理芯片(电量计)。芯片31和芯片32分别包括多个引脚(或称为管脚等)。示例性的,芯片31和芯片32分别包括引脚Picv。芯片31的引脚Picv与差分放大器33的输出端连接;芯片31通过引脚Picv采集的电压值获取电池1a的电压;也就是说,芯片31的引脚Picv采集的电压值=差分放大器33的输出端输出的值=电池1a的电压。芯片32的引脚Picv与电量计30的引脚Pv3连接;芯片32通过引脚Picv采集的电压值获取电池1b的电压;即芯片32的引脚Picv采集的电压值=电池1b的电压。In one implementation, as shown in FIG. 24 , the fuel gauge 30 includes a chip 31 , a chip 32 and a differential amplifier (differential amplifier circuit) 33 . The positive input terminal of the
可选的,芯片31和芯片32还包括引脚Pdata和引脚Pcl,用于通过IIC通信协议与其他芯片(比如SoC)进行通信。可选的,电量计30还可以包括引脚Pdata和引脚Pcl(图中未示出),芯片31和芯片32的引脚Pdata均与电量计30的引脚Pdata连接,芯片31和芯片32的引脚Pcl均与电量计30的引脚Pcl连接;电量计30的引脚Pdata和引脚Pcl连接电子设备10的集成电路总线,通过IIC通信协议向控制器15上报电池1a的电压和电池1b的电压。Optionally, the chip 31 and the chip 32 further include a pin Pdata and a pin Pcl, which are used to communicate with other chips (such as SoC) through the IIC communication protocol. Optionally, the fuel gauge 30 may further include a pin Pdata and a pin Pcl (not shown in the figure), the pins Pdata of the chips 31 and 32 are both connected to the pin Pdata of the fuel gauge 30 , and the chips 31 and 32 The pins Pcl of the fuel gauge 30 are all connected with the pin Pcl of the fuel gauge 30; the pin Pdata and the pin Pcl of the fuel gauge 30 are connected to the integrated circuit bus of the
在一些实施例中,电量计30还用于测量经过(输入或输出)电池1a的电流以及经过(输入或输出)电池1b的电流。示例性的,如图25所示,电池1a串联一个采样电阻R1,电池1b串联一个采样电阻R2;可以理解的,R1和R2的阻值很小,采样电阻两端的电压差可以忽略不计。电量计30还包括引脚Pi1、Pi2、Pi3和Pi4;引脚Pi1和Pi2分别耦合至采样电阻R1两端,用于采集R1两端的电压值;引脚Pi3和Pi4分别耦合至采样电阻R2两端,用于采集R2两端的电压值。电量计30可以通过R1两端的电压值与R1的阻值获取经过R1的电流,即获取经过电池1a的电流;可以通过R2两端的电压值与R2的阻值获取经过R2的电流,即获取经过电池1b的电流。需要说明的是,图25的示例中,电量计30未包括采样电阻R1和R2。在实际应用中,采样电阻R1和R2也可以设置在电量计30内。In some embodiments, fuel gauge 30 is also used to measure the current through (input or output) battery 1a and the current through (input or output)
在一种实现方式中,如图26所示,芯片31和芯片32都包括引脚Pici1和引脚Pici2。芯片31的引脚Pici1和Pici2分别连接电量计30的引脚Pi1、Pi2;芯片31通过引脚Pici1和Pici2采集R1两端的电压值,并通过R1两端的电压值与R1的阻值获取经过电池1a的电流。芯片32的引脚Pici1和Pici2分别连接电量计30的引脚Pi3、Pi4;芯片32通过引脚Pici1和Pici2采集R2两端的电压值,并通过R2两端的电压值与R2的阻值获取经过电池1b的电流。In an implementation manner, as shown in FIG. 26 , both the chip 31 and the chip 32 include a pin Pici1 and a pin Pici2. The pins Pici1 and Pici2 of the chip 31 are respectively connected to the pins Pi1 and Pi2 of the fuel gauge 30; the chip 31 collects the voltage value at both ends of R1 through the pins Pici1 and Pici2, and obtains the voltage value at both ends of R1 and the resistance value of R1 through the battery. 1a current. The pins Pici1 and Pici2 of the chip 32 are respectively connected to the pins Pi3 and Pi4 of the fuel gauge 30; the chip 32 collects the voltage value at both ends of R2 through the pins Pici1 and Pici2, and obtains the voltage value at both ends of R2 and the resistance value of R2 through the battery. 1b current.
可选的,在一种示例中,电量计30的引脚Pdata和引脚Pcl连接电子设备10的集成电路总线,通过IIC通信协议向控制器15上报电池1a的电流和电池1b的电流。示例性的,电量计30为图6中采样电路16,引脚Pdata和引脚Pcl为采样电路16的通信端,电量计30可以用于实时采集电池11的充电电流Ibat1的值,并向SoC上报。或者,电量计30为图10中采样电路1f,引脚Pdata和引脚Pcl为采样电路1f的通信端,电量计30可以用于实时采集电池1a的充电电流Ibat1的值,并向SoC上报。Optionally, in an example, the pin Pdata and the pin Pcl of the fuel gauge 30 are connected to the integrated circuit bus of the
在一些实施例中,电量计30还用于测量电池1a的温度以及电池1b的温度。示例性的,如图27所示,芯片31和芯片32都包括引脚Pt1和引脚Pt2,电量计30还包括电阻R3、R4、R5和R6;R3一端接地(比如耦合至芯片31的引脚Pdata),另一端连接芯片31的引脚Pt2;R4一端连接至R3连接芯片31的引脚Pt2的一端,另一端连接芯片31的引脚Pt1;R5一端连接电池1b负极(近似认为接地),另一端连接芯片32的引脚Pt2;R6一端连接至R5连接芯片32的引脚Pt2的一端,另一端连接芯片32的引脚Pt1。其中,R3和R5是热敏电阻,比如NTC(负温度系数,negative temperature coefficient),R3设置在靠近电池1a的位置(比如,电池1a的电池包内),R5设置在靠近电池1b的位置(比如,电池1b的电池包内);这样,R3和R5可以随着电池温度的改变而改变阻值。In some embodiments, fuel gauge 30 is also used to measure the temperature of battery 1a as well as the temperature of
芯片31的引脚Pt1和引脚Pt2分别采集电阻R4两端的电压值,获取电阻R4两端的电压差;电阻R3一端接地,电压值为0V,芯片31的引脚Pt2采集电阻R3另一端的电压值,获取电阻R3两端的电压差;参考图27,R3的阻值/ R4的阻值=R3两端的电压差/R4两端的电压差,这样,根据引脚Pt1和引脚Pt2采集到的电压值以及电阻R4的阻值,可以获取到R3当前的阻值。R3是热敏电阻,可以根据R3当前的阻值获取R3的温度值,即获取电池1a的温度值。同理,芯片32的引脚Pt1和引脚Pt2分别采集电阻R6两端的电压值,获取电阻R6两端的电压差;电阻R5一端接地(R2两端电压差很小,忽略不计),电压值为0V,芯片32的引脚Pt2采集电阻R5另一端的电压值,获取电阻R5两端的电压差;这样,根据引脚Pt1和引脚Pt2采集到的电压值以及电阻R6的阻值,可以获取到R5当前的阻值,并根据R5当前的阻值获取R5的温度值,即获取电池1b的温度值。The pins Pt1 and Pt2 of the chip 31 collect the voltage values across the resistor R4 respectively to obtain the voltage difference across the resistor R4; one end of the resistor R3 is grounded, and the voltage value is 0V, and the pin Pt2 of the chip 31 collects the voltage at the other end of the resistor R3 value, obtain the voltage difference across the resistor R3; refer to Figure 27, the resistance value of R3 / the resistance value of R4 = the voltage difference across R3 / the voltage difference across R4, in this way, according to the voltage collected from pin Pt1 and pin Pt2 value and the resistance value of resistor R4, the current resistance value of R3 can be obtained. R3 is a thermistor, and the temperature value of R3 can be obtained according to the current resistance value of R3, that is, the temperature value of the battery 1a can be obtained. In the same way, the pins Pt1 and Pt2 of the chip 32 respectively collect the voltage values across the resistor R6 to obtain the voltage difference across the resistor R6; one end of the resistor R5 is grounded (the voltage difference across R2 is very small and can be ignored), and the voltage value is 0V, the pin Pt2 of the chip 32 collects the voltage value at the other end of the resistor R5, and obtains the voltage difference between the two ends of the resistor R5; in this way, according to the voltage value collected by the pin Pt1 and the pin Pt2 and the resistance value of the resistor R6, it can be obtained The current resistance value of R5, and the temperature value of R5 is obtained according to the current resistance value of R5, that is, the temperature value of the
可选的,在一种示例中,电量计30的引脚Pdata和引脚Pcl连接电子设备10的集成电路总线,通过IIC通信协议向控制器15上报电池1a的温度值和电池1b的温度值。Optionally, in an example, the pin Pdata and the pin Pcl of the fuel gauge 30 are connected to the integrated circuit bus of the
在一种示例中,芯片31和芯片32为相同的电源管理芯片,比如电量计。In one example, chip 31 and chip 32 are the same power management chip, such as a fuel gauge.
进一步的,可以根据电池1a的电压、电流以及温度值计算电池1a的电量;可以根据电池1b的电压、电流以及温度值计算电池1b的电量。Further, the power of the battery 1a can be calculated according to the voltage, current and temperature values of the battery 1a; the power of the
常见的计算电池电量(或荷电状态)的方法有开路电压法(OCV)和库仑计量法。Common methods for calculating battery capacity (or state of charge) are open circuit voltage (OCV) and coulometric methods.
开路电压法计算电池剩余电量,一般是通过电池的开路电压与荷电状态的对应关系查表得到。开路电压是指电池空闲状态(既不充电也不放电)约超过半个小时的电池电压。电池电压=OCV-IR,I为电池电流,R为电池内阻。通过电量计获取到电池的电压和电流,即可通过预设的开路电压与荷电状态的对应关系表,获得电池电量。但是,I和R越大,电池电压和开路电压OCV之间的差值就越大,估算得到的电池电荷状态和电池电量的误差也越大。也就是说电池内阻和负载电流都会影响测量精度,且电池内阻随着上述几个因素的影响离散型较大。电池在不同的负载、温度以及老化状态下,电池开路电压与荷电状态的对应关系也会发生变化。因此,在实际应用中,通常还会根据电池的实际负载、当前电流值以及温度值,修正电池电压以及电池开路电压与荷电状态的对应关系;以获得更准确的电池电量(或荷电状态)。具体实现方法可参考现有技术中常规做法,本申请实施例对此并不进行限定。The open-circuit voltage method is used to calculate the remaining capacity of the battery, which is generally obtained by looking up the corresponding relationship between the open-circuit voltage and the state of charge of the battery. Open circuit voltage is the battery voltage at which the battery is idle (neither charging nor discharging) for approximately half an hour. Battery voltage=OCV-IR, I is battery current, R is battery internal resistance. The voltage and current of the battery can be obtained through the fuel gauge, and the battery power can be obtained through the preset correspondence table between the open-circuit voltage and the state of charge. However, the larger I and R, the larger the difference between the battery voltage and the open circuit voltage OCV, and the larger the error in the estimated battery state of charge and battery capacity. That is to say, both the internal resistance of the battery and the load current will affect the measurement accuracy, and the internal resistance of the battery is more discrete with the influence of the above factors. Under different loads, temperatures and aging states of the battery, the corresponding relationship between the battery open circuit voltage and the state of charge will also change. Therefore, in practical applications, the battery voltage and the corresponding relationship between the battery open circuit voltage and the state of charge are usually corrected according to the actual load, current current value and temperature value of the battery to obtain a more accurate battery power (or state of charge). ). For a specific implementation method, reference may be made to conventional practices in the prior art, which are not limited in the embodiments of the present application.
库仑计量法,也称为安时积分法,一般是测量电池正在充电或者放电的电流值,然后将该充电电流值或放电电流值针对时间(RTC)作积分,从而得出充电或者放电多少库伦。该方法能够精确计算出电池充电或者放电的实时荷电状态。根据之前剩余电池容量来计算出当前的剩余的电量RM以及完全充电容量FCC。从而利用剩余容量RM以及完全充电容量FCC来计算出荷电状态,即荷电状态=RM/FCC。此外其也能预估剩余时间,例如电力耗竭(TTE)和电力充满(TTF)的时间。The coulomb measurement method, also known as the ampere-hour integration method, generally measures the current value of the battery being charged or discharged, and then integrates the charge current value or discharge current value against time (RTC) to obtain the number of coulombs charged or discharged. . This method can accurately calculate the real-time state of charge of the battery charging or discharging. The current remaining power RM and the full charging capacity FCC are calculated according to the previous remaining battery capacity. Therefore, the state of charge is calculated by using the remaining capacity RM and the full charge capacity FCC, that is, the state of charge=RM/FCC. In addition, it can also estimate the remaining time, such as time to exhaust (TTE) and time to full (TTF).
以放电过程为例,库仑计量法的测量思想是先得到电池的满充电最大容量,然后将放电过程中的放电电流对时间进行积分,得到放电容量,满充容量减去放电容量就能得到剩余容量。Taking the discharge process as an example, the measurement idea of the coulomb measurement method is to first obtain the maximum capacity of the battery at full charge, and then integrate the discharge current during the discharge process with time to obtain the discharge capacity. capacity.
但是该方法需要完整的放电周期,以学习确定电池的最大容量。理论上是在电池完全放电时更新,但是实际应用中由于需要执行关机等一些操作,需要为此预留一些电池容量。因此,更新通常是在电池电量还剩余3%~7%时进行。以7%为例,此时意味着电池已经放掉了93%的容量,同时将放电电流对时间进行积分可以得到放掉的容量mAh,除以93%就得到了电池的满充容量。But this method requires a full discharge cycle to learn to determine the maximum capacity of the battery. Theoretically, it is updated when the battery is fully discharged, but in practical applications, some battery capacity needs to be reserved due to the need to perform some operations such as shutdown. Therefore, the update is usually performed when the battery has 3% to 7% remaining. Taking 7% as an example, it means that the battery has discharged 93% of its capacity. At the same time, integrating the discharge current with time can obtain the discharged capacity mAh, and dividing it by 93% can obtain the full charge capacity of the battery.
因此,确定满充容量的关键点就是如何确定电池电荷状态已经达到了7%。一般是通过电池电压确定,而电池电压又和当时的电流、温度、阻抗等因素相关,我们可将该电压定义为终止放电电压EDV,EDV=OCV-IR。一般在温度、电流恒定,且电池内阻相差不大的情况下,EDV也基本恒定。但是实际应用中,负载电流、温度等均可能发生变化,那么电荷状态为7%时的EDV也就不同了,所以需要根据电池的负载电流、温度等进行补偿。Therefore, the key point in determining the full charge capacity is how to determine that the battery state of charge has reached 7%. It is generally determined by the battery voltage, and the battery voltage is related to the current, temperature, impedance and other factors at that time. We can define this voltage as the termination discharge voltage EDV, EDV=OCV-IR. Generally, when the temperature and current are constant, and the internal resistance of the battery is not much different, the EDV is basically constant. However, in practical applications, the load current, temperature, etc. may change, so the EDV when the state of charge is 7% is different, so it is necessary to compensate according to the load current and temperature of the battery.
另外,利用库伦计量法计算电量也有可能存在偏差。In addition, there may be deviations in the calculation of the amount of electricity using the coulomb measurement method.
利用库伦计量法造成准确度偏差的原因主要有:The main reasons for the accuracy deviation caused by using the Coulomb measurement method are as follows:
第一个就是电流监测以及ADC测量(电量计通过引脚采集电流)中的偏差的积累。任何精度的ADC都有精确度的问题,长时间运行之下会造成这种误差的积累,如果一直没有消除,会造成很大的偏差。为了消除该积累误差,在正常的电池操作中有3个可能的时间点:充电结束(EOC),放电结束(EOD)和休息(RELAX)。充电结束是指电池已经充满并且电池的荷电状态为100%。放电结束表示电池已经完全放电,并且电池的荷电状态是0%。充电结束状态和放电结束状态,一般可以使用电池的电压以及电流来表示。例如,满足充电结束状态的条件一般是电池电压大于某一值且当前的充电电流小于截止电流。而达到休息状态是指近似没有充电和没有放电,也叫轻载状态;一般保持这种状态超过半个小时,此时的电池电压也就和电池的开路电压近似。The first is the accumulation of bias in current monitoring and ADC measurements (the fuel gauge picks up the current through the pins). Any precision ADC has the problem of accuracy, which will cause the accumulation of this error under long-term operation. If it has not been eliminated, it will cause a large deviation. To eliminate this accumulated error, there are 3 possible time points in normal battery operation: end of charge (EOC), end of discharge (EOD) and rest (RELAX). End of charge means that the battery is fully charged and the battery's state of charge is 100%. The end of discharge indicates that the battery is fully discharged and the state of charge of the battery is 0%. The charging end state and the discharging end state can generally be represented by the voltage and current of the battery. For example, the conditions for satisfying the charging end state are generally that the battery voltage is greater than a certain value and the current charging current is less than the cut-off current. Reaching the rest state means that there is no charge and no discharge, which is also called the light load state; generally, if this state is maintained for more than half an hour, the battery voltage at this time is similar to the open circuit voltage of the battery.
第二个原因是电池的满电电量所造成的误差,它主要是电池设计的容量值与电池真正的电池容量的差异。并且满电电量也会受到电池温度,老化以及负载等因素的影响,需要根据电池的负载电流、温度等进行补偿。The second reason is the error caused by the full charge of the battery, which is mainly the difference between the designed capacity value of the battery and the real battery capacity of the battery. And the full power is also affected by factors such as battery temperature, aging and load, and needs to be compensated according to the load current and temperature of the battery.
此外,还可以通过动态电压法、阻抗跟踪法等方法进行电量计算。实际应用中,可以采取常规技术中能够获取到的方法计算出电池电量。总而言之,要准确计算电池的电量,需要准确获取电池的电压、电流和温度值。In addition, the power calculation can also be performed by methods such as dynamic voltage method and impedance tracking method. In practical applications, the battery power can be calculated using methods that can be obtained in conventional technologies. All in all, to accurately calculate the power of the battery, it is necessary to accurately obtain the voltage, current and temperature values of the battery.
本申请实施例提供的电量计,既能用于在两个电池串联充电时,准确测量两个电池的电压值、电流值和温度值;还能用于在两个电池并联放电时,准确测量两个电池的电压值、电流值和温度值。不管电路切换为两个电池串联充电,还是切换为两个电池并联放电,都能准确获取两个电池的实时电量;不需要改变电量计与电池的连接关系,也不需要借助其他辅助手段。并且,本申请实施例提供的电量计,可以复用现有的电量计(芯片31和芯片32)进行改造,实现简单,成本较低。The fuel gauge provided by the embodiment of the present application can not only be used to accurately measure the voltage value, current value and temperature value of the two batteries when the two batteries are charged in series; it can also be used to accurately measure the voltage value, the current value and the temperature value of the two batteries when the two batteries are discharged in parallel. The voltage value, current value and temperature value of the two batteries. Regardless of whether the circuit is switched to charging two batteries in series or switching to discharging two batteries in parallel, the real-time power of the two batteries can be accurately obtained; there is no need to change the connection between the fuel gauge and the battery, or to use other auxiliary means. In addition, the electricity meter provided by the embodiment of the present application can reuse the existing electricity meter (chip 31 and chip 32 ) for modification, which is simple in implementation and low in cost.
需要说明的是,电量计30还可以包括更多引脚,比如中断引脚(int)等,可以采用本领域技术人员能够获取到的常规方式实现更多引脚,本申请实施例对此不作限定。It should be noted that the fuel gauge 30 may also include more pins, such as an interrupt pin (int), etc., and more pins may be implemented in a conventional manner that can be obtained by those skilled in the art, which is not made in this embodiment of the present application. limited.
示例性的,图28为使用电量计30测量图13所示电路中电池组的电量时一种连接关系示意图。如图28所示,第一开关1g的第一受控端1g1与电池1a的正极以及电量计30的引脚Pv1(差分放大器33的正输入端)耦合在一起;电池1a的负极与电量计30的引脚Pv2(差分放大器33的负输入端)以及电量计30的引脚Pi1(芯片31的引脚Pici1)耦合在一起;电量计30的引脚Pi2(芯片31的引脚Pici2)与第二开关1h的第一受控端1h1耦合;电阻R1连接在第二开关1h的第一受控端1h1与电池1a的负极之间。Exemplarily, FIG. 28 is a schematic diagram of a connection relationship when the fuel gauge 30 is used to measure the power of the battery pack in the circuit shown in FIG. 13 . As shown in FIG. 28 , the first controlled terminal 1g1 of the first switch 1g is coupled to the positive electrode of the battery 1a and the pin Pv1 of the fuel gauge 30 (positive input end of the differential amplifier 33 ); the negative electrode of the battery 1a is coupled to the fuel gauge 30 The pin Pv2 of 30 (the negative input of the differential amplifier 33) and the pin Pi1 of the fuel gauge 30 (the pin Pici1 of the chip 31) are coupled together; the pin Pi2 of the fuel gauge 30 (the pin Pici2 of the chip 31) is coupled with the The first controlled end 1h1 of the
第一开关1g的第二受控端1g2与第二开关1h的第二受控端1h2以及电池1b的正极以及电量计30的引脚Pv3(芯片32的引脚Picv)耦合在一起;电池1b的负极与电量计30的引脚Pi3(芯片32的引脚Pici1)耦合;第二开关1h的第三受控端1h3与电量计30的引脚Pi4(芯片32的引脚Pici2)以及电量计30的引脚Pgnd耦合并接地;电阻R2连接在电池1b的负极与接地点之间。The second controlled terminal 1g2 of the first switch 1g is coupled with the second controlled terminal 1h2 of the
当第一开关1g关断,第二开关1h的第一受控端1h1与第二受控端1h2之间导通,第一受控端1h1与第三受控端1h3之间关断;这样,电池1a和电池1b串联。When the first switch 1g is turned off, the first controlled end 1h1 and the second controlled end 1h2 of the
当第一开关1g导通,第二开关1h的第一受控端1h1与第二受控端1h2之间关断,第一受控端1h1与第三受控端1h3之间导通;这样,电池1a和电池1b并联。When the first switch 1g is turned on, the first controlled end 1h1 and the second controlled end 1h2 of the
电量计30既可以用于测量电池1a和电池1b串联时,电池1a和电池1b的电量;还可以用于测量电池1a和电池1b并联时,电池1a和电池1b的电量。The fuel gauge 30 can be used to measure the power of the battery 1a and the
如图29所示,本申请实施例还提供一种芯片系统。该芯片系统40包括至少一个处理器401和至少一个接口电路402。至少一个处理器401和至少一个接口电路402可通过线路互联。处理器401用于支持电子设备实现上述方法实施例中的各个功能或者步骤,至少一个接口电路402可用于从其它装置(例如存储器)接收信号,或者,向其它装置(例如通信接口)发送信号。该芯片系统可以包括芯片,还可以包括其他分立器件。As shown in FIG. 29 , an embodiment of the present application further provides a chip system. The
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质包括指令,当指令在上述电子设备上运行时,使得该电子设备执行上述方法实施例中各个功能或者步骤,例如执行图8、图11或图21所示的方法。Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium includes instructions, when the instructions are executed on the electronic device, the electronic device is made to perform each function or step in the foregoing method embodiments, such as executing The method shown in FIG. 8 , FIG. 11 or FIG. 21 .
本申请实施例还提供一种包括指令的计算机程序产品,当指令在上述电子设备上运行时,使得该电子设备执行上述方法实施例中各个功能或者步骤,例如执行图8、图11或图21所示的方法。The embodiments of the present application further provide a computer program product including instructions, when the instructions are executed on the above electronic device, the electronic device is made to perform each function or step in the above method embodiment, for example, execute FIG. 8 , FIG. 11 or FIG. 21 method shown.
关于芯片系统、计算机可读存储介质、计算机程序产品的技术效果参照前面方法实施例的技术效果。Regarding the technical effects of the chip system, the computer-readable storage medium, and the computer program product, refer to the technical effects of the foregoing method embodiments.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的模块及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and modules may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个设备,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined or May be integrated into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个设备,或者也可以分布到多个设备上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical modules, that is, may be located in one device, or may be distributed to multiple devices. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能模块可以集成在一个设备中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个设备中。In addition, each functional module in each embodiment of the present application may be integrated in one device, or each module may exist physically alone, or two or more modules may be integrated in one device.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, optical fiber, digital subscriber line, DSL) or wireless (eg infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or data storage devices including one or more servers, data centers, etc. that can be integrated with the medium. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210790128.7A CN114844182B (en) | 2022-07-06 | 2022-07-06 | Charging circuit, charging method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210790128.7A CN114844182B (en) | 2022-07-06 | 2022-07-06 | Charging circuit, charging method and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114844182A true CN114844182A (en) | 2022-08-02 |
CN114844182B CN114844182B (en) | 2022-12-09 |
Family
ID=82575291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210790128.7A Active CN114844182B (en) | 2022-07-06 | 2022-07-06 | Charging circuit, charging method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114844182B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115986889A (en) * | 2023-02-21 | 2023-04-18 | 维沃移动通信有限公司 | Power management circuits and electronics |
CN117233684A (en) * | 2023-11-14 | 2023-12-15 | 荣耀终端有限公司 | Calibration circuit, electronic device and method |
WO2024007687A1 (en) * | 2022-07-06 | 2024-01-11 | 荣耀终端有限公司 | Multi-battery power supply, charging/discharging method, and electronic device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1199016A (en) * | 1966-06-17 | 1970-07-15 | Ipa Internat Patent Und Lizenz | Voltage Testing Arrangement |
JPH0837735A (en) * | 1994-07-26 | 1996-02-06 | Oki Electric Ind Co Ltd | Device for charging battery pack of portable telephone set |
US20080174263A1 (en) * | 2007-01-22 | 2008-07-24 | Snap-On Incorporated | Battery charger for different capacity cells |
CN103439662A (en) * | 2013-08-16 | 2013-12-11 | 崧顺电子(深圳)有限公司 | Low-cost battery electricity quantity detection circuit |
CN104505920A (en) * | 2015-01-16 | 2015-04-08 | 陈林 | Incremental equalizing charge battery pack charging device |
CN104852411A (en) * | 2014-02-18 | 2015-08-19 | 宝星电器(上海)有限公司 | Cascade storage battery charge/discharge balancing system |
CN108702020A (en) * | 2016-01-04 | 2018-10-23 | 康尼克斯公司 | Portable unmanned machine battery charging system |
CN211320982U (en) * | 2020-02-14 | 2020-08-21 | 北京小米移动软件有限公司 | Charge and discharge circuit and electronic equipment |
CN111864843A (en) * | 2020-07-27 | 2020-10-30 | Oppo广东移动通信有限公司 | Dual battery charging device and mobile terminal |
CN113454871A (en) * | 2019-02-19 | 2021-09-28 | 三星电子株式会社 | Method of controlling charging of a plurality of batteries and electronic device using the same |
CN114336857A (en) * | 2021-12-30 | 2022-04-12 | 深圳市沃特沃德信息有限公司 | Conversion circuit for series charging and parallel power supply |
-
2022
- 2022-07-06 CN CN202210790128.7A patent/CN114844182B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1199016A (en) * | 1966-06-17 | 1970-07-15 | Ipa Internat Patent Und Lizenz | Voltage Testing Arrangement |
JPH0837735A (en) * | 1994-07-26 | 1996-02-06 | Oki Electric Ind Co Ltd | Device for charging battery pack of portable telephone set |
US20080174263A1 (en) * | 2007-01-22 | 2008-07-24 | Snap-On Incorporated | Battery charger for different capacity cells |
CN103439662A (en) * | 2013-08-16 | 2013-12-11 | 崧顺电子(深圳)有限公司 | Low-cost battery electricity quantity detection circuit |
CN104852411A (en) * | 2014-02-18 | 2015-08-19 | 宝星电器(上海)有限公司 | Cascade storage battery charge/discharge balancing system |
CN104505920A (en) * | 2015-01-16 | 2015-04-08 | 陈林 | Incremental equalizing charge battery pack charging device |
CN108702020A (en) * | 2016-01-04 | 2018-10-23 | 康尼克斯公司 | Portable unmanned machine battery charging system |
CN113454871A (en) * | 2019-02-19 | 2021-09-28 | 三星电子株式会社 | Method of controlling charging of a plurality of batteries and electronic device using the same |
CN211320982U (en) * | 2020-02-14 | 2020-08-21 | 北京小米移动软件有限公司 | Charge and discharge circuit and electronic equipment |
CN111864843A (en) * | 2020-07-27 | 2020-10-30 | Oppo广东移动通信有限公司 | Dual battery charging device and mobile terminal |
CN114336857A (en) * | 2021-12-30 | 2022-04-12 | 深圳市沃特沃德信息有限公司 | Conversion circuit for series charging and parallel power supply |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024007687A1 (en) * | 2022-07-06 | 2024-01-11 | 荣耀终端有限公司 | Multi-battery power supply, charging/discharging method, and electronic device |
CN115986889A (en) * | 2023-02-21 | 2023-04-18 | 维沃移动通信有限公司 | Power management circuits and electronics |
CN117233684A (en) * | 2023-11-14 | 2023-12-15 | 荣耀终端有限公司 | Calibration circuit, electronic device and method |
CN117233684B (en) * | 2023-11-14 | 2024-04-12 | 荣耀终端有限公司 | Calibration circuit, electronic device and method |
Also Published As
Publication number | Publication date |
---|---|
CN114844182B (en) | 2022-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114859258B (en) | Electricity meter and electronic equipment applied to multiple batteries | |
CN114865755B (en) | Multi-battery power supply, charging and discharging method and electronic equipment | |
CN114844182B (en) | Charging circuit, charging method and electronic device | |
CN114174844B (en) | Charging control method and device, charging test method and system and electronic equipment | |
CN110829523B (en) | Electronic equipment and reverse charging method | |
US9979220B2 (en) | Electronic device and method for controlling charging of the same | |
CN110085934A (en) | A charging method for a terminal battery and a mobile terminal | |
CN110635186B (en) | A charging method and electronic device | |
CN112671071B (en) | Charging control method, charging control device, storage medium and electronic equipment | |
CN108964182A (en) | The adjusting method and device of reverse charging equipment, reverse charging electric current | |
CN113725937B (en) | A battery charging method and electronic device | |
CN113009995B (en) | Power supply device and power supply method | |
CN112018831B (en) | A charging control method, charging control device and electronic equipment | |
CN106655398A (en) | Charging control method, device and terminal | |
CN112421702B (en) | Lithium battery charging method and device | |
CN112769201B (en) | Charging method, charging device, electronic device and readable storage medium | |
CN113013934A (en) | Electronic equipment, electronic device and charging method | |
CN112636399B (en) | Charging method and device, terminal equipment and storage medium | |
CN112910054B (en) | Charging circuit, charging device, electronic device and charging control method | |
WO2025016175A1 (en) | Electronic device, charging circuit, charging control method, and chip | |
CN113451669B (en) | Charging method and device, electronic equipment and storage medium | |
WO2024217131A1 (en) | Charging control method, charging apparatus and charging system | |
CN112838626A (en) | Electronic device and charging method thereof, readable storage medium | |
WO2023077962A1 (en) | Charging control method and apparatus, and chip, terminal and readable storage medium | |
CN116742106B (en) | A battery module, a charging control method and an electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Terminal Co.,Ltd. Country or region after: China Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before: Honor Device Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |