CN107482724A - Charge control method, device and computer-readable recording medium - Google Patents
Charge control method, device and computer-readable recording medium Download PDFInfo
- Publication number
- CN107482724A CN107482724A CN201710758332.XA CN201710758332A CN107482724A CN 107482724 A CN107482724 A CN 107482724A CN 201710758332 A CN201710758332 A CN 201710758332A CN 107482724 A CN107482724 A CN 107482724A
- Authority
- CN
- China
- Prior art keywords
- current
- control item
- charging
- temperature
- time cycle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000010354 integration Effects 0.000 claims abstract description 60
- 238000001514 detection method Methods 0.000 claims abstract description 13
- 238000004590 computer program Methods 0.000 claims description 22
- 238000003860 storage Methods 0.000 claims description 10
- 230000001186 cumulative effect Effects 0.000 claims 1
- 230000008569 process Effects 0.000 abstract description 21
- 230000006870 function Effects 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- BASFCYQUMIYNBI-UHFFFAOYSA-N platinum Chemical compound [Pt] BASFCYQUMIYNBI-UHFFFAOYSA-N 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000033228 biological regulation Effects 0.000 description 2
- 238000011217 control strategy Methods 0.000 description 2
- 229910052802 copper Inorganic materials 0.000 description 2
- 239000010949 copper Substances 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 229910052697 platinum Inorganic materials 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 230000005619 thermoelectricity Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
Classifications
-
- H02J7/0091—
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention discloses a kind of charge control method, device and computer-readable recording medium, the charge control method includes detection charging chip in the Current Temperatures corresponding to the current time cycle;According to the Current Temperatures and target temperature, calculate Linear Control item, integration control item and the differential control item corresponding to the current time cycle, and according to the Linear Control item, the integration control item and the differential control item, calculate charging current;Rechargeable battery is controlled to be charged with the charging current by the charging chip, to cause the temperature of the charging chip to remain the target temperature.The charge control method is applied to high current fast charge mobile terminal, the accuracy of charging current control can be improved, and the temperature of mobile terminal is remained into the target temperature in charging process, so as to solve the problems, such as that temperature rise of the mobile terminal in charging process is serious and user's temperature rise experience is poor.
Description
Technical field
The present invention relates to charge control technical field, and in particular to a kind of charge control method, device with it is computer-readable
Storage medium.
Background technology
With the development of the communication technology and mobile terminal, mobile terminal relies on the advantage that function is various and has a wide range of application,
People's work and an indispensable part of living are turned into.At present, due to the mobile terminals such as mobile phone, tablet personal computer screen more
Bigization, peripheral hardware variation and the function design such as more comprehensively so that mobile terminal increases power consumption speed during use,
So that the charging of mobile terminal is more frequent.And in the prior art, mobile terminal typically detects during charging
Temperature near CPU, and according to the charging current control strategy of the temperature execution segmented near CPU, so as to reduce near CPU
Temperature, realize control mobile terminal charging process in temperature rise.
But the popularization and application of the high current fast charge technology with mobile terminal so that generated heat in mobile terminal most tight
The position of weight is changed into charging chip region from original CPU section domain, and the temperature in CPU section domain and the temperature in charging chip region have one
Fixed difference, therefore, when high current fast charge mobile terminal uses existing charge control method, reduce filling for mobile terminal
Electric current control accuracy, cause the temperature rise of mobile terminal serious, while the charging current control strategy of segmented causes charging electricity
Stream fluctuation is larger, causes the temperature fluctuation of mobile terminal also larger, the temperature rise physical examination of user is poor.
The content of the invention
It is an object of the invention to provide a kind of charge control method, device and computer-readable recording medium, suitable for big
Electric current fast charge mobile terminal, the accuracy of charging current control can be improved, so as to solve mobile terminal in charging process
The problem of temperature rise is serious.
To solve above technical problem, the embodiment of the present invention provides a kind of charge control method, comprised the following steps:
Charging chip is detected in the Current Temperatures corresponding to the current time cycle;
According to the Current Temperatures and target temperature, the Linear Control item corresponding to the current time cycle is calculated;
According to the Current Temperatures, the target temperature and the Linear Control item, the current week time is calculated
Integration control item corresponding to phase;
According to the Current Temperatures, the target temperature and the Linear Control item, the current week time is calculated
Differential control item corresponding to phase;
According to the Linear Control item, the integration control item and the differential control item, charging current is calculated;
Rechargeable battery is controlled to be charged with the charging current by the charging chip, to cause the charging chip
Temperature remain the target temperature.
Preferably, the detection charging chip is specifically included in the Current Temperatures corresponding to the current time cycle:
Negative tempperature coefficient thermistor of the detection at the charging chip setpoint distance is in the current week time
Temperature corresponding to phase, as the Current Temperatures corresponding to the charging chip.
Preferably, it is described according to Current Temperatures and target temperature, calculate linear corresponding to the current time cycle
Control item, specifically include:
The difference of the target temperature and the Current Temperatures is calculated, as the Linear Control item.
Preferably, it is described according to the Current Temperatures, the target temperature and the Linear Control item, calculate current
Integration control item corresponding to the time cycle, is specifically included:
By the line corresponding to the Linear Control item corresponding to first time cycle to the current time cycle
Property control item is added up to obtain accumulated value;
When the accumulated value meets integration control item zero setting condition, the integration control item is set to zero;
When the accumulated value is unsatisfactory for the integration control item zero setting condition, the integration control item is set to described tired
It is value added;
Wherein, the integration control item zero setting condition is that the Current Temperatures are less than the target temperature and the accumulated value
Less than zero, or the Current Temperatures are more than the target temperature and the accumulated value is more than zero.
Preferably, it is described according to the Current Temperatures, the target temperature and the Linear Control item, calculate current
Differential control item corresponding to the time cycle, is specifically included:
When the differential control item meets differential control item zero setting condition, the differential control item is set to zero;
When the differential control item is unsatisfactory for the differential control item zero setting condition, the current time cycle is calculated
The difference of corresponding Linear Control item and the Linear Control item corresponding to a upper time cycle, as the differential control
Item processed;
Wherein, the differential control item zero setting condition is that the Current Temperatures are less than the target temperature and the current temperature
Degree was less than the temperature corresponding to a upper time cycle, or the Current Temperatures are more than the target temperature and described current
Temperature was more than the temperature corresponding to a upper time cycle.
Preferably, it is described to be filled according to the Linear Control item, the integration control item and the differential control item, calculating
Electric current, specifically include:
The charging current is calculated according to Delta=Pterm/Kp+Iterm/Ki+Dterm/Kd;
Wherein, Delta is the charging current, and Pterm is the Linear Control item, and Kp is linear constant, and Iterm is institute
Integration control item is stated, Ki is integral constant, and Dterm is the differential control item, and Kd is derivative constant.
Preferably, the charge control method also includes:
Judge the size of the charging current and hysteresis electric current;
When the charging current is less than the hysteresis electric current, the current value of the charging current is reset into the hysteresis
Current value corresponding to electric current.
Preferably, the charge control method also includes:
Judge the charging current whether in the range of predetermined current;
If so, the charging input current for determining the rechargeable battery is the charging current.
The present invention also provides a kind of battery charge controller, including processor, memory and is stored in the memory
And be configured as by the computer program of the computing device, realized described in the computing device during computer program above-mentioned
Charge control method.
The present invention also provides a kind of computer-readable recording medium, and the computer-readable recording medium includes the meter of storage
Calculation machine program, wherein, control equipment where the computer-readable recording medium to perform when the computer program is run
The charge control method stated.
Compared with prior art, a kind of charge control method provided in an embodiment of the present invention, device are deposited with computer-readable
The beneficial effect of storage media is:The charge control method comprises the following steps:Charging chip is detected in current week time
Current Temperatures corresponding to phase;According to the Current Temperatures and target temperature, calculate corresponding to the current time cycle
Linear Control item;According to the Current Temperatures, the target temperature and the Linear Control item, the current time is calculated
Integration control item corresponding to cycle;According to the Current Temperatures, the target temperature and the Linear Control item, calculate and work as
Differential control item corresponding to the preceding time cycle;According to the Linear Control item, the integration control item and described
Differential control item, calculate charging current;Rechargeable battery is controlled to be charged with the charging current by the charging chip, with
So that the temperature of the charging chip remains the target temperature.The charge control method moves suitable for high current fast charge
Terminal, can improve the accuracy of charging current control, and the temperature of mobile terminal is remained into the mesh in charging process
Temperature is marked, so as to solve the problems, such as that temperature rise of the mobile terminal in charging process is serious and user's temperature rise experience is poor.
Brief description of the drawings
Fig. 1 is a kind of flow chart of charge control method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of another embodiment of charge control method provided in an embodiment of the present invention;
Fig. 3 is a kind of block diagram of battery charge controller provided in an embodiment of the present invention;
Fig. 4 is a kind of block diagram of another embodiment of battery charge controller provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
Referring to Fig. 1, a kind of flow chart of its charge control method that to be one embodiment of the invention provided, the charging
Control method is applied to high current fast charge mobile terminal, such as dodges and fill smart mobile phone, tablet personal computer etc., while is also applied for general
Mobile terminal.
The charge control method specifically comprises the following steps:
S100:Charging chip is detected in the Current Temperatures corresponding to the current time cycle;
Preferably, the time cycle is 1s.In the charging process of the mobile terminal, every 1s to described mobile whole
The charging chip for most serious of being generated heat in end carries out temperature detection, it is possible to reduce the complete machine temperature of the mobile terminal and detection
The error of the temperature of gained, improve the accuracy of the control of the temperature rise in charging process of the mobile terminal.
S200:According to the Current Temperatures and target temperature, the linear control corresponding to the current time cycle is calculated
Item processed;
S300:According to the Current Temperatures, the target temperature and the Linear Control item, when calculating current described
Between integration control item corresponding to the cycle;
S400:According to the Current Temperatures, the target temperature and the Linear Control item, when calculating current described
Between differential control item corresponding to the cycle;
S500:According to the Linear Control item, the integration control item and the differential control item, charging electricity is calculated
Stream;
S600:Rechargeable battery is controlled to be charged with the charging current by the charging chip, to cause described fill
The temperature of electrical chip remains the target temperature.
By carrying out linear, integration and differential calculation and to described linear to the Current Temperatures and the target temperature
Control item, the integration control item merge calculating to obtain the charging current, the shifting with addressed differential control item
The rechargeable battery of dynamic terminal carries out charging with the charging current can ensure to reduce while the mobile terminal quick charge
Temperature rise, and the temperature of the mobile terminal is more accurately adjusted to the target temperature, to cause mobile terminal charging
During temperature be consistent, improve user temperature rise experience.
In a kind of optional embodiment, S100:The detection charging chip is in working as corresponding to the current time cycle
Preceding temperature, is specifically included:
Negative tempperature coefficient thermistor of the detection at the charging chip setpoint distance is in the current week time
Temperature corresponding to phase, as the Current Temperatures corresponding to the charging chip.
Wherein, the setpoint distance is 5mm to any value between 10mm.Negative tempperature coefficient thermistor exists in normal temperature
Resistance be 100K, have size small, the characteristic of high sensitivity, can accurately be sensed using negative tempperature coefficient thermistor described
The temperature of charging chip.In other embodiments, semistor, thermal resistance (copper or platinum) or thermoelectricity can be used
It is even to substitute the negative tempperature coefficient thermistor, to detect the temperature of the charging chip.
In a kind of optional embodiment, S200:It is described according to Current Temperatures and target temperature, when calculating current described
Between Linear Control item corresponding to the cycle, specifically include:
The difference of the target temperature and the Current Temperatures is calculated, as the Linear Control item.
Specifically, the Linear Control item is calculated according to Pterm=Ttarget-Tcurr, wherein, Pterm is the line
Property control item, Ttarget is the target temperature, and Tcurr is the Current Temperatures.
In a kind of optional embodiment, S300:It is described according to the Current Temperatures, the target temperature and the line
Property control item, calculates the integration control item corresponding to the current time cycle, specifically includes:
By the line corresponding to the Linear Control item corresponding to first time cycle to the current time cycle
Property control item is added up to obtain accumulated value;
Specifically, according to Sum=Pterm1+ ... ,+Pterm N calculate the accumulated value, wherein, Sum is the accumulated value,
Pterm1 is the Linear Control item corresponding to first time cycle, and Pterm N are right for the current time cycle
The Linear Control item answered.
When the accumulated value Sum meets integration control item zero setting condition, the integration control item Iterm is set to zero;
When the accumulated value Sum is unsatisfactory for the integration control item zero setting condition, the integration control item Iterm is set
For the accumulated value Sum;
Wherein, the integration control item zero setting condition is that the Current Temperatures are less than the target temperature and the accumulated value
Sum is less than zero, or the Current Temperatures are more than the target temperature and the accumulated value Sum is more than zero.
In a kind of optional embodiment, S400:It is described according to the Current Temperatures, the target temperature and the line
Property control item, calculates the differential control item corresponding to the current time cycle, specifically includes:
When the differential control item meets differential control item zero setting condition, the differential control item is set to zero;
When the differential control item is unsatisfactory for the differential control item zero setting condition, the current time cycle is calculated
The difference of corresponding Linear Control item and the Linear Control item corresponding to a upper time cycle, as the differential control
Item processed;
Specifically, the differential control item is calculated according to Dterm=PtermN-Pterm (N-1), wherein, Dterm is institute
State differential control item, PtermN is the Linear Control item corresponding to the current time cycle, the upper institute of Pterm (N-1)
State the Linear Control item corresponding to the time cycle.
Wherein, the differential control item zero setting condition is that the Current Temperatures are less than the target temperature and the current temperature
Degree was less than the temperature corresponding to a upper time cycle, or the Current Temperatures are more than the target temperature and described current
Temperature was more than the temperature corresponding to a upper time cycle.
In a kind of optional embodiment, S500:It is described according to the Linear Control item, the integration control item and institute
Differential control item is stated, charging current is calculated, specifically includes:
The charging current is calculated according to Delta=Pterm/Kp+Iterm/Ki+Dterm/Kd;
Wherein, Delta is the charging current, and Pterm is the Linear Control item, and Kp is linear constant, and Iterm is institute
Integration control item is stated, Ki is integral constant, and Dterm is the differential control item, and Kd is derivative constant.
Because error letter be present in the input signal and output signal of the charge controller that is integrated with the charge controlling chip
Number and the proportional relation of the error signal, can cause the charging if only introducing the Linear Control item and calculating the charging current
Steady-state error be present (it is appreciated that the output current of the charge controller is the rechargeable battery in the output current of controller
Input current).Therefore the present embodiment introduces the integration control item and the differential control on the basis of the Linear Control item
Item processed is to calculate the charging current.The integration control item can eliminate steady-state error caused by the Linear Control item.By
Increase over time and increase in the integration control item, even if the steady-state error very little, the integration control item also can
Increase over time and increase, and promote the output of charge controller to increase, so as to reduce the steady-state error until described
Steady-state error is equal to zero.The differential control item can suppress the steady-state error.Because the change of the differential control item falls
Afterwards with the steady-state error, the variation tendency of the steady-state error can be predicted according to the variation tendency of the differential control item,
So as to overcome the steady-state error during regulation it is possible that vibration even unstability situation.
Linear, integration and differential calculation are carried out and to calculating according to the temperature of the charging chip and the target temperature
The Linear Control item, integration control item and the differential control item of gained are merged to obtain the charging current, can be with
The error of the output current of the charge controller of the mobile terminal is effectively reduced, improves the accuracy of charge control.The shifting
The rechargeable battery of dynamic terminal carries out charging with the charging current can ensure to reduce while the mobile terminal quick charge
Temperature rise, and more accurately the temperature of mobile terminal is adjusted near the target temperature, to cause the mobile terminal to exist
Temperature is maintained near the target temperature in charging process, avoids the mobile terminal surface temperature described in charging process from fluctuating
Frequently.Due to the mobile terminal, temperature change is little in charging process so that the charging current will not produce compared with
Big amplification or amount of decrease, improve the stability of the charging current.
Referring to Fig. 2, in a kind of optional embodiment, the charge control method also includes:S700:Filled described in judgement
The size of electric current and hysteresis electric current.
When the charging current is less than the hysteresis electric current, the current value of the charging current is reset into the hysteresis
Current value corresponding to electric current;.
Preferably, the hysteresis electric current is 50mA.Because the rechargeable battery is entered with the charging current less than 50mA
During row charging, it is impossible to efficiently control the temperature rise of the mobile terminal, increase energy loss on the contrary.Therefore, in the present embodiment,
When the charging current is less than 50mA, the current value of the charging current is adjusted to 50mA, control the rechargeable battery with
50mA is charged, it is possible to reduce action frequently unnecessary in charging control process, so as to improve the mobile terminal charging
The speed of response, while the load of the charge controller is reduced, so as to reduce the energy loss of the mobile terminal.
Referring to Fig. 2, in a kind of optional embodiment, the charge control method also includes:S800:Filled described in judgement
Whether electric current is in the range of predetermined current;If so, the charging input current for determining the rechargeable battery is the charging current.
In the present embodiment, the predetermined current scope is the current minimum allowed more than the rechargeable battery and is less than
The current maxima that the rechargeable battery allows.The charging is just controlled when the charging current is in the range of the predetermined current
Battery is charged with the charging current, it is ensured that the charging current is avoided while the rechargeable battery normal work
It is excessive to cause the rechargeable battery to damage.Preferably, the current minimum is 0mA, and the current maxima is 3000mA.
Referring to Fig. 3, the embodiment of the present invention provides a kind of block diagram of battery charge controller, the battery charge controller in fact
Including:
Temperature detecting module 1, for detecting charging chip in the Current Temperatures corresponding to the current time cycle.
Preferably, the time cycle is 1s.In the charging process of the mobile terminal, every 1s to described mobile whole
The charging chip for most serious of being generated heat in end carries out temperature detection, it is possible to reduce the complete machine temperature of the mobile terminal and detection
The error of the temperature of gained, improve the accuracy of the control of the temperature rise in charging process of the mobile terminal.
In a kind of optional embodiment, the temperature detecting module 1 is specifically used for detection and set positioned at the charging chip
Negative tempperature coefficient thermistor at set a distance is in the temperature corresponding to the current time cycle, as the charging chip
The corresponding Current Temperatures.
Wherein, the setpoint distance is 5mm to any value between 10mm.Negative tempperature coefficient thermistor exists in normal temperature
Resistance be 100K, have size small, the characteristic of high sensitivity, can accurately be sensed using negative tempperature coefficient thermistor described
The temperature of charging chip.In other embodiments, semistor, thermal resistance (copper or platinum) or thermoelectricity can be used
It is even to substitute the negative tempperature coefficient thermistor, to detect the temperature of the charging chip.
First computing module 2, for according to the Current Temperatures and target temperature, calculating the current time cycle institute
Corresponding Linear Control item.
In a kind of optional embodiment, first computing module is specifically used for calculating the target temperature and current temperature
The difference of degree, as the Linear Control item.
Second computing module 3, for according to the Current Temperatures, the target temperature and the Linear Control item, meter
Calculate the integration control item corresponding to the current time cycle.
In a kind of optional embodiment, second computing module 3 is specifically used for first time cycle institute
Linear Control item corresponding to corresponding Linear Control item to the current time cycle is added up to obtain accumulated value;When
When the accumulated value meets integration control item zero setting condition, the integration control item is set to zero;When the accumulated value is unsatisfactory for
During the integration control item zero setting condition, the integration control item is set to the accumulated value.
Wherein, the integration control item zero setting condition is that the Current Temperatures are less than the target temperature and the accumulated value
Less than zero, or the Current Temperatures are more than the target temperature and the accumulated value is more than zero.
3rd computing module 4, for according to the Current Temperatures, the target temperature and the Linear Control item, meter
Calculate the differential control item corresponding to the current time cycle.
In a kind of optional embodiment, the 3rd computing module 4 be specifically used for when the differential control item meet it is micro-
When dividing control item zero setting condition, the differential control item is set to zero;When the differential control item is unsatisfactory for the differential control
During zero setting condition, calculate Linear Control item corresponding to the current time cycle and upper one time cycle it is right
The difference for the Linear Control item answered, as the differential control item.
Wherein, the differential control item zero setting condition is that the Current Temperatures are less than the target temperature and the current temperature
Degree was less than the temperature corresponding to a upper time cycle, or the Current Temperatures are more than the target temperature and described current
Temperature was more than the temperature corresponding to a upper time cycle.
4th computing module 5, for being controlled according to the Linear Control item, the integration control item and the differential
, calculate charging current.
In a kind of optional embodiment, the 4th computing module 5 is specifically used for according to Delta=Pterm/Kp+
Iterm/Ki+Dterm/Kd calculates the charging current.
Wherein, Delta is the charging current, and Pterm is the Linear Control item, and Kp is linear constant, and Iterm is institute
Integration control item is stated, Ki is integral constant, and Dterm is the differential control item, and Kd is derivative constant.
Charge control module 6, filled for controlling the charging input current of rechargeable battery by the charging chip to be described
Electric current, to cause the temperature of the charging chip to remain the target temperature.
Because error letter be present in the input signal and output signal of the charge controller that is integrated with the charge controlling chip
Number and the proportional relation of the error signal, can cause the charging if only introducing the Linear Control item and calculating the charging current
Steady-state error be present (it is appreciated that the output current of the charge controller is the rechargeable battery in the output current of controller
Input current).Therefore the present embodiment adds the integration control item and the differential control on the basis of the Linear Control item
Item processed is to calculate the charging current.The integration control item can eliminate steady-state error caused by the Linear Control item.By
Increase over time and increase in the integration control item, even if the steady-state error very little, the integration control item also can
Increase over time and increase, and promote the output of charge controller to increase, so as to reduce the steady-state error until described
Steady-state error is equal to zero.The differential control item can suppress the steady-state error.Because the change of the differential control item falls
Afterwards with the steady-state error, the variation tendency of the steady-state error can be predicted according to the variation tendency of the differential control item,
So as to overcome the steady-state error during regulation it is possible that vibration even unstability situation.
Linear, integration and differential calculation are carried out and to calculating according to the temperature of the charging chip and the target temperature
The Linear Control item, integration control item and the differential control item of gained are merged to obtain the charging current, can be with
The error of the output current of the charge controller of the mobile terminal is effectively reduced, improves the accuracy of charge control.The shifting
The rechargeable battery of dynamic terminal carries out charging with the charging current can ensure to reduce while the mobile terminal quick charge
Temperature rise, and more accurately the temperature of mobile terminal is adjusted near the target temperature, to cause the mobile terminal to exist
Temperature is maintained near the target temperature in charging process, avoids the mobile terminal surface temperature described in charging process from fluctuating
Frequently.Due to the mobile terminal, temperature change is little in charging process so that the charging current will not produce compared with
Big amplification or amount of decrease, improve the stability of the charging current.
By carrying out linear, integration and differential calculation and to described linear to the Current Temperatures and the target temperature
Control item, integration control item and differential control item merge calculating to obtain the charging current, the mobile terminal
Rechargeable battery carries out charging with the charging current can ensure to reduce temperature rise while the mobile terminal quick charge, and more
Add and the temperature of mobile terminal is adjusted to the target temperature exactly, to cause mobile terminal temperature in charging process to keep
Unanimously, the temperature rise experience of user is improved.
Referring to Fig. 4, in a kind of optional embodiment, the battery charge controller also includes:
First judge module 7, for judging the size of the charging current and hysteresis electric current;When the charging current is less than
During the hysteresis electric current, the current value of the charging current is reset into the current value corresponding to the hysteresis electric current.
Preferably, the hysteresis electric current is 50mA.Because the rechargeable battery is entered with the charging current less than 50mA
During row charging, it is impossible to efficiently control the temperature rise of the mobile terminal, increase energy loss on the contrary.Therefore, in the present embodiment,
When the charging current is less than 50mA, the current value of the charging current is adjusted to 50mA, control the rechargeable battery with
50mA is charged, it is possible to reduce action frequently unnecessary in charging control process, so as to improve the speed of response of charging, together
When reduce the load of the charge controller, so as to reduce the energy loss of the mobile terminal.
Referring to Fig. 4, in a kind of optional embodiment, the battery charge controller also includes:
Second judge module 8, for judging the charging current whether in the range of predetermined current;If so, described in determining
The charging input current of rechargeable battery is the charging current.
In the present embodiment, the predetermined current scope is the current minimum allowed more than the rechargeable battery and is less than
The current maxima that the rechargeable battery allows.The charging is just controlled when the charging current is in the range of the predetermined current
Battery is charged with the charging current, it is ensured that the charging current is avoided while the rechargeable battery normal work
It is excessive to cause the rechargeable battery to damage.Preferably, the current minimum is 0mA, and the current maxima is 3000mA.
One embodiment of the invention, which provides a kind of battery charge controller, to be included:Processor, memory and it is stored in described deposit
In reservoir and the computer program that can run on the processor, such as charging control program.Described in the computing device
Realize the step in above-mentioned each charge control method embodiment during computer program, such as the step S100 shown in Fig. 1~
S600.Or the work(of each module/unit in above-mentioned each device embodiment is realized described in the computing device during computer program
Energy.
Exemplary, the computer program can be divided into one or more module/units, one or more
Individual module/unit is stored in the memory, and by the computing device, to complete the present invention.It is one or more
Individual module/unit can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used to describe institute
State implementation procedure of the computer program in the battery charge controller.For example, the computer program can be divided into temperature
Spend detection module, the first computing module, the second computing module, the 3rd computing module, the 4th computing module and charge control mould
Block, each module concrete function are as follows:The temperature detecting module, for detecting charging chip corresponding to the current time cycle
Current Temperatures;First computing module, for according to the Current Temperatures and target temperature, calculating the current time
Linear Control item corresponding to cycle;Second computing module, for according to the Current Temperatures, the target temperature and
The Linear Control item, calculate the integration control item corresponding to the current time cycle;3rd computing module, is used for
According to the Current Temperatures, the target temperature and the Linear Control item, calculate corresponding to the current time cycle
Differential control item;4th computing module, for according to the Linear Control item, the integration control item and described micro-
Divide control item, calculate charging current;The charge control module, for controlling the charging of rechargeable battery by the charging chip
Input current is the charging current, to cause the temperature of the charging chip to remain the target temperature.
The battery charge controller can be mobile phone, desktop PC, notebook, palm PC and cloud server etc.
Computing device.The battery charge controller may include, but be not limited only to, processor, memory.Such as the battery charge controller
Input-output equipment, network access equipment, bus etc. can also be included.
Alleged processor can be CPU (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng the processor is the control centre of the battery charge controller, utilizes various interfaces and the whole charge control of connection
The various pieces of device.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing
The computer program and/or module being stored in the memory, and the data being stored in memory are called, described in realization
The various functions of battery charge controller.The memory can mainly include storing program area and storage data field, wherein, store journey
Sequence area can storage program area, application program (such as sound-playing function, image player function needed at least one function
Deng) etc.;Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.This
Outside, memory can include high-speed random access memory, can also include nonvolatile memory, such as hard disk, internal memory, insert
Connect formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memory
Block (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
The present invention also provides a kind of computer-readable recording medium, and the computer-readable recording medium includes the meter of storage
Calculation machine program, wherein, control equipment where the computer-readable recording medium to perform when the computer program is run
The charge control method stated.
Wherein, if module/unit that the battery charge controller integrates is realized and made in the form of SFU software functional unit
For independent production marketing or in use, can be stored in a computer read/write memory medium.Based on such understanding,
The present invention realizes all or part of flow in above-described embodiment method, can also instruct the hard of correlation by computer program
Part is completed, and described computer program can be stored in a computer-readable recording medium, and the computer program is processed
Device perform when, can be achieved above-mentioned each embodiment of the method the step of.Wherein, the computer program includes computer program generation
Code, the computer program code can be source code form, object identification code form, executable file or some intermediate forms
Deng.The computer-readable medium can include:Any entity or device, the record of the computer program code can be carried
Medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), with
Machine access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..
It should be noted that the content that the computer-readable medium includes can be according to legislation in jurisdiction and patent practice
It is required that carry out appropriate increase and decrease, such as in some jurisdictions, do not wrapped according to legislation and patent practice, computer-readable medium
Include electric carrier signal and telecommunication signal.
Compared with prior art, a kind of charge control method provided in an embodiment of the present invention, device are deposited with computer-readable
The beneficial effect of storage media is:The charge control method comprises the following steps:Charging chip is detected in current week time
Current Temperatures corresponding to phase;According to the Current Temperatures and target temperature, calculate corresponding to the current time cycle
Linear Control item;According to the Current Temperatures, the target temperature and the Linear Control item, the current time is calculated
Integration control item corresponding to cycle;According to the Current Temperatures, the target temperature and the Linear Control item, calculate and work as
Differential control item corresponding to the preceding time cycle;According to the Linear Control item, the integration control item and described
Differential control item, calculate charging current;Rechargeable battery is controlled to be charged with the charging current by the charging chip, with
So that the temperature of the charging chip remains the target temperature.The charge control method moves suitable for high current fast charge
Terminal, can improve the accuracy of charging current control, and the temperature of mobile terminal is remained into the mesh in charging process
Temperature is marked, so as to solve the problems, such as that temperature rise of the mobile terminal in charging process is serious and user's temperature rise experience is poor.
It should be noted that device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of this embodiment scheme.In addition, device provided by the invention
In embodiment accompanying drawing, the annexation between module represents there is communication connection between them, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can to understand
And implement.
Above is the preferred embodiment of the present invention, it is noted that for those skilled in the art,
Under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as this hair
Bright protection domain.
Claims (10)
1. a kind of charge control method, it is characterised in that comprise the following steps:
Charging chip is detected in the Current Temperatures corresponding to the current time cycle;
According to the Current Temperatures and target temperature, the Linear Control item corresponding to the current time cycle is calculated;
According to the Current Temperatures, the target temperature and the Linear Control item, the current time cycle institute is calculated
Corresponding integration control item;
According to the Current Temperatures, the target temperature and the Linear Control item, the current time cycle institute is calculated
Corresponding differential control item;
According to the Linear Control item, the integration control item and the differential control item, charging current is calculated;
Rechargeable battery is controlled to be charged with the charging current by the charging chip, to cause the temperature of the charging chip
Degree remains the target temperature.
2. charge control method as claimed in claim 1, it is characterised in that the detection charging chip is in current week time
Current Temperatures corresponding to phase, are specifically included:
Negative tempperature coefficient thermistor of the detection at the charging chip setpoint distance is in the current time cycle institute
Corresponding temperature, as the Current Temperatures corresponding to the charging chip.
3. charge control method as claimed in claim 1, it is characterised in that described according to Current Temperatures and target temperature, meter
The Linear Control item corresponding to the current time cycle is calculated, is specifically included:
The difference of the target temperature and Current Temperatures is calculated, as the Linear Control item.
4. the charge control method as described in claim 1 or 3, it is characterised in that described according to the Current Temperatures, the mesh
Temperature and the Linear Control item are marked, the integration control item corresponding to the current time cycle is calculated, specifically includes:
By the linear control corresponding to the Linear Control item corresponding to first time cycle to the current time cycle
Item processed is added up to obtain accumulated value;
When the accumulated value meets integration control item zero setting condition, the integration control item is set to zero;
When the accumulated value is unsatisfactory for the integration control item zero setting condition, the integration control item is set to described cumulative
Value;
Wherein, the integration control item zero setting condition is that the Current Temperatures are less than the target temperature and the accumulated value is less than
Zero, or the Current Temperatures are more than the target temperature and the accumulated value is more than zero.
5. the charge control method as described in claim 1 or 3, it is characterised in that described according to the Current Temperatures, the mesh
Temperature and the Linear Control item are marked, the differential control item corresponding to the current time cycle is calculated, specifically includes:
When the differential control item meets differential control item zero setting condition, the differential control item is set to zero;
When the differential control item is unsatisfactory for the differential control item zero setting condition, it is right to calculate current time cycle institute
The difference of the Linear Control item answered and the Linear Control item corresponding to a upper time cycle, controlled as the differential
;
Wherein, the differential control item zero setting condition is that the Current Temperatures are less than the target temperature and the Current Temperatures are small
It was more than the target temperature and the Current Temperatures in the temperature corresponding to a upper time cycle, or the Current Temperatures
More than the temperature corresponding to a upper time cycle.
6. charge control method as claimed in claim 1, it is characterised in that described according to the Linear Control item, the product
Divide control item and the differential control item, calculate charging current, specifically include:
The charging current is calculated according to Delta=Pterm/Kp+Iterm/Ki+Dterm/Kd;
Wherein, Delta is the charging current, and Pterm is the Linear Control item, and Kp is linear constant, and Iterm is the product
Divide control item, Ki is integral constant, and Dterm is the differential control item, and Kd is derivative constant.
7. charge control method as claimed in claim 1, it is characterised in that the charge control method also includes:
Judge the size of the charging current and hysteresis electric current;
When the charging current is less than the hysteresis electric current, the current value of the charging current is reset into the hysteresis electric current
Corresponding current value.
8. the charge control method as described in claim 1 or 7, it is characterised in that the charge control method also includes:
Judge the charging current whether in the range of predetermined current;
If so, the charging input current for determining the rechargeable battery is the charging current.
A kind of 9. battery charge controller, it is characterised in that including processor, memory and be stored in the memory and by
It is configured to, by the computer program of the computing device, realize that right such as will during computer program described in the computing device
Seek the charge control method described in any one in 1 to 8.
10. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium includes the calculating of storage
Machine program, wherein, equipment where controlling the computer-readable recording medium when the computer program is run is performed as weighed
Profit requires the charge control method described in any one in 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710758332.XA CN107482724B (en) | 2017-08-29 | 2017-08-29 | Charging control method and device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710758332.XA CN107482724B (en) | 2017-08-29 | 2017-08-29 | Charging control method and device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107482724A true CN107482724A (en) | 2017-12-15 |
CN107482724B CN107482724B (en) | 2020-05-19 |
Family
ID=60603060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710758332.XA Expired - Fee Related CN107482724B (en) | 2017-08-29 | 2017-08-29 | Charging control method and device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107482724B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108482168A (en) * | 2018-04-28 | 2018-09-04 | 北京新能源汽车股份有限公司 | Method and device for adjusting internal temperature of battery pack and automobile |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1395756A (en) * | 2000-11-24 | 2003-02-05 | 东京研发股份有限公司 | Battery pack charging system |
US20090177903A1 (en) * | 2006-06-22 | 2009-07-09 | Freescale Semiconductor, Inc. | Method and device for power management |
CN102545317A (en) * | 2010-12-20 | 2012-07-04 | 株式会社电装 | System for causing temperature rise in battery |
CN104980561A (en) * | 2014-04-02 | 2015-10-14 | 维沃移动通信有限公司 | Mobile terminal for intelligently adjusting charging current and realizing method thereof |
CN106230076A (en) * | 2016-09-21 | 2016-12-14 | 维沃移动通信有限公司 | A kind of charging method and mobile terminal |
CN106972370A (en) * | 2017-04-19 | 2017-07-21 | 深圳市安特智能控制有限公司 | A kind of intelligent semi-conductor thermostatic type distribution integrated water-proof power-supply system |
-
2017
- 2017-08-29 CN CN201710758332.XA patent/CN107482724B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1395756A (en) * | 2000-11-24 | 2003-02-05 | 东京研发股份有限公司 | Battery pack charging system |
US20090177903A1 (en) * | 2006-06-22 | 2009-07-09 | Freescale Semiconductor, Inc. | Method and device for power management |
CN102545317A (en) * | 2010-12-20 | 2012-07-04 | 株式会社电装 | System for causing temperature rise in battery |
CN104980561A (en) * | 2014-04-02 | 2015-10-14 | 维沃移动通信有限公司 | Mobile terminal for intelligently adjusting charging current and realizing method thereof |
CN106230076A (en) * | 2016-09-21 | 2016-12-14 | 维沃移动通信有限公司 | A kind of charging method and mobile terminal |
CN106972370A (en) * | 2017-04-19 | 2017-07-21 | 深圳市安特智能控制有限公司 | A kind of intelligent semi-conductor thermostatic type distribution integrated water-proof power-supply system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108482168A (en) * | 2018-04-28 | 2018-09-04 | 北京新能源汽车股份有限公司 | Method and device for adjusting internal temperature of battery pack and automobile |
CN108482168B (en) * | 2018-04-28 | 2020-05-19 | 北京新能源汽车股份有限公司 | Method and device for adjusting internal temperature of battery pack and automobile |
Also Published As
Publication number | Publication date |
---|---|
CN107482724B (en) | 2020-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108845881A (en) | The method and device of server capacity dynamic adjustment | |
CN109991554B (en) | Battery electric quantity detection method and device and terminal equipment | |
EP2827161B1 (en) | Detection circuit and electronic terminal | |
CN109904542B (en) | Method and device for updating capacity of lithium ion battery pack and terminal equipment | |
CN107449521A (en) | Method, terminal device and the computer-readable recording medium of temperature-compensating | |
CN106772091A (en) | The update method of battery capacity value, device and terminal | |
CN110416641A (en) | Battery pack over-temperature protection control method and device, storage medium and controller | |
CN111308354A (en) | Method and device for detecting state of health of battery, electronic equipment and storage medium | |
CN107221980A (en) | Temperature rise control method, device and storage medium when terminal device and its charging | |
CN112994136B (en) | Temperature control method and device | |
CN106933315A (en) | A kind of method and terminal of terminal temperature regulation | |
CN103792490A (en) | Method for measuring and calculating battery capacity of system | |
WO2024169905A1 (en) | Ambient temperature measurement method and apparatus for electronic device | |
CN113748438B (en) | Electric quantity prediction method and equipment | |
CN111740464B (en) | Battery power compensation method, device, equipment and readable storage medium | |
WO2023125252A1 (en) | Charging control methods, electronic device and computer readable storage medium | |
CN107402081A (en) | The determination method and device of mobile terminal, battery temperature | |
CN107482724A (en) | Charge control method, device and computer-readable recording medium | |
CN115754779A (en) | Power management method, device, chip and storage medium | |
CN107221984A (en) | Temperature rise control method, device and storage medium when terminal device and its charging | |
CN109324941B (en) | Temperature acquisition method, terminal and storage medium | |
CN106655397A (en) | Charging control method, charging control device and electronic equipment | |
US11843095B2 (en) | Secondary battery management device, secondary battery management method, and non-transitory computer readable storage medium | |
CN104241718A (en) | Battery charging method and battery charging device | |
CN118011225B (en) | Method and device for correcting chargeable and dischargeable capacity, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200519 |
|
CF01 | Termination of patent right due to non-payment of annual fee |