CN109962514B - Charging method and mobile terminal - Google Patents

Charging method and mobile terminal Download PDF

Info

Publication number
CN109962514B
CN109962514B CN201910134213.6A CN201910134213A CN109962514B CN 109962514 B CN109962514 B CN 109962514B CN 201910134213 A CN201910134213 A CN 201910134213A CN 109962514 B CN109962514 B CN 109962514B
Authority
CN
China
Prior art keywords
value
charging
impedance
charging current
power consumption
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
CN201910134213.6A
Other languages
Chinese (zh)
Other versions
CN109962514A (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 CN201910134213.6A priority Critical patent/CN109962514B/en
Publication of CN109962514A publication Critical patent/CN109962514A/en
Application granted granted Critical
Publication of CN109962514B publication Critical patent/CN109962514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0077
    • H02J7/0088

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention provides a charging method and a mobile terminal, and relates to the technical field of mobile terminals. The embodiment of the invention obtains the current actual impedance value of the charging circuit by obtaining the initial impedance value of the charging circuit, determines the contact impedance increased value at the charging interface according to the initial impedance value and the actual impedance value, and adjusts the charging current of the charger according to the contact impedance increased value and the thermal power consumption threshold value at the charging interface. The charging current of the charger is dynamically adjusted by calculating the contact impedance increment at the charging interface and according to the contact impedance increment and the thermal power consumption threshold at the charging interface, so that the thermal power consumption value at the charging interface is always smaller than the thermal power consumption threshold, the charging interface is ensured not to be overheated to cause plastic melting, and the detection precision of the contact impedance increment is high, so that the safety of the charging interface can be more accurately protected, and the failure rate of the charging interface is reduced.

Description

Charging method and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to a charging method and a mobile terminal.
Background
Along with the continuous development of quick charge technique, when mobile terminal's electric quantity consumption was used up, the quick charge technique can realize being full of the electricity for mobile terminal in shorter time, bring better use experience for the user, it mainly improves charging power through the charging voltage and the charging current who improve the charger to realize mobile terminal's quick charge, if adopt 10V/4A or 10V/5A's charging voltage and charging current, but along with charging power's improvement, the plastic at mobile terminal charging interface melts more easily.
At present, in order to improve the problem of melting off plastic at a charging interface, a Temperature sensor, such as an NTC (Negative Temperature Coefficient) thermistor, is disposed near the charging interface of the mobile terminal, and when the Temperature sensor detects that the Temperature exceeds a set threshold, the charging current of the charger is reduced.
However, since the temperature sensor is at a certain distance from the charging interface, the accuracy and sensitivity of temperature detection are low, and therefore, the temperature sensor can only be applied to relatively serious scenes, and cannot prevent and improve the failure of plastic melting caused by over-temperature at the conventional charging interface.
Disclosure of Invention
The embodiment of the invention provides a charging method and a mobile terminal, and aims to solve the problem that the conventional method for improving the melting of plastic at a charging interface cannot prevent and improve the failure of the melting of the plastic caused by the over-temperature at the conventional charging interface.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a charging method, including:
acquiring an initial impedance value of a charging circuit;
acquiring the current actual impedance value of the charging circuit;
determining a contact impedance increasing value at the charging interface according to the initial impedance value and the actual impedance value;
and adjusting the charging current of the charger according to the contact impedance increasing value and the heat power consumption threshold value at the charging interface.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
the initial impedance value acquisition module is used for acquiring an initial impedance value of the charging circuit;
the actual impedance value acquisition module is used for acquiring the current actual impedance value of the charging circuit;
the contact impedance increased value determining module is used for determining a contact impedance increased value at the charging interface according to the initial impedance value and the actual impedance value;
and the charging current adjusting module is used for adjusting the charging current of the charger according to the contact impedance increasing value and the heat power consumption threshold value at the charging interface.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the charging method described above.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the charging method described above.
In the embodiment of the invention, the current actual impedance value of the charging circuit is obtained by obtaining the initial impedance value of the charging circuit, the contact impedance increasing value at the charging interface is determined according to the initial impedance value and the actual impedance value, and the charging current of the charger is adjusted according to the contact impedance increasing value and the thermal power consumption threshold value at the charging interface. The method comprises the steps of calculating a contact impedance increasing value of a charging interface by detecting an actual impedance value of a charging circuit in a charging process and comparing the actual impedance value with an initial impedance value of the charging circuit, dynamically adjusting charging current of a charger according to the contact impedance increasing value and a thermal power consumption threshold value of the charging interface, and enabling the thermal power consumption value of the charging interface to be always smaller than the thermal power consumption threshold value, so that plastic melting caused by over-temperature at the charging interface is avoided, and the detection precision of the contact impedance increasing value is high, so that the safety of the charging interface can be protected more accurately, and the failure rate of the charging interface is reduced.
Drawings
FIG. 1 shows a flow chart of a charging method of an embodiment of the invention;
FIG. 2 shows a schematic diagram of the charging principle of an embodiment of the invention;
fig. 3 shows a detailed flowchart of a charging method according to an embodiment of the present invention;
FIG. 4 shows a detailed flow chart of another charging method according to an embodiment of the invention;
fig. 5 is a block diagram showing a structure of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a block diagram showing the construction of another mobile terminal according to the embodiment of the present invention;
fig. 7 is a diagram showing a hardware configuration of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a charging method according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 101, obtaining an initial impedance value of a charging circuit.
In the embodiment of the invention, the mobile terminal is provided with the charging circuit, the charger is connected with the charging wire, and after the charging wire is inserted into the charging interface of the mobile terminal, the charger can charge the battery in the mobile terminal through the charging circuit.
The charging interface of the mobile terminal is defined as: the initial impedance value of the charging circuit comprises the following components of a data line D-, a data line D +, a power line VBUS, a ground line GND and an ID (divided into two interfaces, A: the interface is connected with the ground line and B: the interface is not connected with the ground line): when a charging wire connected with a charger is inserted into a charging interface of the mobile terminal, an initial contact impedance value generated between VBUS and GND at the charging interface, a line impedance value in a charging circuit and other hardware impedance values and the like are obtained, wherein the initial contact impedance value refers to a contact impedance value generated between VBUS and GND when no impurities or foreign matters enter the charging interface.
After the mobile terminal is manufactured, the initial impedance value R of the charging circuit can be detected0And detecting the initial resistance value R0Stored in the mobile terminal, and when a battery in the mobile terminal is charged by a charger, a stored initial resistance value R of a charging circuit can be obtained0
And 102, acquiring the current actual impedance value of the charging circuit.
In the embodiment of the invention, when the battery in the mobile terminal is charged by the charger, the current actual impedance value R of the charging circuit is obtained in real timeA
Referring to fig. 2, a schematic diagram of a charging principle of an embodiment of the present invention is shown.
In the mobile terminal, a charging interface connected to a charger, a USB (Universal Serial Bus) switch, a Power Management chip (PMI), an Application Processor (AP), and a Micro Control Unit (MCU) are provided, and the VBUS of the charging interface is connected to the Power Management chip.
When a charging wire connected with a charger is inserted into a charging interface of a mobile terminal, D +/D-of the charger end is short-circuited together, the D +/D-of the mobile terminal end is simultaneously connected with an application processor and a power management chip, and the power management chip is used for detecting whether a peripheral device inserted into the charging interface is the charger or not, specifically, when a preset voltage is input into the D + of the charger end, such as 0.6V, if the power management chip detects that the voltage on the D +/D-of the mobile terminal end is also the preset voltage, the peripheral device inserted into the charging interface is determined to be the charger.
After the peripheral inserted into the charging interface is determined to be a charger, the battery in the mobile terminal can be quickly charged through the charger, at the moment, the application processor sends a CS (Chip Select) signal to the USB switch, the application processor and the power management Chip are disconnected from a D +/D-path of the charging interface, the D +/D-path of the charging interface is connected to the microcontroller, and meanwhile, the D +/D-of the charger end is disconnected, so that the D +/D-of the charger end is not short-circuited together.
Then, the microcontroller can send a request instruction to the charger to request the charger to input a specified charging voltage and charging current to the charging circuit, and in addition, the microcontroller at the mobile terminal side can detect the charging voltage value and the charging current value of the charger through a D +/D-channel, detect the output voltage value of the charging circuit through a voltage detection circuit, and calculate the current actual impedance value of the charging circuit according to the charging voltage value of the charger, the charging current value of the charger and the output voltage value of the charging circuit.
It should be noted that, in the non-fast charging mode, the embodiment of the present invention still controls the D +/D-path at the mobile terminal side to be connected to the microcontroller, so as to ensure that the mobile terminal can continuously detect the charging voltage value and the charging current value of the charger, so as to detect the actual impedance value of the charging circuit.
Referring to fig. 3, a detailed flowchart of a charging method according to an embodiment of the present invention is shown, and fig. 4 is a detailed flowchart of another charging method according to an embodiment of the present invention.
As shown in fig. 3 and 4, step 102 may specifically include:
substep 1021, obtaining a charging current value and a charging voltage value of the charger;
substep 1022, acquiring an output voltage value of the charging circuit;
and a substep 1023 of dividing the difference between the charging voltage value of the charger and the output voltage value of the charging circuit by the charging current value of the charger to obtain the current actual impedance value of the charging circuit.
In the embodiment of the invention, in a fast charging mode and a non-fast charging mode, the D +/D-paths on the mobile terminal side are connected to the microcontroller, and the microcontroller on the mobile terminal side can detect the charging voltage value I of the charger through the D +/D-pathsAAnd a charging current value UAObtaining the detected charging current value I of the chargerAAnd a charging voltage value UA
The output end of the charging circuit can be provided with a voltage detection circuit, and the output voltage value U of the charging circuit is detected by the voltage detection circuitBObtaining the detected output voltage value U of the charging circuitB
Charging voltage value U of chargerASubtracting the output voltage value U of the charging circuitBObtaining the charging voltage value U of the chargerAAnd the output voltage value U of the charging circuitBThe difference between the two values is divided by the charging current value I of the chargerAObtaining the current actual impedance value R of the charging circuitAI.e. RA=(UA-UB)/IA
For example, the charging voltage value U of the chargerAAt 9V, the charging current value I of the chargerAIs 3A, the output voltage value U of the charging circuitBAt 7.8V, the current actual impedance value R to the charging circuit is calculatedAIs 400m omega.
And 103, determining a contact impedance increasing value at the charging interface according to the initial impedance value and the actual impedance value.
In the embodiment of the invention, when a user uses the mobile terminal, impurities or foreign matters may enter the charging interface, chemical corrosion may occur at the charging interface during charging, so that the contact impedance value at the charging interface is increased, and the contact impedance value is the maximum impedance value of the whole charging circuitThe impedance value of other parts of the charging circuit is relatively stable, so the initial impedance value R of the charging circuit is used0With the current actual impedance value R of the charging circuitADetermining a contact resistance increase value R at a charging interfaceX
As shown in fig. 3 and 4, step 103 may specifically include:
and a substep 1031, subtracting the initial impedance value from the actual impedance value to obtain a contact impedance increase value at the charging interface.
The current actual impedance value R of the charging circuitASubtracting the initial impedance value R of the charging circuit0The contact resistance increase value R at the charging interface can be obtainedX
For example, the initial resistance value R of the charging circuit0200m omega, the current actual impedance value R of the charging circuitAIs 400m omega, the contact impedance at the charging interface is increased by a value RXIs 200m omega.
And 104, adjusting the charging current of the charger according to the contact impedance increasing value and the thermal power consumption threshold value at the charging interface.
In the embodiment of the invention, the thermal power consumption threshold value P corresponding to the high-temperature threshold value of the melted plastic at the charging interface can be obtained by performing thermal simulation treatment on the charging interfacemax
According to the contact resistance increase value RXAnd a threshold value of heat dissipation P at the charging interfacemaxThe charging current of the charger is dynamically adjusted, specifically, the charging current of the charger is adjusted by controlling a microcontroller at the mobile terminal side to send a charging current adjusting instruction to the charger, so that the thermal power consumption value at the charging interface is always smaller than the thermal power consumption threshold value PmaxThereby, the plastic melting caused by the over-temperature at the charging interface can not occur.
It should be noted that, when no foreign matter or foreign matter enters the charging interface, the initial contact impedance value in the initial impedance value of the charging circuit is usually about ten and several m Ω, and the contact impedance increase value is usually several hundred m Ω, so the charging current of the charger is dynamically adjusted only according to the contact impedance increase value and the thermal power consumption threshold value at the charging interface, regardless of the influence of the initial contact impedance value in the initial impedance value of the charging circuit on the charging current.
For example, the melting point temperature of the plastic at the universal charging interface is 220 ℃ to 250 ℃, the corresponding thermal power consumption threshold value is 1W, if the plastic is charged by adopting 3A charging current, the thermal power consumption value generated by the contact impedance increment value of 200m omega is 1.8W and is larger than the thermal power consumption threshold value of 1W, at the moment, the charging current can be reduced to 2A, the thermal power consumption value generated by the contact impedance increment value of 200m omega is 0.8W and is smaller than the thermal power consumption threshold value of 1W, and therefore, the plastic can be prevented from being melted due to over-temperature at the charging interface.
In the fast charging mode, the charging voltage value of the charger may be a constant value, such as 9V, or the charging voltage value of the charger may be dynamically adjusted according to the voltage value of the battery, typically the voltage value of the battery is 3.5V to 4.4V, and the charging voltage value of the charger is typically: the product of the actual impedance value of the charging circuit and the charging current of the charger is added with 2 times of the voltage value of the battery, so that the charging voltage value of the charger varies between 7V and 9V.
In the practical application process, along with the increase of the electric quantity of the battery, when the actual impedance value of the charging circuit exceeds the set impedance threshold value, the charger and the mobile terminal exit the quick charging mode, at the moment, the charging voltage value of the charger is maintained at 5V, the contact impedance increasing value is calculated according to the actual impedance value and the initial impedance value of the charging circuit under the charging voltage of 5V, the charging current of the charger is adjusted according to the contact impedance increasing value and the thermal power consumption threshold value, so that the situation that plastic melting caused by over-temperature does not occur at the charging interface in the non-quick charging mode is ensured, and the safety of the charging interface is ensured.
As shown in fig. 3, step 104 may specifically include:
substep 1041, obtaining a target charging current value corresponding to the contact impedance increment value according to a mapping relation between an impedance range and the charging current value;
and a substep 1042 of adjusting the charging current of the charger according to the target charging current value.
In one embodiment of the invention, a plurality of impedance ranges are divided in advance, and the maximum impedance value in each impedance range and the heat consumption threshold value P at the charging interface are used for determining the maximum impedance valuemaxCalculating a charging current value corresponding to the impedance range so as to obtain a mapping relation between the impedance range and the charging current value; each charging current value corresponds to one impedance range, and the heat power consumption value calculated based on any impedance value in each impedance range and the corresponding charging current value is smaller than the heat power consumption threshold value P at the charging interfacemax
Obtaining the contact impedance increased value R according to the mapping relation between the impedance range and the charging current valueXThe corresponding target charging current value.
For example, the mapping relationship between the impedance range and the charging current value is shown in the following table one:
range of impedance Value of charging current
[R1,R2] I1
[R2,R3] I2
[R3,R4] I3
[R4,R5] I4
Watch 1
Wherein the charging current value I1Square of and impedance range [ R ]1,R2]Is less than the thermal power consumption threshold value P at the charging interfacemaxValue of charging current I2Square of and impedance range [ R ]2,R3]Is less than the thermal power consumption threshold value P at the charging interfacemaxValue of charging current I3Square of and impedance range [ R ]3,R4]Is less than the thermal power consumption threshold value P at the charging interfacemaxValue of charging current I4Square of and impedance range [ R ]4,R5]Is less than the thermal power consumption threshold value P at the charging interfacemax
For example, when the contact resistance at the charging interface increases by a value RX200m omega, which lies in the impedance range R2,R3]In between, the contact resistance increase value R is obtainedXCorresponding target charging current value is I2
Then, according to the target charging current value, the microcontroller on the mobile terminal side is controlled to send a charging current adjusting instruction to the charger so as to adjust the charging current of the charger.
Through the mapping relation between the impedance range and the charging current value, the target charging current value corresponding to the contact impedance added value is directly obtained, the charging current of the charger is adjusted more quickly, the safety of the charging interface is further improved, and the risk that the plastic melts off due to the fact that the charging current of the charger is not adjusted timely and the charging interface is over-temperature is reduced.
As shown in fig. 4, step 104 may specifically include:
a substep 1043, subtracting a preset thermal power consumption value from a thermal power consumption threshold value at the charging interface to obtain a target thermal power consumption value;
substep 1044, dividing the target thermal power consumption value by the contact impedance increment value and then performing evolution to obtain a corresponding target charging current value;
and a substep 1045 of adjusting the charging current of the charger according to the target charging current value.
In another embodiment of the invention, the contact impedance increase value R at the charging interface is calculatedXThen, the heat power consumption threshold value P at the charging interface is determinedmaxSubtracting a preset thermal power consumption value P0Obtaining a target thermal power consumption value PXThen, the target thermal power consumption value P is setXDivided by the contact resistance increase value RXThen, the square cutting is carried out to obtain the corresponding target charging current value IXI.e. IX=(PX/RX)1/2=[(Pmax-P0)/RX]1/2Based on the calculated target charging current value IXAnd controlling the microcontroller at the mobile terminal side to send a charging current adjusting instruction to the charger so as to adjust the charging current of the charger.
Wherein the thermal power consumption value P is preset0Is positive, and can be set artificially according to actual conditions to ensure the calculated target charging current value IXSquare of and contact resistance increase value RXIs less than the thermal power consumption threshold value Pmax
The charging current of the charger is more accurately adjusted by calculating the target charging current value in real time and according to the calculated target charging current value, so that the maximization of the charging current can be realized while the safety of a charging interface is ensured, and the charging speed of the mobile terminal is improved.
In the embodiment of the invention, the current actual impedance value of the charging circuit is obtained by obtaining the initial impedance value of the charging circuit, the contact impedance increasing value at the charging interface is determined according to the initial impedance value and the actual impedance value, and the charging current of the charger is adjusted according to the contact impedance increasing value and the thermal power consumption threshold value at the charging interface. The method comprises the steps of calculating a contact impedance increasing value of a charging interface by detecting an actual impedance value of a charging circuit in a charging process and comparing the actual impedance value with an initial impedance value of the charging circuit, dynamically adjusting charging current of a charger according to the contact impedance increasing value and a thermal power consumption threshold of the charging interface, and enabling the thermal power consumption value of the charging interface to be always smaller than a thermal power consumption threshold value, so that plastic melting caused by over-temperature at the charging interface is avoided, and the detection precision of the contact impedance increasing value is high, so that the safety of the charging interface can be protected more accurately, and the failure rate of the charging interface is reduced.
Referring to fig. 5, a block diagram of a mobile terminal according to an embodiment of the present invention is shown.
The mobile terminal 500 includes:
an initial impedance value obtaining module 501, configured to obtain an initial impedance value of the charging circuit;
an actual impedance value obtaining module 502, configured to obtain a current actual impedance value of the charging circuit;
a contact impedance increment determining module 503, configured to determine a contact impedance increment at the charging interface according to the initial impedance value and the actual impedance value;
and the charging current adjusting module 504 is configured to adjust the charging current of the charger according to the contact impedance increase value and the thermal power consumption threshold value at the charging interface.
Referring to fig. 6, a block diagram of another mobile terminal according to an embodiment of the present invention is shown.
On the basis of fig. 5, optionally, the charging current adjusting module 504 includes:
the charging current value obtaining submodule 5041 is configured to obtain a target charging current value corresponding to the contact impedance increment value according to a mapping relationship between an impedance range and the charging current value;
the charging current first adjusting submodule 5042 is used for adjusting the charging current of the charger according to the target charging current value;
each charging current value corresponds to one impedance range, and a heat power consumption value calculated based on any impedance value in each impedance range and the corresponding charging current value is smaller than a heat power consumption threshold value at the charging interface.
Optionally, the charging current adjusting module 504 includes:
a target thermal power consumption value operator module 5043, configured to subtract a preset thermal power consumption value from a thermal power consumption threshold value at the charging interface to obtain a target thermal power consumption value;
the charging current value calculation submodule 5044 is used for dividing the target thermal power consumption value by the contact impedance increasing value and then performing evolution to obtain a corresponding target charging current value;
and the second charging current adjusting submodule 5045 is used for adjusting the charging current of the charger according to the target charging current value.
Optionally, the actual impedance value obtaining module 502 includes:
the charging current and voltage value acquisition submodule 5021 is used for acquiring a charging current value and a charging voltage value of the charger;
the output voltage value acquisition submodule 5022 is used for acquiring the output voltage value of the charging circuit;
and the actual impedance value operator module 5023 is configured to divide a difference between the charging voltage value of the charger and the output voltage value of the charging circuit by the charging current value of the charger to obtain a current actual impedance value of the charging circuit.
Optionally, the module 503 for determining an increase in contact impedance includes:
a contact impedance increase value calculation submodule 5031, configured to subtract the initial impedance value from the actual impedance value to obtain a contact impedance increase value at the charging interface.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 4, and is not described herein again to avoid repetition.
In the embodiment of the invention, the current actual impedance value of the charging circuit is obtained by obtaining the initial impedance value of the charging circuit, the contact impedance increasing value at the charging interface is determined according to the initial impedance value and the actual impedance value, and the charging current of the charger is adjusted according to the contact impedance increasing value and the thermal power consumption threshold value at the charging interface. The method comprises the steps of calculating a contact impedance increasing value of a charging interface by detecting an actual impedance value of a charging circuit in a charging process and comparing the actual impedance value with an initial impedance value of the charging circuit, dynamically adjusting charging current of a charger according to the contact impedance increasing value and a thermal power consumption threshold of the charging interface, and enabling the thermal power consumption value of the charging interface to be always smaller than a thermal power consumption threshold value, so that plastic melting caused by over-temperature at the charging interface is avoided, and the detection precision of the contact impedance increasing value is high, so that the safety of the charging interface can be protected more accurately, and the failure rate of the charging interface is reduced.
Referring to fig. 7, a hardware configuration diagram of a mobile terminal according to an embodiment of the present invention is shown.
The mobile terminal 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 7 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 710 is configured to obtain an initial impedance value of the charging circuit; acquiring the current actual impedance value of the charging circuit; determining a contact impedance increasing value at the charging interface according to the initial impedance value and the actual impedance value; and adjusting the charging current of the charger according to the contact impedance increasing value and the heat power consumption threshold value at the charging interface.
In the embodiment of the invention, the current actual impedance value of the charging circuit is obtained by obtaining the initial impedance value of the charging circuit, the contact impedance increasing value at the charging interface is determined according to the initial impedance value and the actual impedance value, and the charging current of the charger is adjusted according to the contact impedance increasing value and the thermal power consumption threshold value at the charging interface. The method comprises the steps of calculating a contact impedance increasing value of a charging interface by detecting an actual impedance value of a charging circuit in a charging process and comparing the actual impedance value with an initial impedance value of the charging circuit, dynamically adjusting charging current of a charger according to the contact impedance increasing value and a thermal power consumption threshold of the charging interface, and enabling the thermal power consumption value of the charging interface to be always smaller than a thermal power consumption threshold value, so that plastic melting caused by over-temperature at the charging interface is avoided, and the detection precision of the contact impedance increasing value is high, so that the safety of the charging interface can be protected more accurately, and the failure rate of the charging interface is reduced.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 702, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the mobile terminal 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the mobile terminal 700 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 708 is an interface through which an external device is connected to the mobile terminal 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 700 or may be used to transmit data between the mobile terminal 700 and external devices.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby integrally monitoring the mobile terminal. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The mobile terminal 700 may also include a power supply 711 (e.g., a battery) for powering the various components, and the power supply 711 may be logically coupled to the processor 710 via a power management system that may enable managing charging, discharging, and power consumption by the power management system.
In addition, the mobile terminal 700 includes some functional modules that are not shown, and thus will not be described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program is executed by the processor 710 to implement each process of the charging method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the charging method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. A method of charging, comprising:
acquiring an initial impedance value of a charging circuit;
acquiring the current actual impedance value of the charging circuit;
determining a contact impedance increasing value at the charging interface according to the initial impedance value and the actual impedance value;
adjusting the charging current of the charger according to the contact impedance increasing value and a heat power consumption threshold value at the charging interface;
the adjusting the charging current of the charger according to the contact impedance increasing value and the heat power consumption threshold value at the charging interface comprises the following steps:
obtaining a target charging current value corresponding to the contact impedance increment value according to the mapping relation between the impedance range and the charging current value;
adjusting the charging current of the charger according to the target charging current value;
each charging current value corresponds to one impedance range, and a heat power consumption value calculated based on any impedance value in each impedance range and the corresponding charging current value is smaller than a heat power consumption threshold value at the charging interface;
alternatively, the first and second electrodes may be,
the adjusting the charging current of the charger according to the contact impedance increasing value and the heat power consumption threshold value at the charging interface comprises the following steps:
subtracting a preset heat power consumption value from a heat power consumption threshold value at the charging interface to obtain a target heat power consumption value;
dividing the target thermal power consumption value by the contact impedance increasing value to perform evolution to obtain a corresponding target charging current value;
and adjusting the charging current of the charger according to the target charging current value.
2. The method of claim 1, wherein the obtaining the current actual impedance value of the charging circuit comprises:
acquiring a charging current value and a charging voltage value of the charger;
acquiring an output voltage value of the charging circuit;
and dividing the difference value between the charging voltage value of the charger and the output voltage value of the charging circuit by the charging current value of the charger to obtain the current actual impedance value of the charging circuit.
3. The method of claim 1, wherein determining a contact impedance increase value at a charging interface based on the initial impedance value and the actual impedance value comprises:
and subtracting the initial impedance value from the actual impedance value to obtain a contact impedance increase value at the charging interface.
4. A mobile terminal, comprising:
the initial impedance value acquisition module is used for acquiring an initial impedance value of the charging circuit;
the actual impedance value acquisition module is used for acquiring the current actual impedance value of the charging circuit;
the contact impedance increased value determining module is used for determining a contact impedance increased value at the charging interface according to the initial impedance value and the actual impedance value;
the charging current adjusting module is used for adjusting the charging current of the charger according to the contact impedance increasing value and a heat power consumption threshold value at the charging interface;
the charging current regulating module includes:
the charging current value obtaining submodule is used for obtaining a target charging current value corresponding to the contact impedance increment value according to the mapping relation between the impedance range and the charging current value;
the first charging current adjusting submodule is used for adjusting the charging current of the charger according to the target charging current value;
each charging current value corresponds to one impedance range, and a heat power consumption value calculated based on any impedance value in each impedance range and the corresponding charging current value is smaller than a heat power consumption threshold value at the charging interface;
alternatively, the first and second electrodes may be,
the charging current regulating module includes:
the target thermal power consumption value calculation operator module is used for subtracting a preset thermal power consumption value from a thermal power consumption threshold value at the charging interface to obtain a target thermal power consumption value;
the charging current value calculation submodule is used for performing evolution after dividing the target heat power consumption value by the contact impedance increasing value to obtain a corresponding target charging current value;
and the second charging current adjusting submodule is used for adjusting the charging current of the charger according to the target charging current value.
5. The mobile terminal according to claim 4, wherein the actual impedance value obtaining module comprises:
the charging current and voltage value acquisition submodule is used for acquiring a charging current value and a charging voltage value of the charger;
the output voltage value acquisition submodule is used for acquiring the output voltage value of the charging circuit;
and the actual impedance value operator module is used for dividing the difference value between the charging voltage value of the charger and the output voltage value of the charging circuit by the charging current value of the charger to obtain the current actual impedance value of the charging circuit.
6. The mobile terminal of claim 4, wherein the contact impedance increment determination module comprises:
and the contact impedance increase value calculation submodule is used for subtracting the initial impedance value from the actual impedance value to obtain a contact impedance increase value at the charging interface.
CN201910134213.6A 2019-02-22 2019-02-22 Charging method and mobile terminal Active CN109962514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910134213.6A CN109962514B (en) 2019-02-22 2019-02-22 Charging method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910134213.6A CN109962514B (en) 2019-02-22 2019-02-22 Charging method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109962514A CN109962514A (en) 2019-07-02
CN109962514B true CN109962514B (en) 2021-01-08

Family

ID=67023850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910134213.6A Active CN109962514B (en) 2019-02-22 2019-02-22 Charging method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109962514B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311035B (en) * 2019-07-31 2023-08-29 北京小米移动软件有限公司 Charge control method, charge control device, and readable storage medium
CN110829520B (en) * 2019-10-28 2021-10-01 量道(厦门)新能源科技有限公司 Charging connection reliability detection and charging control circuit and method
CN111293744B (en) * 2020-01-22 2022-08-02 维沃移动通信有限公司 Charging method, charging device, electronic device, and medium
CN112350393B (en) * 2020-06-28 2021-11-02 中兴通讯股份有限公司 Charging method, terminal and storage medium
CN112319300A (en) * 2020-10-16 2021-02-05 江苏爱玛车业科技有限公司 Intelligent charger and intelligent charging management method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN207124471U (en) * 2017-08-14 2018-03-20 维沃移动通信有限公司 A kind of charge control apparatus
CN107994650B (en) * 2017-12-27 2020-01-10 Oppo广东移动通信有限公司 Charging control method, device and equipment
CN108390117B (en) * 2018-03-14 2020-10-02 维沃移动通信有限公司 Charging method and mobile terminal

Also Published As

Publication number Publication date
CN109962514A (en) 2019-07-02

Similar Documents

Publication Publication Date Title
CN109962514B (en) Charging method and mobile terminal
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN108988421B (en) Battery charging method, charging circuit and terminal
CN108390117B (en) Charging method and mobile terminal
CN107832689B (en) Fingerprint identification method and mobile terminal
CN108762877B (en) Control method of mobile terminal interface and mobile terminal
CN110399000B (en) Mobile terminal and temperature control method thereof
CN110045807B (en) Voltage control method and terminal
CN107834640B (en) Charging method and terminal
CN107887947B (en) Protection method for charging port and mobile terminal
CN108681413B (en) Control method of display module and mobile terminal
CN107733016B (en) Mobile terminal charging control method and mobile terminal
EP3503332A1 (en) Electric charging protection method, terminal, and charger
CN111293744B (en) Charging method, charging device, electronic device, and medium
CN111240567B (en) Display screen angle adjusting method and electronic equipment
CN108595352B (en) Protection method and device for mobile terminal
CN108366171B (en) Temperature rise control method and mobile terminal
CN108388400B (en) Operation processing method and mobile terminal
CN109947345B (en) Fingerprint identification method and terminal equipment
CN108089799B (en) Control method of screen edge control and mobile terminal
CN108845261B (en) Electric quantity prompting method and terminal equipment
CN111181218A (en) Charging prompting method, electronic device and medium
CN108958603B (en) Operation mode control method and mobile terminal
CN108536272B (en) Method for adjusting frame rate of application program and mobile terminal
CN107769324B (en) Charging method, charger, mobile terminal and server

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