CN106655413B - Electronic equipment and charging method - Google Patents

Electronic equipment and charging method Download PDF

Info

Publication number
CN106655413B
CN106655413B CN201710114029.6A CN201710114029A CN106655413B CN 106655413 B CN106655413 B CN 106655413B CN 201710114029 A CN201710114029 A CN 201710114029A CN 106655413 B CN106655413 B CN 106655413B
Authority
CN
China
Prior art keywords
discharge
voltameter
charge
switch module
electronic equipment
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.)
Active
Application number
CN201710114029.6A
Other languages
Chinese (zh)
Other versions
CN106655413A (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

Present disclose provides a kind of electronic equipment and charging methods, belong to electronic technology field.Electronic equipment includes charge and discharge switching switch module, discharge load module, voltameter, battery and CPU, charging method includes: the charging stage in each period, CPU controls straight charger and exports the first given voltage, and control charge and discharge switching switch module and connect voltameter and the VBUS pin of USB data line, so that the output electric current of straight charger switches switch module by USB data line, charge and discharge, voltameter flows into battery;In the discharge regime in each period, CPU controls straight charger and exports the second given voltage, and control charge and discharge switching switch module and connect discharge load module with voltameter, so that the discharge current of battery, which switches switch module by voltameter, charge and discharge from battery, flows into discharge load module.The disclosure can be improved charging rate, shorten the charging time, extend the service life of battery in electronic equipment.

Description

Electronic equipment and charging method
Technical field
This disclosure relates to electronic technology field more particularly to a kind of electronic equipment and charging method.
Background technique
With the development of electronic technology, electronic equipment (such as mobile phone, computer) using more prevalent.With electronic equipment Frequency of use constantly increases, and the power consumption rate of the electronic equipment can be getting faster, and demand of the user to quick charge is also more next It is stronger.Therefore, a kind of charging method, the quick charge of Lai Shixian electronic equipment are needed.
Currently, charging method is as follows: electronic equipment is configured with lithium ion battery, by power supply adaptor and electronic equipment The charging circuit set uses constant current-constant pressure charging modes to the lithium ion battery of electronic equipment, to realize to electronic equipment Charging process.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of electronic equipment and charging method.
According to the first aspect of the embodiments of the present disclosure, a kind of electronic equipment is provided, which includes charge and discharge switching Switch module, discharge load module, voltameter, battery and CPU (Central Processing Unit, central processing unit),
Wherein, one end of the charge and discharge switching switch module and straight charger pass through USB (Universal Serial Bus, universal serial bus) data line connection, the other end connect with the voltameter, and the voltameter is connect with the battery, The CPU is communicated by the USB data line with the straight charger;
The charge and discharge switch switch module, for the control according to CPU, described in the different phase control of charging process Connecting and disconnecting of the circuit between voltameter and the straight charger.
In the first implementation of first aspect, charging of the CPU for each period during the charging process Stage controls the straight charger and exports the first given voltage, and controls the charge and discharge switching switch module for the electricity Meter and VBUS (Voltage Bus, the power supply) pin of the USB data line connect, so that the output of the straight charger Electric current switches switch module by the USB data line, the charge and discharge, the voltameter flows into the battery.
In second of implementation of first aspect, electric discharge of the CPU for each period during the charging process Stage controls the straight charger and exports the second given voltage, and controls the charge and discharge switching switch module and put described Electric loading module is connect with the voltameter, so that the discharge current of the battery passes through the voltameter, institute from the battery It states charge and discharge switching switch module and flows 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 configuration is 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 an embodiment of the present disclosure, a kind of charging method is provided, comprising:
The charging stage in each period during the charging process, the CPU control the specified electricity of straight charger output first Pressure, and control the charge and discharge switching switch module and connect the voltameter and the power pins VBUS pin of USB data line, So that the output electric current of the straight charger switches switch module, the electricity by the USB data line, the charge and discharge Meter flows into the battery;
The discharge regime in each period during the charging process, the CPU control straight charger output second refer to Constant voltage, and control the charge and discharge switching switch module and connect the discharge load module with the voltameter, so that institute The discharge current for stating battery switches the switch module inflow electric discharge by the voltameter, the charge and discharge from the battery and bears Carry module.
In the first implementation of second aspect, CC pin or D+, D- that the CPU passes through the USB data line Pin controls the output voltage of the straight charger.
In second of 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 an embodiment of the present disclosure, a kind of electronic equipment is provided, comprising:
Processor;
Memory for the instruction that storage processor can be performed;
Wherein, the processor is configured to:
The charging stage in each period during the charging process controls straight charger and exports the first given voltage, and controls It makes the charge and discharge switching switch module to connect the voltameter and the VBUS pin of USB data line, so that described directly fill The output electric current of electric appliance switches switch module by the USB data line, the charge and discharge, the voltameter flows into the electricity Pond;
The discharge regime in each period during the charging process controls the straight charger and exports the second given voltage, And control the charge and discharge switching switch module and connect the discharge load module with the voltameter, so that the battery Discharge current switches switch module by the voltameter, the charge and discharge from the battery and flows into the discharge load module.
Technical solution provided by the present disclosure can include the following benefits:
Charge and discharge are controlled by CPU and switch switch module in the different phase of charging process, are periodically controlled the electronics and are set Connecting and disconnecting of the circuit between standby voltameter and the straight charger, so that the electronic equipment is in periodically pulsing charge and discharge shape State.This pulse charging manner can be improved charging rate, shorten the charging time, and periodical charge and discharge can also avoid by Battery generates polarization phenomena caused by electronic equipment is constantly in charged state, so as to extend battery in electronic equipment Service life.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of structural schematic diagram of charging system shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of charging method shown according to an exemplary embodiment;
Fig. 3 is curent change signal of a kind of electronic equipment shown according to an exemplary embodiment in charge and discharge process Figure;
Fig. 4 is the block diagram of a kind of electronic equipment 400 shown according to an exemplary embodiment.
Specific embodiment
To keep the purposes, technical schemes and advantages of the disclosure clearer, below in conjunction with attached drawing to disclosure embodiment party Formula is described in further detail.
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of structural schematic diagram for charging system that the embodiment of the present disclosure provides, which may include: electricity Sub- equipment 100, straight charger 110 and USB data line 120.
The electronic equipment 100 may include charge and discharge 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, referring specifically to the corresponding reality of Fig. 4 Apply example.
Wherein, one end of charge and discharge switching switch module 101 is connected with straight charger 110 by USB data line 120 It connects, the other end is connect with the voltameter 103, which connect with the battery 104, which passes through the usb data Line 120 is communicated with the straight charger 110;
The charge and discharge switch switch module 101, for the control according to CPU 105, in the different phase control of charging process The connecting and disconnecting of the circuit between the voltameter 103 and the straight charger 110 is made, so that the electronic equipment 100 is in periodical charge and discharge Electricity condition.
Discharge regime of the discharge load module 102 for each period during the charging process, receives the electric discharge of battery 104 Electric current.It should be noted that the charging process may include multiple periods, each period includes charging stage and electric discharge rank Section.
Voltameter 103 can be also used for filling for recording the electricity for flowing in and out battery 104 in entire charging process Voltage, the electric current etc. of the different phase record battery 104 of electric process.For example, voltameter 103 can each of during the charging process The charging stage in period records voltage, charging current and the electricity of battery 104, the electric discharge in each period during the charging process Stage records voltage, discharge current and the electricity of battery 104.
Charging stage of the battery 104 for each period during the charging process receives the output electricity of straight charger 110 Stream, to store electricity;It is also used to the discharge regime in each period during the charging process, is put 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 pin or D+, D- pin of the USB data line 120 Output voltage, be also used to control the output electric current of straight charger 110.In addition, the CPU 105 is also used in charging process Different phase switches switch module 101 by the charge and discharge, controls the electricity between the voltameter 103 and the straight charger 110 Road on-off.For example, charging stage of the CPU 105 for each period during the charging process, controls the straight charger 110 The first given voltage is exported, and controls charge and discharge switching switch module 101 for the voltameter 103 and the USB data line 120 The connection of VBUS pin, so that the electronic equipment 100 is in charged state, i.e., the output electric current of the straight charger 110 is by being somebody's turn to do USB data line 120, charge and discharge switching switch module 101, the voltameter 103 flow into the battery.Wherein, the first specified electricity Pressure is 4V.
Discharge regime of the CPU 105 for each period during the charging process controls the straight charger 110 and exports Second given voltage, and control charge and discharge switching switch module 101 and connect the discharge load module 102 and the voltameter 103 It connects, so that the electronic equipment 100 is in discharge condition, i.e. the discharge current of the battery 104 passes through the voltameter from the battery 104 103, charge and discharge switching switch module 101 flows into the discharge load module 102.Wherein, which is 5V.
The CPU 105 is also used to read voltameter 103, to obtain the electricity of the battery 104.When the electricity of the battery 104 When having expired, which 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.
It charging stage of the straight charger 110 for each period during the charging process, is provided for electronic equipment 100 defeated Electric current out.
USB data line 120 is for connecting electronic equipment 100 and straight charger 110.In addition, the USB data line 120 can To configure on the straight charger 110.The USB data line 120 includes VBUS pin, CC pin, D+ pin, D- pin.
Fig. 2 is a kind of flow chart of charging method shown according to an exemplary embodiment, as shown in Fig. 2, the charging side Method in electronic equipment, the electronic equipment include charge and discharge switching switch module, discharge load module, voltameter, battery and Central processor CPU.The charging method the following steps are included:
In step 201, the discharge regime in each period during the charging process, the CPU control straight charger output First given voltage.
In the embodiment of the present disclosure, electronic equipment uses pulse charge, i.e. the mode of charge and discharge alternately carries out Charging.The curent change of the electronic equipment during the charging process can be as shown in figure 3, electric current, which is positive, indicates that the electronic equipment is in Charged state, electric current, which is negative, indicates that the electronic equipment is in discharge condition, 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 during the charging process, the successively alternately charge and discharge rank Section.Wherein, each period in the charging process namely the connecting and disconnecting of the circuit period between voltameter and straight charger, by CPU The periodical control of charge and discharge switching switch module is realized.By taking Fig. 3 as an example, 0-T3 is a cycle.
The charging stage in each period during the charging process, CPU pass through the CC pin or D+, D- pin of USB data line It controls straight charger and exports 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 straight direct output electronic equipment of charger can receive electricity The mode of pressure, the height without carrying out voltage by electronic equipment internal are converted, and the time required to can shortening charging process, raising is filled Electrical efficiency.
In step 202, CPU controls charge and discharge switching switch module and draws the power supply of the voltameter and USB data line Foot VBUS pin connection, so that the output electric current of the straight charger switches switching molding by the USB data line, the charge and discharge Block, the voltameter flow into the battery.
In the embodiment of the present disclosure, in the charging stage in each period, CPU controls straight charger and exports the first given voltage Afterwards, it can control charge and discharge switching switch module connection, so that the VBUS of the voltameter of the electronic equipment and USB data line Pin connection, to be connected to the circuit between the voltameter and the straight charger, i.e., via straight charger, USB data line, Charge and discharge switch the circuit of switch module and voltameter, so that the electronic equipment is in charged state, so that directly filling The output electric current of electric appliance can flow into the battery of the electronic equipment by the circuit, to realize the electronic equipment in the period Charging stage.
Step 201 to step 202 is the charging stage of progress in a cycle of electronic equipment during the charging process.Electricity Sub- equipment carries out the discharge regime in the period after completing charging stage of the step 201 to 202, referring to subsequent step 203 to Step 204.
In step 203, the discharge regime in each period during the charging process, CPU control the straight charger output Second given voltage.
Wherein, which is the output voltage of straight charger default, which is higher than electronics The receivable voltage range of equipment, for example, second given voltage can be 5V.
The CPU of the discharge regime in each period during the charging process, the electronic equipment can pass through the CC of USB data line Pin or D+, D- pin control straight charger and export the second given voltage, so that straight charger is restored to default conditions, with Reduce the loss of the straight charger.
In step 204, CPU controls charge and discharge switching switch module and connects the discharge load module and the voltameter It connects, so that the discharge current of the battery is flowed into the electric discharge and born from the battery by the voltameter, charge and discharge switching switch module Carry module.
In the discharge regime in each period, after CPU controls the second given voltage of straight charger output, it can control this and fill The voltameter of the electronic equipment is connect by electric discharge switching switch module with discharge load module, is put to be connected to the voltameter with this Circuit between electric loading module, i.e., via the electricity of battery, voltameter, charge and discharge switching switch module and discharge load module Road, so that the electronic equipment is in discharge condition, so that the discharge current of battery can flow into the electronics by the circuit The discharge load module of equipment, to realize the electronic equipment in the discharge regime in the period.
It should be understood that CPU controls what voltameter was connect by charge and discharge switching switch module with discharge load module It is also desirable to the connection that charge and discharge switching switch module disconnects the VBUS pin of the voltameter and USB data line is controlled, with The circuit between the voltameter and straight charger is disconnected, so that straight charger stopping charges to the electronic equipment.
Step 201 to step 204 is in a cycle of electronic equipment during the charging process, and one of progress completely 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 period in charging process, the CPU learn that the electricity of battery has been expired by voltameter, then can control The end of entire charging process, including disconnecting the circuit between the voltameter and straight charger and disconnecting the voltameter and put Circuit between electric loading module.
The method that the embodiment of the present disclosure provides controls charge and discharge by CPU and switches switch module in the difference of charging process Stage periodically controls 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 be improved charging rate, shorten the charging time, and Periodical charge and discharge can also avoid battery caused by being constantly in charged state due to electronic equipment from generating polarization phenomena, from And it is able to extend the service life of battery in electronic equipment.
Fig. 4 is the block diagram of a kind of electronic equipment 400 shown according to an exemplary embodiment.For example, electronic equipment 400 can To be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices are good for Body equipment, personal digital assistant etc..
Referring to Fig. 4, electronic equipment 400 may include following one or more components: processing component 402, memory 404, Power supply module 406, multimedia component 408, audio component 410, the interface 412 of input/output (I/O), sensor module 414, And communication component 416.
The integrated operation of the usual controlling electronic devices 400 of processing component 402, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 402 may include one or more processors 420 to hold Row instruction, to perform all or part of the steps of the methods described above, which can be CPU shown in FIG. 1.Processing group Part 402 may include one or more modules, convenient for the interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, to facilitate the interaction between multimedia component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in electronic equipment 400.These data Example include any application or method for being operated on electronic equipment 400 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, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, fastly 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 may include power-supply management system, one or more power supplys and other with for electronic equipment 400 it is raw At, management and distribution the associated component of electric power.
Multimedia component 408 includes the screen of one output interface of offer between electronic equipment 400 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the side of touch or sliding action Boundary, but also detect duration and pressure relevant to touch or slide.In some embodiments, multimedia component 408 include a front camera and/or rear camera.When electronic equipment 400 is in operation mode, such as screening-mode or view When frequency mode, front camera and/or rear camera can receive external multi-medium data.Each front camera is with after Setting camera can be a fixed optical lens system or has focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike Wind (MIC), when electronic equipment 400 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 404 or via logical Believe that component 416 is sent.In some embodiments, audio component 410 further includes a loudspeaker, is used for output audio signal.
I/O interface 412 provides interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 414 includes one or more sensors, for providing the state of various aspects for electronic equipment 400 Assessment.For example, sensor module 414 can detecte the state that opens/closes of electronic equipment 400, the relative positioning of component, example Such as the display and keypad that component is electronic equipment 400, sensor module 414 can also detect electronic equipment 400 or electronics The position change of 400 1 components of equipment, the existence or non-existence that user contacts with electronic equipment 400,400 orientation of electronic equipment Or the temperature change of acceleration/deceleration and electronic equipment 400.Sensor module 414 may include proximity sensor, be configured to It detects the presence of nearby objects without any physical contact.Sensor module 414 can also include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which 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 access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.Show at one In example property embodiment, communication component 416 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, communication component 416 further includes near-field communication (NFC) module, to promote short distance logical Letter.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) can be based in NFC module Technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 400 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned charging method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 404 of instruction, above-metioned instruction can be executed by the processor 420 of electronic equipment 400 to complete the above method.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 processor execute when so that mobile terminal is able to carry out above-mentioned charging method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (10)

1. a kind of electronic equipment, which is characterized in that the electronic equipment includes charge and discharge switching switch module, discharge load mould Block, voltameter, battery and central processor CPU,
Wherein, one end of the charge and discharge switching switch module is connected with straight charger by general-purpose serial bus USB data line Connect, the other end is connect with the voltameter, and the voltameter is connect with the battery, the CPU by the USB data line with The straight charger communication;
The charge and discharge switch switch module, for the control according to CPU, control the electricity in the different phase of charging process Connecting and disconnecting of the circuit between meter and the straight charger;
Charging stage of the CPU for each period during the charging process controls the straight charger output first and refers to Constant voltage, and control the charge and discharge switching switch module and connect the voltameter with the USB data line, so that described straight Described in the output electric current of charger switches switch module by the USB data line, the charge and discharge, the voltameter flows into Battery;
Discharge regime of the CPU for each period during the charging process controls the straight charger output second and refers to Constant voltage, and control the charge and discharge switching switch module and connect the discharge load module with the voltameter, so that institute The discharge current for stating battery switches the switch module inflow electric discharge by the voltameter, the charge and discharge from the battery and bears Carry module.
2. electronic equipment according to claim 1, which is characterized in that the CPU is for each week during the charging process The charging stage of phase controls the charge and discharge switching switch module for the power pins of the voltameter and the USB data line The connection of VBUS pin.
3. electronic equipment according to claim 1, which is characterized in that the CPU is used for matching by the USB data line It sets channel C C pin or data positive signal D+, data negative signal D- pin controls the output voltage of the straight charger.
4. electronic equipment according to claim 1, which is characterized in that the USB data line configuration is in the straight charging On device.
5. electronic equipment according to claim 1, which is characterized in that first given voltage is 4V, and described second refers to Constant voltage is 5V.
6. a kind of charging method, which is characterized in that be applied to electronic equipment as described in claim 1, the electronic equipment packet Charge and discharge switching switch module, discharge load module, voltameter, battery and central processor CPU are included,
The described method includes:
The charging stage in each period during the charging process, the CPU control straight charger and export the first given voltage, and It controls the charge and discharge switching switch module to connect the voltameter and the VBUS pin of USB data line, so that described directly fill The output electric current of charger switches switch module by the USB data line, the charge and discharge, the voltameter flows into the electricity Pond;
The discharge regime in each period during the charging process, the specified electricity of the CPU control straight charger output second Pressure, and control the charge and discharge switching switch module and connect the discharge load module with the voltameter, so that the electricity The discharge current in pond switches switch module by the voltameter, the charge and discharge from the battery and flows into the discharge load mould Block.
7. according to the method described in claim 6, it is characterized in that, CC pin or D that the CPU passes through the USB data line +, D- pin control the output voltage of the straight charger.
8. according to the method described in claim 6, it is characterized in that, the CPU obtains the battery by the voltameter Electricity.
9. according to the method described in claim 6, it is characterized in that, first given voltage is 4V, the described second specified electricity Pressure is 5V.
10. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory for the instruction that storage processor can be performed;
Wherein, the processor is configured to:
The charging stage in each period during the charging process controls straight charger and exports the first given voltage, and controls and fill Electric discharge switching switch module connects voltameter and the VBUS pin of USB data line, so that the output electricity of the straight charger Stream switches switch module by the USB data line, the charge and discharge, the voltameter flows into battery;
The discharge regime in each period during the charging process controls the straight charger and exports the second given voltage, and controls It makes the charge and discharge switching switch module to connect discharge load module with the voltameter, so that the discharge current of the battery Switch switch module by the voltameter, the charge and discharge from the battery and flows into the discharge load module;
One end of the charge and discharge switching switch module is connect with straight charger by general-purpose serial bus USB data line, separately One end is connect with the voltameter, and the voltameter is connect with the battery, and central processing unit passes through the USB data line and institute State straight charger communication.
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 CN106655413A (en) 2017-05-10
CN106655413B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN106655413A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106410303B (en) Charging method and device
CN104362703B (en) Wireless charging method and device
CN106356925B (en) Mobile terminal and its battery charge controller, charge control method
CN104578372B (en) The method and device of control terminal equipment charge
CN104219383A (en) Terminal power information prompting method and device
CN106067571B (en) For the method and electronic equipment of battery charging
CN106712219A (en) Charging protection method and device
CN108964182A (en) The adjusting method and device of reverse charging equipment, reverse charging electric current
CN108631401A (en) Charging circuit, method, electronic equipment and storage medium
CN105720644A (en) Charging control method and device and terminal device
CN108091809A (en) Battery, equipment, charge control method and device
CN108964187A (en) The charging method of terminal and terminal room
CN108091808A (en) Battery, equipment, charge control method and device
CN105530384A (en) Method and device for power reminding based on alarm clock
CN105162193A (en) Charging method and charging apparatus for terminal, and terminal
CN108475931A (en) Mobile terminal and charging method
CN105356529A (en) Prompting method and apparatus for rapid charging state
CN107124012B (en) Charging method, device, charger, terminal and system
CN104577235A (en) Method for charging portable device and charging control method, device and system
CN106610476B (en) Test method, device and the terminal of charge and discharge process
CN108539804A (en) Battery charging control method, battery charging control device and electronic equipment
CN106655413B (en) Electronic equipment and charging method
CN109327055A (en) Charging method, terminal device and storage medium
CN106026232A (en) Detecting method and apparatus for USB port type
CN105573471A (en) Information processing method and 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