CN109888853A - A kind of charge control method, terminal device and storage medium - Google Patents
A kind of charge control method, terminal device and storage medium Download PDFInfo
- Publication number
- CN109888853A CN109888853A CN201811291773.4A CN201811291773A CN109888853A CN 109888853 A CN109888853 A CN 109888853A CN 201811291773 A CN201811291773 A CN 201811291773A CN 109888853 A CN109888853 A CN 109888853A
- Authority
- CN
- China
- Prior art keywords
- charging
- voltage
- threshold value
- voltage threshold
- equal
- 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.)
- Pending
Links
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The embodiment of the invention discloses a kind of charge control method, terminal device and storage mediums, which comprises when charging equipment is connect with charging interface, obtains the Connection Time of charging equipment and charging interface;If the Connection Time is more than or equal to time threshold, decompression control instruction is generated;Based on decompression control instruction, control cell voltage is reduced to first voltage threshold value or less.In this way, control cell voltage is in safe voltage range, to guarantee cell safety when charging equipment is in long-term connection status.
Description
Technical field
The present invention relates to mobile terminal technology more particularly to a kind of charge control methods, terminal device and storage medium.
Background technique
Be powered mostly using lithium ion electronics on mobile terminal at present, mobile terminal in use, lithium ion
Battery can slow consumption electricity, to electric quantity consumption to be unable to bio-occlusion mobile terminal system power when, it is necessary to battery into
Row charging operations.Currently, lithium ion battery is divided into conventional 4.2V battery and 4.35V high-tension battery, to battery charge when,
All it is usually to be charged to 4.2V or 4.35V, just calculates charging complete.
The charging of lithium ion battery at present mainly, come what is realized, is charged by the way that power supply adaptor is inserted into charging interface
Disconnect the connection of power supply adaptor and charging interface again after the completion.The shortcomings that this charging scheme is if user (compares for a long time
Such as several days, some months or even several years) by the charging interface of power supply adaptor insertion product, it is electric at this time after product charging complete
The voltage in pond is 4.2V 4.35V high pressure, and since power supply adaptor is long-term (insertion) in place, the power supply of system is all to pass through electricity
Source adapter does not consume the electricity of battery, but battery is in the high pressure conditions of 4.2V or 4.35V for a long time, can there is short circuit
Risk and bulge phenomenon increase the security risk of mobile terminal.
Summary of the invention
In order to solve the above technical problems, an embodiment of the present invention is intended to provide a kind of charge control method, terminal device and depositing
Storage media, when adapter is in long-term connection status, control cell voltage is in safe voltage range, to guarantee that battery is pacified
Entirely.
The technical scheme of the present invention is realized as follows:
The embodiment of the invention provides a kind of charge control methods, comprising:
When charging equipment is connect with charging interface, the Connection Time of the charging equipment and charging interface is obtained;
If the Connection Time is more than or equal to time threshold, decompression control instruction is generated;
Based on the decompression control instruction, controls cell voltage and be reduced to first voltage threshold value or less.
In above scheme, the method also includes: obtain charging voltage;When charging voltage is greater than charging voltage threshold value,
Determine that charging equipment is connect with charging interface;When charging voltage is less than or equal to charging voltage threshold value, charging equipment is determined
It is disconnected with charging interface.
In above scheme, if the Connection Time is more than or equal to time threshold, decompression control instruction, packet are generated
It includes: raw if the Connection Time is more than or equal to time threshold, and when cell voltage is more than or equal to second voltage threshold value
At decompression control instruction;Wherein, the second voltage threshold value is more than or equal to the first voltage threshold value.
In above scheme, it is described be based on the decompression control instruction, control cell voltage be reduced to first voltage threshold value with
Under, comprising: be based on the decompression control instruction, control discharge cell work, make cell voltage be reduced to first voltage threshold value with
Under.
In above scheme, after control cell voltage is reduced to first voltage threshold value or less, the method also includes: if
When cell voltage is less than tertiary voltage threshold value, charge control instruction is generated;It is instructed based on the charge control, controls charhing unit
Execute the charging operations to battery.
A kind of terminal device is additionally provided in the embodiment of the present invention, the terminal device includes: that acquiring unit and processing are single
Member;Wherein,
The acquiring unit obtains the charging equipment and charging interface when connecting for charging equipment with charging interface
Connection Time;
The processing unit generates decompression control and refers to if be more than or equal to time threshold for the Connection Time
It enables;
The processing unit is also used to based on the decompression control instruction, and control cell voltage is reduced to first voltage threshold
Value is following.
In above scheme, the acquiring unit is also used to obtain charging voltage;The processing unit is filled specifically for working as
When piezoelectric voltage is greater than charging voltage threshold value, determine that charging equipment is connect with charging interface;It is filled when charging voltage is less than or equal to
When piezoelectric voltage threshold value, determine that charging equipment and charging interface disconnect.
In above scheme, the processing unit, if being specifically used for the Connection Time is more than or equal to time threshold, and
When cell voltage is more than or equal to second voltage threshold value, decompression control instruction is generated;Wherein, the second voltage threshold value is greater than
Or it is equal to the first voltage threshold value.
In above scheme, the processing unit is specifically used for being based on the decompression control instruction, controls discharge cell work
Make, cell voltage is made to be reduced to first voltage threshold value or less.
In above scheme, if the processing unit generates charging control be also used to cell voltage less than tertiary voltage threshold value
System instruction;It is instructed based on the charge control, control charhing unit executes the charging operations to battery.
Another terminal device is additionally provided in the embodiment of the present invention, the terminal device includes: processor and is configured to
The memory for the computer program that can be run on a processor is stored,
Wherein, when the processor is configured to run the computer program, the step of any one of aforementioned the method is executed
Suddenly.
A kind of computer readable storage medium is additionally provided in the embodiment of the present invention, is stored thereon with computer program,
It is characterized in that, the step of which realizes aforementioned described in any item methods when being executed by processor.
It by adopting the above technical scheme, can be by cell voltage control when determining that charging equipment is connect for a long time with charging interface
System is in safe voltage range, to guarantee cell safety, which can either guarantee that battery is placed for a long time will not
Security risk is generated, when can also guarantee that charging equipment and charging interface disconnect, battery can give system normal power supply.
Detailed description of the invention
Fig. 1 is the first pass schematic diagram of charge control method in the embodiment of the present invention;
Fig. 2 is the second procedure schematic diagram of charge control method in the embodiment of the present invention;
Fig. 3 is the composed structure schematic diagram of charging control circuit in the embodiment of the present invention;
Fig. 4 is the first composition mechanism schematic diagram of terminal device in the embodiment of the present invention;
Fig. 5 is the second composition mechanism schematic diagram of terminal device in the embodiment of the present invention.
Specific embodiment
The characteristics of in order to more fully hereinafter understand the embodiment of the present invention and technology contents, with reference to the accompanying drawing to this hair
The realization of bright embodiment is described in detail, appended attached drawing purposes of discussion only for reference, is not used to limit the embodiment of the present invention.
Embodiment one
As shown in Figure 1, charge control method includes:
Step 101: when charging equipment is connect with charging interface, obtaining the Connection Time of charging equipment and charging interface;
Step 102: if the Connection Time is more than or equal to time threshold, generating decompression control instruction;
Step 103: based on decompression control instruction, control cell voltage is reduced to first voltage threshold value or less.
The above method can apply and terminal device, for example, mobile phone, laptop, e-book etc., step 101 to step
Rapid 103 executing subject can be the processor of terminal device.
When practical application, this method further include: obtain charging voltage;When charging voltage is greater than charging voltage threshold value, really
Determine charging equipment to connect with charging interface;When charging voltage be less than or equal to charging voltage threshold value when, determine charging equipment with
Charging interface disconnects.
That is, passing through the charging on acquisition charging circuit when determining whether charging equipment connect with charging interface
Voltage determines.For example, charging voltage threshold value can be 0, charging equipment and charging are determined when detecting that charging voltage is 0
Mouth disconnects;Determine that charging equipment is connect with charging interface when detecting charging voltage not is 0.Here, to avoid external environment
Interference to charging circuit, charging voltage threshold value can be greater than 0, to make the connection judgment of charging equipment that there is certain resisting to do
Disturb ability.
In practical application, the connection type of charging equipment and charging interface can be wired mode or wireless mode, wherein
Charging equipment passes through the charging interface of connecting line and terminal device in wired mode, such as: universal serial bus (Universal
Serial Bus, USB) it is connected, charging equipment (is compared by the charge coil of electric energy output end with charging interface in wireless mode
Such as the power receiving coil of electrical energy inputs) it is connected.
In practical application, step 102 is specifically included: if the Connection Time is more than or equal to time threshold, and cell voltage
When more than or equal to second voltage threshold value, decompression control instruction is generated;Wherein, second voltage threshold value is more than or equal to first
Voltage threshold.
Here, second voltage threshold value can for judge battery whether the foundation of charging complete.Charging equipment and charging interface
Connection Time be greater than time threshold, show that charging equipment be in long-term connection status, cell voltage is more than or equal to second
Voltage threshold shows that battery is in charging complete state, only when both these conditions are met, just generates decompression control and refers to
It enables, control cell voltage is reduced within the scope of safe voltage, and here, first voltage threshold range is the upper limit of safe voltage range
Value.
In practical application, execute step 103 and specifically include: based on decompression control instruction, control discharge cell work makes electricity
Cell voltage is reduced to first voltage threshold value or less.
That is, controlling the discharge circuit work connecting with battery when needing to control battery discharge, making cell voltage
Decrease below or equal to first voltage threshold value range.When cell voltage decreases below or be equal to first voltage threshold value
Range when, i.e., cell voltage be in be suitble to for a long time place voltage range, control discharge circuit stop working.Battery at this time
Charge the state also do not discharged in several, over time the only meeting in-fighting part electricity of battery itself.
When being reduced to cell voltage other than safe voltage range due to the in-fighting of battery itself, i.e., voltage value is less than third
When voltage threshold, tertiary voltage threshold value is the lower limit value of safe voltage range here.
Specifically, after control cell voltage is reduced to first voltage threshold value or less, this method further include: if battery is electric
When pressure is less than tertiary voltage threshold value, charge control instruction is generated;It is instructed based on charge control, control charhing unit is executed to battery
Charging operations.
It by adopting the above technical scheme, can be by cell voltage control when determining that charging equipment is connect for a long time with charging interface
System is in safe voltage range, to guarantee cell safety, which can either guarantee that battery is placed for a long time will not
Security risk is generated, when can also guarantee that charging equipment and charging interface disconnect, battery can give system normal power supply.
Embodiment two
In order to more embody the purpose of the present invention, on the basis of the embodiment of the present invention one, further illustrated
Illustrate, as shown in Fig. 2, charge control method specifically includes:
Step 201: when detecting that charging equipment is connect with charging interface, starting timer records the Connection Time.
Here, judge the method that charging equipment is connect with charging interface, may include: acquisition charging voltage;When charging electricity
When pressure is greater than charging voltage threshold value, determine that charging equipment is connect with charging interface;When charging voltage is less than or equal to charging electricity
When pressing threshold value, determine that charging equipment and charging interface disconnect.
That is, passing through the charging on acquisition charging circuit when determining whether charging equipment connect with charging interface
Voltage determines.For example, charging voltage threshold value can be 0, charging equipment and charging are determined when detecting that charging voltage is 0
Mouth disconnects;Determine that charging equipment is connect with charging interface when detecting charging voltage not is 0.Here, to avoid external environment
Interference to charging circuit, charging voltage threshold value can be greater than 0, to make the connection judgment of charging equipment that there is certain resisting to do
Disturb ability.
In practical application, this method further include: when detecting that charging equipment and charging interface disconnect, Off Timer.
Further, after Off Timer, this method further include: the Connection Time will be set to 0.
Step 202: obtaining cell voltage, judge whether cell voltage is equal to second voltage threshold value;If not, executing step
203;If so, executing step 204.
In practical application, after lithium ion battery charging complete, cell voltage is 4.2V 4.35V high pressure, electricity at this time
If pond is in the high pressure conditions of 4.2V or 4.35V for a long time, battery can have the risk of short circuit and the phenomenon that bulge occurs.
For the appearance for avoiding this phenomenon, long-term battery of storing should be at safe voltage range.For example, for high-tension battery (4.35V
Battery) safe voltage range is 3.7V-4.1V, at this point, second voltage threshold value is 4.35V, first voltage threshold value is 4.1V, the
Three voltage thresholds are 3.7V;Voltage range for conventional batteries (4.2V battery) safety is 3.8V-4.0V, at this point, the second electricity
Pressure threshold value is 4.2V, and first voltage threshold value is 4.0V, and tertiary voltage threshold value is 3.8V.
Step 203: control charhing unit executes the charging operations to battery, and cell voltage is made to be increased to second voltage threshold
Value.
Here, when cell voltage deficiency second voltage threshold value, it is full to show that battery does not fill, charhing unit execution pair should be controlled
The charging operations of battery.
Step 204 is executed after step 203.
Step 204: obtaining the Connection Time of charging equipment and charging interface.
Step 205: judging whether the Connection Time is more than or equal to time threshold, if not, return step 204;If
It is to execute step 206.
Step 206: stopping charhing unit work, generate step-down instruction, to control discharge cell work.
Step 207: obtaining cell voltage, when judging that cell voltage is less than tertiary voltage threshold value, generate charge control instruction.
Optionally, it when cell voltage is more than or equal to tertiary voltage threshold value, after fixed time intervals section, continues to execute
Step 207.
That is, whether detecting cell voltage every the set time after cell voltage is located within the scope of safe voltage
It is reduced to except safe voltage range, if it is, needing to start charhing unit work, again fills battery full.
Step 208: being instructed based on charge control, control charhing unit executes the charging operations to battery.
In practical application, return step 202 after step 208.
Optionally, step 208 specifically includes: it is based on control instruction, control charhing unit executes the charging operations to battery,
Cell voltage is set to be increased to second voltage threshold value;Alternatively, control charhing unit executes the charging operations to battery, make cell voltage
It is increased to first voltage threshold value.
That is, when cell voltage is in tertiary voltage threshold value or less, charge the battery to filling full state, alternatively,
Safe voltage range is charged to, for example, charging to the upper limit value of safe voltage range.
Embodiment three
In order to more embody the purpose of the present invention, on the basis of the embodiment of the present invention one and embodiment two, give
A kind of application scenarios of charge control.
As shown in figure 3, giving a kind of charging control circuit in the scene, which realizes that charge control is specific as follows:
Step A: the terminal device for being inserted into adapter 302 for a long time, when in the start control circuit 307 of equipment under long-pressing
When the power key in face, the input voltage Vsys and Vsys_1 of start control circuit 307 are in connected state, this Vsys_1 warp at this time
Cross or door selection circuit 311 after, to electric power management circuit 312 power, the output end and MCU of electric power management circuit 312
The power end VDD of (Microcontroller Unit, Chinese micro-control unit) 301 is connected, and provides work to MCU301
Voltage.After MCU works together, control universal input/output interface (General Purpose Input Output 1, GPIO1)
For controlling start control circuit, so that Vsys and Vsys_1 are constantly in connected state.Here, electric power management circuit can be
At least one of below: low pressure difference linear voltage regulator (Low Dropout Regulator, LDO), DC-DC circuit
(Direct Current/Direct Current, DCDC), power management chip (Power Management IC, PMIC).
When terminal device is in open state, insertion adapter 302 charges.It is inserted into before adapter 302, passes through
Battery is system power supply.Specifically, before insertion adapter 302, metal oxide semiconductor field-effect (Metal-Oxide-
Semiconductor Field-Effect Transistor, MOS) it 306 is on state, battery Vbat and Vsys connect at this time
It is logical, using or door selection circuit 311 after, power to electric power management circuit 312, the output end of electric power management circuit 312 with
The power end VDD of MCU301 is connected, and provides operating voltage to MCU301.Here, metal-oxide-semiconductor can be p-type metal-oxide-semiconductor (Positive
MOS, PMOS) or N-type metal-oxide-semiconductor (Negative MOS, NMOS).
It is system power supply by adapter 302 when being inserted into adapter 302.Specifically, when the moment of insertion adapter 302,
Metal-oxide-semiconductor 306 close or door selection circuit 311 have at this time there are two input Vbus and Vsys_1 select any one input power
It is input to electric power management circuit 312, provides operating voltage VDD afterwards for MCU 301.When battery 305 voltage Vbat be lower than
When 4.2V 4.35V, MCU controls EN foot, and charging chip 304 is allowed to work, and adapter 302 is powered to battery 305.If
Setting Schottky diode 303 is that in order to prevent, in the insertion of no adapter 302, cell voltage is reversely filled to charging chip
304.In practical application or door selection circuit 311 selects input of the input of small voltage as electric power management circuit 312.
It when terminal device is in off-mode, is inserted into before adapter 302, metal-oxide-semiconductor 306 is on state, electric at this time
Pond Vbat and Vsys connection does not press the triggering of key pressing due to start control circuit, and Vsys and Vsys_1 are off-state,
Vsys_1 is 0, Vbus 0, and therefore, VDD 0V, MCU301 do not work.After being inserted into adapter 302, metal-oxide-semiconductor 306 is closed,
After Vbus is conducting to Vsys by Schottky diode 303, then pass through or door selection circuit 311 is input to electric power management circuit
312, so that electric power management circuit is exported VDD, powers to MCU301, MCU work.So no matter being filled in booting or off-mode
Electricity, MCU are work.
Step B: after cell voltage is charged to 4.2V 4.35V, MCU301 controls EN foot by GPIO interface and makes
Charging chip 304 stops charging.
Step C:MCU301 is as master control system, the charging voltage (Vbus) acquired by Vbus voltage sampling circuit 308,
The insertion situation for judging adapter 302, after adapter 302 is inserted into, MCU301 reads Vbus voltage sample by the port ADC1
308 collected charging voltage (Vbus) of circuit, MCU301, which is determined, an adapter insertion, such as without adapter insertion, MCU301 from
The port ADC1 can not obtain voltage value.When MCU301 has detected adapter insertion, start to start relevant timer, when fixed
When device timing length reach after certain T time (this time can be 3 days or 5 or 1 weeks), MCU301 judgement uses
Scene may be the scene of long-term insertion adapter.At this point, MCU301 control charging chip 304 works, by sending out to EN pin
Enable signal control charging chip 304 is sent to stop working, while MCU301 is worked by GPIO2 Interface Controller discharge circuit 309,
This discharge circuit 309 executes discharge operation to battery 305.With the consumption of battery capacity, cell voltage can be reduced slowly,
MCU301 reads 310 collected cell voltage (Vbat) of Vbat voltage sampling circuit by the port ADC, judges that cell voltage is
No to be reduced within the scope of safe voltage, if it is 4.2V conventional batteries, the safe voltage stored for a long time may range from 3.8V-
4.0V, if it is high pressure 4.35V battery, the safe voltage range stored for a long time is 3.7V-4.1V, this range is battery supplied
The most reasonable voltage placed for a long time that quotient provides.When cell voltage is in the safe voltage range for being suitble to place for a long time
It waits, then closes relevant discharge circuit.Battery is in the state for neither charging nor discharging at this time.The electricity of consumption, it is only electric
The in-fighting in pond itself.
Step D: the terminal device of adapter 302 is inserted into for long-time, since the in-fighting of battery itself makes cell voltage
It is reduced to 3.4V or so, MCU301 controls charging chip 304 and works, and charging chip 304 is made to charge battery 305.Alternatively,
When user pulls out adapter, so that terminal device is in mobile use state, when being charged again insertable into adapter, work as electricity
The voltage in pond is less than 4.2V or 4.35V, and MCU301 control charging chip 304 charges to battery 305, specifically, logical
The voltage input pin (VIN) for overcharging electrical chip 304 obtains the charging current of adapter 302, realizes that the charging to battery 305 is grasped
Make.
Here, step C is repeated to step D.
Charge control method based on foregoing circuit allows battery in the case where adapter is inserted into for a long time, fills to battery
Electricity is inserted into duration to after being suitably full of, by obtaining adapter, and intelligent decision adapter is in long-time insert state, then leads to
The discharge circuit work for crossing control battery, allows the voltage of battery to control the voltage range in safety.In this way, may be implemented suitable for a long time
When orchestration is inserted into, keeps cell voltage to be chronically at safe voltage range, eliminate the security risk of battery, guarantee the peace of battery
It is complete and reliable.
Example IV
Based on the same inventive concept, the embodiment of the invention also provides a kind of terminal devices.Fig. 4 is in the embodiment of the present invention
First composed structure schematic diagram of terminal device, as shown in figure 4, the terminal device 40 includes: acquiring unit 401 and processing unit
402;Wherein,
Acquiring unit 401 when connecting for charging equipment with charging interface, obtains the connection of charging equipment and charging interface
Time;
If processing unit 402 generates decompression control instruction be more than or equal to time threshold for the Connection Time;
Processing unit 402, be also used to based on decompression control instruction, control cell voltage be reduced to first voltage threshold value with
Under.
In some embodiments, acquiring unit 401 are also used to obtain charging voltage;
Processing unit 402 is specifically used for determining charging equipment and charging when charging voltage is greater than charging voltage threshold value
Mouth connection;When charging voltage is less than or equal to charging voltage threshold value, determine that charging equipment and charging interface disconnect.
In some embodiments, processing unit 402, if being specifically used for the Connection Time is more than or equal to time threshold, and
When cell voltage is more than or equal to second voltage threshold value, decompression control instruction is generated;Wherein, second voltage threshold value be greater than or
Equal to first voltage threshold value.
In some embodiments, processing unit 402 are specifically used for based on decompression control instruction, control discharge cell work,
Cell voltage is set to be reduced to first voltage threshold value or less.
In some embodiments, processing unit 402, if be also used to cell voltage less than tertiary voltage threshold value, generation is filled
Electric control instruction;It is instructed based on charge control, control charhing unit executes the charging operations to battery.
Example IV
Based on the hardware realization of each unit in above-mentioned terminal device, the embodiment of the present application also provides another terminals to set
It is standby, as shown in figure 5, the terminal device 50 includes: processor 501 and is configured to store the computer that can be run on a processor
The memory 502 of program;
Wherein, when processor 501 is configured to operation computer program, the method and step in previous embodiment is executed.
Certainly, when practical application, as shown in figure 5, the various components in the terminal device 50 are coupled by bus system 503
Together.It is understood that bus system 503 is for realizing the connection communication between these components.It includes data that bus system 503, which is removed,
It further include power bus, control bus and status signal bus in addition except bus.It, will in Fig. 5 but for the sake of clear explanation
Various buses are all designated as bus system 503.
In practical applications, above-mentioned processor can be application-specific IC (ASIC, Application
Specific Integrated Circuit), digital signal processing device (DSPD, Digital Signal Processing
Device), programmable logic device (PLD, Programmable Logic Device), field programmable gate array
At least one of (Field-Programmable Gate Array, FPGA), controller, microcontroller, microprocessor.It can
To understand ground, for different equipment, the electronic device for realizing above-mentioned processor function can also be other, the application reality
Example is applied to be not especially limited.
Above-mentioned memory can be volatile memory (volatile memory), such as random access memory (RAM,
Random-Access Memory);Or nonvolatile memory (non-volatile memory), such as read-only memory
(ROM, Read-Only Memory), flash memory (flash memory), hard disk (HDD, Hard Disk Drive) or solid
State hard disk (SSD, Solid-State Drive);Or the combination of the memory of mentioned kind, and to processor provide instruction and
Data.
In the exemplary embodiment, the embodiment of the present application also provides a kind of computer readable storage medium, for example including
The memory 502 of computer program, above-mentioned computer program can be executed by the processor 501 of terminal device 50, aforementioned to complete
Method and step.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention
Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Schematic diagram and/or block diagram describe.It should be understood that can be realized by computer program instructions in flow diagram and/or block diagram
Each flow and/or block and process and/or box in flow diagram and/or block diagram combination.It can provide this
A little computer program instructions are to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices
Processor to generate a machine so that the finger executed by the processor of computer or other programmable data processing devices
It enables generating and refer to for realizing in flow diagram one process or multiple processes and/or block diagrams one box or multiple boxes
The device of fixed function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
The manufacture of device is enabled, which realizes in one side of flow diagram one process or multiple processes and/or block diagrams
The function of being specified in frame or multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one process of flow diagram or multiple processes and/or box
The step of function of being specified in figure one box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (12)
1. a kind of charge control method, which is characterized in that the described method includes:
When charging equipment is connect with charging interface, the Connection Time of the charging equipment and charging interface is obtained;
If the Connection Time is more than or equal to time threshold, decompression control instruction is generated;
Based on the decompression control instruction, controls cell voltage and be reduced to first voltage threshold value or less.
2. the method according to claim 1, wherein the method also includes:
Obtain charging voltage;
When charging voltage is greater than charging voltage threshold value, determine that charging equipment is connect with charging interface;
When charging voltage is less than or equal to charging voltage threshold value, determine that charging equipment and charging interface disconnect.
If 3. the method according to claim 1, wherein the Connection Time be more than or equal to time threshold
Value generates decompression control instruction, comprising:
If the Connection Time be more than or equal to time threshold, and cell voltage be more than or equal to second voltage threshold value when,
Generate decompression control instruction;Wherein, the second voltage threshold value is more than or equal to the first voltage threshold value.
4. the method according to claim 1, wherein described be based on the decompression control instruction, control battery electricity
Pressure drop is down to below first voltage threshold value, comprising:
Based on the decompression control instruction, discharge cell work is controlled, cell voltage is made to be reduced to first voltage threshold value or less.
5. method according to claim 1-4, which is characterized in that be reduced to first voltage in control cell voltage
After below threshold value, the method also includes:
If cell voltage is less than tertiary voltage threshold value, charge control instruction is generated;
It is instructed based on the charge control, control charhing unit executes the charging operations to battery.
6. a kind of terminal device, which is characterized in that the terminal device includes: acquiring unit and processing unit;Wherein,
The acquiring unit obtains the company of the charging equipment and charging interface when connecting for charging equipment with charging interface
Connect the time;
The processing unit generates decompression control instruction if be more than or equal to time threshold for the Connection Time;
The processing unit is also used to based on the decompression control instruction, control cell voltage be reduced to first voltage threshold value with
Under.
7. equipment according to claim 6, which is characterized in that
The acquiring unit is also used to obtain charging voltage;
The processing unit is specifically used for determining charging equipment and charging interface when charging voltage is greater than charging voltage threshold value
Connection;When charging voltage is less than or equal to charging voltage threshold value, determine that charging equipment and charging interface disconnect.
8. equipment according to claim 6, which is characterized in that the processing unit, if being specifically used for the Connection Time
More than or equal to time threshold, and when cell voltage is more than or equal to second voltage threshold value, decompression control instruction is generated;Its
In, the second voltage threshold value is more than or equal to the first voltage threshold value.
9. equipment according to claim 6, which is characterized in that the processing unit is specifically used for controlling based on the decompression
System instruction, control discharge cell work, makes cell voltage be reduced to first voltage threshold value or less.
10. according to the described in any item equipment of claim 6-9, which is characterized in that the processing unit, if being also used to battery electricity
When pressure is less than tertiary voltage threshold value, charge control instruction is generated;
It is instructed based on the charge control, control charhing unit executes the charging operations to battery.
11. a kind of terminal device, the terminal device includes: processor and is configured to store the meter that can be run on a processor
The memory of calculation machine program,
Wherein, when the processor is configured to run the computer program, perform claim requires any one of 1 to 5 the method
The step of.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The step of processor realizes method described in any one of claim 1 to 5 when executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811291773.4A CN109888853A (en) | 2018-10-31 | 2018-10-31 | A kind of charge control method, terminal device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811291773.4A CN109888853A (en) | 2018-10-31 | 2018-10-31 | A kind of charge control method, terminal device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109888853A true CN109888853A (en) | 2019-06-14 |
Family
ID=66924874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811291773.4A Pending CN109888853A (en) | 2018-10-31 | 2018-10-31 | A kind of charge control method, terminal device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109888853A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111559272A (en) * | 2020-05-19 | 2020-08-21 | 湖南阿呆新能源科技有限公司 | Method, device and equipment for controlling charging power of electric automobile and storage medium |
CN111682599A (en) * | 2020-05-11 | 2020-09-18 | 广东天波信息技术股份有限公司 | Charging control method, device and system for lithium battery |
CN113795965A (en) * | 2021-06-25 | 2021-12-14 | 宁德新能源科技有限公司 | Electrochemical device management method, electronic apparatus, charging device, and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009225502A (en) * | 2008-03-13 | 2009-10-01 | Nec Saitama Ltd | Portable electronic apparatus |
CN202309041U (en) * | 2011-11-09 | 2012-07-04 | 佛山市顺德区精进能源有限公司 | Floating charge protective circuit |
CN106356580A (en) * | 2016-10-13 | 2017-01-25 | 惠州Tcl移动通信有限公司 | Method and system for discharging rechargeable battery of mobile terminal |
CN107171373A (en) * | 2016-03-07 | 2017-09-15 | 中兴通讯股份有限公司 | Battery protecting method and device, terminal |
-
2018
- 2018-10-31 CN CN201811291773.4A patent/CN109888853A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009225502A (en) * | 2008-03-13 | 2009-10-01 | Nec Saitama Ltd | Portable electronic apparatus |
CN202309041U (en) * | 2011-11-09 | 2012-07-04 | 佛山市顺德区精进能源有限公司 | Floating charge protective circuit |
CN107171373A (en) * | 2016-03-07 | 2017-09-15 | 中兴通讯股份有限公司 | Battery protecting method and device, terminal |
CN106356580A (en) * | 2016-10-13 | 2017-01-25 | 惠州Tcl移动通信有限公司 | Method and system for discharging rechargeable battery of mobile terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111682599A (en) * | 2020-05-11 | 2020-09-18 | 广东天波信息技术股份有限公司 | Charging control method, device and system for lithium battery |
CN111559272A (en) * | 2020-05-19 | 2020-08-21 | 湖南阿呆新能源科技有限公司 | Method, device and equipment for controlling charging power of electric automobile and storage medium |
CN111559272B (en) * | 2020-05-19 | 2022-01-07 | 湖南阿呆新能源科技有限公司 | Method, device and equipment for controlling charging power of electric automobile and storage medium |
CN113795965A (en) * | 2021-06-25 | 2021-12-14 | 宁德新能源科技有限公司 | Electrochemical device management method, electronic apparatus, charging device, and storage medium |
WO2022267029A1 (en) * | 2021-06-25 | 2022-12-29 | 宁德新能源科技有限公司 | Electrochemical apparatus management method, electronic device, charging apparatus and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104242372B (en) | The charging method and electronic cigarette packet of electronic cigarette | |
WO2016106996A1 (en) | Quick charging mobile terminal, method and system | |
CN107894567B (en) | Battery pack and detection system and detection method for interface state of battery pack | |
CN203800642U (en) | Charging Po and charging system | |
US10707689B2 (en) | Battery charger | |
CN104682458A (en) | Charging control device, system, charging chip and user terminal | |
CN102280670B (en) | Charging method for realizing automatic power control | |
CN109888853A (en) | A kind of charge control method, terminal device and storage medium | |
JP5919506B2 (en) | Rechargeable electrical equipment | |
CN104300630A (en) | Charging control device and method | |
CN103247833B (en) | Method and apparatus for charging to battery | |
CN205123326U (en) | Quick charging circuit | |
CN104701927A (en) | Secondary protection IC, method of controlling secondary protection IC, protection module, and battery pack | |
EP3185348A1 (en) | Information processing method, smart battery, terminal and computer storage medium | |
US20160190824A1 (en) | Battery powered system and method for charging | |
CN110391685B (en) | Charging control method and device for intelligent door lock and intelligent door lock | |
CN111969685A (en) | Handheld terminal, power supply circuit thereof, power supply control method thereof and readable storage medium | |
CN106549458B (en) | Battery charger and charging method | |
CN103683266B (en) | Rechargeable battery protection circuit | |
CN203800644U (en) | Charging Po and charging device | |
EP3675315A1 (en) | Charging method, terminal, and computer storage medium | |
EP2852021A1 (en) | Charging circuit and control method therefor | |
CN203014439U (en) | Automatic identification apparatus of charger | |
CN109450016A (en) | Charging method, mobile power source and computer storage medium | |
CN112640247A (en) | Power supply management equipment and control method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190614 |
|
RJ01 | Rejection of invention patent application after publication |