CN108964194B - Mobile terminal and charging control method - Google Patents

Mobile terminal and charging control method Download PDF

Info

Publication number
CN108964194B
CN108964194B CN201810860949.7A CN201810860949A CN108964194B CN 108964194 B CN108964194 B CN 108964194B CN 201810860949 A CN201810860949 A CN 201810860949A CN 108964194 B CN108964194 B CN 108964194B
Authority
CN
China
Prior art keywords
voltage
controlled element
current value
current
electrically connected
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
CN201810860949.7A
Other languages
Chinese (zh)
Other versions
CN108964194A (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 CN201810860949.7A priority Critical patent/CN108964194B/en
Publication of CN108964194A publication Critical patent/CN108964194A/en
Application granted granted Critical
Publication of CN108964194B publication Critical patent/CN108964194B/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/007Regulation of charging or discharging current or voltage

Abstract

The invention provides a mobile terminal and a charging control method. This mobile terminal, including the module of charging, still include: the control module is electrically connected with the charging module; the voltage control elements are respectively electrically connected with the charging module and the control module; Type-C interface includes: at least two power pins and at least two ground pins; each power supply pin is electrically connected with one voltage-controlled element and the control module; each grounding pin is electrically connected with one voltage-controlled element and the control module; and the control module is used for controlling the current value passing through each voltage-controlled element not to be larger than a preset threshold value when the external power supply equipment is inserted into the Type-C interface. The invention can reasonably distribute the current of each pin when charging with large current, thereby ensuring the safety of the mobile terminal equipment during charging and improving the reliability of the whole mobile terminal.

Description

Mobile terminal and charging control method
Technical Field
The embodiment of the invention relates to the technical field of electronics, in particular to a mobile terminal and a charging control method.
Background
With the development of electronic technology, electronic devices such as mobile phones, tablet computers, and cameras have become more and more popular. As shown in fig. 1, the Type-C interface is a new USB interface, and because it supports the advantages of double-sided insertion, slim design, faster transmission speed, stronger power transmission, etc. of the USB interface, the Type-C interface is gradually applied to the electronic device and becomes a standard interface, thereby improving the convenience of use and the user experience effect of the electronic device.
When present mobile terminal adopts the Type-C interface to realize that heavy current charges, can use 4 Vbus pins and 4 GND pins simultaneously. The current that each pin can bear is limited to the protocol standard and the material and can only support 1.25A, and the total of 4 pins can support 5A.
Due to manufacturing errors, contact impedance of each pin is different after the plug is connected with the USB socket. If the plug is pulled by external force, the pins may be slightly dislocated, so that the contact impedance difference of each pin is further enlarged; and the distribution of the charging current of each pin is related to the impedance on each path; if the pin contact impedance difference causes the impedance deviation of the whole charging circuit, the current flowing through each corresponding pin will be different. If the current is larger, the current flowing through a certain pin is too large to exceed the current limiting range of 1.25A, and the pin and the USB socket are burnt out after long-time use.
Disclosure of Invention
The embodiment of the invention provides a mobile terminal and a charging control method, and aims to solve the problem that when a mobile terminal with a Type-C interface is subjected to high-current quick charging, overcurrent exceeds a standard due to contact impedance difference, so that the risk of damaging the Type-C interface exists.
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 mobile terminal, including a charging module, further including:
the control module is electrically connected with the charging module;
the voltage control elements are respectively electrically connected with the charging module and the control module;
Type-C interface includes: at least two power pins and at least two ground pins; each power supply pin is electrically connected with one voltage-controlled element and the control module; each grounding pin is electrically connected with one voltage-controlled element and the control module;
and the control module is used for controlling the current value passing through each voltage-controlled element not to be larger than a preset threshold value when the external power supply equipment is inserted into the Type-C interface.
In a second aspect, an embodiment of the present invention further provides a charging control method, including:
when an external power supply device is inserted into a Type-C interface of the mobile terminal, acquiring voltage values at two ends of each voltage-controlled element;
calculating the current value of each voltage-controlled element according to the acquired voltage values at the two ends of each voltage-controlled element;
comparing and judging the current values of all voltage-controlled elements, and determining a target voltage-controlled element with the current value larger than a preset threshold value;
and controlling the current value passing through the target voltage-controlled element to be not greater than the preset threshold value.
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 in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the charging control method.
In a fourth aspect, an 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 steps of the charging control method are implemented.
In the embodiment of the invention, through the control module electrically connected with the charging module and the plurality of voltage-controlled elements electrically connected with the charging module and the control module respectively, each power pin of the Type-C interface of the mobile terminal is electrically connected with one voltage-controlled element respectively and the control module, each ground pin is electrically connected with one voltage-controlled element respectively and the control module, and the connection relation is adopted, so that when the external power supply equipment is inserted into the Type-C interface, the control module controls the current value passing through each voltage-controlled element not to be larger than the preset threshold value. Therefore, when the large current is charged, the current of each pin can be reasonably distributed, the safety of the mobile terminal equipment during charging is ensured, and the reliability of the whole mobile terminal is improved.
Drawings
FIG. 1 is a diagram illustrating a prior art USB Type-C interface definition;
fig. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a charging control method 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.
Fig. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. The embodiment of the present invention provides a mobile terminal 100, which includes a charging module 101, and further includes:
a control module 102 electrically connected to the charging module 101;
a plurality of voltage control elements electrically connected to the charging module 101 and the control module 102, respectively;
Type-C interface 105, including: at least two power pins 1051 and at least two ground pins 1052; each power pin 1051 is electrically connected to one voltage-controlled element and the control module 102; each ground pin 1052 is electrically connected to a voltage-controlled device and the control module 102;
the control module 102 is configured to control a current value passing through each voltage-controlled element to be not greater than a preset threshold value when the external power supply device 106 is inserted into the Type-C interface 105.
Here, the charging module 101 is preferably a charging chip. Generally referred to as a charging IC, for managing a charging process of the mobile terminal to charge the battery with an appropriate current.
It should be noted that the charging module 101 is electrically connected to a battery of the mobile terminal.
Here, the voltage-controlled element is an element with adjustable impedance value, including but not limited to a field effect transistor, an adjustable resistor, and the like.
It should be noted that, the other ends of the voltage-controlled elements, one ends of which are electrically connected to the power pin 1051, are electrically connected together to form a first output end, and the first output end is electrically connected to the control module 102 and the charging module 101, respectively.
The other end of each voltage-controlled element electrically connected to the ground pin 1052 is electrically connected to form a second output terminal, and the second output terminal is electrically connected to the control module 102 and the charging module 101, respectively.
Here, the Type-C interface 105 is a Type-C USB socket of the mobile terminal.
It should be noted that the Type-C interface 105 is a connection interface of the USB interface, can be inserted without dividing into a front side and a back side, has a size of about 8.3mm × 2.5mm, and supports functions of charging, data transmission, display output and the like of the USB standard like other interfaces. Fig. 1 is a schematic diagram illustrating the definition of the USB Type-C interface. The interface is divided into two rows, each row having 12 signal pins. Among them, there are 4 power pins, which are all USB power Vbus, and are a4, a9, B4 and B9, respectively. In addition, 4 grounding pins are all the USB grounding GND, namely A1, A12, B1 and B12.
Here, the external power supply apparatus has an interface matching with a Type-C interface of the mobile terminal, wherein the interface is a Type-C USB plug. Here, the external power supply device includes, but is not limited to, a charger, a mobile power supply, and the like.
Here, preferably, the control module is an ADC chip.
In the embodiment of the invention, through the control module electrically connected with the charging module and the plurality of voltage-controlled elements electrically connected with the charging module and the control module respectively, each power pin of the Type-C interface of the mobile terminal is electrically connected with one voltage-controlled element respectively and the control module, each grounding pin is electrically connected with one voltage-controlled element respectively and the control module, and the connection relation is adopted, so that when an external power supply device is inserted into the Type-C interface, the control module controls the current value passing through each voltage-controlled element not to be larger than the preset threshold value. Therefore, when the large current is charged, the current of each pin can be reasonably distributed, the safety of the mobile terminal equipment during charging is ensured, and the reliability of the whole mobile terminal is improved.
Preferably, the control module 102 includes: the device comprises a collecting unit, a calculating unit, a processing unit and a control unit.
The acquisition unit is used for acquiring voltage values at two ends of each voltage-controlled element when an external power supply device is inserted into the Type-C interface, and calculating to obtain a current value passing through each voltage-controlled element.
Here, as shown in fig. 2, when the external power supply device (e.g., a charger) is inserted into the Type-C interface, that is, the Type-C USB plug of the external power supply device is connected to the Type-C USB socket of the mobile terminal in a mating manner, the contact impedances of the power supply pin and the ground pin are different, and thus the voltages of the current flowing through the contact impedances are also different.
In one example, a Type-C interface of a mobile terminal includes: four power pins and four ground pins. Since the contact impedances of the respective power pins and the respective ground pins are different, the voltages at which the currents flow through the respective contact impedances are also different, as shown in fig. 2, and the corresponding voltages can be represented as vbus1, vbus2, vbus3 and vbus4, and gnd1, gnd2, gnd3 and gnd 4. Since the other ends of the respective voltage-controlled elements having one end connected to the power supply pin 1051 are connected together, the voltages are equal and are vbus, and the other ends of the respective voltage-controlled elements having one end connected to the ground pin 1052 are connected together, the voltages are equal and are gnd. Thus, when an external power supply device (such as a charger) is plugged into the Type-C interface, a voltage difference (vbus-vbus1, vbus-vbus2, vbus-vbus3, vbus-vbus4, gnd-gnd1, gnd-gnd2, gnd-gnd3, gnd-gnd4) is formed across the voltage-controlled elements, and the collecting unit of the control module 102 is configured to collect the voltage value across each voltage-controlled element.
And the calculating unit is used for calculating the current value passing through each voltage-controlled element according to the acquired voltage value at the two ends of each voltage-controlled element.
Continuing with the above example as an example, the calculating unit calculates the current value passing through each voltage-controlled element according to the voltage value at the two ends of each voltage-controlled element collected by the collecting unit and the impedance value of the corresponding voltage-controlled element.
And the processing unit is used for comparing and judging the current values of all the voltage-controlled elements and determining the target voltage-controlled element of which the current value is greater than the preset threshold value.
Here, continuing to take the above example as an example, since the current that can be borne by the power pin and the ground pin when the mobile terminal implements the high-current fast charging by using the Type-C interface is limited to the maximum support of the protocol standard and the material to 1.25A, it is preferable that the preset threshold is less than or equal to 1.25A. Of course, the preset threshold depends on the parameter value set by the mobile terminal device when the mobile terminal device leaves the factory.
And the control unit is used for controlling the current value passing through the target voltage-controlled element not to be larger than the preset threshold value.
Here, when the current value of the target voltage-controlled element is greater than the preset threshold, the current flowing through the pin of the corresponding Type-C interface exceeds the preset current-limiting range (for example, 1.25A), and if the current value is used for a long time, there is a risk of burning out the pin and the USB socket, so the control unit controls the current value passing through the target voltage-controlled element to be not greater than the preset threshold, and when charging a large current, the magnitude of the current of each pin can be reasonably distributed, thereby ensuring the safety of the mobile terminal device during charging, and improving the reliability of the whole mobile terminal device.
Here, in a preferred embodiment, the control unit is specifically configured to adjust the impedance value of the target voltage-controlled element so that the current value passing through the target voltage-controlled element is not greater than the preset threshold.
It should be noted that, the control unit may control the target voltage-controlled element through the control signal, and adjust the impedance of the target voltage-controlled element, so that the current value passing through the target voltage-controlled element is not greater than the preset threshold. Specifically, the impedance to be increased can be calculated according to the magnitude of the current deviation.
The normal contact impedance of a general Type-C interface is about 20m Ω according to practical engineering experience, and then the maximum impedance of the voltage-controlled element is set to be 20m Ω.
Specifically, when the impedance value of the target voltage-controlled element is adjusted, the adjustment may be performed in steps of a preset impedance value. For example, the voltage-controlled element is set to 15 levels of adjustable impedance according to actual conditions, the default impedance of the voltage-controlled element is 5m Ω, the path impedance is adjusted in steps of 1m Ω, and the maximum value is 20m Ω.
In another preferred embodiment, the control unit is specifically configured to adjust an impedance value of the target voltage-controlled element; when the impedance value of the target voltage-controlled element is adjusted to a target impedance value and the current value passing through the target voltage-controlled element is larger than the preset threshold value, the charging module controls at least one of the output current of the external power supply equipment to be reduced to a first current value and the absorption current of the charging module to be reduced to a second current value, so that the current value passing through each voltage-controlled element is not larger than the preset threshold value.
Here, specifically, when the impedance value of the target voltage-controlled element is adjusted, the adjustment may be performed in steps of a preset impedance value. In this embodiment, when the impedance value of the target voltage-controlled element is adjusted to a target impedance value (here, the maximum impedance value of the target voltage-controlled element), and the current value passing through the target voltage-controlled element is still greater than the preset threshold, it indicates that at least one path of pin impedance is much greater, and exceeds the adjustment range of the circuit itself. Possible reasons are: if the contact impedance of the pin is abnormally large (larger than or far larger than 40m Ω) due to foreign matter entering or pin corrosion, the size of the whole charging needs to be controlled, so as to ensure the safety of the mobile terminal device during charging. The charging module controls at least one of the output current of the external power supply equipment to be reduced to a first current value and the absorption current of the charging module to be reduced to a second current value, so that the current value passing through each voltage-controlled element is not greater than the preset threshold value.
Specifically, the control module is provided with an INT pin, and the control unit informs the charging module through the INT pin to control at least one of the reduction of the output current of the external power supply device (such as a charger) to a first current value and the reduction of the absorption current of the charging module to a second current value.
Here, the first current value and the second current value may be calculated by a preset algorithm according to how much the current value of the target voltage-controlled element exceeds a preset threshold. Of course, the first current value may also be set according to actual conditions. The second current value can also be set according to actual conditions.
In a preferred embodiment of the present invention, as shown in fig. 2, the voltage control element includes: a first field effect transistor 103 and a second field effect transistor 104; the control module 102 is electrically connected to the gate of the first field effect transistor 103, and is configured to control the gate of the first field effect transistor 103 and adjust an impedance value of the first field effect transistor 103; the control module 102 is electrically connected to the gate of the second fet 104, and is configured to control the gate of the second fet 104 and adjust the impedance value of the second fet 104.
Specifically, when the current values of all the voltage-controlled elements are compared and determined, and a target voltage-controlled element, i.e., a target fet, having a current value greater than the preset threshold is determined, the control module 102 controls the gate of the target fet through a control signal, and adjusts the impedance value of the target fet.
Here, preferably, in the present embodiment, the first field effect transistor is a P-channel field effect transistor, that is, a PMOS transistor; the second field effect transistor is an N-channel field effect transistor, namely an NMOS transistor.
Each power pin 1051 is electrically connected to the drain of one of the first fets 103;
each ground pin 1052 is electrically connected to the source of one of the second fets 104;
the source of the first fet 103 electrically connected to the power pin 1051 is electrically connected to the control module 102 and the charging module 101, respectively;
the drain of the second fet 104 electrically connected to the ground pin 1052 is electrically connected to the control module 102 and the charging module 101, respectively.
Here, specifically, the sources of the first fets 103 having drains connected to the power pin 1051 are electrically connected together, and are respectively electrically connected to the control module 102 and the charging module 101; the drains of the second fets 104, the sources of which are connected to the ground pin 1052, are electrically connected together and are respectively electrically connected to the control module 102 and the charging module 101.
It should be noted that the difference value Vgs between the gate voltage and the source voltage of the PMOS transistor needs to be smaller than the minimum on voltage to turn on the PMOS transistor; and the difference value Vgs between the grid voltage and the source voltage of the NMOS tube needs to be larger than the minimum on-state voltage to be conducted. Therefore, when an external power supply device such as a charger outputs, the voltage of a power supply pin is more than or equal to 5V, the power supply of the drain electrode of the PMOS tube is conducted to the source electrode through the body diode, and then the grid electrode can control the grid source voltage through a low voltage, so that the conduction impedance of the PMOS tube is controlled; the grounding pin is always very low voltage, so if a PMOS tube is adopted to control the conduction of the grounding pin, negative voltage is required to drive a grid electrode, the circuit is relatively complex to realize, and in order to simplify the circuit design, the second field effect tube is an NMOS tube, and the grid source voltage can be controlled by using a very small positive voltage through the NMOS tube, so that the conduction impedance of the NMOS tube is controlled.
In the embodiment of the invention, through the control module electrically connected with the charging module and the plurality of voltage-controlled elements electrically connected with the charging module and the control module respectively, each power pin of the Type-C interface of the mobile terminal is electrically connected with one voltage-controlled element respectively and the control module, each grounding pin is electrically connected with one voltage-controlled element respectively and the control module, and the connection relation is adopted, so that when an external power supply device is inserted into the Type-C interface, the control module controls the current value passing through each voltage-controlled element not to be larger than the preset threshold value. Therefore, when the large current is charged, the current of each pin can be reasonably distributed, the safety of the mobile terminal equipment during charging is ensured, and the reliability of the whole mobile terminal is improved.
As shown in fig. 3, a schematic flowchart of a charging control method according to an embodiment of the present invention is applied to the mobile terminal according to the foregoing embodiment, and a process of implementing the method is specifically described below with reference to the diagram.
The charging control method may include:
step 201, when an external power supply device is inserted into a Type-C interface of the mobile terminal, collecting voltage values at two ends of each voltage-controlled element.
In this step, external power supply equipment has the interface that matches with mobile terminal's Type-C interface, and wherein, this interface is Type-C USB plug. And the Type-C interface of the mobile terminal is a Type-C USB socket.
Here, the external power supply device includes, but is not limited to, a charger, a mobile power supply, and the like.
Here, the voltage-controlled element is an element with adjustable impedance value, including but not limited to a field effect transistor, an adjustable resistor, and the like.
Step 202, calculating a current value passing through each voltage-controlled element according to the collected voltage values at two ends of each voltage-controlled element.
In this step, specifically, a current value passing through each voltage-controlled element is calculated according to the collected voltage value at the two ends of each voltage-controlled element and the impedance value of the corresponding voltage-controlled element.
And step 203, comparing and judging the current values of all the voltage-controlled elements, and determining the target voltage-controlled element with the current value larger than a preset threshold value.
In this step, when the mobile terminal uses the Type-C interface to realize the large-current fast charging, the current that can be borne by the power pin and the ground pin is limited to the maximum support of the protocol standard and the material to 1.25A, so, preferably, the preset threshold is less than or equal to 1.25A. Of course, the preset threshold depends on the parameter value set by the mobile terminal device when the mobile terminal device leaves the factory.
And 204, controlling the current value passing through the target voltage-controlled element not to be larger than the preset threshold value.
In this step, when the current value of the target voltage-controlled element is greater than the preset threshold, the current flowing through the corresponding pin of the Type-C interface exceeds the preset current-limiting range (for example, 1.25A), and if the current value is used for a long time, the risk of burning out the pin and the USB socket exists, so that the current value passing through the target voltage-controlled element is controlled not to be greater than the preset threshold, the current of each pin can be reasonably distributed when the large current is charged, the safety of the mobile terminal device during charging is ensured, and the reliability of the whole mobile terminal device is improved.
In the embodiment of the invention, when an external power supply device is inserted into a Type-C interface of the mobile terminal, the voltage values at two ends of each voltage-controlled element are collected; calculating the current value passing through each voltage-controlled element according to the acquired voltage values at the two ends of each voltage-controlled element; comparing and judging the current values of all voltage-controlled elements, and determining a target voltage-controlled element with the current value larger than a preset threshold value; and controlling the current value passing through the target voltage-controlled element to be not greater than the preset threshold value. Therefore, when the large current is charged, the current of each pin can be reasonably distributed, the safety of the mobile terminal equipment during charging is ensured, and the reliability of the whole mobile terminal is improved.
Based on the embodiment shown in fig. 3, in a preferred embodiment of the present invention, step 204 may include the following steps:
and adjusting the impedance value of the target voltage-controlled element to enable the current value passing through the target voltage-controlled element not to be larger than the preset threshold value.
In this step, the target voltage-controlled element may be controlled by the control signal, and the impedance of the target voltage-controlled element may be adjusted, so that the current value passing through the target voltage-controlled element is not greater than the preset threshold. Specifically, the impedance to be increased can be calculated according to the magnitude of the current deviation.
Preferably, the step of adjusting the impedance value of the target voltage-controlled element may include:
and adjusting the impedance value of the target voltage-controlled element by taking a preset impedance value as a step.
Here, the preset impedance value is a preset impedance value. For example, the voltage-controlled element is set to 15 levels of adjustable impedance according to actual conditions, the default impedance of the voltage-controlled element is 5m Ω, the path impedance is adjusted in steps of 1m Ω, and the maximum value is 20m Ω.
Here, the impedance value of the target voltage-controlled element is adjusted by a step-by-step adjustment method, and the control is simple and convenient.
Based on the embodiment shown in fig. 3, in another preferred embodiment of the present invention, step 204 may include the following steps:
adjusting an impedance value of the target voltage controlled element;
here, preferably, the present step may include the steps of: and adjusting the impedance value of the target voltage-controlled element by taking a preset impedance value as a step.
Here, the preset impedance value is a preset impedance value. For example, the voltage-controlled element is set to 15 levels of adjustable impedance according to actual conditions, the default impedance of the voltage-controlled element is 5m Ω, the path impedance is adjusted in steps of 1m Ω, and the maximum value is 20m Ω.
Here, the impedance value of the target voltage-controlled element is adjusted by a step-by-step adjustment method, and the control is simple and convenient.
When the impedance value of the target voltage-controlled element is adjusted to a target impedance value and the current value passing through the target voltage-controlled element is larger than the preset threshold value, the charging module controls at least one of the output current of the external power supply equipment to be reduced to a first current value and the absorption current of the charging module to be reduced to a second current value, so that the current value passing through each voltage-controlled element is not larger than the preset threshold value.
Here, when the impedance value of the target voltage-controlled element is adjusted to the maximum impedance value, and the current value passing through the target voltage-controlled element is still greater than the preset threshold value, it is indicated that at least one path of pin impedance in the Type-C interface of the mobile terminal is much greater, and exceeds the adjustment range of the circuit itself. Possible reasons are: if the contact impedance of the pin is abnormally large (larger than or far larger than 40m Ω) due to foreign matter entering or pin corrosion, the size of the whole charging needs to be controlled, so as to ensure the safety of the mobile terminal device during charging. The charging module controls at least one of the output current of the external power supply equipment to be reduced to a first current value and the absorption current of the charging module to be reduced to a second current value, so that the current value passing through each voltage-controlled element is not greater than the preset threshold value. Therefore, the charging current can be controlled in a safe range, the total charging current of the mobile terminal is reduced, the current value passing through each voltage-controlled element is not larger than a preset threshold value, and the pin and the USB seat cannot be burnt out due to overlarge passing current.
In the embodiment of the invention, when an external power supply device is inserted into a Type-C interface of the mobile terminal, the voltage values at two ends of each voltage-controlled element are collected; calculating the current value passing through each voltage-controlled element according to the acquired voltage values at the two ends of each voltage-controlled element; comparing and judging the current values of all voltage-controlled elements, and determining a target voltage-controlled element with the current value larger than a preset threshold value; and controlling the current value passing through the target voltage-controlled element to be not greater than the preset threshold value. Therefore, when the large current is charged, the current of each pin can be reasonably distributed, the safety of the mobile terminal equipment during charging is ensured, and the reliability of the whole mobile terminal is improved.
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.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above charging control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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 above charging control 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 (11)

1. A mobile terminal comprises a charging module, and is characterized by further comprising:
the control module is electrically connected with the charging module;
the voltage control elements are electrically connected with the charging module and the control module respectively, and the voltage control elements are elements with adjustable impedance values;
Type-C interface includes: at least two power pins and at least two ground pins; each power supply pin is electrically connected with one voltage-controlled element and the control module; each grounding pin is electrically connected with one voltage-controlled element and the control module;
and the control module is used for controlling the current value passing through each voltage-controlled element not to be larger than a preset threshold value when the external power supply equipment is inserted into the Type-C interface.
2. The mobile terminal of claim 1, wherein the control module comprises: the device comprises a collecting unit, a calculating unit, a processing unit and a control unit;
the acquisition unit is used for acquiring voltage values at two ends of each voltage-controlled element when an external power supply device is inserted into the Type-C interface;
the calculating unit is used for calculating the current value passing through each voltage-controlled element according to the acquired voltage value at the two ends of each voltage-controlled element;
the processing unit is used for comparing and judging the current values of all the voltage-controlled elements and determining the target voltage-controlled element of which the current value is greater than the preset threshold value;
and the control unit is used for controlling the current value passing through the target voltage-controlled element not to be larger than the preset threshold value.
3. The mobile terminal of claim 2, wherein the control unit is specifically configured to adjust the impedance value of the target voltage-controlled element such that the current value passing through the target voltage-controlled element is not greater than the preset threshold.
4. The mobile terminal according to claim 2, wherein the control unit is configured to adjust the impedance value of the target voltage controlled element; when the impedance value of the target voltage-controlled element is adjusted to a target impedance value and the current value passing through the target voltage-controlled element is larger than the preset threshold value, the charging module controls at least one of the output current of the external power supply equipment to be reduced to a first current value and the absorption current of the charging module to be reduced to a second current value, so that the current value passing through each voltage-controlled element is not larger than the preset threshold value.
5. The mobile terminal of claim 1, wherein the voltage controlled element comprises: a first field effect transistor and a second field effect transistor;
the control module is electrically connected with the grid electrode of the first field effect transistor and used for controlling the grid electrode of the first field effect transistor and adjusting the impedance value of the first field effect transistor;
the control module is electrically connected with the grid electrode of the second field effect transistor and is used for controlling the grid electrode of the second field effect transistor and adjusting the impedance value of the second field effect transistor;
each power supply pin is electrically connected with the drain electrode of one first field effect transistor;
each grounding pin is electrically connected with the source electrode of one second field effect transistor;
the source electrode of the first field effect transistor electrically connected with the power supply pin is respectively electrically connected with the control module and the charging module;
and the drain electrode of the second field effect transistor electrically connected with the grounding pin is respectively electrically connected with the control module and the charging module.
6. A charging control method applied to the mobile terminal according to any one of claims 1 to 5, comprising:
when an external power supply device is inserted into a Type-C interface of the mobile terminal, acquiring voltage values at two ends of each voltage-controlled element, wherein the voltage-controlled elements are elements with adjustable impedance values;
calculating the current value passing through each voltage-controlled element according to the acquired voltage values at the two ends of each voltage-controlled element;
comparing and judging the current values of all voltage-controlled elements, and determining a target voltage-controlled element with the current value larger than a preset threshold value;
and controlling the current value passing through the target voltage-controlled element to be not greater than the preset threshold value.
7. The charge control method according to claim 6, wherein the step of controlling the current value passing through the target voltage-controlled element not to be greater than the preset threshold value includes:
and adjusting the impedance value of the target voltage-controlled element to enable the current value passing through the target voltage-controlled element not to be larger than the preset threshold value.
8. The charge control method according to claim 6, wherein the step of controlling the current value passing through the target voltage-controlled element not to be greater than the preset threshold value includes:
adjusting an impedance value of the target voltage controlled element;
when the impedance value of the target voltage-controlled element is adjusted to a target impedance value and the current value passing through the target voltage-controlled element is larger than the preset threshold value, the charging module controls at least one of the output current of the external power supply equipment to be reduced to a first current value and the absorption current of the charging module to be reduced to a second current value, so that the current value passing through each voltage-controlled element is not larger than the preset threshold value.
9. The charge control method according to claim 7 or 8, wherein the step of adjusting the impedance value of the target voltage-controlled element includes:
and adjusting the impedance value of the target voltage-controlled element by taking a preset impedance value as a step.
10. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the charging control method according to any one of claims 6 to 9.
11. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the charge control method according to any one of claims 6 to 9.
CN201810860949.7A 2018-08-01 2018-08-01 Mobile terminal and charging control method Active CN108964194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810860949.7A CN108964194B (en) 2018-08-01 2018-08-01 Mobile terminal and charging control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810860949.7A CN108964194B (en) 2018-08-01 2018-08-01 Mobile terminal and charging control method

Publications (2)

Publication Number Publication Date
CN108964194A CN108964194A (en) 2018-12-07
CN108964194B true CN108964194B (en) 2020-06-12

Family

ID=64465508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810860949.7A Active CN108964194B (en) 2018-08-01 2018-08-01 Mobile terminal and charging control method

Country Status (1)

Country Link
CN (1) CN108964194B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112737055B (en) * 2021-01-13 2022-11-01 南昌嘉信高科技有限公司 Charging protection circuit and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105954644A (en) * 2016-06-30 2016-09-21 成绎半导体技术(上海)有限公司 USB Type-C interface male head intelligent detection and protection circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105954644A (en) * 2016-06-30 2016-09-21 成绎半导体技术(上海)有限公司 USB Type-C interface male head intelligent detection and protection circuit

Also Published As

Publication number Publication date
CN108964194A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
US10409311B2 (en) Pull-down circuitry for an apparatus
US20160359340A1 (en) Quick charging mobile terminal, method and system
US20170077743A1 (en) Charging circuit and terminal
US20170310122A1 (en) Charging apparatus and charging control circuit thereof and charging control method
US10110040B2 (en) Dynamic charging without constant voltage stage to extend battery life
KR20090003878A (en) An apparatus for recharging a battery using usb devices in a portable terminal and a method thereof
CN106471701B (en) Adaptive phase and charging current battery charging
US20200004309A1 (en) Electronic device
US11196244B2 (en) Electronic device and control method thereof
CN107533090A (en) A kind of leakage current test circuit and method
US9257854B2 (en) Electronic device and protection circuit thereof
CN108964194B (en) Mobile terminal and charging control method
TWI511405B (en) Method for charging a power device of a portable device using a current-adaptive process and power device thereof
CN106027012A (en) Pull-down resistor switching circuit
CN109167420B (en) Charging control circuit, charging circuit and charging control method
CN109217407B (en) Electronic device
US9608476B2 (en) Charging system and charging method thereof
US20150325960A1 (en) Universal serial bus interface and mobile device
US8929045B2 (en) Delay protection circuit and electronic device employing the same
CN112689935A (en) Charging device, charging control method and device
CN101110523A (en) Control method for implementing constant-current charging of battery
CN112820966B (en) Storage battery charging method, electronic cigarette and storage medium
CN204681073U (en) Data and charging coffret protective circuit
CN110927629B (en) USB equipment detection circuit
EP3722824B1 (en) Test system and method for charging apparatus

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