CN109802463A - Charging circuit, electricity acquisition methods and terminal - Google Patents

Charging circuit, electricity acquisition methods and terminal Download PDF

Info

Publication number
CN109802463A
CN109802463A CN201910153015.4A CN201910153015A CN109802463A CN 109802463 A CN109802463 A CN 109802463A CN 201910153015 A CN201910153015 A CN 201910153015A CN 109802463 A CN109802463 A CN 109802463A
Authority
CN
China
Prior art keywords
battery
value
charging
charging circuit
operation control
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
CN201910153015.4A
Other languages
Chinese (zh)
Other versions
CN109802463B (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 CN201910153015.4A priority Critical patent/CN109802463B/en
Publication of CN109802463A publication Critical patent/CN109802463A/en
Application granted granted Critical
Publication of CN109802463B publication Critical patent/CN109802463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of charging circuit, electricity acquisition methods and terminal.The charging circuit includes: charging input end;Battery pack, battery pack include at least the first battery and the second battery, the anode connection charging input end of the first battery, the anode connection charging input end of the second battery and/or the cathode of the first battery;Terminal system, the input terminal connection charging input end of terminal system and/or the anode of the second battery;Operation control element;Current measuring element, current measuring element concatenate the first battery, and the output end of current measuring element connects the first end of the operation control element;Electric power detection element, the first end of electric power detection element connect the second battery, the second end of the second end connection operation control element of electric power detection element;Wherein, switch is arbitrarily provided in charging input end, the first battery, the second battery and terminal system between the two.The accurate acquisition of the battery information of the first battery and the second battery may be implemented in the embodiment of the present invention.

Description

Charging circuit, electricity acquisition methods and terminal
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of charging circuits, electricity acquisition methods and terminal.
Background technique
With the development of power supply industry, multiple battery combinations using the case where become more common, battery combination using need Solve the problems, such as battery balanced, this just needs to get battery information.
Therefore, it is necessary to propose the acquisition scheme of battery information under battery combination service condition.
Summary of the invention
The embodiment of the present invention provides a kind of charging circuit, electricity acquisition methods and terminal, to realize that battery combination uses feelings The acquisition of battery information under condition.
In a first aspect, the embodiment of the invention provides a kind of charging circuit, the charging circuit includes:
Charging input end;
Battery pack, the battery pack include at least the first battery and the second battery, the anode connection institute of first battery Charging input end is stated, the anode of second battery connects the cathode of the charging input end and/or first battery;
Terminal system, the input terminal of the terminal system are connecting the charging input end and/or second battery just Pole;
Operation control element;
Current measuring element, the current measuring element concatenate first battery, the output of the current measuring element The first end of end connection operation control element;
Electric power detection element, the first end of the electric power detection element connect second battery, the electric power detection member The second end of part connects the second end of the operation control element;
Wherein, both any in the charging input end, first battery, second battery and the terminal system Between be provided with switch.
Second aspect, the embodiment of the invention provides a kind of terminal, the terminal includes charging circuit as described above.
The third aspect, the embodiment of the invention provides a kind of electricity acquisition methods, are applied to terminal, and the terminal includes such as The upper charging circuit, which comprises
Before being charged by the charging circuit to first battery, described in the operation control element acquisition First initial quantity of electricity value of the first battery;
In the case where being charged by the charging circuit to first battery, the operation control element is obtained First electric current of first battery that the charging duration of the first battery charging and the current measuring element detect Value;
The operation control element according to the first initial quantity of electricity value, first current value and the charging duration, Determine the first object charge value of first battery.
Fourth aspect, the embodiment of the present invention also provide a kind of terminal, and the terminal includes being applied to charging as described above Circuit;The operation control element further include:
First obtains module, for obtaining institute before charging by the charging circuit to first battery State the first initial quantity of electricity value of the first battery;
Second obtains module, for obtaining in the case where being charged by the charging circuit to first battery First electricity of first battery that the charging duration and the current measuring element for taking first battery to charge detect Flow valuve;
First determining module is used for according to the first initial quantity of electricity value, first current value and the charging duration, Determine the first object charge value of first battery.
In embodiments of the present invention, for the first battery, terminal can detect the first battery by current measuring element Current value obtains the charging duration of the first battery charging and the initial quantity of electricity value of the first battery by operation control element, So as to determine the target charge value of the first battery according to above-mentioned parameter value;For the second battery, terminal can directly pass through The charge value of the second battery of electric power detection element testing.As it can be seen that the first battery and the second battery may be implemented in the embodiment of the present invention Battery information accurate acquisition.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is one of the schematic diagram of charging circuit provided in an embodiment of the present invention;
Fig. 2 is the two of the schematic diagram of charging circuit provided in an embodiment of the present invention;
Fig. 3 is the three of the schematic diagram of charging circuit provided in an embodiment of the present invention;
Fig. 4 is the four of the schematic diagram of charging circuit provided in an embodiment of the present invention;
Fig. 5 is one of the flow chart of electricity acquisition methods provided in an embodiment of the present invention;
Fig. 6 is the two of the flow chart of electricity acquisition methods provided in an embodiment of the present invention;
Fig. 7 is the three of the flow chart of electricity acquisition methods provided in an embodiment of the present invention;
Fig. 8 is the four of the flow chart of electricity acquisition methods provided in an embodiment of the present invention;
Fig. 9 is the structure chart of operation control element provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Term " first ", " second " in the application etc. are to be used to distinguish similar objects, without specific for describing Sequence or precedence.In addition, term " includes " and " having " and their any deformation, it is intended that covering is non-exclusive Include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to clearly arrange Those of out step or unit, but may include be not clearly listed or it is solid for these process, methods, product or equipment The other step or units having.In addition, "and/or" used herein indicates at least one of institute's connecting object, such as A And/or B and/or C, indicating to include independent A, independent B, independent C and A and B exist, and B and C exist, and A and C exist, And all existing 7 kinds of situations of A, B and C.
The charging circuit of the embodiment of the present invention at least may include: charging input end (or being input interface), battery Group, terminal system, current measuring element, electric power detection element and Operations Analysis.
Wherein, charging input end is for connecting charging equipment, such as charger or charger baby.In practical applications, it charges Input terminal can be universal serial bus (Universal Serial Bus, USB) interface of terminal.When specific implementation, terminal It can be mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), a Personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
Battery pack may include N number of battery, and N is the integer greater than 1, and the charging circuit of the embodiment of the present invention can be to described N number of battery carries out mixed charged.For convenience of understanding, the embodiment of the present invention is by taking battery pack includes the first battery and the second battery as an example It is illustrated, but the embodiment of the present invention and the particular number for being not so limited the battery that battery pack includes.Specifically, described first The anode of battery connects the charging input end, and the anode of second battery connects the charging input end and/or described the The cathode of one battery.
The input terminal of the terminal system connects the anode of the charging input end and/or second battery.It should be understood that , terminal system can be understood as the electricity system of terminal.
Current measuring element, the current measuring element concatenate first battery, the output of the current measuring element The first end of end connection operation control element.When specific implementation, current measuring element is used to detect the current value of the first battery;Into One step, the current value for the battery that current measuring element can will test is transmitted to operation control element.
Electric power detection element, the first end of the electric power detection element connect second battery, the electric power detection member The second end of part connects the second end of the operation control element.When specific implementation, electric power detection element is for detecting the second electricity Voltage value, current value and the charge value in pond;Further, the voltage for the second battery that electric power detection element can will test Value, current value and charge value are transmitted to operation control element.
In the charging input end, first battery, second battery and the terminal system arbitrarily between the two Switch can be set.In this way, the charging circuit of the embodiment of the present invention can be made by controlling the above-mentioned working condition respectively switched Charging circuit to the first battery and the second battery series connection or charged in parallel or, the first battery or the second battery are individually filled Electricity.
It should be understood that cathode, the cathode of the second battery and the output end of terminal system and ground terminal of the first battery connect It connects.For the first battery, charged in parallel or charging circuit are carried out to the first electricity to the first battery and the second battery in charging circuit Pond carries out in the case where individually charging, and is connected between the cathode and ground terminal of the first battery;Charging circuit to the first battery and In the case that second battery carries out serial connection charge, the cathode of the first battery and ground terminal it is separated, therefore, can be electric first One switch of setting between the cathode and ground terminal in pond, so as to control the first battery by the working condition for controlling the switch Cathode and ground terminal between state.
When implementing, the working condition respectively switched in charging circuit can be controlled by operation control element, but be not limited only to This.In addition, operation control element at least can be used for: when obtaining the charging charged the battery by the charging circuit Long and the first battery initial quantity of electricity value.In embodiments of the present invention, the initial quantity of electricity value of battery are as follows: charging input end connects The charge value for connecing battery before charging equipment, is referred to as initial capacity state.
In practical applications, to prevent over-charging of battery, charging circuit can also detect the voltage shape of each battery in battery pack State, to adjust the charging voltage and/or charging current of charging circuit according to the voltage status of battery.Therefore, for shown in Fig. 1 Charging circuit, charging circuit can also increase by one for detecting the voltage detector component of the first battery both end voltage, in reality In, which can integrate with current measuring element shown in FIG. 1, form current measuring element.
It, can for the connection relationship in charging circuit between charging input end, the first battery, the second battery and terminal system Choosing:
The anode of first battery connects the charging input end by first switch;
The cathode of first battery connects ground terminal by second switch;
The anode of second battery switchs the cathode of first battery by third;
The input terminal of the terminal system connects the charging input end by the 4th switch;
The anode that the input terminal of the terminal system passes through the 5th switch second battery;
The anode of second battery connects the charging input end by the 4th switch and the 5th switch.
For convenience of understanding, Fig. 1 is please referred to.In Fig. 1, the input terminal of terminal system passes through the 4th switch connection charging input End, by the anode of the 5th switch the second battery of connection, meanwhile, the 5th switch of anode multiplexing of the second battery and the 4th switch connect Connect charging input end, in this way, it is possible to reduce the number of switches being arranged in charging circuit, so as to reduce charging circuit at This.It will be appreciated that in other embodiments, the second battery can also connect charging input end by another switch.
It should be noted that charging circuit shown in FIG. 1 is merely illustrative, it is not intended to limit the present invention the charging of embodiment The specific manifestation form of circuit.
It is optional for charging circuit shown in FIG. 1:
In the case where carrying out serial connection charge to first battery and second battery by the charging circuit, institute It is in the conductive state to state first switch, third switch and the 5th switch, the second switch and the 4th switch are in disconnection State;Or,
In the case where carrying out charged in parallel to first battery and second battery by the charging circuit, institute State that first switch, second switch, the 4th switch and the 5th switch are in the conductive state, and third switch is in disconnected Open state;Or,
In the case where individually charge to first battery by the charging circuit, the first switch, institute It states second switch and the 4th switch is in the conductive state, the third switch and the 5th switch are in an off state.
In addition, in the case where individually charge to the second battery by the charging circuit, the 4th switch and the 5th Switch in the conductive state, the first switch is in an off state.
In embodiments of the present invention, the charging scheme that charging circuit uses specifically can be according to the first battery and the second battery Whether balanced judging result determines.
Specifically, in the case where the first battery and second are battery balanced, charging circuit can use serial connection charge scheme Or charged in parallel scheme, it is contemplated that the fast speed of serial connection charge, it is usually preferred to use serial connection charge scheme;In the first battery and In the unbalanced situation of second battery, charging circuit uses independent charging scheme, and the charging object individually to charge can be according to the Charge value in one battery and the second battery determines that such as: the charging object individually to charge can be the first battery and the second battery The middle lower battery of charge value, so that charge value of the charge value of the first battery close to the second battery, and then realize the first electricity The equilibrium in pond and the second battery.
Wherein, the battery balanced difference for referring to the charge value between battery is within preset range.Therefore, when specific implementation, Operation control element can obtain the initial quantity of electricity value of the first battery according to the electric quantity curve and usage record of the first battery;Root According to the electric quantity curve and usage record of the second battery, the charge value of the second battery is obtained, and then can be by judging the first battery Charge value and the second battery charge value difference whether within a preset range, to judge whether are the first battery and the second battery It is balanced.
Each charging scheme is illustrated individually below:
Serial connection charge scheme: serial connection charge is carried out to first battery and second battery.
In this charging scheme, charging circuit shown in FIG. 1 can be equivalent to Fig. 2.Wherein, ground terminal and operation control member Part is not shown in Fig. 2, in addition, the flow direction of the arrow indicator current in Fig. 2.
As shown in Figure 2, the first battery is on main line, and the second battery and terminal system are on branch road.Accordingly, it is to be understood that It is IAlways=I1=I2+ISystem;The input charge value=the input charge value of the-the second battery of charge value always inputted-of first battery is The charge value that system uses.Wherein, IAlwaysIndicate the total current of input, I1The electric current of the first battery, I are flowed through in expression2It indicates to flow into second The electric current of battery, ISystemIndicate the electric current of inflow terminal system.
In this charging scheme, I1It can detect to obtain by current measuring element, I2It can be obtained by electric power detection element testing It arrives, therefore, ISystemI can be subtracted by I12It is calculated, no setting is required for charging circuit one for detecting the electric current of terminal system The current measuring element of value, so as to reduce the cost of charging circuit.Certainly, in practical applications, I is obtained to improveSystem's The current measuring element of a current value for detecting terminal system also can be set in rate, charging circuit.
In the case where constant-current charge, charge value can pass through calculation formula: Q=It, which is calculated, to be obtained, wherein Q indicates electricity Magnitude, I indicate charging current, and t indicates charging duration.As shown in Figure 2, the charging of the first battery, the second battery and terminal system Duration is equal, it is assumed that its charging duration is T1, then charge value=I for always inputting1×T1;The charge value that system uses=(I1-I2) ×T1.It should be noted that the embodiment of the present invention is only illustrated with constant-current charge, if electric current changes when charging, Charge value can pass through the form calculus of integral.
For the input charge value of the second battery: in a kind of implementation, the input charge value of the second battery can be passed through =I2×T1It is calculated;In another implementation, the electricity for the second battery that can be obtained by electric power detection element testing The initial quantity of electricity value that value subtracts the second battery is calculated, wherein the initial quantity of electricity value of the second battery is charging input end connection The charge value of second battery before charging equipment;When specific implementation, the initial quantity of electricity value of the second battery can be by operation control member Part is obtained according to the electric quantity curve of the second battery and the usage record operation of the second battery.
Charged in parallel scheme: charged in parallel is carried out to first battery and second battery.
In this charging scheme, charging circuit shown in FIG. 1 can be equivalent to Fig. 3.Wherein, ground terminal and operation control member Part is not shown in Fig. 3, in addition, the flow direction of the arrow indicator current in Fig. 3.
From the figure 3, it may be seen that the first battery, the second battery and terminal system are in parallel.It is understood, therefore, that IAlways=I1+I2+ ISystem;Input charge value=I of first battery1×T1
Independent charging scheme, for individually charge to the first battery.When charging circuit carries out list to the first battery Solely when charging, charging circuit shown in FIG. 1 can be equivalent to Fig. 4.
From the figure 3, it may be seen that the first battery and terminal system are in parallel.It is understood, therefore, that I it is total=I1+ I system;First Input charge value=I of battery1×T1
In embodiments of the present invention, for arbitrary charging scheme, after the input charge value of the first battery is calculated, The sum of the initial quantity of electricity value of the input charge value of first battery and the first battery can be determined as to the total electricity value of the first battery, That is the charge value after the first battery charging.Wherein, the initial quantity of electricity value of the first battery can be by operation control element according to first The usage record operation of the electric quantity curve of battery and the first battery obtains.
In practical applications, the electric quantity curve of the first battery and the electric quantity curve of the second battery can recorde in electric power detection It in element, also can store in operation control element or other elements, the embodiment of the present invention is not to the storage position of electric quantity curve It sets and is defined.In addition, the electricity of the second battery is bent in the case where the first battery and the second battery are the battery of same model The electric quantity curve of line and the second battery can be identical.
The charging circuit of the embodiment of the present invention, for the first battery, terminal can detect first by current measuring element The current value of battery obtains the charging duration of the first battery charging and the initial electricity of the first battery by operation control element Magnitude, so as to determine the target charge value of the first battery according to above-mentioned parameter value;For the second battery, terminal can be straight Connected the charge value of the second battery of electric power detection element testing.As it can be seen that the first battery and may be implemented in the embodiment of the present invention The accurate acquisition of the charge value of two batteries.
The embodiment of the present invention also provides a kind of terminal, the charging circuit including the embodiment of the present invention.
The embodiment of the present invention also provides a kind of electricity acquisition methods, can be applied to include the embodiment of the present invention charging electricity The terminal on road.The electricity acquisition methods of the embodiment of the present invention are illustrated below.
It is one of the flow chart of electricity acquisition methods provided in an embodiment of the present invention referring to Fig. 5, Fig. 5.As shown in figure 5, electric Amount acquisition methods may comprise steps of:
Step 501, before being charged by the charging circuit to first battery, the operation control element Obtain the first initial quantity of electricity value of first battery.
When specific implementation, operation control element can obtain first according to the electric quantity curve and usage record of the first battery The initial quantity of electricity value of battery, i.e. charging input end connect the charge value of the first battery before charging equipment.
Step 502, in the case where being charged by the charging circuit to first battery, the operation control First battery that element obtains the charging duration of the first battery charging and the current measuring element detects First current value.
When specific implementation, operation control element can obtain the charging duration by record, or receive and fill described in acquisition Electric duration.
Step 503, the operation control element according to the first initial quantity of electricity value, first current value and described fill Electric duration determines the first object charge value of first battery.
It should be understood that the first object charge value of the first battery is to pass through the charging circuit to first battery Charge value after being charged.
Wherein, the specific manifestation form of step 503 is related to charging scheme.
Embodiment one carries out serial connection charge to first battery and second battery by the charging circuit.
Optionally, the method also includes:
Before being charged by the charging circuit to second battery, described in the operation control element acquisition Second initial quantity of electricity value of the second battery;
In the case where being charged by the charging circuit to second battery, the operation control element is obtained Second current value of second battery that the electric power detection element testing arrives;
The operation control element according to the first initial quantity of electricity value, first current value and the charging duration, Determine the first object charge value of first battery, comprising:
The product of first current value and the charging duration is determined as total electricity value by the operation control element;
The product of first object value and the charging duration is determined as the terminal system by the operation control element to be made Third charge value, the first object value are the difference of first current value and second current value;
The sum of second target value and the first initial quantity of electricity value is determined as first electricity by the operation control element The first object charge value in pond, second target value subtract third target value for the total electricity value and subtract the third electricity again The difference of magnitude, the third target value are the product of second current value and the charging duration.
Its realization principle can specifically be described with reference to foregoing teachings, and details are not described herein again.
In addition, it is necessary to explanation, the third target value can also be by showing themselves in that the electric power detection element testing Second target charge value of the second battery arrived and the difference of the second initial quantity of electricity value.
Embodiment two carries out charged in parallel to first battery and second battery by the charging circuit, Or the charging circuit individually charges to first battery.
Optionally, the operation control element according to the first initial quantity of electricity value, first current value and described fills Electric duration determines the first object charge value of first battery, comprising:
The sum of the first initial quantity of electricity value and the 4th target value is determined as first electricity by the operation control element The first object charge value in pond, the 4th target value are the product of first current value and the charging duration.
Its realization principle can specifically be described with reference to foregoing teachings, and details are not described herein again.
The electricity acquisition methods of the embodiment of the present invention further can also include:
The operation control element arrived according to the first object charge value and the electric power detection element testing second Second target charge value of battery, determines the charging scheme of the charging circuit;
The operation control element fills first battery and/or second battery using the charging scheme Electricity.
When specific implementation, operation control element can be by the working condition of control switch, so that charging circuit is using true Fixed charging scheme charges to first battery and/or second battery.
In a kind of implementation, operation control element be may determine that between first object charge value and the second target charge value Difference whether exceed preset range.If the difference between first object charge value and the second target charge value exceeds default model It encloses, then can determine that charging scheme is independent charging scheme, and the lower battery of charge value is determined as independent charging object;If Difference between first object charge value and the second target charge value can then determine charging scheme for string without departing from preset range Join charging scheme or charged in parallel scheme.
In another implementation, operation control element may determine that whether first object charge value reaches the first preset value Or second target charge value whether reach the second preset value.If it is pre- that operation control element determines that first object charge value reaches first If value or the second target charge value reach the second preset value, then it can determine that charging scheme is independent charging scheme, and by electricity Value is to reach the battery of its corresponding preset value to be determined as independent charging object;If operation control element determines first object electricity Value reaches the first preset value and the second target charge value reaches the second preset value, then Operations Analysis can control first and open Pass, the 4th switch are in an off state, and stop charging to the first battery and the second battery.Wherein, the first preset value can be the The open ended maximum charge value of one battery, the second preset value can be the open ended maximum charge value of the second battery.
In embodiments of the present invention, the first object electricity of the first battery can be obtained by calculation in operation control element Value can receive the second target charge value for obtaining the second battery.In the feelings that battery pack only includes the first battery and the second battery Under condition, total electricity value=first object charge value the+the second target charge value of battery pack.
It should be noted that the operation control element of the embodiment of the present invention can also according to the electric quantity curve of the first battery and Usage record obtains the loading electricity ability of the first battery;According to the electric quantity curve and usage record of the second battery, second is obtained The loading electricity ability of battery.Wherein, the loading electricity ability of battery can be used for measuring the ability that battery loads electricity, i.e., electric Pond can fill how many electricity.It should be understood that the ability of the loading electricity of battery will reduce with the increase of service time of battery.
The total electricity percentage of battery pack=(the total loading electricity ability of total electricity value/battery pack of battery pack) × 100%, wherein the loading electricity of loading the+the second battery of electricity ability of total loading electricity ability=first battery of battery pack Ability.
As it can be seen that the accurate of the battery information of the first battery and the second battery may be implemented in the electricity acquisition methods of the present embodiment It obtains.
It should be noted that in embodiments of the present invention, terminal can obtain the first battery when reaching preset condition Charge value.Therefore, the first object charge value of the first battery determined in embodiment of the present invention method is it is to be understood that reach pre- If the charge value of the first battery when condition;Correspondingly, the finish time of the charging duration of the first battery charging are as follows: reach pre- If at the time of condition.Specifically, it may include at least one of following for reaching preset condition: the charging voltage value of first battery Higher than preset voltage value;The charging current of first battery is lower than pre-set current value.
It should be noted that the embodiment for the plurality of optional introduced in the embodiment of the present invention, can be combined with each other each other It realizes, can also be implemented separately, this embodiment of the present invention is not construed as limiting.
For convenience of understanding, illustrate as follows:
Embodiment one, serial connection charge.Please refer to Fig. 6:
Input interface detects incoming level;
Battery use information is read, judges whether battery is balanced, and the synchronous input voltage that reads (executes if unbalanced Preset balanced measure;Quick charge scheme is executed if balanced);
If battery is equalised, control switch serial connection charge;
Current measuring element detects the voltage and current of the first battery;
Electric power detection element measures the information of the second battery;
Operations Analysis is calculated according to the information of current measuring element and the information of electric power detection element, judges The charge value of one battery.
Embodiment two, charged in parallel.Please refer to Fig. 7:
Input interface detects incoming level;
Battery use information is read, judges whether battery is balanced, and the synchronous input voltage that reads (executes if unbalanced Preset balanced measure;Quick charge scheme is executed if balanced);
If battery is equalised, control switch charged in parallel;
Current measuring element detects the voltage and current of the first battery;
Electric power detection element measures the information of the second battery;
Operations Analysis is calculated according to the information of current measuring element, judges the charge value of the first battery.
Embodiment three individually charges to the first battery.Please refer to Fig. 8:
Input interface detects incoming level;
Battery use information is read, judges whether battery is balanced, and synchronous reading input voltage;
If balanced, charge in parallel or series;
If unbalanced, determine whether to individually charge to the first battery;
If it is not, then individually being charged to the second battery, and during the charging process, charge according to the communication information;
If so, Operations Analysis control switch individually gives the first battery to charge;
Current measuring element detects the voltage and current of the first battery;
Electric power detection element measures the information of the second battery;
Operations Analysis is calculated according to the information of current measuring element, judges the charge value of the first battery.
The embodiment of the present invention at least has following improvement:
1, the electric power detection element for reducing battery, reduces costs and complexity.
2, only by calculating, the charge value of the first battery is calculated when finally fast be full of, reduces charging scheme Switching times accelerate battery charging rate.
The electricity acquisition methods of the embodiment of the present invention, Operations Analysis can filling by the first battery and the second battery Piezoelectric voltage and electric current and system power information calculate the information of the first battery.It may be implemented by this method using an electricity Meter can accurately test out the information of entire battery pack, it is ensured that the equilibrium of battery is reliable.
When charging input end is connected to standard configuration charger, through the embodiment of the present invention, the information of battery can be accurately judged, So as to realize charging safely and fast.
During charging, does not need to increase electric power detection element to the first battery, can be joined by related charger Number (including system electricity consumption, charge information, the charging total current voltage of the second battery), calculates the part of not electric power detection The information of (the first battery), to guarantee the equalization problem of battery in charging process.
The embodiment of the present invention at least has the following beneficial effects:
1, the information about power between two batteries can be accurately tested out, and balanced measure is executed according to information about power, really Two battery balanced uses are protected, guarantee the reliability of mobile phone.
2, an electric power detection element can be used, complete the information measurement of two or more battery packs.
In the charger for connecing standard configuration, the embodiment of the present invention provides reliable information for charge and discharge fulgurite for quick charge Reason;When connecing nonstandard charger, the embodiment of the present invention can also accurately provide battery information, so that mobile phone is accurately electric to carrying out Pond control.
The embodiment of the invention also provides a kind of terminal, the terminal includes at least charging circuit as described above, into one Step ground, refers to Fig. 9, the operation control element of charging circuit may include:
First obtains module 901, for obtaining before being charged by the charging circuit to first battery First initial quantity of electricity value of first battery;
Second obtains module 902, in the case where being charged by the charging circuit to first battery, The first of first battery that the charging duration and the current measuring element for obtaining the first battery charging detect Current value;
First determining module 903, when for according to the first initial quantity of electricity value, first current value and the charging It is long, determine the first object charge value of first battery.
Optionally, in the feelings for carrying out serial connection charge to first battery and second battery by the charging circuit Under condition:
The operation control element further include:
Third obtains module, for obtaining institute before charging by the charging circuit to second battery State the second initial quantity of electricity value of the second battery;
4th obtains module, for obtaining in the case where being charged by the charging circuit to second battery Second current value of second battery for taking the electric power detection element testing to arrive;
First determining module 903, comprising:
First determination unit, for the product of first current value and the charging duration to be determined as total electricity value;
Second determination unit makes for the product of first object value and the charging duration to be determined as the terminal system Third charge value, the first object value are the difference of first current value and second current value;
Third determination unit, for the sum of the second target value and the first initial quantity of electricity value to be determined as first electricity The first object charge value in pond, second target value subtract third target value for the total electricity value and subtract the third electricity again The difference of magnitude, the third target value are the product of second current value and the charging duration.
Optionally, charged in parallel is being carried out to first battery and second battery by the charging circuit, or First battery is carried out in the case where individually charging by the charging circuit:
First determining module 903, is specifically used for:
The sum of the first initial quantity of electricity value and the 4th target value is determined as to the first object electricity of first battery Value, the 4th target value are the product of first current value and the charging duration.
Optionally, the operation control element further include:
Second determining module, second for being arrived according to the first object charge value and the electric power detection element testing Second target charge value of battery, determines the charging scheme of the charging circuit;
Charging module, for being charged using the charging scheme to first battery and/or second battery.
Operation control element in the present embodiment can be realized what operation control element in embodiment of the present invention method was realized Each process, and reach identical beneficial effect, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned electricity acquisition methods embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (12)

1. a kind of charging circuit, which is characterized in that the charging circuit includes:
Charging input end;
Battery pack, the battery pack include at least the first battery and the second battery, fill described in the anode connection of first battery Electrical input, the anode of second battery connect the cathode of the charging input end and/or first battery;
Terminal system, the input terminal of the terminal system connect the anode of the charging input end and/or second battery;
Operation control element;
Current measuring element, the current measuring element concatenate first battery, and the output end of the current measuring element connects Connect the first end of the operation control element;
The first end of electric power detection element, the electric power detection element connects second battery, the electric power detection element Second end connects the second end of the operation control element;
Wherein, in the charging input end, first battery, second battery and the terminal system arbitrarily between the two It is provided with switch.
2. charging circuit according to claim 1, it is characterised in that:
The anode of first battery connects the charging input end by first switch;
The cathode of first battery connects ground terminal by second switch;
The anode of second battery switchs the cathode of first battery by third;
The input terminal of the terminal system connects the charging input end by the 4th switch;
The anode that the input terminal of the terminal system passes through the 5th switch second battery;
The anode of second battery connects the charging input end by the 4th switch and the 5th switch.
3. charging circuit according to claim 2, it is characterised in that:
In the case where carrying out serial connection charge to first battery and second battery by the charging circuit, described the One switch, third switch and the 5th switch are in the conductive state, and the second switch and the 4th switch are in an off state; Or,
In the case where carrying out charged in parallel to first battery and second battery by the charging circuit, described the One switch, second switch, the 4th switch and the 5th switch are in the conductive state, and the third switch is in disconnection shape State;Or,
In the case where individually charge to first battery by the charging circuit, the first switch, described the Two switches and the 4th switch are in the conductive state, and the third switch and the 5th switch are in an off state.
4. a kind of terminal, which is characterized in that the terminal includes being applied to the electricity of charging described in any one of claims 1 to 3 Road.
5. a kind of electricity acquisition methods are applied to terminal, which is characterized in that the terminal includes any one of claims 1 to 3 The charging circuit;The described method includes:
Before being charged by the charging circuit to first battery, the operation control element obtains described first First initial quantity of electricity value of battery;
In the case where being charged by the charging circuit to first battery, described in the operation control element acquisition First current value of first battery that the charging duration of the first battery charging and the current measuring element detect;
The operation control element is determined according to the first initial quantity of electricity value, first current value and the charging duration The first object charge value of first battery.
6. according to the method described in claim 5, it is characterized in that, passing through the charging circuit to first battery and institute In the case where stating the second battery progress serial connection charge:
The method also includes:
Before being charged by the charging circuit to second battery, the operation control element obtains described second Second initial quantity of electricity value of battery;
In the case where being charged by the charging circuit to second battery, described in the operation control element acquisition Second current value of second battery that electric power detection element testing arrives;
The operation control element is determined according to the first initial quantity of electricity value, first current value and the charging duration The first object charge value of first battery, comprising:
The product of first current value and the charging duration is determined as total electricity value by the operation control element;
The product of first object value and the charging duration is determined as what the terminal system used by the operation control element Third charge value, the first object value are the difference of first current value and second current value;
The sum of second target value and the first initial quantity of electricity value is determined as first battery by the operation control element First object charge value, second target value subtract third target value for the total electricity value and subtract the third charge value again Difference, the third target value be second current value and the charging duration product.
7. according to the method described in claim 5, it is characterized in that, passing through the charging circuit to first battery and institute It states the second battery and carries out charged in parallel, or, being carried out in the case where individually charging by the charging circuit to first battery:
The operation control element is determined according to the first initial quantity of electricity value, first current value and the charging duration The first object charge value of first battery, comprising:
The sum of the first initial quantity of electricity value and the 4th target value is determined as first battery by the operation control element First object charge value, the 4th target value are the product of first current value and the charging duration.
8. method according to any one of claims 5 to 7, which is characterized in that the method also includes:
The second battery that the operation control element is arrived according to the first object charge value and the electric power detection element testing The second target charge value, determine the charging scheme of the charging circuit;
The operation control element charges to first battery and/or second battery using the charging scheme.
9. a kind of terminal, which is characterized in that the terminal includes charging circuit as claimed any one in claims 1 to 3, institute Stating operation control element includes:
First obtains module, for before charging by the charging circuit to first battery, acquisition described the First initial quantity of electricity value of one battery;
Second obtains module, for obtaining institute in the case where charging by the charging circuit to first battery First electric current of first battery that the charging duration and the current measuring element for stating the charging of the first battery detect Value;
First determining module, for determining according to the first initial quantity of electricity value, first current value and the charging duration The first object charge value of first battery.
10. terminal according to claim 9, which is characterized in that by the charging circuit to first battery and In the case that second battery carries out serial connection charge:
The operation control element further include:
Third obtains module, for before charging by the charging circuit to second battery, acquisition described the Second initial quantity of electricity value of two batteries;
4th obtains module, for obtaining institute in the case where charging by the charging circuit to second battery State the second current value of second battery that electric power detection element testing arrives;
First determining module, comprising:
First determination unit, for the product of first current value and the charging duration to be determined as total electricity value;
Second determination unit, for the product of first object value and the charging duration to be determined as what the terminal system used Third charge value, the first object value are the difference of first current value and second current value;
Third determination unit, for the sum of the second target value and the first initial quantity of electricity value to be determined as first battery First object charge value, second target value subtract third target value for the total electricity value and subtract the third charge value again Difference, the third target value be second current value and the charging duration product.
11. terminal according to claim 9, which is characterized in that by the charging circuit to first battery and Second battery carries out charged in parallel, or the case where individually charged by the charging circuit to first battery Under:
First determining module, is specifically used for:
The sum of the first initial quantity of electricity value and the 4th target value is determined as to the first object charge value of first battery, institute State the product that the 4th target value is first current value and the charging duration.
12. the terminal according to any one of claim 9 to 11, which is characterized in that the operation control element further include:
Second determining module, second for being arrived according to the first object charge value and/or the electric power detection element testing Second target charge value of battery, determines the charging scheme of the charging circuit;
Charging module, for being charged using the charging scheme to first battery and/or second battery.
CN201910153015.4A 2019-02-28 2019-02-28 Charging circuit, electric quantity obtaining method and terminal Active CN109802463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910153015.4A CN109802463B (en) 2019-02-28 2019-02-28 Charging circuit, electric quantity obtaining method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910153015.4A CN109802463B (en) 2019-02-28 2019-02-28 Charging circuit, electric quantity obtaining method and terminal

Publications (2)

Publication Number Publication Date
CN109802463A true CN109802463A (en) 2019-05-24
CN109802463B CN109802463B (en) 2023-01-24

Family

ID=66562328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910153015.4A Active CN109802463B (en) 2019-02-28 2019-02-28 Charging circuit, electric quantity obtaining method and terminal

Country Status (1)

Country Link
CN (1) CN109802463B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448428A (en) * 2019-08-30 2021-03-05 Oppo广东移动通信有限公司 Electronic device and charge-discharge control method
CN113036880A (en) * 2021-04-09 2021-06-25 Oppo广东移动通信有限公司 Charging device, electronic device and charging method
TWI787733B (en) * 2021-02-09 2022-12-21 華碩電腦股份有限公司 Electronic system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402375A (en) * 2002-04-04 2003-03-12 北京航空航天大学 Method and device for automatic equilization of charge-and-dischage based on cell dynamic electricity different compensation
CN102231548A (en) * 2011-07-04 2011-11-02 上海工程技术大学 Battery charging device with dynamic capacity-display and charge countdown functions and application thereof
CN205921420U (en) * 2016-08-02 2017-02-01 威马汽车技术有限公司 Dual -battery system controlling means that charges
CN107231014A (en) * 2016-09-20 2017-10-03 华为技术有限公司 A kind of charging circuit, terminal and charging system
CN107565628A (en) * 2017-09-06 2018-01-09 安徽合力股份有限公司 A kind of high-capacity lithium battery low-voltage direct charge control system and method
EP3409529A1 (en) * 2017-06-02 2018-12-05 Hyundai Motor Company Vehicle battery system and method of controlling same
CN108944510A (en) * 2018-07-06 2018-12-07 爱驰汽车有限公司 The charge control method and electronic equipment of more battery packs
CN108988421A (en) * 2018-07-13 2018-12-11 维沃移动通信有限公司 A kind of charging method of battery, charging circuit and terminal
CN109149674A (en) * 2017-06-27 2019-01-04 北京小米移动软件有限公司 Battery module and electronic equipment
CN109149669A (en) * 2017-06-16 2019-01-04 北京小米移动软件有限公司 Battery modules and its control method, charging adapter and its control method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402375A (en) * 2002-04-04 2003-03-12 北京航空航天大学 Method and device for automatic equilization of charge-and-dischage based on cell dynamic electricity different compensation
CN102231548A (en) * 2011-07-04 2011-11-02 上海工程技术大学 Battery charging device with dynamic capacity-display and charge countdown functions and application thereof
CN205921420U (en) * 2016-08-02 2017-02-01 威马汽车技术有限公司 Dual -battery system controlling means that charges
CN107231014A (en) * 2016-09-20 2017-10-03 华为技术有限公司 A kind of charging circuit, terminal and charging system
EP3409529A1 (en) * 2017-06-02 2018-12-05 Hyundai Motor Company Vehicle battery system and method of controlling same
CN109149669A (en) * 2017-06-16 2019-01-04 北京小米移动软件有限公司 Battery modules and its control method, charging adapter and its control method
CN109149674A (en) * 2017-06-27 2019-01-04 北京小米移动软件有限公司 Battery module and electronic equipment
CN107565628A (en) * 2017-09-06 2018-01-09 安徽合力股份有限公司 A kind of high-capacity lithium battery low-voltage direct charge control system and method
CN108944510A (en) * 2018-07-06 2018-12-07 爱驰汽车有限公司 The charge control method and electronic equipment of more battery packs
CN108988421A (en) * 2018-07-13 2018-12-11 维沃移动通信有限公司 A kind of charging method of battery, charging circuit and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448428A (en) * 2019-08-30 2021-03-05 Oppo广东移动通信有限公司 Electronic device and charge-discharge control method
TWI787733B (en) * 2021-02-09 2022-12-21 華碩電腦股份有限公司 Electronic system
CN113036880A (en) * 2021-04-09 2021-06-25 Oppo广东移动通信有限公司 Charging device, electronic device and charging method

Also Published As

Publication number Publication date
CN109802463B (en) 2023-01-24

Similar Documents

Publication Publication Date Title
CN102110862B (en) Battery pack and line open detecting method thereof
CN102467091B (en) There is battery simulator and the method for fault simulation
CN101662051B (en) Method and device for charging battery pack in an equalizing way
CN106740228B (en) Voltage consistency detection method and device and voltage equalization method and device
CN109802463A (en) Charging circuit, electricity acquisition methods and terminal
CN102255114B (en) Method and device for uniform charge and discharge of batteries
CN103311991A (en) Battery management system and balanced state online monitoring method thereof
KR20100131002A (en) Method for detecting cell state-of-charge and state-of-discharge divergence of a series string of batteries or capacitors
CN106662621A (en) Battery state detection device, secondary battery system, program product, and battery state detection method
CN105723230B (en) Battery monitoring device
CN105548895B (en) A kind of battery performance test method and device
CN106486706B (en) A kind of lead-acid accumulator method for group matching and combo device
CN106602638A (en) Intelligent management system and method for lithium battery pack
CN105116342A (en) Battery consistency detection classification method and device
CN105871021B (en) Battery management system and method for battery of electric bicycle group quick charge
KR20100114123A (en) Charging device and quality judging device of pack cell
CN108028536A (en) Battery monitoring apparatus
CN105974317A (en) Remaining battery life prediction device and battery pack
CN107643493A (en) A kind of battery electric quantity predictor method and device, unmanned plane
CN111641241A (en) Lithium battery pack power balanced distribution method and system
CN104898062A (en) Battery testing apparatus and method for controlling same
CN105203958B (en) Battery monitor and cell apparatus
CN106058961A (en) Rechargeable battery, charging management circuit, electronic device and charger
CN100592099C (en) Apparatus and method for charging battery cells
CN102033204A (en) Battery power detection circuit, method and electronic system

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