CN108336775B - Charging method and mobile terminal - Google Patents

Charging method and mobile terminal Download PDF

Info

Publication number
CN108336775B
CN108336775B CN201711464025.7A CN201711464025A CN108336775B CN 108336775 B CN108336775 B CN 108336775B CN 201711464025 A CN201711464025 A CN 201711464025A CN 108336775 B CN108336775 B CN 108336775B
Authority
CN
China
Prior art keywords
voltage
demand
mobile terminal
current
charger
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
CN201711464025.7A
Other languages
Chinese (zh)
Other versions
CN108336775A (en
Inventor
邵超杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711464025.7A priority Critical patent/CN108336775B/en
Publication of CN108336775A publication Critical patent/CN108336775A/en
Application granted granted Critical
Publication of CN108336775B publication Critical patent/CN108336775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H02J7/0077
    • 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
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M2220/00Batteries for particular applications
    • H01M2220/30Batteries in portable systems, e.g. mobile phone, laptop
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present invention provides a kind of charging method and mobile terminals, are related to technical field of mobile terminals, which comprises determine demand voltage according to cell voltage and demand current, judge whether the demand voltage meets regularization condition;It when the demand voltage meets the regularization condition, is adjusted according to the voltage that the demand voltage exports charger, so that the load of the voltage and the mobile terminal of half pressure charging circuit output matches.Wherein, the cell voltage is the voltage at the battery both ends of the mobile terminal, and the demand current is the electric current that the load with the mobile terminal matches.In the case where the load of the voltage and mobile terminal of half pressure charging circuit output matches, by prejudging whether demand voltage meets condition, the voltage and current that charger output can be prevented is excessively high, the case where avoiding charger from overloading is capable of providing the safety that mobile terminal charges.

Description

Charging method and mobile terminal
Technical field
The present embodiments relate to technical field of mobile terminals more particularly to a kind of charging method and mobile terminals.
Background technique
With the continuous development of mobile terminal, typically now charged using the method for half pressure charging to mobile terminal. Mobile terminal can half-and-half press the voltage and current of charging circuit output to be monitored, and half presses one, electric current of charging circuit output The battery for being divided into mobile terminal charges, and another part provides electric current for the load of mobile terminal.
Specifically, when the load for detecting mobile terminal changes, mobile terminal can control charger output Electric current rises, so that the electric current of half pressure charging circuit output rises, the case where the size of current to charge for battery remains unchanged Under, it is that electric current provided by the load of mobile terminal rises, realizes the control to charging current.
But during the charging process, when the load of mobile terminal changes, it will cause the electricity of half pressure charging circuit output Stream increases, so that the electric current of charger output increases, and then charger is caused to overload, security risk occurs.
Summary of the invention
The embodiment of the present invention provides a kind of charging method and mobile terminal, to solve during the charging process, mobile terminal When load changes, half presses the electric current of charging circuit output to increase, so that the electric current of charger output increases, leads to charger The problem of overload.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to mobile terminal, the method packet the embodiment of the invention also provides a kind of charging method It includes:
Determine that demand voltage, the cell voltage are the battery two of the mobile terminal according to cell voltage and demand current The voltage at end, the demand current are the electric current that the load with the mobile terminal matches;
Judge whether the demand voltage meets regularization condition;
When the demand voltage meets the regularization condition, charger is exported according to the demand voltage voltage into Row adjustment, so that the load of the voltage and the mobile terminal of half pressure charging circuit output matches.
Second aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes:
Voltage determination module, for determining that demand voltage, the cell voltage are institute according to cell voltage and demand current The voltage at the battery both ends of mobile terminal is stated, the demand current is the electric current that the load with the mobile terminal matches;
Judgment module, for judging whether the demand voltage meets regularization condition;
Module is adjusted, for when the demand voltage meets the regularization condition, according to the demand voltage to charging The voltage of device output is adjusted, so that the load of the voltage and the mobile terminal of half pressure charging circuit output matches.
The third aspect the embodiment of the invention provides a kind of mobile terminal, including processor, memory and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor Now the step of charging method as described in any one of above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, is realized when the computer program is executed by processor such as any one of above-mentioned first aspect institute The step of charging method stated.
In embodiments of the present invention, the case where the load of the voltage and mobile terminal of half pressure charging circuit output matches Under, by prejudging whether demand voltage meets condition, the voltage and current that can prevent charger output is excessively high, avoids The case where charger overloads is capable of providing the safety that mobile terminal charges.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of charging method provided in an embodiment of the present invention;
Fig. 2 is a kind of step flow chart of charging method provided in an embodiment of the present invention;
Fig. 3 is a kind of equivalent circuit diagram corresponding with half pressure charging circuit provided in an embodiment of the present invention;
Fig. 4 is a kind of structural block diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of hardware structural diagram of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, a kind of step flow chart of charging method of the embodiment of the present invention is shown, can specifically include as follows Step:
Step 101, demand voltage is determined according to cell voltage and demand current.
Wherein, which is the voltage at the battery both ends of mobile terminal, which is negative with mobile terminal The electric current to match is carried, which is the voltage that the load with mobile terminal matches.
During the charging process, when the load of mobile terminal changes, then electric current required for mobile terminal also occurs Variation, correspondingly, charger needs the charging voltage exported to be also required to change.Therefore, mobile terminal is it needs to be determined that charging Device needs the charging voltage exported, that is to say determining demand voltage.
Specifically, when the load of mobile terminal changes, mobile terminal can be according to the battery both ends of mobile terminal Cell voltage, and the demand current that the load current with mobile terminal matches calculated, and obtains working as with mobile terminal The demand voltage that preceding load matches.
Step 102, judge whether demand voltage meets regularization condition.
Mobile terminal can then judge the demand voltage after determining demand voltage, determine that charger is exporting Situations such as whether will appear overload when the demand voltage, and then determine whether to will cause security risk.
Specifically, mobile terminal can press the parameters such as the demand voltage of mobile terminal, demand current with charger and half The parameters such as the voltage and current that charging circuit exports respectively are compared, and are sentenced according to the size relation between parameters It is disconnected, it, can be according to sentencing so as in the next steps so that it is determined that whether demand voltage needed for mobile terminal meets regularization condition The voltage that disconnected result exports charger is adjusted.
It should be noted that partly charger and mobile terminal, the voltage of charger output should be used to connect pressure charging circuit Electric current is input to mobile terminal by half pressure charging circuit.
Step 103, when demand voltage meets regularization condition, the voltage that voltage exports charger according to demand is adjusted It is whole.
It, then can be according to the demand voltage to charging when the demand voltage needed for determining mobile terminal meets regularization condition The voltage of device output is adjusted, so that the load of the voltage and mobile terminal of half pressure charging circuit output matches.
Specifically, for mobile terminal when determining that demand voltage meets regularization condition, then can send to charger includes needing The adjustment instruction of voltage is sought, so that charger can be adjusted the voltage currently exported according to the demand voltage, so that filling The voltage of electric appliance output voltage can match needed for the load with mobile terminal, realization is filled after more than half pressure charging circuits The adjustment of piezoelectric voltage.
Correspondingly, half presses the electric current of charging circuit output also to have occurred after the voltage change of half pressure charging circuit output Variation, so that electric current needed for the load of the electric current and mobile terminal of half pressure charging circuit output matches.Mobile terminal then may be used It is respectively loaded with the electric current exported according to half pressure charging circuit and battery is powered.
In conclusion charging method provided in an embodiment of the present invention, the voltage for pressing charging circuit output half and movement are eventually In the case that the load at end matches, by prejudging whether demand voltage meets condition, it is defeated charger can be prevented The case where voltage and current out is excessively high, and charger is avoided to overload is capable of providing the safety that mobile terminal charges.
Referring to Fig. 2, a kind of step flow chart of charging method of the embodiment of the present invention is shown, can specifically include as follows Step:
Step 201, cell voltage and demand current are obtained.
Wherein, which is the voltage at the battery both ends of mobile terminal, which is negative with mobile terminal The electric current to match is carried, for the battery charging for mobile terminal, and is the load supplying of mobile terminal.
During the charging process, mobile terminal may open different application programs in different time, cause mobile terminal Required electric current changes, so that different electric currents be needed to charge.Therefore, for the safety of mobile terminal charging Property, the electricity at mobile terminal battery both ends of the available current desired demand current wanted and mobile terminal during the charging process Cell voltage, to determine demand voltage according to the cell voltage and demand current in the next steps.
Optionally, mobile terminal can acquire cell voltage by analog-digital converter ADC, and according to the negative of mobile terminal It carries, determines demand current.
Specifically, during the charging process, when the number for the application program opened when mobile terminal changes, then mobile whole The load at end changes, and mobile terminal can determine current desired electric current according to load.Moreover, in order to not influence charging The safety of journey then can may also occur for the size of current that battery charges when the load of mobile terminal changes Variation, therefore also needs to obtain the cell voltage at the battery both ends of mobile terminal, and so as in the next steps, mobile terminal can be with It is calculated according to cell voltage and demand current.
Step 202, demand voltage is determined according to cell voltage and demand current.
Mobile terminal can be calculated according to pre-set formula, be obtained after obtaining cell voltage and demand current To demand voltage, so that in the next steps, mobile terminal can control the voltage of charger output according to the demand voltage.
Specifically, since equivalent replace can be carried out to the circuit structure of mobile terminal, half pressure charging circuit and charger It changes, obtains equivalent circuit, then it can be according to the equivalent circuit and the cell voltage and demand current of acquisition, according to equivalent with this The corresponding demand voltage calculation formula of circuit is calculated, and the demand voltage that charger needs to export is calculated.
Wherein, which can be with are as follows:
Vbus=Iin*R+2Vbat+Iin*Req
Wherein, VbusFor demand voltage, IinFor demand current, R is equivalent impedance, VbatFor cell voltage, ReqIt is filled for half pressure Electric circuit equivalent impedance, R and ReqIt can precalculate to obtain.
For example, referring to Fig. 3, Fig. 3 is equivalent circuit diagram corresponding with half pressure charging circuit, includes in the equivalent circuit diagram The impedance R of charging cable first portcona, charging cable second port impedance Rcond, charging line impedence Rcable, protection circuit impedance Rproc, the half equivalent impedance R for pressing charging circuiteq, battery adapter impedance RconbWith internal battery impedance Rbat.According to above-mentioned etc. Circuit diagram is imitated, then can determine that demand voltage calculation formula can be with are as follows:
Vbus_adjust=Iin_adjust*(Rcona+Rcable+Rcond+Rproc)+2Vbat
+(Rconb+Rbat)*Iin_adjust+Req*Iin_adjust
Wherein, Vbus_adjustFor demand voltage, Iin_adjustFor demand current, VbatFor cell voltage, RconaFor charging cable The impedance of Single port, RcondFor the impedance of charging cable second port, RcableFor the line impedence that charges, RprocTo protect circuit impedance, ReqThe equivalent impedance for pressing charging circuit for half, RconbFor battery adapter impedance, RbatFor internal battery impedance.
Step 203, judge whether demand voltage meets regularization condition.
Mobile terminal is calculated after demand voltage, occurs situations such as charger overload in order to prevent, mobile terminal is also It needs to judge demand voltage, to determine whether demand voltage meets regularization condition.When demand voltage meets regularization condition When, then mobile terminal can control charger and is adjusted according to voltage of the demand voltage to output.
Moreover, charger when voltage is adjusted according to demand, need to carry out the voltage currently exported up-regulation or It lowers.Therefore, mobile terminal can judge whether demand voltage meets voltage up-regulation condition and voltage lowers condition respectively.
It that is to say, regularization condition may include that voltage lowers condition and voltage up-regulation condition, and mobile terminal can first judge Whether demand voltage, which meets voltage, is lowered condition, when demand voltage, which is discontented with afc voltage, lowers condition, then judges whether to meet electricity Press up-regulation condition.Certainly, mobile terminal can also first judge whether demand voltage meets voltage up-regulation condition, again when being unsatisfactory for Judge whether demand voltage meets voltage and lower condition, it is not limited in the embodiment of the present invention.
Therefore, step 203 may include step 203a and step 203b:
Step 203a obtains the half pressure input voltage and half pressure input current of half pressure charging circuit, according to half pressure input electricity Size relation between size relation between stream and demand current, and half pressure input voltage and cell voltage, determines demand Whether voltage, which meets voltage, is lowered condition.
Wherein, should partly pressure charging circuit pass through for connecting charger and mobile terminal, the voltage and current of charger output Half pressure charging circuit is input to mobile terminal.
Specifically, mobile terminal can first obtain the half pressure input voltage and half pressure input current of half pressure charging circuit, and According to the demand current and cell voltage obtained in step 201, whether half pressure input current of judgement is greater than demand current, and judges Whether half pressure input voltage is greater than cell voltage, so that it is determined that whether demand voltage, which meets voltage, is lowered condition.
For example, mobile terminal may determine that half pressure input current whether be greater than demand current and adjust variable and value, and Whether half pressure input voltage of judgement is greater than two times of cell voltage.When half pressure input current and half pressure input voltage are all satisfied correspondence Condition when, then illustrate demand voltage meet voltage lower condition.Wherein, which can be used for adjusting charger output Voltage or electric current.
Step 203b obtains the raw output voltage of charger output, according between half pressure input current and demand current Size relation and raw output voltage and demand voltage between size relation, determine whether demand voltage meets voltage Up-regulation condition.
This step 203b determines whether demand voltage meets the process of voltage up-regulation condition, determines demand electricity with step 203a The process whether pressure meets voltage downward condition is similar, and details are not described herein.
But the Rule of judgment of this step 203b is different from the Rule of judgment of step 203a.For example, mobile terminal needs are sentenced Whether disconnected half pressure input current is less than demand current and adjusts between variable and value, it is also necessary to whether judge raw output voltage Less than demand voltage.
Step 204, when demand voltage meets regularization condition, the voltage that voltage exports charger according to demand is adjusted It is whole.
When mobile terminal determines that demand voltage meets regularization condition, then adjustment instruction can be sent to charger, so that Charger can be adjusted the voltage currently exported according to the adjustment instruction, so that the voltage of charger output is through more than half pressures After charging circuit, voltage needed for the load of half voltage and mobile terminal for pressing charging circuit to export matches.
Further, corresponding with step 203a and step 203b citing, the available voltage adjustment of mobile terminal becomes Amount, control charger adjust variable according to the voltage of acquisition and are adjusted to the voltage of output, prevent voltage change too fast, to shifting Dynamic terminal causes to damage.It that is to say, mobile terminal can control charger and raise the voltage currently exported or be adjusted downward to certain A parameter value.
Optionally, the available voltage of mobile terminal adjusts variable, adjusts the electricity that variable exports charger according to voltage Pressure is adjusted, and voltage adjustment variable is used to indicate the variable quantity of adjustment demand voltage.
It should be noted that mobile terminal is it needs to be determined that whether demand voltage meets voltage downward item in step 203 Part, therefore in this step 204, when demand voltage, which meets voltage, lowers condition, mobile terminal can voltage pair according to demand The voltage of charger output is lowered.In step 203b, mobile terminal is it needs to be determined that whether demand voltage meets on voltage Tune condition, therefore in this step 204, when demand voltage meets voltage up-regulation condition, mobile terminal can be electric according to demand The voltage exported to charger is pressed to raise.
Step 205, by preset duration, the voltage of charger output is adjusted again.
During the charging process for mobile terminal, charger output voltage and current can obtain always with it is current desired The voltage and current wanted matches, and mobile terminal, which can recycle, obtains cell voltage and demand current, so as to again according to acquisition Cell voltage and demand current are adjusted.
Optionally, by preset duration, the available cell voltage adjusted of mobile terminal and demand adjusted electricity Stream, and according to cell voltage adjusted and demand current adjusted, the voltage of charger output is adjusted again.
Wherein, which can be spent according to the parameters in acquisition for mobile terminal step 201 to step 203 Time be determined, it is not limited in the embodiment of the present invention.
It should be noted that mobile terminal can constantly obtain the battery electricity of current desired demand current and battery both ends Pressure, so can to charger export charging voltage be adjusted in time, enable charger output voltage in time with Voltage needed for the load of mobile terminal matches.
In conclusion charging method provided in an embodiment of the present invention, the voltage for pressing charging circuit output half and movement are eventually In the case that the load at end matches, by prejudging whether demand voltage meets condition, it is defeated charger can be prevented The case where voltage and current out is excessively high, and charger is avoided to overload is capable of providing the safety that mobile terminal charges.
Further, condition or voltage downward item are raised by determining whether the demand voltage of mobile terminal meets voltage Part, when demand voltage meets corresponding regularization condition, the voltage that mobile terminal can export charger is adjusted, and is avoided In the case where demand voltage does not meet regularization condition, the voltage of charger output is adjusted, charger is caused to overload The problems such as generation, improve mobile terminal charging safety.
Further, variable is adjusted by obtaining voltage, and the voltage that variable exports charger is adjusted according to the voltage It is adjusted, great variety occurs in a short time for the voltage that can be exported to avoid charger, prevents from causing to damage to mobile terminal Wound, improves the reliability of mobile terminal charging process.
Further, by obtaining cell voltage and demand current again, and according to the cell voltage of acquisition and demand electricity Stream is adjusted the voltage that charger exports again, can be adjusted in time to the voltage of charger output, so that charging Voltage and current needed for the voltage and current and mobile terminal of device output is consistent for a long time, is improved mobile terminal and is charged Safety.
Referring to Fig. 4, a kind of structural block diagram of mobile terminal of the embodiment of the present invention is shown, can specifically include:
Voltage determination module 401, for determining demand voltage according to cell voltage and demand current, which is should The voltage at the battery both ends of mobile terminal, the demand current are the electric current that the load with the mobile terminal matches;
Judgment module 402, for judging whether the demand voltage meets regularization condition;
Module 403 is adjusted, it is defeated to charger according to the demand voltage for when the demand voltage meets the regularization condition Voltage out is adjusted, so that the load of the voltage and the mobile terminal of half pressure charging circuit output matches.
Optionally, which can also include:
Acquisition module, for acquiring the cell voltage by analog-digital converter ADC;
Electric current determining module determines the demand current for the load according to the mobile terminal.
Optionally, which may include that voltage lowers condition;
The judgment module 402 may include:
First acquisition submodule, for obtaining the half pressure input voltage and half pressure input current of the half pressure charging circuit;
First determines submodule, should partly press the size relation between input current and the demand current for basis, and Size relation between the half pressure input voltage and the cell voltage, determines whether the demand voltage meets the voltage and lower item Part;
The adjustment module 403 may include:
Submodule is lowered, for being filled to this according to the demand voltage when the demand voltage meets the voltage and lowers condition The voltage of electric appliance output is lowered.
Optionally, which can also include that voltage raises condition;
The judgment module 402 can also include:
Second acquisition submodule, for obtaining the raw output voltage of charger output;
Second determines submodule, should partly press the size relation between input current and the demand current for basis, and Size relation between the raw output voltage and the demand voltage, determines whether the demand voltage meets voltage up-regulation item Part;
The adjustment module 403 may include:
Submodule is raised, for being filled to this according to the demand voltage when the demand voltage meets voltage up-regulation condition The voltage of electric appliance output is raised.
Optionally, which may include:
Variable acquisition submodule, for obtaining voltage adjustment variable, voltage adjustment variable, which is used to indicate, adjusts the demand The variable quantity of voltage;
Adjusting submodule is adjusted for adjusting the voltage that variable exports the charger according to the voltage.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 2 and realize Each process, to avoid repeating, which is not described herein again.
In conclusion mobile terminal provided in an embodiment of the present invention, the voltage for pressing charging circuit output half and movement are eventually In the case that the load at end matches, by prejudging whether demand voltage meets condition, it is defeated charger can be prevented The case where voltage and current out is excessively high, and charger is avoided to overload is capable of providing the safety that mobile terminal charges.
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention, the mobile terminal 500 Including but not limited to: radio frequency unit 501, audio output unit 503, input unit 504, sensor 505, is shown network module 502 Show the components such as unit 506, user input unit 507, interface unit 508, memory 509, processor 510 and power supply 511. It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 does not constitute the restriction to mobile terminal, it is mobile whole End may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present invention In embodiment, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear Wear equipment and pedometer etc..
Wherein, processor 510, for determining that demand voltage, the cell voltage are according to cell voltage and demand current The voltage at the battery both ends of the mobile terminal, the demand current are the electric current that the load with the mobile terminal matches;
Processor 510, is also used to judge whether the demand voltage meets regularization condition;
Processor 510 is also used to when the demand voltage meets the regularization condition, according to the demand voltage to filling The voltage of electric appliance output is adjusted, so that the load of the voltage and the mobile terminal of half pressure charging circuit output matches.
In conclusion mobile terminal provided in an embodiment of the present invention, the voltage for pressing charging circuit output half and movement are eventually In the case that the load at end matches, by prejudging whether demand voltage meets condition, it is defeated charger can be prevented The case where voltage and current out is excessively high, and charger is avoided to overload is capable of providing the safety that mobile terminal charges.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned charging method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here no longer It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned charging method embodiment when being executed by processor, and can reach Identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (7)

1. a kind of charging method is applied to mobile terminal, which is characterized in that the described method includes:
Determine that demand voltage, the cell voltage are the battery both ends of the mobile terminal according to cell voltage and demand current Voltage, the demand current are the electric current that the load with the mobile terminal matches;
Judge whether the demand voltage meets regularization condition;
When the demand voltage meets the regularization condition, adjusted according to the voltage that the demand voltage exports charger It is whole, so that the load of the voltage and the mobile terminal of half pressure charging circuit output matches;
Wherein, it is described demand voltage is determined according to cell voltage and demand current before, the method also includes:
The cell voltage is acquired by analog-digital converter ADC;
According to the load of the mobile terminal, the demand current is determined;
Wherein, the regularization condition includes that voltage lowers condition;
It is described to judge whether the demand voltage meets regularization condition, comprising:
Obtain the half pressure input voltage and half pressure input current of the half pressure charging circuit;
Size relation and partly pressure input voltage and the institute between input current and the demand current are pressed according to described half The size relation between cell voltage is stated, determines whether the demand voltage meets the voltage and lower condition;
The voltage that when the demand voltage meets the regularization condition, charger is exported according to the demand voltage into Row adjustment, comprising:
When the demand voltage, which meets the voltage, lowers condition, the charger is exported according to the demand voltage electricity Pressure is lowered.
2. the method according to claim 1, wherein the regularization condition further includes voltage up-regulation condition;
It is described to judge whether the demand voltage meets regularization condition, further includes:
Obtain the raw output voltage of the charger output;
According to the partly size relation between pressure input current and the demand current and the raw output voltage and the institute The size relation between demand voltage is stated, determines whether the demand voltage meets the voltage up-regulation condition;
The voltage that when the demand voltage meets the regularization condition, charger is exported according to the demand voltage into Row adjustment, comprising:
When the demand voltage meets voltage up-regulation condition, the charger is exported according to the demand voltage electricity Pressure is raised.
3. the method according to claim 1, wherein the electricity exported according to the demand voltage to charger Pressure is adjusted, comprising:
It obtains voltage and adjusts variable, the voltage adjustment variable is used to indicate the variable quantity for adjusting the demand voltage;
The voltage that variable exports the charger is adjusted according to the voltage to be adjusted.
4. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Voltage determination module, for determining that demand voltage, the cell voltage are the shifting according to cell voltage and demand current The voltage at the battery both ends of dynamic terminal, the demand current are the electric current that the load with the mobile terminal matches;
Judgment module, for judging whether the demand voltage meets regularization condition;
Module is adjusted, it is defeated to charger according to the demand voltage for when the demand voltage meets the regularization condition Voltage out is adjusted, so that the load of the voltage and the mobile terminal of half pressure charging circuit output matches;
Wherein, the mobile terminal further include:
Acquisition module, for acquiring the cell voltage by analog-digital converter ADC;
Electric current determining module determines the demand current for the load according to the mobile terminal;
Wherein, the regularization condition includes that voltage lowers condition;
The judgment module includes:
First acquisition submodule, for obtaining the half pressure input voltage and half pressure input current of the half pressure charging circuit;
First determines submodule, for according to the size relation between the half pressure input current and the demand current, and Size relation between the half pressure input voltage and the cell voltage, determines whether the demand voltage meets the voltage Downward condition;
The adjustment module includes:
Submodule is lowered, for when the demand voltage meets the voltage and lowers condition, according to the demand voltage to institute The voltage for stating charger output is lowered.
5. mobile terminal according to claim 4, which is characterized in that the regularization condition further includes voltage up-regulation condition;
The judgment module further include:
Second acquisition submodule, for obtaining the raw output voltage of the charger output;
Second determines submodule, for according to the size relation between the half pressure input current and the demand current, and Size relation between the raw output voltage and the demand voltage, determines whether the demand voltage meets the voltage Up-regulation condition;
The adjustment module includes:
Submodule is raised, for when the demand voltage meets voltage up-regulation condition, according to the demand voltage to institute The voltage for stating charger output is raised.
6. mobile terminal according to claim 4, which is characterized in that the adjustment module includes:
Variable acquisition submodule, for obtaining voltage adjustment variable, the voltage adjustment variable is used to indicate the adjustment demand The variable quantity of voltage;
Adjusting submodule is adjusted for adjusting the voltage that variable exports the charger according to the voltage.
7. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be described The computer program run on processor is realized when the computer program is executed by the processor as in claims 1 to 3 The step of described in any item charging methods.
CN201711464025.7A 2017-12-28 2017-12-28 Charging method and mobile terminal Active CN108336775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711464025.7A CN108336775B (en) 2017-12-28 2017-12-28 Charging method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711464025.7A CN108336775B (en) 2017-12-28 2017-12-28 Charging method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108336775A CN108336775A (en) 2018-07-27
CN108336775B true CN108336775B (en) 2019-08-20

Family

ID=62923804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711464025.7A Active CN108336775B (en) 2017-12-28 2017-12-28 Charging method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108336775B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116154885A (en) * 2021-11-22 2023-05-23 华为技术有限公司 Power supply method and device and related equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282045B (en) * 2008-04-28 2010-08-11 炬力集成电路设计有限公司 Battery charging apparatus as well as control method thereof
CN103236568B (en) * 2013-05-03 2016-03-30 努比亚技术有限公司 Charging method and charging system
CN104539009B (en) * 2014-12-16 2017-06-16 小米科技有限责任公司 charging management method and device
CN106532834A (en) * 2016-11-30 2017-03-22 努比亚技术有限公司 Mobile terminal and mobile terminal charging method

Also Published As

Publication number Publication date
CN108336775A (en) 2018-07-27

Similar Documents

Publication Publication Date Title
CN108494030A (en) A kind of wireless charging method, terminal and transmitting end equipment
CN109905907A (en) A kind of method for searching network and mobile terminal
CN108390117A (en) Charging method and mobile terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN109672254A (en) A kind of charging control circuit, terminal device and control method
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN108492246A (en) A kind of image processing method, device and mobile terminal
CN109962514A (en) A kind of charging method and mobile terminal
CN109788136A (en) Information display method and mobile terminal
CN108196815A (en) A kind of adjusting method and mobile terminal of sound of conversing
CN110365853A (en) A kind of reminding method and electronic equipment
CN108541015A (en) A kind of signal strength reminding method and mobile terminal
CN109888928A (en) A kind of terminal and wireless charging control method
CN107834640A (en) A kind of charging method and terminal
CN109639861A (en) A kind of cut-in method of matching network, system and mobile terminal
CN107908983A (en) A kind of method and mobile terminal for controlling mobile terminal screen
CN108718360A (en) A kind of charging method and mobile terminal
CN109980727A (en) A kind of terminal, charger and charge protection method
CN108879856A (en) A kind of charging method and terminal
CN109858447A (en) A kind of information processing method and terminal
CN108810284A (en) A kind of mode switching method and electronic equipment of camera
CN108336775B (en) Charging method and mobile terminal
CN109348366A (en) A kind of method and mobile terminal for realizing volume adjustment using electrical parameter
CN110209543A (en) A kind of detection method and terminal of earphone socket
CN109526035A (en) A kind of communication means and mobile terminal

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