CN106655413A - Electronic device and charging method - Google Patents

Electronic device and charging method Download PDF

Info

Publication number
CN106655413A
CN106655413A CN201710114029.6A CN201710114029A CN106655413A CN 106655413 A CN106655413 A CN 106655413A CN 201710114029 A CN201710114029 A CN 201710114029A CN 106655413 A CN106655413 A CN 106655413A
Authority
CN
China
Prior art keywords
discharge
voltameter
switch module
electronic equipment
battery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710114029.6A
Other languages
Chinese (zh)
Other versions
CN106655413B (en
Inventor
段伟亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710114029.6A priority Critical patent/CN106655413B/en
Publication of CN106655413A publication Critical patent/CN106655413A/en
Application granted granted Critical
Publication of CN106655413B publication Critical patent/CN106655413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The invention provides an electronic device and a charging method, and belongs to the field of electronics. The electronic device comprises a charge and discharge switch module, a discharge load module, a voltameter, a battery and a CPU. The charging method comprises the following steps: in a charging phase of each period, the CPU controls a direct charger to output a first specified voltage and controls the charge and discharge switch module to connect the voltameter with a VBUS pin of a USB data line, so that the output current of the direct charger flows into the battery through the USB data line, the charge and discharge switch module and the voltameter; and in a discharge phase of each period, the CPU controls the direct charger to output a second specified voltage and controls the charge and discharge switch module to connect the discharge load module with the voltameter, so that the discharge current of the battery flows into the discharge load module through the voltameter and the charge and discharge switch module. By adoption of the electronic device and the charging method provided by the invention, the charging speed can be accelerated, the charging time is shortened, and the service life of the battery in the electronic device is prolonged.

Description

Electronic equipment and charging method
Technical field
It relates to electronic technology field, more particularly to a kind of electronic equipment and charging method.
Background technology
With the development of electronic technology, the use of electronic equipment (such as mobile phone, computer) is more prevalent.With electronic equipment Usage frequency constantly increases, and the power consumption rate of the electronic equipment can be increasingly faster, and user is also more next to the demand of quick charge It is stronger.Therefore, need a kind of charging method badly to realize the quick charge of electronic equipment.
At present, charging method is as follows:Electronic equipment has lithium ion battery, by power supply adaptor and electronic equipment The charging circuit put, adopts the charging modes of constant current-constant pressure, so as to realize to electronic equipment to the lithium ion battery of electronic equipment Charging process.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of electronic equipment and charging method.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of electronic equipment, the electronic equipment switches including discharge and recharge Switch module, discharge load module, voltameter, battery and CPU (Central Processing Unit, central processing unit),
Wherein, one end of the discharge and recharge switching switch module passes through USB (Universal Serial with straight charger Bus, USB) data wire connection, the other end is connected with the voltameter, and the voltameter is connected with the battery, The CPU is communicated by the USB data line with the straight charger;
The discharge and recharge switches switch module, described in the different phase control of charging process for according to the control of CPU Connecting and disconnecting of the circuit between voltameter and the straight charger.
In the first implementation of first aspect, the charging in each cycle that the CPU is used in charging process In the stage, control the straight charger and export the first given voltage, and control the discharge and recharge switching switch module by the electricity Gauge connects with VBUS (Voltage Bus, the power supply) pin of the USB data line so that the output of the straight charger Electric current switches switch module, the voltameter and flows into the battery by the USB data line, the discharge and recharge.
In second implementation of first aspect, the electric discharge in each cycle that the CPU is used in charging process In the stage, control the straight charger and export the second given voltage, and control the discharge and recharge switching switch module to put described Electric loading module is connected with the voltameter so that the discharge current of the battery passes through the voltameter, institute from the battery State discharge and recharge switching switch module and flow into the discharge load module.
In the third implementation of first aspect, the CPU is used for the CC by the USB data line (Configure Channel, collocation channel) pin or D+ (Data Positive, data positive signal), D- (Data Minus, Data negative signal) pin controls the output voltage of the straight charger.
In the 4th kind of implementation of first aspect, the USB data line is configured on the straight charger.
In the 5th kind of implementation of first aspect, first given voltage is 4V, and second given voltage is 5V。
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of charging method, including:
The charging stage in each cycle in charging process, the CPU controls straight charger output first and specifies electricity Press, and control the discharge and recharge switching switch module and be connected the voltameter with the power pins VBUS pin of USB data line, So that the output current of the straight charger switches switch module, the electricity by the USB data line, the discharge and recharge Meter flows into the battery;
The discharge regime in each cycle in charging process, the CPU controls the straight charger output second and refers to Determine voltage, and control the discharge and recharge switching switch module to be connected the discharge load module with the voltameter so that institute The discharge current for stating battery is flowed into the electric discharge and is born from the battery by the voltameter, discharge and recharge switching switch module Carry module.
In the first implementation of second aspect, CC pins or D+, D- that the CPU passes through the USB data line Pin controls the output voltage of the straight charger.
In second implementation of second aspect, the CPU obtains the electricity of the battery by the voltameter.
In the third implementation of second aspect, first given voltage is 4V, and second given voltage is 5V。
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of electronic equipment, including:
Processor;
For storing the memory of the executable instruction of processor;
Wherein, the processor is configured to:
The charging stage in each cycle in charging process, control straight charger and export the first given voltage, and control Make the discharge and recharge switching switch module to be connected the voltameter with the VBUS pins of USB data line so that described directly to fill The output current of electrical equipment switches switch module, the voltameter and flows into the electricity by the USB data line, the discharge and recharge Pond;
The discharge regime in each cycle in charging process, controls the straight charger and exports the second given voltage, And control discharge and recharge switching switch module and be connected the discharge load module with the voltameter so that the battery Discharge current switches switch module and flows into the discharge load module from the battery by the voltameter, the discharge and recharge.
The technical scheme that the disclosure is provided can include following beneficial effect:
Discharge and recharge is controlled by CPU and switches switch module in the different phase of charging process, periodically controlled the electronics and set Connecting and disconnecting of the circuit between standby voltameter and the straight charger so that the electronic equipment is in periodically pulsing discharge and recharge shape State.This pulse charging manner can improve charging rate, shorten the charging interval, and periodicity discharge and recharge can also avoid by Charged state is constantly in electronic equipment and caused battery generation polarization phenomena such that it is able to extend battery in electronic equipment Service life.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the enforcement for meeting the disclosure Example, and be used to explain the principle of the disclosure together with specification.
Fig. 1 is a kind of structural representation of the charging system according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the charging method according to an exemplary embodiment;
Fig. 3 is that the curent change of a kind of electronic equipment according to an exemplary embodiment in charge and discharge process is illustrated Figure;
Fig. 4 is the block diagram of a kind of electronic equipment 400 according to an exemplary embodiment.
Specific embodiment
To make purpose, technical scheme and the advantage of the disclosure clearer, below in conjunction with accompanying drawing to disclosure embodiment party Formula is described in further detail.
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Fig. 1 is a kind of structural representation of charging system that the embodiment of the present disclosure is provided, and the charging system can include:Electricity Sub- equipment 100, straight charger 110 and USB data line 120.
The electronic equipment 100 can include discharge and recharge switching switch module 101, discharge load module 102, voltameter 103, Battery 104 and CPU 105.In fact, the electronic equipment 100 can also include other components and parts, referring specifically to the corresponding realities of Fig. 4 Apply example.
Wherein, one end of the discharge and recharge switching switch module 101 is connected with straight charger 110 by USB data line 120 Connect, the other end is connected with the voltameter 103, the voltameter 103 is connected with the battery 104, the CPU 105 passes through the usb data Line 120 communicates with the straight charger 110;
The discharge and recharge switching switch module 101, for according to the control of CPU 105, in the different phase control of charging process Make the connecting and disconnecting of the circuit between the voltameter 103 and the straight charger 110 so that the electronic equipment 100 is in periodicity charge and discharge Electricity condition.
The discharge regime in each cycle that discharge load module 102 is used in charging process, receives the electric discharge of battery 104 Electric current.It should be noted that the charging process can include multiple cycles, each cycle includes charging stage and electric discharge rank Section.
Voltameter 103 is used to record the electricity that battery 104 is flowed in and out in whole charging process, can be also used for filling Voltage, electric current of different phase record battery 104 of electric process etc..For example, voltameter 103 can be in each in charging process The charging stage in cycle, record voltage, charging current and the electricity of battery 104, the electric discharge in each cycle in charging process In the stage, record voltage, discharge current and the electricity of battery 104.
The charging stage in each cycle that battery 104 is used in charging process, receive the output electricity of straight charger 110 Flow to store electricity;The discharge regime in each cycle being additionally operable in charging process, puts to the output of discharge load module 102 Electric current, to discharge part electricity.
The CPU 105 is used to control the straight charger 110 by the CC pins or D+, D- pin of the USB data line 120 Output voltage, be additionally operable to control the output current of straight charger 110.In addition, the CPU 105 is additionally operable in charging process Different phase switches switch module 101 by the discharge and recharge, controls the electricity between the voltameter 103 and the straight charger 110 Road break-make.For example, the charging stage in each cycle that the CPU 105 is used in charging process, the straight charger 110 is controlled The first given voltage is exported, and controls the discharge and recharge switching switch module 101 by the voltameter 103 and the USB data line 120 VBUS pins connect so that the electronic equipment 100 is in charged state, the i.e. output current of the straight charger 110 by being somebody's turn to do USB data line 120, the discharge and recharge switching switch module 101, the voltameter 103 flow into the battery.Wherein, the first specified electricity Press as 4V.
The discharge regime in each cycle that the CPU 105 is used in charging process, controls the straight charger 110 and exports Second given voltage, and control discharge and recharge switching switch module 101 and connect the discharge load module 102 with the voltameter 103 Connect so that the electronic equipment 100 passes through the voltameter in discharge condition, the i.e. discharge current of the battery 104 from the battery 104 103rd, the discharge and recharge switching switch module 101 flows into the discharge load module 102.Wherein, second given voltage is 5V.
The CPU 105 is additionally operable to read voltameter 103, to obtain the electricity of the battery 104.When the electricity of the battery 104 When completely, the CPU105 can control the end of the charging process, including disconnect the voltameter 103 and straight charger 110 it Between circuit and disconnect circuit between the voltameter 103 and discharge load module 102.
The charging stage in each cycle that straight charger 110 is used in charging process, is that electronic equipment 100 provides defeated Go out electric current.
USB data line 120 is used to connect electronic equipment 100 and straight charger 110.Additionally, the USB data line 120 can To be configured on the straight charger 110.The USB data line 120 includes VBUS pins, CC pins, D+ pins, D- pins.
Fig. 2 is a kind of flow chart of the charging method according to an exemplary embodiment, as shown in Fig. 2 the charging side Method be used for electronic equipment in, the electronic equipment include discharge and recharge switching switch module, discharge load module, voltameter, battery and Central processor CPU.The charging method is comprised the following steps:
In step 201, the discharge regime in each cycle in charging process, the CPU controls straight charger output First given voltage.
In the embodiment of the present disclosure, electronic equipment adopts pulse charge, i.e. charge and discharge mode alternately to carry out Charge.Curent change of the electronic equipment in charging process can be with as shown in figure 3, electric current be in just to represent the electronic equipment Charged state, for negative indication, the electronic equipment is in discharge condition to electric current, i.e., the electronic equipment is in the charging stage in 0-T1, The electronic equipment is in discharge regime in T2-T3.The electronic equipment in charging process, the alternately discharge and recharge rank successively Section.Wherein, each cycle in the charging process, namely the connecting and disconnecting of the circuit cycle between voltameter and straight charger, by CPU The periodicity control realization of switch module is switched to discharge and recharge.By taking Fig. 3 as an example, 0-T3 is a cycle.
The charging stage in each cycle in charging process, CC pins or D+, D- pin that CPU passes through USB data line Control straight charger and export the first given voltage, for example, first given voltage can be 4V.First given voltage is in This directly to fill mode in the receivable voltage range of electronic equipment, i.e., the direct output electronic equipment of straight charger can receive electricity The mode of pressure, the height without the need for being carried out voltage by electronic equipment internal is changed, and the time required to can shortening charging process, raising is filled Electrical efficiency.
In step 202., CPU controls discharge and recharge switching switch module and draws the voltameter with the power supply of USB data line Pin VBUS pins connect so that the output current of the straight charger switches switching molding by the USB data line, the discharge and recharge Block, the voltameter flow into the battery.
In the embodiment of the present disclosure, in the charging stage in each cycle, CPU controls straight charger and exports the first given voltage Afterwards, the discharge and recharge switching switch module connection can be controlled, so that the VBUS of the voltameter of the electronic equipment and USB data line Pin connect, so as to connect the circuit between the voltameter and the straight charger, i.e., via straight charger, USB data line, Discharge and recharge switches the circuit of switch module and voltameter so that the electronic equipment is in charged state, and then causes directly to fill The output current of electrical equipment can flow into the battery of the electronic equipment, so as to realize the electronic equipment in the cycle by the circuit Charging stage.
Step 201 to step 202 is the charging stage for carrying out in a cycle of the electronic equipment in charging process.Electricity Sub- equipment carry out the discharge regime in the cycle after the charging stage for completing step 201 to 202, referring to subsequent step 203 to Step 204.
In step 203, the discharge regime in each cycle in charging process, CPU controls the straight charger output Second given voltage.
Wherein, second given voltage is the output voltage of straight charger acquiescence, and second given voltage is higher than electronics The receivable voltage range of equipment, for example, second given voltage can be 5V.
The discharge regime in each cycle in charging process, the CPU of the electronic equipment can be by the CC of USB data line Pin or D+, D- pin control straight charger and export the second given voltage so that straight charger returns to default conditions, with Reduce the loss of the straight charger.
In step 204, CPU controls the discharge and recharge switching switch module by the discharge load module and voltameter company Connect so that the discharge current of the battery is flowed into the electric discharge and born from the battery by the voltameter, discharge and recharge switching switch module Carry module.
In the discharge regime in each cycle, CPU controls straight charger and exports after the second given voltage, can control this and fill Electric discharge switching switch module is connected the voltameter of the electronic equipment with discharge load module, puts with this so as to connect the voltameter Circuit between electric loading module, i.e., via the electricity of battery, voltameter, discharge and recharge switching switch module and discharge load module Road so that the electronic equipment is in discharge condition, and then allows the discharge current of battery by the circuit, flows into the electronics The discharge load module of equipment, so as to realize discharge regime of the electronic equipment in the cycle.
It should be noted that:CPU controls what the discharge and recharge switching switch module was connected voltameter with discharge load module It is also desirable to the connection that the discharge and recharge switching switch module disconnects the voltameter and the VBUS pins of USB data line is controlled, with Disconnect the circuit between the voltameter and straight charger so that straight charger stops being charged the electronic equipment.
Step 201 to step 204 is that for carrying out is complete in a cycle of the electronic equipment in charging process fills Discharge regime, including charging stage and discharge regime.
In the embodiment of the present disclosure, the CPU of the electronic equipment can obtain the electricity of the battery by the voltameter, if The charging stage in some cycle in charging process, the CPU learns that the electricity of battery is full by voltameter, then can control The end of whole charging process, including disconnect the circuit between the voltameter and straight charger and disconnect the voltameter and put Circuit between electric loading module.
The method that the embodiment of the present disclosure is provided, controls discharge and recharge and switches difference of the switch module in charging process by CPU In the stage, periodically control the connecting and disconnecting of the circuit between the voltameter of the electronic equipment and the straight charger so that the electronic equipment In periodically pulsing charging and discharging state.This pulse charging manner can improve charging rate, shorten the charging interval, and Periodicity discharge and recharge can also avoid the caused battery because electronic equipment is constantly in charged state from producing polarization phenomena, from And the service life of battery in electronic equipment can be extended.
Fig. 4 is the block diagram of a kind of electronic equipment 400 according to an exemplary embodiment.For example, electronic equipment 400 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices are good for Body equipment, personal digital assistant etc..
With reference to Fig. 4, electronic equipment 400 can include following one or more assemblies:Process assembly 402, memory 404, Power supply module 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, And communication component 416.
The integrated operation of the usual control electronics 400 of process assembly 402, such as with display, call, data are led to Letter, the associated operation of camera operation and record operation.Process assembly 402 can include one or more processors 420 to hold Row instruction, to complete all or part of step of above-mentioned method, the processor 420 can be the CPU shown in Fig. 1.Treatment group Part 402 can include one or more modules, the interaction being easy between process assembly 402 and other assemblies.For example, process assembly 402 can include multi-media module, to facilitate the interaction between multimedia groupware 408 and process assembly 402.
Memory 404 is configured to store various types of data to support the operation in electronic equipment 400.These data Example include on electronic equipment 400 operate any application program or method instruction, contact data, telephone directory Data, message, picture, video etc..Memory 404 can by any kind of volatibility or non-volatile memory device or it Combination realize that such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, soon Flash memory, disk or CD.
Power supply module 406 provides electric power for the various assemblies of electronic equipment 400.The power supply module 406 can be for shown in Fig. 1 Battery, power supply module 406 can include power-supply management system, one or more power supplys, and other with give birth to for electronic equipment 400 Into, management and distribute electric power associated component.
Multimedia groupware 408 is included in the screen of one output interface of offer between electronic equipment 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or sliding action side Boundary, but also the detection duration related to touch or slide and pressure.In certain embodiments, multimedia groupware 408 include a front-facing camera and/or post-positioned pick-up head.When electronic equipment 400 is in operator scheme, such as screening-mode or regard During frequency pattern, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera is with after It can be a fixed optical lens system or with focusing and optical zoom capabilities to put camera.
Audio-frequency assembly 410 is configured to output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when electronic equipment 400 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone It is configured to receive external audio signal.The audio signal for being received can be further stored in memory 404 or via logical Letter component 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
, to provide interface between process assembly 402 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 412 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, for providing the state of various aspects for electronic equipment 400 Assessment.For example, sensor cluster 414 can detect the opening/closed mode of electronic equipment 400, the relative positioning of component, example If component is the display and keypad of electronic equipment 400, sensor cluster 414 can also detect electronic equipment 400 or electronics The position of 400 1 components of equipment changes, and user is presence or absence of with what electronic equipment 400 was contacted, the orientation of electronic equipment 400 Or the temperature change of acceleration/deceleration and electronic equipment 400.Sensor cluster 414 can include proximity transducer, be configured to The presence of object near detecting when without any physical contact.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for used in imaging applications.In certain embodiments, the sensor cluster 414 can be with Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between electronic equipment 400 and other equipment. Electronic equipment 400 can be accessed based on the wireless network of communication standard, such as WiFi, 2G or 3G, or combinations thereof.Show at one In example property embodiment, communication component 416 receives broadcast singal or the broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, communication component 416 also includes near-field communication (NFC) module, to promote short distance to lead to Letter.For example, RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) can be based in NFC module Technology, bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, electronic equipment 400 can be by one or more application specific integrated circuits (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realizations, for performing above-mentioned charging method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete said method by the processor 420 of electronic equipment 400.Example Such as, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium is additionally provided, when in storage medium Instruction by mobile terminal computing device when so that mobile terminal is able to carry out above-mentioned charging method.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a kind of electronic equipment, it is characterised in that the electronic equipment includes discharge and recharge switching switch module, discharge load mould Block, voltameter, battery and central processor CPU,
Wherein, one end of the discharge and recharge switching switch module is connected with straight charger by general-purpose serial bus USB data wire Connect, the other end is connected with the voltameter, the voltameter is connected with the battery, the CPU by the USB data line with The straight charger communication;
The discharge and recharge switches switch module, for according to the control of CPU, in the different phase of charging process the electricity being controlled Connecting and disconnecting of the circuit between meter and the straight charger.
2. electronic equipment according to claim 1, it is characterised in that
The charging stage in each cycle that the CPU is used in charging process, control the straight charger output first and refer to Determine voltage, and control the discharge and recharge switching switch module by power pins VBUS of the voltameter and the USB data line Pin connects so that the output current of the straight charger switches switching molding by the USB data line, the discharge and recharge Block, the voltameter flow into the battery.
3. electronic equipment according to claim 1 and 2, it is characterised in that
The discharge regime in each cycle that the CPU is used in charging process, controls the straight charger output second and refers to Determine voltage, and control the discharge and recharge switching switch module to be connected the discharge load module with the voltameter so that institute The discharge current for stating battery is flowed into the electric discharge and is born from the battery by the voltameter, discharge and recharge switching switch module Carry module.
4. electronic equipment according to claim 1, it is characterised in that the CPU is used for matching somebody with somebody by the USB data line Put channel C C pin or data positive signal D+, data negative signal D- pins control the output voltage of the straight charger.
5. electronic equipment according to claim 1, it is characterised in that the USB data line is configured in and described directly charges On device.
6. electronic equipment according to claim 3, it is characterised in that first given voltage is 4V, described second refers to Voltage is determined for 5V.
7. a kind of charging method, it is characterised in that be applied to electronic equipment as claimed in claim 1, the electronic equipment bag Discharge and recharge switching switch module, discharge load module, voltameter, battery and central processor CPU are included,
Methods described includes:
The charging stage in each cycle in charging process, the CPU controls straight charger and exports the first given voltage, and Control the discharge and recharge switching switch module to be connected the voltameter with the VBUS pins of USB data line so that described directly to fill The output current of charger switches switch module, the voltameter and flows into the electricity by the USB data line, the discharge and recharge Pond;
The discharge regime in each cycle in charging process, the specified electricity of the CPU controls straight charger output second Press, and control the discharge and recharge switching switch module and be connected the discharge load module with the voltameter so that the electricity The discharge current in pond switches switch module and flows into the discharge load mould from the battery by the voltameter, the discharge and recharge Block.
8. method according to claim 7, it is characterised in that CC pins or D that the CPU passes through the USB data line +, D- pins control the output voltage of the straight charger.
9. method according to claim 7, it is characterised in that the CPU obtains the battery by the voltameter Electricity.
10. method according to claim 7, it is characterised in that first given voltage is 4V, described second specifies electricity Press as 5V.
11. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
Processor;
For storing the memory of the executable instruction of processor;
Wherein, the processor is configured to:
The charging stage in each cycle in charging process, control straight charger and export the first given voltage, and control is filled Electric discharge switching switch module is connected voltameter with the VBUS pins of USB data line so that the output electricity of the straight charger Stream switches switch module, the voltameter and flows into battery by the USB data line, the discharge and recharge;
The discharge regime in each cycle in charging process, controls the straight charger and exports the second given voltage, and controls Make the discharge and recharge switching switch module to be connected discharge load module with the voltameter so that the discharge current of the battery Switch module is switched by the voltameter, the discharge and recharge from the battery and flows into the discharge load module.
CN201710114029.6A 2017-02-28 2017-02-28 Electronic equipment and charging method Active CN106655413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710114029.6A CN106655413B (en) 2017-02-28 2017-02-28 Electronic equipment and charging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710114029.6A CN106655413B (en) 2017-02-28 2017-02-28 Electronic equipment and charging method

Publications (2)

Publication Number Publication Date
CN106655413A true CN106655413A (en) 2017-05-10
CN106655413B CN106655413B (en) 2019-05-07

Family

ID=58847550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710114029.6A Active CN106655413B (en) 2017-02-28 2017-02-28 Electronic equipment and charging method

Country Status (1)

Country Link
CN (1) CN106655413B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112349982A (en) * 2019-08-07 2021-02-09 北京小米移动软件有限公司 Battery, charging method and charging device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106026257A (en) * 2016-06-24 2016-10-12 青岛海信移动通信技术股份有限公司 Mobile terminal
EP3101758A1 (en) * 2014-01-28 2016-12-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Battery charging apparatus and method
CN106451711A (en) * 2016-09-26 2017-02-22 成都月庚地科技有限公司 Composite pulse lead-acid storage battery charger and charging method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3101758A1 (en) * 2014-01-28 2016-12-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Battery charging apparatus and method
CN106026257A (en) * 2016-06-24 2016-10-12 青岛海信移动通信技术股份有限公司 Mobile terminal
CN106451711A (en) * 2016-09-26 2017-02-22 成都月庚地科技有限公司 Composite pulse lead-acid storage battery charger and charging method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112349982A (en) * 2019-08-07 2021-02-09 北京小米移动软件有限公司 Battery, charging method and charging device

Also Published As

Publication number Publication date
CN106655413B (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN106410303B (en) Charging method and device
CN104362703B (en) Wireless charging method and device
CN104219383A (en) Terminal power information prompting method and device
CN106712219A (en) Charging protection method and device
CN106169798A (en) High-voltage charging system, high-voltage charging battery and terminal unit
CN106067571A (en) Method and electronic equipment for battery charging
CN108091809A (en) Battery, equipment, charge control method and device
CN105720644A (en) Charging control method and device and terminal device
CN108964187A (en) The charging method of terminal and terminal room
CN108091808A (en) Battery, equipment, charge control method and device
CN106786997A (en) Charging method and device
CN106230066A (en) Charge prompting method and apparatus
CN105630655B (en) A kind of method and apparatus of prompt charging connection
CN105356529A (en) Prompting method and apparatus for rapid charging state
CN107331910A (en) Charging method and device
CN104577235B (en) For the method for portable set charging, the method, apparatus and system of control charging
CN105975038A (en) Prompt method and device of charging port detection result
CN107329520A (en) USB interface connection method, equipment and the system of mobile terminal
CN106026232A (en) Detecting method and apparatus for USB port type
CN104967174B (en) Charge control method and device
CN106610476B (en) Test method, device and the terminal of charge and discharge process
CN106774802A (en) The reminding method of terminal power, device and terminal
CN109327055A (en) Charging method, terminal device and storage medium
CN107681727A (en) The control method and device of electronic equipment
CN109462261A (en) The electronic device to be charged using exposed terminal to battery

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