[go: up one dir, main page]

CN108988421A - A kind of charging method of battery, charging circuit and terminal - Google Patents

A kind of charging method of battery, charging circuit and terminal Download PDF

Info

Publication number
CN108988421A
CN108988421A CN201810772068.XA CN201810772068A CN108988421A CN 108988421 A CN108988421 A CN 108988421A CN 201810772068 A CN201810772068 A CN 201810772068A CN 108988421 A CN108988421 A CN 108988421A
Authority
CN
China
Prior art keywords
battery
information
charging
terminal
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810772068.XA
Other languages
Chinese (zh)
Other versions
CN108988421B (en
Inventor
李达寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810772068.XA priority Critical patent/CN108988421B/en
Publication of CN108988421A publication Critical patent/CN108988421A/en
Application granted granted Critical
Publication of CN108988421B publication Critical patent/CN108988421B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention provides a kind of charging method of battery, charging circuit and terminals, the terminal includes at least two batteries, the battery includes the first battery and the second battery, the described method includes: detecting the second battery information of second battery in first battery and the second battery serial connection charge;The first battery information of anticipation of first battery is determined according to second battery information;When the first battery information of the anticipation meets preset condition, the first battery information of first battery is detected;Determine whether equilibrium is equalized judgement result for first battery and second battery according to first battery information and second battery information;Charging scheme is determined according to the balanced judgement result, and is charged using the charging scheme to the battery.Using the embodiment of the present invention, the safety for selecting suitable charging scheme to guarantee internal circuit configuration still is able in battery serial connection charge.

Description

一种电池的充电方法、充电电路以及终端Battery charging method, charging circuit and terminal

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种电池的充电方法、充电电路以及终端。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a battery charging method, a charging circuit, and a terminal.

背景技术Background technique

随着电源行业的发展,多个电池组合使用的情况变得更加常见,电池混用需要解决电池均衡问题,这就需要获取到电池信息,也正是如此,电池的信息检测模块和控制运算模块的通信,以及,电池检测模块间的通信越来越复杂。With the development of the power supply industry, it is more common to use multiple batteries in combination. The mixed use of batteries needs to solve the problem of battery balancing, which requires the acquisition of battery information. Communication, and communication between battery detection modules is becoming more and more complex.

目前相关的技术方案都基于同一个“地”,当电池串联使用的情况下,模块间的通信电平不同地问题,无法通信。当电池并联使用的情况下,单纯的电平转换也不满足混用的要求。导致多个电池的信息无法被终端精确获取,电池的均衡无法精确处理。至今尚未发现在电池混用的情况下,电池信息被精准测量的方案。The current related technical solutions are all based on the same "ground". When the batteries are used in series, the communication levels between the modules are different, and communication cannot be performed. When batteries are used in parallel, simple level conversion does not meet the requirements of mixed use. As a result, the information of multiple batteries cannot be accurately obtained by the terminal, and the balance of batteries cannot be accurately processed. So far, no solution has been found to accurately measure battery information in the case of mixed batteries.

发明内容Contents of the invention

本发明实施例提供一种电池的充电方法,以解决在存在多个电池时,如何准确测量电池信息以选择合适的充电方案的问题。An embodiment of the present invention provides a battery charging method to solve the problem of how to accurately measure battery information to select a suitable charging scheme when there are multiple batteries.

为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,本发明实施例提供了一种电池的充电方法,应用于终端,所述终端包括至少两个电池,所述电池包括第一电池和第二电池,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for charging a battery, which is applied to a terminal. The terminal includes at least two batteries, and the batteries include a first battery and a second battery. The method includes:

在所述第一电池和所述第二电池串联充电时,检测所述第二电池的第二电池信息;Detecting second battery information of the second battery when the first battery and the second battery are being charged in series;

根据所述第二电池信息确定所述第一电池的预判第一电池信息;determining the predicted first battery information of the first battery according to the second battery information;

当所述预判第一电池信息满足预设条件时,检测所述第一电池的第一电池信息;When the predicted first battery information meets a preset condition, detecting the first battery information of the first battery;

根据所述第一电池信息和所述第二电池信息确定所述第一电池和所述第二电池是否均衡得到均衡判定结果;Determine whether the first battery and the second battery are balanced according to the first battery information and the second battery information to obtain a balanced judgment result;

根据所述均衡判定结果确定充电方案,并采用所述充电方案对所述电池进行充电。A charging scheme is determined according to the balance determination result, and the battery is charged using the charging scheme.

第二方面,本发明实施例还提供了一种充电电路,应用于终端,所述充电电路包括:In the second aspect, the embodiment of the present invention also provides a charging circuit, which is applied to a terminal, and the charging circuit includes:

输入接口、接地端、运算控制单元和系统;Input interface, ground terminal, operation control unit and system;

至少两个电池,所述电池包括第一电池和第二电池,所述第一电池具有对应的第一电量检测模块,所述第二电池具有对应的第二电量检测模块;所述第一电池与输入接口、第一电量检测模块、系统、接地端和第二电池连接,所述第二电池与第二电量检测模块和接地端连接,所述第一电量检测模块和第二电量检测模块与所述运算控制单元连接,所述系统与接地端连接;At least two batteries, the battery includes a first battery and a second battery, the first battery has a corresponding first power detection module, and the second battery has a corresponding second power detection module; the first battery It is connected with the input interface, the first power detection module, the system, the ground terminal and the second battery, the second battery is connected with the second power detection module and the ground terminal, and the first power detection module and the second power detection module are connected with the The operation control unit is connected, and the system is connected to the ground terminal;

多个开关,所述多个开关设置于所述输入接口、接地端、第一电池、第二电池、第一电量检测模块、运算控制单元和系统之间;A plurality of switches, the plurality of switches are arranged between the input interface, the ground terminal, the first battery, the second battery, the first power detection module, the operation control unit and the system;

当确定充电方案时,通过所述多个开关控制所述第一电池和所述第二电池按照所述充电方案进行电池充电。When the charging scheme is determined, the first battery and the second battery are controlled by the plurality of switches to perform battery charging according to the charging scheme.

第三方面,本发明实施例提供了一种终端,所述终端包括至少两个电池,所述电池包括第一电池和第二电池,所述终端包括:In a third aspect, an embodiment of the present invention provides a terminal, the terminal includes at least two batteries, the batteries include a first battery and a second battery, and the terminal includes:

第二电池信息检测模块,用于在所述第一电池和所述第二电池串联充电时,检测所述第二电池的第二电池信息;A second battery information detection module, configured to detect second battery information of the second battery when the first battery and the second battery are charged in series;

预判第一电池信息确定模块,用于根据所述第二电池信息确定所述第一电池的预判第一电池信息;A predictive first battery information determination module, configured to determine the predictive first battery information of the first battery according to the second battery information;

第一电池信息检测模块,用于当所述预判第一电池信息满足预设条件时,检测所述第一电池的第一电池信息;A first battery information detection module, configured to detect the first battery information of the first battery when the predicted first battery information meets a preset condition;

均衡判定结果得到模块,用于根据所述第一电池信息和所述第二电池信息确定所述第一电池和所述第二电池是否均衡得到均衡判定结果;A balance determination result obtaining module, configured to determine whether the first battery and the second battery are balanced to obtain a balance determination result according to the first battery information and the second battery information;

第一电池充电模块,用于根据所述均衡判定结果确定充电方案,并采用所述充电方案对所述电池进行充电。The first battery charging module is configured to determine a charging scheme according to the balance determination result, and use the charging scheme to charge the battery.

第四方面,本发明实施例提供了一种终端,所述终端具有如上述的充电电路。In a fourth aspect, an embodiment of the present invention provides a terminal, where the terminal has the above-mentioned charging circuit.

在本发明实施例中,在终端的第一电池和第二电池串联充电时,可以检测第二电池的第二电池信息,然后根据第二电池信息得到第一电池的预判第一电池信息,当预判第一电池信息满足预设条件时,将获取第一电池的第一电池信息,再通过比对第一电池信息和第二电池信息来确定两个电池是否均衡,根据均衡判定结果来选择合适的充电方案。应用本发明实施例,可以在电池串联充电时,通过计算的方式来计算出另一个电池的电量信息,从而能够根据计算出的电池的电量来选择合适的充电方案,这样在电池串联充电仍然能够选择合适充电方案来保证内部电路结构的安全。In the embodiment of the present invention, when the first battery and the second battery of the terminal are charged in series, the second battery information of the second battery can be detected, and then the predicted first battery information of the first battery can be obtained according to the second battery information, When the first battery information is predicted to meet the preset conditions, the first battery information of the first battery will be obtained, and then the first battery information and the second battery information will be compared to determine whether the two batteries are balanced, and the battery will be determined according to the balance judgment result. Choose an appropriate charging solution. Applying the embodiment of the present invention, when batteries are being charged in series, the power information of another battery can be calculated by means of calculation, so that an appropriate charging scheme can be selected according to the calculated power of the battery, so that charging of batteries in series can still Choose a suitable charging scheme to ensure the safety of the internal circuit structure.

附图说明Description of drawings

图1是本发明实施例的一种电池的充电方法实施例的步骤流程图;FIG. 1 is a flow chart of the steps of an embodiment of a battery charging method embodiment of the present invention;

图2是本发明实施例的一种电池的充电方法另一实施例的步骤流程图;FIG. 2 is a flow chart of steps in another embodiment of a battery charging method according to an embodiment of the present invention;

图3是本发明实施例的一种充电电路的结构示意图;3 is a schematic structural diagram of a charging circuit according to an embodiment of the present invention;

图4是本发明实施例的一种终端实施例的结构框图;FIG. 4 is a structural block diagram of a terminal embodiment of an embodiment of the present invention;

图5是本发明实施例的一种终端的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

参照图1,示出了本发明实施例的一种电池的充电方法实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 1 , it shows a flow chart of the steps of an embodiment of a battery charging method according to an embodiment of the present invention, which may specifically include the following steps:

步骤101,在所述第一电池和所述第二电池串联充电时,检测所述第二电池的第二电池信息。Step 101, when the first battery and the second battery are charged in series, detect second battery information of the second battery.

目前,终端中可以选用至少两个电池组合来进行混合充电,在发明实施例中,为了便于说明采用两个电池的组合来进行说明。这两个电池分别为第一电池和第二电池。At present, at least two battery combinations can be selected in the terminal for hybrid charging. In the embodiment of the invention, for the convenience of description, a combination of two batteries is used for illustration. The two batteries are respectively a first battery and a second battery.

第一电池具有对应的第一电量检测模块用于检测其第一电池信息,第二电池具有对应的第二电量检测模块用于检测其第二电池信息,第一电池和第二电池通过开关连接至电量检测模块,并且第一电池和第二电池的电量检测模块分别与运算控制单元连接,运算控制单元可以通过控制不同开关的导通和截止来控制第一电池和第一电量检测模块的通信电平,使之与运算控制单元的通信电平匹配或不匹配。The first battery has a corresponding first power detection module for detecting its first battery information, the second battery has a corresponding second power detection module for detecting its second battery information, and the first battery and the second battery are connected through a switch to the power detection module, and the power detection modules of the first battery and the second battery are respectively connected to the operation control unit, and the operation control unit can control the communication between the first battery and the first power detection module by controlling the on and off of different switches level to make it match or not match the communication level of the operation control unit.

电池信息包括电量信息。在本发明实施例中,第一电池和第二电池之间可以通过开关选择串联或者并联进行充电。其中,在电池串联充电时(通信电平不匹配),断开第一电量检测模块与运算控制单元之间的开关,第一电量检测模块自行获取第一电池的电量信息,第二电量检测模块则检测第二电池的电量信息,并将第二电量检测模块检测到的电量信息发送至运算控制单元。Battery information includes power information. In the embodiment of the present invention, the first battery and the second battery can be charged in series or in parallel through a switch. Wherein, when the batteries are charged in series (communication levels do not match), the switch between the first power detection module and the operation control unit is disconnected, the first power detection module obtains the power information of the first battery by itself, and the second power detection module The power information of the second battery is then detected, and the power information detected by the second power detection module is sent to the calculation control unit.

步骤102,根据所述第二电池信息确定所述第一电池的预判第一电池信息。Step 102: Determine the predicted first battery information of the first battery according to the second battery information.

在电池串联充电时,在同样的时间内,流过第一电池和第二电池的电量是成正比关系,因此运算控制单元可以通过第二电池的电量信息来确定第一电池的预判电池信息。When batteries are charged in series, in the same time period, the power flowing through the first battery and the second battery is proportional, so the calculation control unit can determine the predicted battery information of the first battery through the power information of the second battery .

步骤103,当所述预判第一电池信息满足预设条件时,检测所述第一电池的第一电池信息。Step 103, when the predicted first battery information satisfies a preset condition, detect the first battery information of the first battery.

在本发明实施例中,如果运算控制单元计算出的第一电池的预判电池信息达到预设条件时,就可以通过连接第一电量检测模块与运算控制单元之间的开关,将第一电量检测模块自行检测的电量信息发送至运算控制单元。In the embodiment of the present invention, if the predicted battery information of the first battery calculated by the operation control unit reaches the preset condition, the first battery can be connected The power information detected by the detection module is sent to the calculation control unit.

需要说明的是,预设条件可以根据实际需求进行设置,比如说,可以设置为第一电池充电至60%时,确定为满足预设条件,当然,也可以设置为充电至80%等其他数值作为条件,本发明实施例对此不加以限制。It should be noted that the preset conditions can be set according to actual needs. For example, it can be set that when the first battery is charged to 60%, it is determined to meet the preset conditions. Of course, it can also be set to other values such as charging to 80%. As a condition, the embodiment of the present invention does not impose any limitation on this.

步骤104,根据所述第一电池信息和所述第二电池信息判断所述第一电池和所述第二电池是否均衡,得到均衡判定结果。Step 104, judge whether the first battery and the second battery are balanced according to the first battery information and the second battery information, and obtain a balance judgment result.

当运算控制单元得到第一电池和第二电池的电量信息后,就可以比对两个电池信息确定这两个电池是否均衡,根据比对可以得到均衡判定结果。其中,电池均衡是指电池之间的电量之差在预设范围之内,从而保证每个单体电池在正常的使用时保持相同状态,以避免过充、过放的现象发生。After the calculation and control unit obtains the power information of the first battery and the second battery, it can compare the information of the two batteries to determine whether the two batteries are balanced, and obtain a balanced judgment result according to the comparison. Among them, battery balancing means that the power difference between batteries is within a preset range, so as to ensure that each single battery maintains the same state during normal use, so as to avoid overcharging and overdischarging.

步骤105,根据所述均衡判定结果确定充电方案,并采用所述充电方案对所述第一电池和所述第二电池进行充电。Step 105: Determine a charging scheme according to the balance determination result, and use the charging scheme to charge the first battery and the second battery.

在得到均衡判定结果后,可以根据均衡判定结果选择合适的充电方案继续对于电池进行充电。After obtaining the balance determination result, an appropriate charging scheme can be selected according to the balance determination result to continue charging the battery.

在本发明实施例中,在终端的第一电池和第二电池串联充电时,可以检测第二电池的第二电池信息,然后根据第二电池信息得到第一电池的预判第一电池信息,当预判第一电池信息满足预设条件时,将获取第一电池的第一电池信息,再通过比对第一电池信息和第二电池信息来确定两个电池是否均衡,根据均衡判定结果来选择合适的充电方案。应用本发明实施例,可以在电池串联充电时,通过计算的方式来计算出另一个电池的通过计算的方式来计算出另一个电池的电量信息,从而能够根据计算出的电池的电量来选择合适的充电方案,这样在电池串联充电仍然能够选择合适充电方案来保证内部电路结构的安全。In the embodiment of the present invention, when the first battery and the second battery of the terminal are charged in series, the second battery information of the second battery can be detected, and then the predicted first battery information of the first battery can be obtained according to the second battery information, When the first battery information is predicted to meet the preset conditions, the first battery information of the first battery will be obtained, and then the first battery information and the second battery information will be compared to determine whether the two batteries are balanced, and the battery will be determined according to the balance judgment result. Choose an appropriate charging solution. Applying the embodiment of the present invention, when batteries are being charged in series, the power information of another battery can be calculated by calculation, so that the appropriate power can be selected according to the calculated power of the battery. In this way, when the batteries are charged in series, the appropriate charging scheme can still be selected to ensure the safety of the internal circuit structure.

参照图2,示出了本发明实施例的另一种电池的充电方法实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 2 , it shows a flow chart of the steps of another battery charging method embodiment of the embodiment of the present invention, which may specifically include the following steps:

步骤201,在所述第一电池和所述第二电池并联充电时,检测所述第一电池的第一电池信息和所述第二电池的第二电池信息。Step 201, when the first battery and the second battery are charged in parallel, detect first battery information of the first battery and second battery information of the second battery.

在一种实施方式中,当终端进行充电,即在终端的输入接口接入输入电平时,此时终端的电池为并联充电,电量检测模块开始检测其对应电池的电池信息,并发送至运算控制单元。In one embodiment, when the terminal is charging, that is, when the input level is connected to the input interface of the terminal, the battery of the terminal is charged in parallel at this time, and the power detection module starts to detect the battery information of its corresponding battery and sends it to the calculation control unit.

步骤202,根据所述第一电池信息和所述第二电池信息确定所述第一电池和所述第二电池是否均衡。Step 202, determine whether the first battery and the second battery are balanced according to the first battery information and the second battery information.

运算控制单元在得到第一电池信息和第二电池信息后,将基于两个数据确定第一电池和第二电池是否均衡。After obtaining the first battery information and the second battery information, the calculation control unit will determine whether the first battery and the second battery are balanced based on the two data.

步骤203,若所述第一电池和所述第二电池均衡,则控制所述第一电池和所述第二电池串联充电。Step 203, if the first battery and the second battery are balanced, control the first battery and the second battery to be charged in series.

如果基于第一电池信息和第二电池信息确定两个电池均衡,则可以控制第一电池和第二电池进行串联充电。当然,还可以第一电池和第二电池进行控制或者并联充电。由于串联充电的速度较快,通常优选串联充电。If it is determined that the two batteries are balanced based on the first battery information and the second battery information, the first battery and the second battery may be controlled to be charged in series. Of course, the first battery and the second battery can also be controlled or charged in parallel. Because of the faster charging speed in series, series charging is usually preferred.

在本发明的一种优选实施例中,所述控制所述第一电池和所述第二电池串联充电或者并联充电可以包括如下子步骤:In a preferred embodiment of the present invention, the controlling the series charging or parallel charging of the first battery and the second battery may include the following sub-steps:

当所述第一电池和所述第二电池均衡且所述终端连接标准充电器时,控制所述第一电池和所述第二电池串联充电。When the first battery and the second battery are balanced and the terminal is connected to a standard charger, the first battery and the second battery are controlled to be charged in series.

在实际中,当电池均衡时可以选用串联充电或者并联充电均可。In practice, when batteries are balanced, either series charging or parallel charging can be selected.

优选地,在连接标配的充电器时,由于本发明实施例能够为快速充电提供可靠的信息用于充放电管理,此时可以选用串联充电的方式,从而能够进行快速的充电。而连接非标配的充电器时,此时可以选用并联充电的方式,以保证电池的安全。Preferably, when a standard charger is connected, since the embodiment of the present invention can provide reliable information for fast charging for charge and discharge management, a series charging method can be selected at this time, so that fast charging can be performed. When connecting a non-standard charger, you can choose parallel charging at this time to ensure the safety of the battery.

在本发明的一种优选实施例中,所述方法还可以包括如下步骤:In a preferred embodiment of the present invention, the method may also include the following steps:

若所述第一电池和所述第二电池不均衡,则根据所述第一电池信息和第二电池信息确定充电目标对象和充电对象;If the first battery and the second battery are unbalanced, then determine a charging target object and a charging object according to the first battery information and the second battery information;

根据所述充电目标对象,对所述充电对象进行单独充电。According to the charging target object, the charging object is individually charged.

如果基于第一电池信息和第二电池信息确定两个电池不均衡,则可以对于较低电量的电池进行单独充电,使得两个电池的电量维持在大致相同的状态下,以保证两个电池能够均衡。If it is determined that the two batteries are unbalanced based on the first battery information and the second battery information, the battery with a lower capacity can be charged separately so that the power of the two batteries is maintained at approximately the same state to ensure that the two batteries can balanced.

具体来说,所述第一电池信息包括第一电量信息,所述第二电池信息包括第二电量信息,所述根据所述第一电池信息和第二电池信息确定充电目标对象和充电对象可以包括如下步骤:Specifically, the first battery information includes first battery information, the second battery information includes second battery information, and determining the charging target object and the charging object according to the first battery information and the second battery information can be Including the following steps:

比对所述第一电量信息和所述第二电量信息;comparing the first power information with the second power information;

当所述第一电量信息大于所述第二电量信息时,将所述第一电池确定为充电目标对象,以及将所述第二电池确定为充电对象;When the first battery information is greater than the second battery information, determining the first battery as the charging target object, and determining the second battery as the charging object;

当所述第一电量信息小于所述第二电量信息时,将所述第二电池确定为充电目标对象,以及将所述第一电池确定为充电对象。When the first battery information is smaller than the second battery information, the second battery is determined as the charging target object, and the first battery is determined as the charging object.

在具体应用中,可以比对两个电池的电量信息,从而确定出较低电量的电池,随后可以较低电量的电池以较高电量的电池为基准进行单独充电,使得较低电量的电池能够充电至与较高电量大致相同的电量。In a specific application, the power information of the two batteries can be compared to determine the battery with a lower power, and then the battery with a lower power can be charged separately based on the battery with a higher power, so that the battery with a lower power can Charge to approximately the same level as the higher level.

步骤204,在所述第一电池和所述第二电池串联充电时,检测所述第二电池的第二电池信息。Step 204, when the first battery and the second battery are charged in series, detect the second battery information of the second battery.

在具体实现中,在第一电池和第二电池为串联充电时,第一电池对应的电量检测模块与运算控制单元断开,此时,运算控制单元只能获取到第二电池的电量检测模块检测到的第二电池信息。In a specific implementation, when the first battery and the second battery are charged in series, the power detection module corresponding to the first battery is disconnected from the calculation control unit, and at this time, the calculation control unit can only obtain the power detection module of the second battery Detected second battery information.

步骤205,根据所述第二电池信息确定所述第一电池的预判第一电池信息。Step 205: Determine the predicted first battery information of the first battery according to the second battery information.

在得到第二电池信息后,运算控制单元可以通过第二电池信息来计算出预判第一电池信息,这是基于在串联时同样的时间内流过第一电池和第二电池的电量是成正比关系原理来计算出的,通过计算得到的数值与实际的数值误差不会太大。After obtaining the second battery information, the calculation and control unit can calculate and predict the first battery information based on the second battery information, which is based on the fact that the electricity flowing through the first battery and the second battery in the same time period in series connection is equal to It is calculated by the principle of proportional relationship, and the error between the calculated value and the actual value will not be too large.

步骤206,当所述预判第一电池信息满足预设条件时,检测所述第一电池的第一电池信息。Step 206, when the predicted first battery information satisfies a preset condition, detect the first battery information of the first battery.

在本发明实施例中,如果运算控制单元计算出的第一电池的预判电池信息达到预设条件时,则可以去获取第一电池的第一电池信息,具体可以通过连接第一电池的电量检测模块与运算控制单元之间的开关来实现。In the embodiment of the present invention, if the predicted battery information of the first battery calculated by the operation control unit reaches the preset condition, the first battery information of the first battery can be obtained, specifically by connecting the power of the first battery It is realized by a switch between the detection module and the operation control unit.

步骤207,根据所述第一电池信息和所述第二电池信息判断所述第一电池和所述第二电池是否均衡,得到均衡判定结果。Step 207, judge whether the first battery and the second battery are balanced according to the first battery information and the second battery information, and obtain a balanced judgment result.

在实际中,可以通过比对第一电池信息和第二电池信息来确定电池是否均衡,并且根据均衡判定结果来选择合适的充电方案。In practice, it can be determined whether the battery is balanced by comparing the first battery information with the second battery information, and an appropriate charging scheme can be selected according to the balance determination result.

步骤208,根据所述均衡判定结果确定充电方案,并采用所述充电方案对所述第一电池和所述第二电池进行充电。Step 208: Determine a charging scheme according to the balance determination result, and use the charging scheme to charge the first battery and the second battery.

在得到均衡判定结果后,可以根据均衡判定结果选择合适的充电方案继续对于电池进行充电。具体来说,充电方案包括但不限于串联充电、并联充电、单独充电。After obtaining the balance determination result, an appropriate charging scheme can be selected according to the balance determination result to continue charging the battery. Specifically, charging schemes include but are not limited to series charging, parallel charging, and separate charging.

在本发明的一种优选实施例中,所述步骤208可以包括如下子步骤:In a preferred embodiment of the present invention, the step 208 may include the following sub-steps:

当所述均衡判定结果为均衡时,控制所述第一电池和所述第二电池串联充电或者并联充电;When the balance determination result is balanced, control the first battery and the second battery to be charged in series or in parallel;

当所述均衡判定结果为不均衡时,对所述第一电池或者所述第二电池进行单独充电。When the balance determination result is unbalanced, the first battery or the second battery is charged separately.

具体地,如果均衡判定结果为两个电池均衡,则此时可以选择两个电池串联充电或者并联充电均可,优选地,如果是连接标准充电器充电,则可以选择串联充电进行快速充电,如果是连接非标准充电器充电,则可以选择并联充电进行充电,以确保两个电池均衡使用,保证终端的可靠性。Specifically, if the balance determination result is that the two batteries are balanced, you can choose to charge the two batteries in series or in parallel. Preferably, if you are charging with a standard charger, you can choose to charge in series for fast charging. If If it is connected to a non-standard charger for charging, you can choose to charge in parallel to ensure the balanced use of the two batteries and ensure the reliability of the terminal.

本发明实施例在电池串联充电时,电位不匹配,使用计算的方式计算第一电池的电池信息,通过控制开关,使电池并联或单独存在,电位匹配。而在电池并联充电的情况下,直接通过各个电池对应的电量检测模块读取电量信息。In the embodiment of the present invention, when the batteries are charged in series, the potentials do not match, and the battery information of the first battery is calculated by means of calculation. By controlling the switch, the batteries are connected in parallel or exist alone, and the potentials match. In the case of batteries being charged in parallel, the power information is directly read through the power detection module corresponding to each battery.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

参照图3,示出了本发明实施例的一种充电电路的结构示意图,可以应用于终端,所述充电电路可以包括:Referring to FIG. 3 , it shows a schematic structural diagram of a charging circuit according to an embodiment of the present invention, which can be applied to a terminal. The charging circuit may include:

输入接口11、接地端12、运算控制单元13和系统14。An input interface 11 , a ground terminal 12 , an operation control unit 13 and a system 14 .

至少两个电池,电池可以包括第一电池15和第二电池16,第一电池15具有对应的第一电量检测模块17,第二电池16具有对应的第二电量检测模块18;电量检测模块可以用于检测其连接电池的电池信息,电池信息包括电量信息,电量检测模块检测到的电池信息将传输到运算控制单元13中。At least two batteries, the battery can include a first battery 15 and a second battery 16, the first battery 15 has a corresponding first power detection module 17, and the second battery 16 has a corresponding second power detection module 18; the power detection module can It is used to detect the battery information of the battery connected to it. The battery information includes power information, and the battery information detected by the power detection module will be transmitted to the operation control unit 13 .

如图3所示,第一电池15与输入接口11、第一电量检测模块17、系统14、接地端12和第二电池16连接,第二电池16与第二电量检测模块17和接地端12连接,第一电量检测模块17和第二电量检测模块18与所述运算控制单元13连接,系统14与接地端12连接。As shown in Figure 3, the first battery 15 is connected to the input interface 11, the first power detection module 17, the system 14, the ground terminal 12 and the second battery 16, and the second battery 16 is connected to the second power detection module 17 and the ground terminal 12 connection, the first power detection module 17 and the second power detection module 18 are connected to the operation control unit 13 , and the system 14 is connected to the ground terminal 12 .

多个开关,这些多个开关设置于输入接口11、接地端12、第一电池15、第二电池16、第一电量检测模块17、运算控制单元13和系统14之间。A plurality of switches are arranged between the input interface 11 , the ground terminal 12 , the first battery 15 , the second battery 16 , the first power detection module 17 , the operation control unit 13 and the system 14 .

具体地,在本发明实施例中,多个开关包括第零开关s0、第一开关s1、第二开关s2、第三开关s3、第四开关s4、第五开关s5和第六开关s6。Specifically, in the embodiment of the present invention, the plurality of switches include a zeroth switch s0 , a first switch s1 , a second switch s2 , a third switch s3 , a fourth switch s4 , a fifth switch s5 and a sixth switch s6 .

其中,输入接口通过第零开关连接第一电池,第一电池通过第一开关连接第二电池,第一电池连接接地端,第二电池连接接地端,第一电池连接系统,第一电量检测模块通过所述第二开关运算控制单元。Wherein, the input interface is connected to the first battery through the zeroth switch, the first battery is connected to the second battery through the first switch, the first battery is connected to the ground terminal, the second battery is connected to the ground terminal, the first battery is connected to the system, and the first power detection module The control unit is operated through the second switch.

具体地,输入接口11通过第零开关s0连接第一电池15,第一电池15通过第一开关s1连接第二电池16,第一电池15通过第六开关s6连接接地端12,第二电池16通过第三开关s3连接接地端12,第一电池15通过第四开关s4和第五开关s5连接系统14,第一电量检测模块17通过第二开关s2运算控制单元13。Specifically, the input interface 11 is connected to the first battery 15 through the zeroth switch s0, the first battery 15 is connected to the second battery 16 through the first switch s1, the first battery 15 is connected to the ground terminal 12 through the sixth switch s6, and the second battery 16 The ground terminal 12 is connected through the third switch s3 , the first battery 15 is connected with the system 14 through the fourth switch s4 and the fifth switch s5 , and the first battery detection module 17 operates the control unit 13 through the second switch s2 .

本发明实施例的运算控制单元13可以接收来自第一电量检测模块17和第二电量检测模块18检测到的电池信息,然后基于电池信息确定电池是否均衡,以确定充电方案时。此外,还可以在第一电量检测模块17与运算控制单元13之间的第五开关s5断开时,通过接收到的第二电量检测模块18检测到的电池信息,来预判第一电池15的电池信息。The calculation control unit 13 of the embodiment of the present invention can receive the battery information detected by the first power detection module 17 and the second power detection module 18, and then determine whether the battery is balanced based on the battery information, so as to determine the charging scheme. In addition, when the fifth switch s5 between the first power detection module 17 and the operation control unit 13 is turned off, the received battery information detected by the second power detection module 18 can also be used to predict whether the first battery 15 battery information.

在确定充电方案后,本发明实施例就可以通过多个开关控制第一电池15和第二电池16按照已确定充电方案进行电池充电。其中充电方案可以包括串联充电、并联充电和单独充电。After the charging scheme is determined, the embodiment of the present invention can control the first battery 15 and the second battery 16 to charge the batteries according to the determined charging scheme through a plurality of switches. The charging scheme may include series charging, parallel charging and separate charging.

本发明实施例在串联充电时,电位不匹配,使用计算的方式通过第二电池的电量信息计算第一电池的电量信息。通过控制开关,使电池并联或单独存在,电位匹配。在并联充电的情况下,则可以直接读取电量信息。In the embodiment of the present invention, when charging in series, the potentials do not match, and the power information of the first battery is calculated by using the power information of the second battery in a calculation manner. By controlling the switch, the batteries can be connected in parallel or separately, and the potentials can be matched. In the case of parallel charging, the power information can be read directly.

为了使本领域技术人员更好地理解本发明实施例,下面采用具体的实例对于本发明实施例的充电过程进行说明,具体过程如下所示:In order to enable those skilled in the art to better understand the embodiment of the present invention, the charging process of the embodiment of the present invention is described below using specific examples, and the specific process is as follows:

终端的输入接口检测到输入电平(连接充电器)。The input interface of the terminal detects the input level (connected to the charger).

检测第一电池和第二电池的电量信息。Detect the power information of the first battery and the second battery.

系统基于第一电池和第二电池的电量信息判断电池是否均衡。The system judges whether the batteries are balanced based on the power information of the first battery and the second battery.

如果电池均衡,并且终端为连接至标准充电器时,可以控制电池串联充电。其中,在电池串联充电时,也即是第一电池和第二电池串联充电,第一电池的接地端(电流输出)是第二电池的电流输入。If the cells are balanced and the terminals are connected to a standard charger, it is possible to control the series charging of the cells. Wherein, when the batteries are charged in series, that is, the first battery and the second battery are charged in series, the ground terminal (current output) of the first battery is the current input of the second battery.

在该状态下,第一电池的电平高于第二电池的电平,第二电量检测模块和运算控制单元通信,第二电量检测模块可以将检测到的第二电池的电池信息发送至运算控制单元,第一电量检测模块则自行检测第一电池的电量信息。In this state, the level of the first battery is higher than the level of the second battery, the second battery detection module communicates with the operation control unit, and the second battery detection module can send the detected battery information of the second battery to the operation The control unit and the first power detection module detect the power information of the first battery by itself.

运算控制单元检测到系统的电流(电流流过第五开关),由于该网络电压和第二电池的电压相等,故在同样的时间内,流过的能量和电流成正比关系,具体第一电池和第二电池的电量关系分析如下:The operation control unit detects the current of the system (the current flows through the fifth switch). Since the voltage of the network is equal to the voltage of the second battery, the energy flowing through is proportional to the current in the same time period. Specifically, the first battery The power relationship analysis with the second battery is as follows:

流过第一电池的电流=流过第二电池的电流+流过开关5的电流。The current flowing through the first battery=the current flowing through the second battery+the current flowing through the switch 5 .

第一电池的电压=输入端口的电压-第二电池的电压-采样电阻的压降。The voltage of the first battery=the voltage of the input port-the voltage of the second battery-the voltage drop of the sampling resistor.

也就是说,第一电池的电量曲线和第二电池的电量曲线相等,故而可以在算出第二电池的电量信息后预判第一电池的电量信息。That is to say, the power curve of the first battery is equal to the power curve of the second battery, so the power information of the first battery can be predicted after the power information of the second battery is calculated.

当运算控制单元计算到第一电池的电量信息达到预设条件时,运算控制单元开始切换开关,使第一电池/第一电量检测模块接地,第一电池的电平和运算控制单元一致,第一电量检测模块和运算控制单元通信确认第一电池的电量情况。根据确认情况执行均衡措施。其中,均衡措施可以包括继续串联充电、并联充电、单独充电。When the operation control unit calculates that the power information of the first battery reaches the preset condition, the operation control unit starts to switch the switch, so that the first battery/first power detection module is grounded, the level of the first battery is consistent with the operation control unit, and the first The power detection module communicates with the operation control unit to confirm the power condition of the first battery. Implement balancing measures based on confirmation. Among them, the equalization measures may include continuous series charging, parallel charging, and separate charging.

应用本发明实施例,可以准确的测试出两个电池间的电量信息,并根据电量信息执行均衡措施,确保两个电池均衡使用,保证终端的可靠性。优选地,在连接标准的充电器时,本发明实施例为快速充电提供可靠的信息用于充放电管理。接非标准充电器时,本发明实施例也可以准确的提供电池信息,使得终端准确的对进行电池管控。By applying the embodiment of the present invention, it is possible to accurately test the power information between two batteries, and perform equalization measures according to the power information, so as to ensure the balanced use of the two batteries and ensure the reliability of the terminal. Preferably, when a standard charger is connected, the embodiments of the present invention provide reliable information for fast charging for charge and discharge management. When a non-standard charger is connected, the embodiment of the present invention can also accurately provide battery information, so that the terminal can accurately control the battery.

参照图4,示出了本发明实施例的一种终端实施例的结构框图,所述终端至少包括第一电池和第二电池,所述终端具体可以包括如下模块:Referring to FIG. 4 , it shows a structural block diagram of a terminal embodiment of an embodiment of the present invention. The terminal includes at least a first battery and a second battery. The terminal may specifically include the following modules:

第二电池信息检测模块301,用于在所述第一电池和所述第二电池串联充电时,检测所述第二电池的第二电池信息;The second battery information detection module 301 is configured to detect the second battery information of the second battery when the first battery and the second battery are charged in series;

预判第一电池信息确定模块302,用于根据所述第二电池信息确定所述第一电池的预判第一电池信息;A predicted first battery information determining module 302, configured to determine the predicted first battery information of the first battery according to the second battery information;

第一电池信息检测模块303,用于当所述预判第一电池信息满足预设条件时,检测所述第一电池的第一电池信息;The first battery information detection module 303 is configured to detect the first battery information of the first battery when the predicted first battery information meets a preset condition;

均衡判定结果得到模块304,用于根据所述第一电池信息和所述第二电池信息确定所述第一电池和所述第二电池是否均衡得到均衡判定结果;A balance determination result obtaining module 304, configured to determine whether the first battery and the second battery are balanced to obtain a balance determination result according to the first battery information and the second battery information;

第一电池充电模块305,用于根据所述均衡判定结果确定充电方案,并采用所述充电方案对所述第一电池和所述第二电池进行充电。The first battery charging module 305 is configured to determine a charging scheme according to the balance determination result, and use the charging scheme to charge the first battery and the second battery.

在本发明的一种优选实施例中,所述终端还可以包括:In a preferred embodiment of the present invention, the terminal may also include:

电池信息检测模块,用于在所述第一电池和所述第二电池并联充电时,检测所述第一电池的第一电池信息和所述第二电池的第二电池信息;A battery information detection module, configured to detect the first battery information of the first battery and the second battery information of the second battery when the first battery and the second battery are charged in parallel;

电池均衡确定模块,用于根据所述第一电池信息和所述第二电池信息确定所述第一电池和所述第二电池是否均衡;A battery balance determination module, configured to determine whether the first battery and the second battery are balanced according to the first battery information and the second battery information;

第二电池充电模块,用于若所述第一电池和所述第二电池均衡,则控制所述第一电池和所述第二电池串联充电。The second battery charging module is configured to control the first battery and the second battery to charge in series if the first battery and the second battery are balanced.

在本发明的一种优选实施例中,所述第二电池充电模块包括:In a preferred embodiment of the present invention, the second battery charging module includes:

第一充电子模块,用于当所述第一电池和所述第二电池均衡且所述终端连接标准充电器时,控制所述第一电池和所述第二电池串联充电。The first charging sub-module is configured to control the series charging of the first battery and the second battery when the first battery and the second battery are balanced and the terminal is connected to a standard charger.

在本发明的一种优选实施例中,所述终端还可以包括:In a preferred embodiment of the present invention, the terminal may also include:

充电目标确定模块,用于若所述第一电池和所述第二电池不均衡,则根据所述第一电池信息和第二电池信息确定充电目标对象和充电对象;A charging target determination module, configured to determine a charging target object and a charging object according to the first battery information and the second battery information if the first battery and the second battery are unbalanced;

单独充电模块,用于根据所述充电目标对象,对所述充电对象进行单独充电。The individual charging module is configured to individually charge the charging object according to the charging target object.

在本发明的一种优选实施例中,所述第一电池信息包括第一电量信息,所述第二电池信息包括第二电量信息,所述充电目标确定模块包括:In a preferred embodiment of the present invention, the first battery information includes first power information, the second battery information includes second power information, and the charging target determination module includes:

电量信息比对子模块,用于比对所述第一电量信息和所述第二电量信息;The power information comparison sub-module is used to compare the first power information and the second power information;

第一充电目标确定子模块,用于当所述第一电量信息大于所述第二电量信息时,将所述第一电池确定为充电目标对象,以及将所述第二电池确定为充电对象;A first charging target determination submodule, configured to determine the first battery as a charging target and determine the second battery as a charging target when the first power information is greater than the second power information;

第二充电目标确定子模块,用于当所述第一电量信息小于所述第二电量信息时,将所述第二电池确定为充电目标对象,以及将所述第一电池确定为充电对象。A second charging target determination sub-module, configured to determine the second battery as the charging target and the first battery as the charging target when the first power information is less than the second power information.

在本发明的一种优选实施例中,所述第一电池充电模块305可以包括如下子模块:In a preferred embodiment of the present invention, the first battery charging module 305 may include the following submodules:

第二充电子模块,用于当所述均衡判定结果为均衡时,控制所述第一电池和所述第二电池串联充电或者并联充电;The second charging sub-module is configured to control the first battery and the second battery to be charged in series or in parallel when the balance determination result is balanced;

第三充电子模块,用于当所述均衡判定结果为不均衡时,对所述第一电池或者所述第二电池进行单独充电。The third charging sub-module is configured to separately charge the first battery or the second battery when the balance determination result is unbalanced.

本发明实施例还公开了一种终端,所述终端具有如上述的充电电路。The embodiment of the present invention also discloses a terminal, and the terminal has the above-mentioned charging circuit.

对于终端和充电电路实施例而言,由于其与方法实施例基本相似并关联,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the embodiment of the terminal and the charging circuit, since they are basically similar and related to the embodiment of the method, the description is relatively simple, and for relevant parts, please refer to the part of the description of the embodiment of the method.

图5为实现本发明各个实施例的一种终端的硬件结构示意图,该终端70包括但不限于:射频单元71、网络模块72、音频输出单元73、输入单元74、传感器75、显示单元76、用户输入单元77、接口单元78、存储器79、处理器710、以及电源711等部件。本领域技术人员可以理解,图5中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。5 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention. The terminal 70 includes, but is not limited to: a radio frequency unit 71, a network module 72, an audio output unit 73, an input unit 74, a sensor 75, a display unit 76, User input unit 77, interface unit 78, memory 79, processor 710, power supply 711 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 5 does not constitute a limitation on the terminal, and the terminal may include more or less components than shown in the figure, or combine certain components, or arrange different components. In the embodiment of the present invention, the terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.

其中,处理器710,用于在所述第一电池和所述第二电池串联充电时,检测所述第二电池的第二电池信息;根据所述第二电池信息确定所述第一电池的预判第一电池信息;当所述预判第一电池信息满足预设条件时,检测所述第一电池的第一电池信息;根据所述第一电池信息和所述第二电池信息判断所述第一电池和所述第二电池是否均衡,得到均衡判定结果;根据所述均衡判定结果确定充电方案,并采用所述充电方案对所述第一电池和所述第二电池进行充电。Wherein, the processor 710 is configured to detect the second battery information of the second battery when the first battery and the second battery are charged in series; determine the battery information of the first battery according to the second battery information predicting the first battery information; when the predicted first battery information satisfies a preset condition, detecting the first battery information of the first battery; judging the battery according to the first battery information and the second battery information Determine whether the first battery and the second battery are balanced, and obtain a balanced judgment result; determine a charging scheme according to the balanced judgment result, and use the charging scheme to charge the first battery and the second battery.

本发明实施例可以在终端的第一电池和第二电池串联充电时,可以检测第二电池的第二电池信息,然后根据第二电池信息得到第一电池的预判第一电池信息,当预判第一电池信息满足预设条件时,将获取第一电池的第一电池信息,再通过比对第一电池信息和第二电池信息来确定两个电池是否均衡,根据均衡判定结果来选择合适的充电方案。应用本发明实施例,可以在电池串联充电时,通过计算的方式来计算出另一个电池的信息,从而能够根据计算出的电池的电量来选择合适的充电方案,这样在电池串联充电仍然能够选择合适充电方案来保证内部电路结构的安全。In this embodiment of the present invention, when the first battery and the second battery of the terminal are charged in series, the second battery information of the second battery can be detected, and then the predicted first battery information of the first battery can be obtained according to the second battery information. When it is judged that the first battery information meets the preset conditions, the first battery information of the first battery will be obtained, and then the first battery information and the second battery information will be compared to determine whether the two batteries are balanced, and the appropriate battery will be selected according to the balance judgment result. charging scheme. Applying the embodiment of the present invention, when the batteries are being charged in series, the information of another battery can be calculated by means of calculation, so that an appropriate charging scheme can be selected according to the calculated battery power, so that when the batteries are being charged in series, the battery can still be selected. Appropriate charging scheme to ensure the safety of the internal circuit structure.

应理解的是,本发明实施例中,射频单元71可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元71包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元71还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 71 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 710; Uplink data is sent to the base station. Generally, the radio frequency unit 71 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 71 can also communicate with the network and other devices through a wireless communication system.

终端通过网络模块72为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 72, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元73可以将射频单元71或网络模块72接收的或者在存储器79中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元73还可以提供与终端70执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元73包括扬声器、蜂鸣器以及受话器等。The audio output unit 73 may convert audio data received by the radio frequency unit 71 or the network module 72 or stored in the memory 79 into an audio signal and output as sound. Also, the audio output unit 73 may also provide audio output related to a specific function performed by the terminal 70 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 73 includes a speaker, a buzzer, a receiver, and the like.

输入单元74用于接收音频或视频信号。输入单元74可以包括图形处理器(Graphics Processing Unit,GPU)741和麦克风742,图形处理器741对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元76上。经图形处理器741处理后的图像帧可以存储在存储器79(或其它存储介质)中或者经由射频单元71或网络模块72进行发送。麦克风742可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元71发送到移动通信基站的格式输出。The input unit 74 is used to receive audio or video signals. The input unit 74 can include a graphics processing unit (Graphics Processing Unit, GPU) 741 and a microphone 742, and the graphics processing unit 741 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 76 . The image frames processed by the graphics processor 741 may be stored in the memory 79 (or other storage media) or sent via the radio frequency unit 71 or the network module 72 . The microphone 742 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 71 for output in the case of a phone call mode.

终端70还包括至少一种传感器75,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板761的亮度,接近传感器可在终端70移动到耳边时,关闭显示面板761和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器75还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 70 also includes at least one sensor 75, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 761 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 761 and/or when the terminal 70 moves to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer posture calibration), vibration recognition related functions (such as pedometer, knocking), etc.; sensor 75 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared ray Sensors, etc., will not be described in detail here.

显示单元76用于显示由用户输入的信息或提供给用户的信息。显示单元76可包括显示面板761,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板761。The display unit 76 is used to display information input by the user or information provided to the user. The display unit 76 may include a display panel 761, and the display panel 761 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元77可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元77包括触控面板771以及其他输入设备772。触控面板771,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板771上或在触控面板771附近的操作)。触控面板771可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板771。除了触控面板771,用户输入单元77还可以包括其他输入设备772。具体地,其他输入设备772可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 77 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal. Specifically, the user input unit 77 includes a touch panel 771 and other input devices 772 . The touch panel 771, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 771 or near the touch panel 771). operate). The touch panel 771 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to For the processor 710, receive the command sent by the processor 710 and execute it. In addition, the touch panel 771 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 771 , the user input unit 77 may also include other input devices 772 . Specifically, other input devices 772 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板771可覆盖在显示面板761上,当触控面板771检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板761上提供相应的视觉输出。虽然在图5中,触控面板771与显示面板761是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板771与显示面板761集成而实现终端的输入和输出功能,具体此处不做限定。Further, the touch panel 771 can be covered on the display panel 761. When the touch panel 771 detects a touch operation on or near it, it will send it to the processor 710 to determine the type of the touch event. The type of event provides a corresponding visual output on the display panel 761 . Although in FIG. 5 , the touch panel 771 and the display panel 761 are used as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 771 and the display panel 761 can be integrated to form Realize the input and output functions of the terminal, which is not limited here.

接口单元78为外部装置与终端70连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元78可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端70内的一个或多个元件或者可以用于在终端70和外部装置之间传输数据。The interface unit 78 is an interface for connecting an external device to the terminal 70 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. Interface unit 78 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within terminal 70 or may be used transfer data between.

存储器79可用于存储软件程序以及各种数据。存储器79可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器79可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 79 can be used to store software programs as well as various data. The memory 79 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 79 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器710是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器79内的软件程序和/或模块,以及调用存储在存储器79内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。The processor 710 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs and/or modules stored in the memory 79, and calling data stored in the memory 79, execution Various functions and processing data of the terminal, so as to monitor the terminal as a whole. The processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710 .

终端70还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 70 can also include a power supply 711 (such as a battery) for supplying power to various components. Preferably, the power supply 711 can be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Function.

另外,终端70包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 70 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种终端,包括处理器710,存储器79,存储在存储器79上并可在所述处理器710上运行的计算机程序,该计算机程序被处理器710执行时实现上述电池的充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a terminal, including a processor 710, a memory 79, and a computer program stored in the memory 79 and operable on the processor 710, and the computer program is implemented when executed by the processor 710 Each process of the battery charging method embodiment described above can achieve the same technical effect, and will not be repeated here to avoid repetition.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述电池的充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above battery charging method embodiment is realized, and the same Technical effects, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (15)

1.一种电池的充电方法,应用于终端,其特征在于,所述终端至少包括第一电池和第二电池,所述方法包括:1. A battery charging method applied to a terminal, characterized in that the terminal includes at least a first battery and a second battery, and the method includes: 在所述第一电池和所述第二电池串联充电时,检测所述第二电池的第二电池信息;Detecting second battery information of the second battery when the first battery and the second battery are being charged in series; 根据所述第二电池信息确定所述第一电池的预判第一电池信息;determining the predicted first battery information of the first battery according to the second battery information; 当所述预判第一电池信息满足预设条件时,检测所述第一电池的第一电池信息;When the predicted first battery information meets a preset condition, detecting the first battery information of the first battery; 根据所述第一电池信息和所述第二电池信息判断所述第一电池和所述第二电池是否均衡,得到均衡判定结果;judging whether the first battery and the second battery are balanced according to the first battery information and the second battery information, and obtaining a balanced judgment result; 根据所述均衡判定结果确定充电方案,并采用所述充电方案对所述第一电池和所述第二电池进行充电。A charging scheme is determined according to the balance determination result, and the first battery and the second battery are charged using the charging scheme. 2.根据权利要求1所述的方法,其特征在于,所述在所述第一电池和所述第二电池串联充电时,检测所述第二电池的第二电池信息之前,还包括:2. The method according to claim 1, wherein when the first battery and the second battery are charged in series, before detecting the second battery information of the second battery, further comprising: 在所述第一电池和所述第二电池并联充电时,检测所述第一电池的第一电池信息和所述第二电池的第二电池信息;When the first battery and the second battery are charged in parallel, detecting first battery information of the first battery and second battery information of the second battery; 根据所述第一电池信息和所述第二电池信息确定所述第一电池和所述第二电池是否均衡;determining whether the first battery and the second battery are balanced according to the first battery information and the second battery information; 若所述第一电池和所述第二电池均衡,则控制所述第一电池和所述第二电池串联充电。If the first battery and the second battery are balanced, the first battery and the second battery are controlled to be charged in series. 3.根据权利要求2所述的方法,其特征在于,所述控制所述第一电池和所述第二电池串联充电,包括:3. The method according to claim 2, wherein the controlling the series charging of the first battery and the second battery comprises: 当所述第一电池和所述第二电池均衡且所述终端连接标准充电器时,控制所述第一电池和所述第二电池串联充电。When the first battery and the second battery are balanced and the terminal is connected to a standard charger, the first battery and the second battery are controlled to be charged in series. 4.根据权利要求2所述的方法,其特征在于,在所述根据所述第一电池信息和所述第二电池信息确定所述第一电池和所述第二电池是否均衡之后,还包括:4. The method according to claim 2, further comprising: after determining whether the first battery and the second battery are balanced according to the first battery information and the second battery information, : 若所述第一电池和所述第二电池不均衡,则根据所述第一电池信息和第二电池信息确定充电目标对象和充电对象;If the first battery and the second battery are unbalanced, then determine a charging target object and a charging object according to the first battery information and the second battery information; 根据所述充电目标对象,对所述充电对象进行单独充电。According to the charging target object, the charging object is individually charged. 5.根据权利要求4所述的方法,其特征在于,所述第一电池信息包括第一电量信息,所述第二电池信息包括第二电量信息,所述根据所述第一电池信息和第二电池信息确定充电目标对象和充电对象,包括:5. The method according to claim 4, wherein the first battery information includes first battery information, the second battery information includes second battery information, and the Second, the battery information determines the charging target object and charging object, including: 比对所述第一电量信息和所述第二电量信息;comparing the first power information with the second power information; 当所述第一电量信息大于所述第二电量信息时,将所述第一电池确定为充电目标对象,以及将所述第二电池确定为充电对象;When the first battery information is greater than the second battery information, determining the first battery as the charging target object, and determining the second battery as the charging object; 当所述第一电量信息小于所述第二电量信息时,将所述第二电池确定为充电目标对象,以及将所述第一电池确定为充电对象。When the first battery information is smaller than the second battery information, the second battery is determined as the charging target object, and the first battery is determined as the charging object. 6.根据权利要求1所述的方法,其特征在于,所述根据所述均衡判定结果确定充电方案,并采用所述充电方案对所述电池进行充电,包括:6. The method according to claim 1, wherein the determining a charging scheme according to the balance determination result, and using the charging scheme to charge the battery comprises: 当所述均衡判定结果为均衡时,控制所述第一电池和所述第二电池串联充电或者并联充电;When the balance determination result is balanced, control the first battery and the second battery to be charged in series or in parallel; 当所述均衡判定结果为不均衡时,对所述第一电池或者所述第二电池进行单独充电。When the balance determination result is unbalanced, the first battery or the second battery is charged separately. 7.一种充电电路,应用于终端,其特征在于,所述充电电路包括:7. A charging circuit applied to a terminal, characterized in that the charging circuit includes: 输入接口、接地端、运算控制单元和系统;Input interface, ground terminal, operation control unit and system; 至少两个电池,所述电池包括第一电池和第二电池,所述第一电池具有对应的第一电量检测模块,所述第二电池具有对应的第二电量检测模块;所述第一电池与输入接口、第一电量检测模块、系统、接地端和第二电池连接,所述第二电池与第二电量检测模块和接地端连接,所述第一电量检测模块和第二电量检测模块与所述运算控制单元连接,所述系统与接地端连接;At least two batteries, the battery includes a first battery and a second battery, the first battery has a corresponding first power detection module, and the second battery has a corresponding second power detection module; the first battery It is connected with the input interface, the first power detection module, the system, the ground terminal and the second battery, the second battery is connected with the second power detection module and the ground terminal, and the first power detection module and the second power detection module are connected with the The operation control unit is connected, and the system is connected to the ground terminal; 多个开关,所述多个开关设置于所述输入接口、接地端、第一电池、第二电池、第一电量检测模块、运算控制单元和系统之间;A plurality of switches, the plurality of switches are arranged between the input interface, the ground terminal, the first battery, the second battery, the first power detection module, the operation control unit and the system; 当确定充电方案时,通过所述多个开关控制所述第一电池和所述第二电池按照所述充电方案进行电池充电。When the charging scheme is determined, the first battery and the second battery are controlled by the plurality of switches to perform battery charging according to the charging scheme. 8.根据权利要求7所述的充电电路,其特征在于,所述多个开关包括第零开关、第一开关、第二开关;8. The charging circuit according to claim 7, wherein the plurality of switches comprise a zeroth switch, a first switch, and a second switch; 其中,所述输入接口通过第零开关连接第一电池,所述第一电池通过第一开关连接第二电池,所述第一电池连接接地端,所述第二电池连接接地端,所述第一电池连接系统,所述第一电量检测模块通过所述第二开关运算控制单元。Wherein, the input interface is connected to the first battery through the zeroth switch, the first battery is connected to the second battery through the first switch, the first battery is connected to the ground terminal, the second battery is connected to the ground terminal, and the first battery is connected to the ground terminal. A battery connection system, the first power detection module controls the unit through the second switch operation. 9.一种终端,其特征在于,所述终端至少包括第一电池和第二电池,所述终端包括:9. A terminal, characterized in that the terminal includes at least a first battery and a second battery, and the terminal includes: 第二电池信息检测模块,用于在所述第一电池和所述第二电池串联充电时,检测所述第二电池的第二电池信息;A second battery information detection module, configured to detect second battery information of the second battery when the first battery and the second battery are charged in series; 预判第一电池信息确定模块,用于根据所述第二电池信息确定所述第一电池的预判第一电池信息;A predictive first battery information determination module, configured to determine the predictive first battery information of the first battery according to the second battery information; 第一电池信息检测模块,用于当所述预判第一电池信息满足预设条件时,检测所述第一电池的第一电池信息;A first battery information detection module, configured to detect the first battery information of the first battery when the predicted first battery information meets a preset condition; 均衡判定结果得到模块,用于根据所述第一电池信息和所述第二电池信息判断所述第一电池和所述第二电池是否均衡,得到均衡判定结果;A balance determination result obtaining module, configured to determine whether the first battery and the second battery are balanced according to the first battery information and the second battery information, and obtain a balance determination result; 第一电池充电模块,用于根据所述均衡判定结果确定充电方案,并采用所述充电方案对所述第一电池和所述第二电池进行充电。The first battery charging module is configured to determine a charging scheme according to the balance determination result, and use the charging scheme to charge the first battery and the second battery. 10.根据权利要求9所述的终端,其特征在于,还包括:10. The terminal according to claim 9, further comprising: 电池信息检测模块,用于在所述第一电池和所述第二电池并联充电时,检测所述第一电池的第一电池信息和所述第二电池的第二电池信息;A battery information detection module, configured to detect the first battery information of the first battery and the second battery information of the second battery when the first battery and the second battery are charged in parallel; 电池均衡确定模块,用于根据所述第一电池信息和所述第二电池信息确定所述第一电池和所述第二电池是否均衡;A battery balance determination module, configured to determine whether the first battery and the second battery are balanced according to the first battery information and the second battery information; 第二电池充电模块,用于若所述第一电池和所述第二电池均衡,则控制所述第一电池和所述第二电池串联充电。The second battery charging module is configured to control the first battery and the second battery to charge in series if the first battery and the second battery are balanced. 11.根据权利要求10所述的终端,其特征在于,所述第二电池充电模块包括:11. The terminal according to claim 10, wherein the second battery charging module comprises: 第一充电子模块,用于当所述第一电池和所述第二电池均衡且所述终端连接标准充电器时,控制所述第一电池和所述第二电池串联充电。The first charging sub-module is configured to control the series charging of the first battery and the second battery when the first battery and the second battery are balanced and the terminal is connected to a standard charger. 12.根据权利要求10所述的终端,其特征在于,还包括:12. The terminal according to claim 10, further comprising: 充电目标确定模块,用于若所述第一电池和所述第二电池不均衡,则根据所述第一电池信息和第二电池信息确定充电目标对象和充电对象;A charging target determination module, configured to determine a charging target object and a charging object according to the first battery information and the second battery information if the first battery and the second battery are unbalanced; 单独充电模块,用于根据所述充电目标对象,对所述充电对象进行单独充电。The individual charging module is configured to individually charge the charging object according to the charging target object. 13.根据权利要求12所述的终端,其特征在于,所述第一电池信息包括第一电量信息,所述第二电池信息包括第二电量信息,所述充电目标确定模块包括:13. The terminal according to claim 12, wherein the first battery information includes first power information, the second battery information includes second power information, and the charging target determination module includes: 电量信息比对子模块,用于比对所述第一电量信息和所述第二电量信息;The power information comparison sub-module is used to compare the first power information and the second power information; 第一充电目标确定子模块,用于当所述第一电量信息大于所述第二电量信息时,将所述第一电池确定为充电目标对象,以及将所述第二电池确定为充电对象;A first charging target determination submodule, configured to determine the first battery as a charging target and determine the second battery as a charging target when the first power information is greater than the second power information; 第二充电目标确定子模块,用于当所述第一电量信息小于所述第二电量信息时,将所述第二电池确定为充电目标对象,以及将所述第一电池确定为充电对象。A second charging target determination sub-module, configured to determine the second battery as the charging target and the first battery as the charging target when the first power information is less than the second power information. 14.根据权利要求9所述的终端,其特征在于,所述第一电池充电模块包括:14. The terminal according to claim 9, wherein the first battery charging module comprises: 第二充电子模块,用于当所述均衡判定结果为均衡时,控制所述第一电池和所述第二电池串联充电或者并联充电;The second charging sub-module is configured to control the first battery and the second battery to be charged in series or in parallel when the balance determination result is balanced; 第三充电子模块,用于当所述均衡判定结果为不均衡时,对所述第一电池或者所述第二电池进行单独充电。The third charging sub-module is configured to separately charge the first battery or the second battery when the balance determination result is unbalanced. 15.一种终端,其特征在于,所述终端具有如权利要求7至8中任一项所述的充电电路。15. A terminal, characterized in that the terminal has the charging circuit according to any one of claims 7 to 8.
CN201810772068.XA 2018-07-13 2018-07-13 A battery charging method, charging circuit and terminal Active CN108988421B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810772068.XA CN108988421B (en) 2018-07-13 2018-07-13 A battery charging method, charging circuit and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810772068.XA CN108988421B (en) 2018-07-13 2018-07-13 A battery charging method, charging circuit and terminal

Publications (2)

Publication Number Publication Date
CN108988421A true CN108988421A (en) 2018-12-11
CN108988421B CN108988421B (en) 2020-06-30

Family

ID=64537530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810772068.XA Active CN108988421B (en) 2018-07-13 2018-07-13 A battery charging method, charging circuit and terminal

Country Status (1)

Country Link
CN (1) CN108988421B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109638911A (en) * 2018-12-14 2019-04-16 珠海市杰理科技股份有限公司 Charge telecommunication circuit, system, method, intelligent terminal and its accessory
CN109802463A (en) * 2019-02-28 2019-05-24 维沃移动通信有限公司 Charging circuit, electricity acquisition methods and terminal
CN110429696A (en) * 2019-09-06 2019-11-08 Oppo广东移动通信有限公司 Battery charging method, electronic device and computer readable storage medium
CN111969685A (en) * 2020-08-14 2020-11-20 深圳传音控股股份有限公司 Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium
CN112448427A (en) * 2019-08-30 2021-03-05 Oppo广东移动通信有限公司 Electronic device and charge-discharge control method
CN112448428A (en) * 2019-08-30 2021-03-05 Oppo广东移动通信有限公司 Electronic device and charge-discharge control method
WO2022141292A1 (en) * 2020-12-30 2022-07-07 宁德时代新能源科技股份有限公司 Equalization method and device for battery module, battery module, and power supply management controller

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6841971B1 (en) * 2002-05-29 2005-01-11 Alpha Technologies, Inc. Charge balancing systems and methods
CN105449734A (en) * 2015-06-02 2016-03-30 武汉众宇动力系统科技有限公司 Battery balancing device and charge and discharge balancing method thereof
CN106981904A (en) * 2017-05-22 2017-07-25 维沃移动通信有限公司 The method and charge-discharge control system of a kind of charge and discharge control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6841971B1 (en) * 2002-05-29 2005-01-11 Alpha Technologies, Inc. Charge balancing systems and methods
CN105449734A (en) * 2015-06-02 2016-03-30 武汉众宇动力系统科技有限公司 Battery balancing device and charge and discharge balancing method thereof
CN106981904A (en) * 2017-05-22 2017-07-25 维沃移动通信有限公司 The method and charge-discharge control system of a kind of charge and discharge control

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109638911A (en) * 2018-12-14 2019-04-16 珠海市杰理科技股份有限公司 Charge telecommunication circuit, system, method, intelligent terminal and its accessory
CN109802463A (en) * 2019-02-28 2019-05-24 维沃移动通信有限公司 Charging circuit, electricity acquisition methods and terminal
CN109802463B (en) * 2019-02-28 2023-01-24 维沃移动通信有限公司 Charging circuit, electric quantity obtaining method and terminal
CN112448427A (en) * 2019-08-30 2021-03-05 Oppo广东移动通信有限公司 Electronic device and charge-discharge control method
CN112448428A (en) * 2019-08-30 2021-03-05 Oppo广东移动通信有限公司 Electronic device and charge-discharge control method
CN110429696A (en) * 2019-09-06 2019-11-08 Oppo广东移动通信有限公司 Battery charging method, electronic device and computer readable storage medium
CN110429696B (en) * 2019-09-06 2021-03-23 Oppo广东移动通信有限公司 Battery charging method, electronic device and computer readable storage medium
CN111969685A (en) * 2020-08-14 2020-11-20 深圳传音控股股份有限公司 Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium
WO2022141292A1 (en) * 2020-12-30 2022-07-07 宁德时代新能源科技股份有限公司 Equalization method and device for battery module, battery module, and power supply management controller
CN114982039A (en) * 2020-12-30 2022-08-30 宁德时代新能源科技股份有限公司 Balance method, device, battery module and power management controller of battery module
US11557903B2 (en) 2020-12-30 2023-01-17 Contemporary Amperex Technology Co., Limited Method for equalizing battery module, apparatus, battery module and power management controller

Also Published As

Publication number Publication date
CN108988421B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN108988421B (en) A battery charging method, charging circuit and terminal
CN108494030B (en) A wireless charging method, terminal and transmitter device
CN108663627B (en) Battery self-discharge detection method and battery self-discharge detection device
CN108182019A (en) A kind of suspension control display processing method and mobile terminal
CN110838748A (en) Electronic equipment and its charging control system
CN110456923B (en) A method for processing attitude sensing data and electronic equipment
CN108073343A (en) A kind of display interface method of adjustment and mobile terminal
CN107785961B (en) Series battery charging method, mobile terminal and computer readable medium
CN109962514A (en) A charging method and mobile terminal
CN108388335B (en) Method for controlling mobile terminal and mobile terminal
CN110139018A (en) Camera controls the control method for movement and terminal of mould group, camera
CN107834640B (en) Charging method and terminal
CN107733016B (en) Mobile terminal charging control method and mobile terminal
CN108900695A (en) A kind of display processing method and terminal device
CN107450029A (en) Battery status method of calibration and device, computer equipment, computer-readable recording medium
CN108388400B (en) An operation processing method and mobile terminal
CN108845261B (en) Electric quantity prompting method and terminal equipment
CN107508361A (en) A kind of charge-discharge parameter method of adjustment, device, mobile terminal
CN110764650A (en) Button trigger detection method and electronic device
CN110471808A (en) A kind of pressure buttons detection method, device and mobile terminal
CN108718360A (en) A charging method and mobile terminal
CN107728774A (en) Parameter regulation means and mobile terminal
CN108429363A (en) A kind of wireless charging method and wireless charging device
CN107704101A (en) A kind of method for information display, mobile terminal and computer-readable recording medium
CN108336775B (en) Charging method and mobile terminal

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