CN106899061B - Mobile terminal, charging device and charging method - Google Patents

Mobile terminal, charging device and charging method Download PDF

Info

Publication number
CN106899061B
CN106899061B CN201710161649.5A CN201710161649A CN106899061B CN 106899061 B CN106899061 B CN 106899061B CN 201710161649 A CN201710161649 A CN 201710161649A CN 106899061 B CN106899061 B CN 106899061B
Authority
CN
China
Prior art keywords
charging
pin
switch
change
conduction path
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
CN201710161649.5A
Other languages
Chinese (zh)
Other versions
CN106899061A (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.)
Huaqin Technology Co Ltd
Original Assignee
Huaqin Telecom Technology 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 Huaqin Telecom Technology Co Ltd filed Critical Huaqin Telecom Technology Co Ltd
Priority to CN201710161649.5A priority Critical patent/CN106899061B/en
Publication of CN106899061A publication Critical patent/CN106899061A/en
Application granted granted Critical
Publication of CN106899061B publication Critical patent/CN106899061B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The invention relates to the technical field of charging, and discloses a mobile terminal, a charging device and a charging method. In the invention, the mobile terminal is used for being connected to a charging interface of a charging device so as to receive charging voltage, and comprises a control component, at least one selector switch and a rechargeable battery; the control assembly is connected with the charging interface and the rechargeable battery, receives charging voltage from the charging interface and outputs charging current to the rechargeable battery; the control assembly is further connected to the charging interface through the change-over switch, and when the charging voltage is not larger than a first preset value, the control assembly switches a conduction path between the control assembly and the charging interface through the change-over switch so as to adjust the charging voltage. Compared with the prior art, the embodiment of the invention can avoid the electrical overstress of the mobile terminal caused by using a non-standard charger in the charging process, thereby avoiding the performance of the mobile terminal from being damaged.

Description

Mobile terminal, charging device and charging method
Technical Field
The present invention relates to the field of charging technologies, and in particular, to a mobile terminal, a charging device, and a charging method.
Background
At present, chargers for mobile terminals (such as mobile phones and tablet computers) are based on BC1.2 specifications, output voltage is 5V, and the chargers are identified as DCP (digital Controlled Potentiometers) ports through D-/D + short circuit, so as to start charging.
The existing technology does not identify any standard charger, and the charging current is completely set according to the current of the standard charger, so that the mobile terminal is easily damaged. In addition, since some inferior chargers exist in the market, EOS (Electrical Over Stress) of the mobile terminal is caused, thereby weakening or even damaging the performance of the mobile terminal.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a mobile terminal, a charging device, and a charging method, which can avoid electrical overstress of the mobile terminal caused by using a non-standard charger during charging, so as to avoid performance damage of the mobile terminal.
To solve the above technical problem, an embodiment of the present invention provides a mobile terminal for connecting to a charging interface of a charging device to receive a charging voltage, including: the control component, at least one change-over switch and the rechargeable battery; the control assembly is connected with the charging interface and the rechargeable battery, receives charging voltage from the charging interface and outputs charging current to the rechargeable battery; the control assembly is also connected to the charging interface through the selector switch; when the charging voltage is not greater than a first preset value, the control assembly switches a conduction path between the control assembly and the charging interface through the change-over switch so as to adjust the charging voltage.
An embodiment of the present invention further provides a charging device, configured to charge the mobile terminal, where the charging device includes: the logic control unit, the control chip and the charging interface; the first pin and the second pin of the logic control unit are respectively connected with the first signal end and the second signal end of the charging interface; and the control chip is respectively connected with the third pin of the logic control unit and the voltage output end of the charging interface.
An embodiment of the present invention further provides a charging method applied to a mobile terminal including at least one switch and a rechargeable battery, where the mobile terminal is configured to be connected to a charging interface of a charging device to receive a charging voltage and output the rechargeable battery to the rechargeable battery, and the method includes:
when the charging voltage is detected to be larger than a first preset value, detecting whether the charging device is a PC terminal or not according to a USB protocol; when the charging device is detected not to be the PC terminal, the charging device is judged to be a non-standard charger, and the charging current is controlled to be smaller than a second preset value; when the charging voltage value is not larger than the first preset value, switching a conduction path between the mobile terminal and the charging interface from a first conduction path to a second conduction path through the change-over switch; sending a charging voltage switching signal to the charging device through the second conduction path to control the charging device to adjust the charging voltage to a third preset value; detecting whether the charging voltage is larger than the first preset value again; when the charging voltage is not larger than the first preset value, the charger is judged to be a non-standard charger, and the charging current is controlled to be smaller than the second preset value.
Compared with the prior art, the embodiment of the invention has the advantages that at least one change-over switch is arranged in the mobile terminal, the logic control unit is arranged in the charging device, when the charging device is used for charging the mobile terminal, the charging voltage is detected, whether the charging device is a non-standard charging device is judged according to the charging voltage, when the charging device is a standard charging device or a PC terminal, the charging is normally carried out, and when the charging device is not a standard charging device, the charging current is limited, so that the electric overstress of the mobile terminal caused by the overlarge charging voltage or charging current due to the use of a non-standard charger in the charging process is avoided, and the performance of the mobile terminal is further prevented from being damaged.
In addition, the control assembly comprises a processor and a charging chip; the charging pin of the charging chip is connected with the voltage output end of the charging interface so as to receive the charging voltage; the current output pin of the charging chip is connected with the rechargeable battery so as to output the charging current to the rechargeable battery; a first pin of the change-over switch is connected with a first signal pin of the processor, a second pin of the change-over switch is connected with a first input/output pin of the processor, and a third pin of the change-over switch is connected with a first signal end of the charging interface; the processor is connected with the charging chip and reads the charging voltage through the charging chip. The embodiment provides a concrete implementation mode of the control assembly and is easy to implement.
In addition, the change-over switches are respectively a first change-over switch and a second change-over switch; a first pin of the first change-over switch is connected with a first signal pin of the processor, a second pin of the first change-over switch is connected with a first input/output pin of the processor, and a third pin of the first change-over switch is connected with a first signal end of the charging interface; the first pin of the second change-over switch is connected with the second signal pin of the processor, the second pin of the second change-over switch is connected with the second input/output pin of the processor, and the third pin of the second change-over switch is connected with the second signal end of the charging interface. By arranging the two change-over switches, when the conduction path between the mobile terminal and the charging interface is switched, one of the two change-over switches can be selected at will for switching.
In addition, the change-over switch comprises a first pin, a second pin and a third pin; when the third pin is connected with the first pin, a first conduction path corresponding to the switch is formed, and when the third pin is connected with the second pin, a second conduction path corresponding to the switch is formed;
the switching, by the switch, a conduction path between the control component and the charging interface from a first conduction path to a second conduction path specifically includes: and controlling the third pin of the change-over switch to be switched from the connection state with the first pin of the change-over switch to the connection state with the second pin of the change-over switch. The embodiment provides a specific implementation manner of switching the conduction path between the control component and the charging interface from the first conduction path to the second conduction path through the switch.
In addition, the switches are respectively a first switch and a second switch, and the switching of the conduction path between the control component and the charging interface from the first conduction path to the second conduction path through the switches specifically includes: controlling a third pin of the first change-over switch to be switched from a connection state with the first pin of the first change-over switch to a connection state with the second pin of the first change-over switch; or the third pin of the second change-over switch is controlled to be switched from the connection state with the first pin of the second change-over switch to the connection state with the second pin of the second change-over switch. The embodiment of the invention provides another specific implementation mode for switching the conduction path between the control component and the charging interface from the first conduction path to the second conduction path through the change-over switch, so that the embodiment of the invention is more flexible and changeable.
In addition, the change-over switches are respectively a first change-over switch and a second change-over switch; the detecting whether the charging device is in a PC terminal according to the USB protocol specifically includes: forming a first conduction path corresponding to the first switch and a first conduction path corresponding to the first switch between the mobile terminal and the charging interface through the first switch and the second switch respectively; sending a detection signal to the charging device through a first conduction path corresponding to the first switch; and if the charging device receives a confirmation signal corresponding to the detection signal from the charging device through the first conduction path corresponding to the second change-over switch, determining that the charging device is the PC terminal. The embodiment provides a specific implementation manner for detecting whether the charging device is a PC terminal according to the USB protocol.
Drawings
Fig. 1 is a block diagram of a mobile terminal according to a first embodiment of the present invention;
fig. 2 is a block diagram of a mobile terminal according to a second embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a block diagram showing the construction of a charging device according to a fourth embodiment of the present invention;
fig. 5 is a flowchart of a charging method according to a fifth embodiment of the present invention;
fig. 6 is a flowchart of a charging method according to a sixth embodiment of the present invention;
fig. 7 is a flowchart of a charging method according to a seventh embodiment of the present invention;
fig. 8 is a flowchart of a charging method according to an eighth embodiment of the present invention.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that in various embodiments of the invention, numerous technical details are set forth in order to provide a better understanding of the present application. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
The first embodiment of the present invention relates to a mobile terminal 100 for connecting to a charging interface 6 of a charging device to receive a charging voltage, the mobile terminal 100 of the present embodiment comprising: a control assembly 1, at least one diverter switch 2 and a rechargeable battery 3, as shown in fig. 1.
The control assembly 1 is connected to the charging interface 6 through the selector switch 2, the control assembly 1 is also connected with the rechargeable battery 3, and the control assembly 1 receives charging voltage from the charging interface 6 and outputs charging current to the rechargeable battery 3; when the charging voltage is not greater than the first preset value, the control assembly 1 switches a conduction path between the control assembly 1 and the charging interface 6 through the change-over switch 2 so as to adjust the charging voltage.
In the present embodiment, the change-over switch 2 may be a single-pole double-throw switch, or may be another electronic switch. The first preset value in this embodiment may be set in the program of the mobile terminal, for example, 4.5V, the control component 1 receives the charging voltage from the charging interface 6, and determines whether the charging voltage is greater than the first preset value (for example, 4.5V), when the charging voltage is greater than 4.5V, the first conduction path between the mobile terminal 100 and the charging interface 6 is conducted through the switch 2, in this case, the charging device may be used to charge the mobile terminal 100 through the first conduction path, when the charging voltage is not greater than 4.5V, the conduction path between the mobile terminal 100 and the charging interface 6 is switched from the first conduction path to the second conduction path through the switch 2, in this case, the control component 1 sends a control signal for adjusting the charging voltage to the charging device through the second conduction path, after the charging device receives the control signal, and adjusting the output charging voltage.
Compared with the prior art, the embodiment has the advantages that the at least one change-over switch is additionally arranged in the mobile terminal, so that the control assembly and the charging interface can be switched between two different conduction paths, the charging voltage can be conveniently adjusted in time when the charging voltage is not greater than the preset value, and the protection of the mobile terminal during charging is facilitated.
A second embodiment of the present invention relates to a mobile terminal 100. The second embodiment is refined on the basis of the first embodiment, and the refinement is that: in the present embodiment, a specific implementation of the control assembly 1 is provided, as shown in fig. 2.
Specifically, the control assembly 1 in this embodiment includes a processor 11 and a charging chip 12; the charging pin 121 of the charging chip 12 is connected to the voltage output end 63 of the charging interface 6 to receive the charging voltage; the current output pin 122 of the charging chip 12 is connected to the rechargeable battery 3 to output a charging current to the rechargeable battery 3; the first pin 21 of the switch 2 is connected to the first signal pin 111 of the processor 11, the second pin 22 of the switch 2 is connected to the first input/output pin 112 of the processor 11, and the third pin 23 of the switch 2 is connected to the first signal terminal 61 of the charging interface 6; the processor 11 is connected to the charging chip 12, and reads the charging voltage through the charging chip 12.
In this embodiment, the charging interface 6 may be a USB interface, the voltage output end 63 may be a VBUS end, the first signal end 61 may be one of a D + end or a D-end, when the first signal end 61 is a D + end, the first signal pin 111 of the processor 11 is a D + signal pin, and the D-end of the charging interface 6 is directly connected to the D-signal pin of the processor; when the first signal terminal 61 is a D-terminal, the first signal pin 111 of the processor 11 is a D-signal pin, and the D + terminal of the charging interface 6 is directly connected to the D + signal pin of the processor; the first input/output pin 112 of the processor 11 is a general purpose GPIO pin.
The first preset value in this embodiment can be set in the program of the mobile terminal, for example, 4.5V, the processor 11 reads the charging voltage through the charging chip 12, and determines whether the charging voltage is greater than the first preset value (for example, 4.5V), when the charging voltage is greater than 4.5V, the first signal terminal 61 is conducted with the first signal pin 111 through the switch 2 (i.e., the first conducting path of the switch 2 is conducted), in this case, the charging device can be used to charge the mobile terminal 100 through the first conducting path of the switch 2, when the charging voltage is not greater than 4.5V, the first signal terminal 61 is conducted with the first input/output pin 112 through the switch 2 (i.e., the second conducting path of the switch 2 is conducted), in this case, the control component 1 sends the control signal for adjusting the charging voltage to the charging device through the second conducting path of the switch 2, and after receiving the control signal, the charging device adjusts the output charging voltage.
The embodiment provides a concrete implementation mode of the control assembly and is easy to implement.
A third embodiment of the present invention relates to a mobile terminal 100. The third embodiment is improved on the basis of the second embodiment, and the improvement is that: in the present embodiment, there may be two change-over switches 2, as shown in fig. 3.
Specifically, the number of the switches in this embodiment is two, that is, the first switch 21 and the second switch 22.
The first pin connection 211 of the first switch 21 is connected to the first signal pin 111 of the processor 11, the second pin 212 of the first switch 21 is connected to the first input/output pin 112 of the processor 11, and the third pin 213 of the first switch 21 is connected to the first signal terminal 61 of the charging interface 6.
The first pin 221 of the second switch 22 is connected to the second signal pin 113 of the processor 11, the second pin 222 of the second switch 22 is connected to the second input/output pin 114 of the processor 11, and the third pin 223 of the second switch 22 is connected to the second signal terminal 62 of the charging interface 6.
In this embodiment, the charging interface 6 may be a USB interface, the first signal terminal 61 may be one of a D + terminal or a D-terminal, the second signal terminal 62 is the other of the D + terminal or the D-terminal, the first signal pin 111 is a pin corresponding to the first signal terminal 61, the second signal pin 113 is a pin corresponding to the second signal terminal 62, the first input/output pin 112 and the second input/output pin 114 are both general GPIO pins, the first signal terminal 61 is a D + terminal for description, the second signal terminal 62 is a D-terminal, the first signal pin 111 is a D + signal pin, and the second signal pin 113 is a D-signal pin.
The first preset value in this embodiment may also be set in the program of the mobile terminal, for example, 4.5V, the processor 11 reads the charging voltage through the charging chip 12, and determines whether the charging voltage is greater than the first preset value (for example, 4.5V), when the charging voltage is greater than 4.5V, the first signal terminal 61 is conducted with the first signal pin 111 through the first switch 21 (i.e., the first conduction path of the first switch 21 is conducted), and the second signal terminal 62 is conducted with the second signal pin 113 through the second switch 22 (i.e., the first conduction path of the second switch 22 is conducted), in this case, the charging device may be used to charge the mobile terminal 100 through the USB connection line; when the charging voltage is not greater than 4.5V, the first signal terminal 61 is conducted with the first input/output pin 112 through the first switch 21 (i.e., the second conducting path of the first switch 21 is conducted), or the second signal terminal 62 is conducted with the second input/output pin 114 through the second switch 22 (i.e., the second conducting path of the second switch 22 is conducted), in this case, a control signal for adjusting the charging voltage may be sent to the charging device through the second conducting path of the first switch 21 or the second conducting path of the second switch 22, and the charging device adjusts the output charging voltage after receiving the control signal.
In the embodiment of the invention, two change-over switches are arranged, and when a control signal needs to be sent to the charging device to adjust the output charging voltage, one of the two change-over switches can be selected at will for switching, so that the embodiment of the invention is simpler and more convenient.
A fourth embodiment of the present invention relates to a charging device for charging the mobile terminal 100 in the first, second, or third embodiment, the charging device of the present embodiment including: a logic control unit 7, a control chip 8 and a charging interface 6, as shown in fig. 4.
Specifically, the first pin 71 and the second pin 72 of the logic control unit 7 are respectively connected to the first signal terminal 61 and the second signal terminal 62 of the charging interface 6; the control chip 8 is connected to the third pin 73 of the logic control unit 7 and the voltage output terminal 63 of the charging interface 6, respectively.
In this embodiment, the charging interface 6 may be a USB interface, the voltage output end 63 is a VBUS end, the first signal end 61 may be one of a D + end or a D-end, the second signal end 62 is the other of the D + end or the D-end, the first pin 71 is a pin corresponding to the first signal end 61, the second pin 72 is a pin corresponding to the second signal end 62, and the first signal end 61 is the D + end for explanation, the second signal end 62 is the D-end, the first pin 71 is the D + pin, and the second pin 72 is the D-pin, after receiving the control signal sent by the control component 1, the logic control unit 7 sends a signal for adjusting voltage to the control chip 8, and then the control chip 8 adjusts the output charging voltage according to the received signal for adjusting voltage.
Compared with the prior art, the charging device is provided with the logic control unit, so that the charging voltage output by the charging device can be conveniently adjusted, and the protection of the mobile terminal in charging is facilitated.
A fifth embodiment of the present invention relates to a charging method, which is applied to a mobile terminal including at least one switch and a rechargeable battery, where the mobile terminal is configured to be connected to a charging interface of a charging device to receive a charging voltage and output the rechargeable battery to the rechargeable battery, and in this embodiment, the mobile terminal includes the switch as an example, and a flow of the charging method is as shown in fig. 5, and specifically includes the following steps:
in step 501, it is determined whether the charging voltage is greater than a first preset value. Specifically, the first preset value in this embodiment may be set in a program of the mobile terminal, for example, 4.5V, if the determination result in this step is yes, it indicates that the charging voltage is greater than the first preset value, step 502 is entered, otherwise, it indicates that the charging voltage is not greater than the first preset value, step 504 is entered.
In step 502, whether the charging device is a PC terminal is detected according to the USB protocol. Specifically, if the determination result in this step is yes, it indicates that the charging device is detected to be the PC side, the step 507 is performed for normal charging, otherwise, it indicates that the charging device is detected not to be the PC side, and the step 503 is performed.
In step 503, the charging device is determined to be a non-standard charger, and the charging current is controlled to be smaller than a second preset value. Specifically, the second preset value of this embodiment may also be set in the program of the mobile terminal, for example, 500mA, when the charging device is a non-standard charger, the charging current is controlled to be smaller than the second preset value, so as to limit the charging current, and avoid electrical overstress of the mobile terminal caused by too large charging current when the non-standard charger is used for charging, thereby avoiding the performance of the mobile terminal from being damaged.
In step 504, a conduction path between the mobile terminal and the charging interface is switched from a first conduction path to a second conduction path through a switch. When the second conduction path is conducted, the mobile terminal and the charging device can transmit the control signal.
In step 505, a charging voltage switching signal is sent to the charging device through the second conduction path to control the charging device to adjust the charging voltage to a third preset value. Specifically, the third preset value of this embodiment may also be set in the program of the mobile terminal, and the third preset value should be greater than the first preset value, for example, 5V.
In step 506, it is detected whether the charging voltage is greater than a first preset value. Specifically, if the determination result in this step is that the charging voltage is greater than the first preset value, it indicates that the charging device is a standard charger, and then step 507 is entered, otherwise, it indicates that the charging voltage is not greater than the first preset value, it indicates that the charging device is a non-standard charger, and then step 503 is entered.
In step 507, normal charging is performed.
Compared with the prior art, when charging for mobile terminal using charging device, through detecting charging voltage, judge whether charging device is the non-standard charging device of joining in marriage according to charging voltage, when charging device is the standard charging device or is the PC end, normal charging, when charging device is not the standard charging device of joining in marriage, restriction charging current, thereby avoid in the charging process because use the non-standard charger of joining in marriage and lead to charging voltage or charging current too big arouse mobile terminal's electric overstress, and then avoid mobile terminal to be damaged, improve mobile terminal's performance.
It should be understood that this embodiment is a method embodiment corresponding to the first embodiment, and the embodiment can be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
A sixth embodiment of the present invention relates to a charging method, which is detailed on the basis of the fifth embodiment, and the detailed point is that the present embodiment provides a specific implementation manner that the conduction path between the control component and the charging interface is switched from the first conduction path to the second conduction path through the switch.
In this embodiment, the switch includes a first pin, a second pin and a third pin; when the third pin is connected with the first pin, a first conduction path corresponding to the switch is formed, and when the third pin is connected with the second pin, a second conduction path corresponding to the switch is formed; the flow of the charging method of this embodiment is shown in fig. 6, and specifically includes the following steps:
in step 601, it is determined whether the charging voltage is greater than a first preset value. Specifically, the first preset value in this embodiment may be set in a program of the mobile terminal, for example, 4.5V, if the determination result in this step is yes, it indicates that the charging voltage is greater than the first preset value, step 602 is entered, otherwise, it indicates that the charging voltage is not greater than the first preset value, step 604 is entered.
In step 602, it is detected whether the charging device is a PC terminal according to the USB protocol. Specifically, if the determination result in this step is yes, it indicates that the charging device is detected to be the PC side, the step 607 is performed for normal charging, otherwise, it indicates that the charging device is detected not to be the PC side, and the step 603 is performed.
In step 603, the charging device is determined to be a non-standard charger, and the charging current is controlled to be smaller than a second preset value. Specifically, the second preset value of this embodiment may also be set in the program of the mobile terminal, for example, 500mA, when the charging device is a non-standard charger, the charging current is controlled to be smaller than the second preset value, so as to limit the charging current, and avoid electrical overstress of the mobile terminal caused by too large charging current when the non-standard charger is used for charging, thereby avoiding the performance of the mobile terminal from being damaged.
In step 604, the third pin of the switch is controlled to switch from the connection state with the first pin of the switch to the connection state with the second pin of the switch. Specifically, the third pin of the change-over switch is switched to the second pin of the change-over switch from the connection state with the first pin of the change-over switch, so that the conduction path between the mobile terminal and the charging interface can be switched from the first conduction path to the second conduction path.
In step 605, a charging voltage switching signal is sent to the charging device through the second conduction path to control the charging device to adjust the charging voltage to a third preset value. Specifically, the third preset value of this embodiment may also be set in the program of the mobile terminal, and the third preset value should be greater than the first preset value, for example, 5V. In this embodiment, the charging device may adjust the charging voltage to the third preset value according to the control signal by sending the control signal for adjusting the charging voltage to the third preset value to the charging device, and then the mobile terminal receives the charging voltage of the third preset value output by the charging device.
In step 606, it is detected whether the charging voltage is greater than a first preset value. Specifically, if the determination result in this step is yes, it indicates that the charging device is a standard charger if the charging voltage is greater than the first preset value, the step 607 is entered, otherwise, it indicates that the charging device is a non-standard charger if the charging voltage is not greater than the first preset value, and the step 603 is entered.
In step 607, charging is normal.
Since the second embodiment corresponds to the present embodiment, the present embodiment can be implemented in cooperation with the second embodiment. The related technical details mentioned in the second embodiment are still valid in this embodiment, and the technical effects that can be achieved in the second embodiment can also be achieved in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the second embodiment.
A seventh embodiment of the present invention relates to a charging method, which is an improvement over the fifth embodiment in that the present embodiment provides another implementation manner of switching the conduction path between the control component and the charging interface from the first conduction path to the second conduction path through the switch.
In this embodiment, the switches are a first switch and a second switch, respectively, and the flow of the charging method of this embodiment is shown in fig. 7, which is as follows:
in step 701, it is determined whether the charging voltage is greater than a first preset value. Specifically, the first preset value in this embodiment may be set in a program of the mobile terminal, for example, 4.5V, in this step, if the determination result is yes, it indicates that the charging voltage is greater than the first preset value, step 702 is entered, otherwise, it indicates that the charging voltage is not greater than the first preset value, step 704 is entered.
In step 702, it is detected whether the charging device is a PC terminal according to the USB protocol. Specifically, if the determination result in this step is yes, it indicates that the charging device is detected to be the PC side, the step 707 is performed to perform normal charging, otherwise, it indicates that the charging device is detected not to be the PC side, and the step 703 is performed.
In step 703, the charging device is determined to be a non-standard charger, and the charging current is controlled to be smaller than a second preset value. Specifically, the second preset value of this embodiment may also be set in the program of the mobile terminal, for example, 500mA, when the charging device is a non-standard charger, the charging current is controlled to be smaller than the second preset value, so as to limit the charging current, and avoid electrical overstress of the mobile terminal caused by too large charging current when the non-standard charger is used for charging, thereby avoiding the performance of the mobile terminal from being damaged.
In step 704, controlling the third pin of the first switch to switch from the connection state with the first pin of the first switch to the connection state with the second pin of the first switch; or the third pin of the second change-over switch is controlled to be switched from the connection state with the first pin of the second change-over switch to the connection state with the second pin of the second change-over switch. Specifically, in this embodiment, the third pin of the first switch is controlled to switch from the connection state with the first pin of the first switch to the connection state with the second pin of the first switch, so that the first conduction path corresponding to the first switch can be switched to the second conduction path corresponding to the first switch, and the third pin of the second switch is controlled to switch from the connection state with the first pin of the second switch to the connection state with the second pin of the second switch, so that the first conduction path corresponding to the second switch can be switched to the second conduction path corresponding to the second switch.
In step 705, a charging voltage switching signal is sent to the charging device through the second conduction path to control the charging device to adjust the charging voltage to a third preset value. Specifically, the third preset value of this embodiment may also be set in the program of the mobile terminal, and the third preset value should be greater than the first preset value, for example, 5V.
In step 706, it is detected whether the charging voltage is greater than a first preset value. Specifically, if the determination result in this step is yes, it indicates that the charging device is a standard charger, step 707 is entered, otherwise, it indicates that the charging device is a non-standard charger, and step 703 is entered.
In step 707, normal charging is performed.
This embodiment is a method embodiment corresponding to the third embodiment, and can be implemented in cooperation with the third embodiment. The related technical details mentioned in the third embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the third embodiment.
An eighth embodiment of the present invention relates to a charging method, and the present embodiment is detailed on the basis of the seventh embodiment, and mainly provides a specific implementation manner for detecting whether a charging device is a PC terminal according to a USB protocol.
In this embodiment, the switches are a first switch and a second switch, respectively, and a first conduction path corresponding to the first switch and a first conduction path corresponding to the second switch are formed between the mobile terminal and the charging interface through the first switch and the second switch, respectively; the flow of the charging method of this embodiment is shown in fig. 8, and specifically includes the following steps:
in step 801, it is determined whether the charging voltage is greater than a first preset value. Specifically, the first preset value in this embodiment may be set in a program of the mobile terminal, for example, 4.5V, if the determination result in this step is yes, it indicates that the charging voltage is greater than the first preset value, step 802 is entered, otherwise, it indicates that the charging voltage is not greater than the first preset value, step 804 is entered.
In step 802, it is detected whether the charging device is a PC terminal according to the USB protocol. Specifically, this step includes sub-step 8021 and sub-step 8022.
In sub-step 8021, the detection signal is sent to the charging device through the first conduction path corresponding to the first switch.
In sub-step 8022, it is determined whether an acknowledgement signal corresponding to the detection signal can be received from the charging apparatus through the first conduction path corresponding to the second switch. Specifically, if the determination result in this step is that it indicates that the charging device can receive the corresponding confirmation signal through the first conduction path corresponding to the second switch, the step 807 is performed if it is determined that the charging device is the PC terminal, otherwise, it is determined that the charging device cannot receive the corresponding confirmation signal through the first conduction path corresponding to the second switch, the step 803 is performed if it is determined that the charging device is not the PC terminal.
In this embodiment, the first conduction path is turned on in the initial state of the first switch and the initial state of the second switch, that is, when charging is started, the first conduction path corresponding to the first switch is turned on and the first conduction path corresponding to the second switch is turned on. However, in other embodiments, if the initial state of the first switch and/or the second switch is not the first conduction path, the first conduction paths of the first switch and the second switch are controlled to be in the conduction state before detecting whether the charging device is the PC terminal according to the USB protocol.
In step 803, the charging device is determined to be a non-standard charger, and the charging current is controlled to be smaller than a second preset value. Specifically, the second preset value of this embodiment may also be set in the program of the mobile terminal, for example, 500mA, when the charging device is a non-standard charger, the charging current is controlled to be smaller than the second preset value, so as to limit the charging current, and avoid electrical overstress of the mobile terminal caused by too large charging current when the non-standard charger is used for charging, thereby avoiding the performance of the mobile terminal from being damaged.
In step 804, controlling the third pin of the first switch to switch from the connection state with the first pin of the first switch to the connection state with the second pin of the first switch; or the third pin of the second change-over switch is controlled to be switched from the connection state with the first pin of the second change-over switch to the connection state with the second pin of the second change-over switch. Specifically, in this embodiment, the third pin of the first switch is controlled to switch from the connection state with the first pin of the first switch to the connection state with the second pin of the first switch, so that the first conduction path corresponding to the first switch can be switched to the second conduction path corresponding to the first switch, and the third pin of the second switch is controlled to switch from the connection state with the first pin of the second switch to the connection state with the second pin of the second switch, so that the first conduction path corresponding to the second switch can be switched to the second conduction path corresponding to the second switch.
In step 805, a charging voltage switching signal is sent to the charging device through the second conduction path to control the charging device to adjust the charging voltage to a third preset value. Specifically, the third preset value of this embodiment may also be set in the program of the mobile terminal, and the third preset value should be greater than the first preset value, for example, 5V. In this embodiment, the charging voltage switching signal may be sent to the charging device through the second conduction path corresponding to the first switch, or the charging voltage switching signal may be sent to the charging device through the second conduction path corresponding to the second switch.
In step 806, it is detected whether the charging voltage is greater than a first preset value. Specifically, if the determination result in this step is yes, it indicates that the charging device is a standard charger if the charging voltage is greater than the first preset value, the step 807 is entered, otherwise, it indicates that the charging device is a non-standard charger if the charging voltage is not greater than the first preset value, and the step 803 is entered.
In step 807, normal charging is performed.
It should be noted that, the number of the switch in this embodiment may also be one, and the first pin of the switch may be connected to the D + signal pin of the processor or the D-signal pin of the processor. When a first pin of the switch is connected with a D + signal pin of the processor, a second pin of the switch is connected with a GPIO pin of the processor, a third pin of the switch is connected with a D + end of a charging interface, the D-signal pin of the processor is directly connected with the D-end of the charging interface, when whether the charging device is a PC end or not is detected according to a USB protocol, a detection signal can be sent to the charging device through a first conduction path of the switch (namely the D + signal pin of the processor is conducted with the D + end of the charging interface), and then whether a confirmation signal corresponding to the detection signal can be received from the charging device through a path between the D-signal pin and the D-end or not is judged; when the first pin of the change-over switch is connected with the D-signal pin of the processor, the second pin of the change-over switch is connected with the GPIO pin of the processor, the third pin of the change-over switch is connected with the D-signal end of the charging interface, the D + signal pin of the processor is directly connected with the D + end of the charging interface, when whether the charging device is a PC end or not is detected according to the USB protocol, a detection signal can be sent to the charging device through a path between the D + signal pin and the D + end, and then whether a confirmation signal corresponding to the detection signal can be received from the charging device through the first conduction path of the change-over switch (namely the D-signal pin of the processor is conducted with the D-end of the charging interface) is judged.
The embodiment provides a specific implementation manner for detecting whether the charging device is a PC terminal according to the USB protocol.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the steps contain the same logical relationship, which is within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
Those skilled in the art can understand that all or part of the steps in the method of the foregoing embodiments may be implemented by a program to instruct related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific embodiments for practicing the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (8)

1. A mobile terminal for connecting to a charging interface of a charging device to receive a charging voltage, the mobile terminal comprising: the control component, at least one change-over switch and the rechargeable battery;
the control assembly is connected with the charging interface and the rechargeable battery, receives charging voltage from the charging interface and outputs charging current to the rechargeable battery;
the control assembly is also connected to the charging interface through the selector switch;
the control assembly comprises a processor and a charging chip;
the charging pin of the charging chip is connected with the voltage output end of the charging interface so as to receive the charging voltage;
the current output pin of the charging chip is connected with the rechargeable battery so as to output the charging current to the rechargeable battery;
a first pin of the change-over switch is connected with a first signal pin of the processor, a second pin of the change-over switch is connected with a first input/output pin of the processor, and a third pin of the change-over switch is connected with a first signal end of the charging interface;
the processor is connected with the charging chip and reads the charging voltage through the charging chip;
when the charging voltage is greater than a first preset value, a first signal end of the charging interface is conducted with a first signal pin of the processor through the selector switch, and the control assembly is charged through the charging device;
when the charging voltage is not greater than a first preset value, a first signal end of the charging interface is conducted with a first input/output pin of the processor through the change-over switch, and the control assembly sends a control signal for adjusting the charging voltage to the charging device through a conducting path of the change-over switch so as to adjust the charging voltage.
2. The mobile terminal of claim 1, wherein the switches are a first switch and a second switch, respectively;
a first pin of the first change-over switch is connected with a first signal pin of the processor, a second pin of the first change-over switch is connected with a first input/output pin of the processor, and a third pin of the first change-over switch is connected with a first signal end of the charging interface;
the first pin of the second change-over switch is connected with the second signal pin of the processor, the second pin of the second change-over switch is connected with the second input/output pin of the processor, and the third pin of the second change-over switch is connected with the second signal end of the charging interface.
3. A charging device for charging the mobile terminal of claim 1 or claim 2, characterized in that the charging device comprises: the logic control unit, the control chip and the charging interface;
the first pin and the second pin of the logic control unit are respectively connected with the first signal end and the second signal end of the charging interface;
and the control chip is respectively connected with the third pin of the logic control unit and the voltage output end of the charging interface.
4. A charging method is applied to a mobile terminal comprising at least one switch and a rechargeable battery, wherein the mobile terminal is used for being connected to a charging interface of a charging device so as to receive a charging voltage and output a charging current to the rechargeable battery, and the method comprises the following steps:
when the charging voltage is detected to be larger than a first preset value, detecting whether the charging device is a PC terminal or not according to a USB protocol;
when the charging device is detected not to be the PC terminal, the charging device is judged to be a non-standard charger, and the charging current is controlled to be smaller than a second preset value;
when the charging voltage value is not larger than the first preset value, switching a conduction path between the mobile terminal and the charging interface from a first conduction path to a second conduction path through the change-over switch;
sending a charging voltage switching signal to the charging device through the second conduction path to control the charging device to adjust the charging voltage to a third preset value;
detecting whether the charging voltage is larger than the first preset value again;
when the charging voltage is not larger than the first preset value, the charger is judged to be a non-standard charger, and the charging current is controlled to be smaller than the second preset value.
5. The charging method according to claim 4, wherein the switch comprises a first pin, a second pin, and a third pin; when the third pin is connected with the first pin, a first conduction path corresponding to the switch is formed, and when the third pin is connected with the second pin, a second conduction path corresponding to the switch is formed;
the switching, by the switch, a conduction path between the control component and the charging interface from a first conduction path to a second conduction path specifically includes:
and controlling the third pin of the change-over switch to be switched from the connection state with the first pin of the change-over switch to the connection state with the second pin of the change-over switch.
6. The charging method according to claim 5, wherein the switches are a first switch and a second switch, respectively, and the switching, by the switches, the switching the conduction path between the control component and the charging interface from the first conduction path to the second conduction path includes:
controlling a third pin of the first change-over switch to be switched from a connection state with the first pin of the first change-over switch to a connection state with the second pin of the first change-over switch;
or the third pin of the second change-over switch is controlled to be switched from the connection state with the first pin of the second change-over switch to the connection state with the second pin of the second change-over switch.
7. The charging method according to claim 4, wherein the switches are a first switch and a second switch, respectively;
the detecting whether the charging device is in a PC terminal according to the USB protocol specifically includes:
forming a first conduction path corresponding to the first switch and a first conduction path corresponding to the second switch between the mobile terminal and the charging interface through the first switch and the second switch respectively;
sending a detection signal to the charging device through a first conduction path corresponding to the first switch;
and if the charging device receives a confirmation signal corresponding to the detection signal from the charging device through the first conduction path corresponding to the second change-over switch, determining that the charging device is the PC terminal.
8. The charging method according to claim 4, wherein the controlling the charging device to adjust the charging voltage to a third preset value specifically comprises:
sending a control signal for adjusting the charging voltage to a third preset value to the charging device, so that the charging device adjusts the charging voltage to the third preset value according to the control signal;
and receiving a charging voltage of a third preset value output by the charging device.
CN201710161649.5A 2017-03-17 2017-03-17 Mobile terminal, charging device and charging method Active CN106899061B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710161649.5A CN106899061B (en) 2017-03-17 2017-03-17 Mobile terminal, charging device and charging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710161649.5A CN106899061B (en) 2017-03-17 2017-03-17 Mobile terminal, charging device and charging method

Publications (2)

Publication Number Publication Date
CN106899061A CN106899061A (en) 2017-06-27
CN106899061B true CN106899061B (en) 2020-05-15

Family

ID=59192941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710161649.5A Active CN106899061B (en) 2017-03-17 2017-03-17 Mobile terminal, charging device and charging method

Country Status (1)

Country Link
CN (1) CN106899061B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108964188B (en) * 2018-07-24 2020-12-18 南京车链科技有限公司 Mobile terminal charging control circuit, charging circuit and electronic equipment
CN111711254B (en) * 2020-08-06 2020-11-24 苏州明纬科技有限公司 Universal charging device and charging method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102468659A (en) * 2010-11-09 2012-05-23 中兴电工机械股份有限公司 Charging control system and method thereof
JP2014039400A (en) * 2012-08-16 2014-02-27 Sony Corp Battery pack, charger, charging system, and charging method
CN106026257B (en) * 2016-06-24 2018-09-04 青岛海信移动通信技术股份有限公司 A kind of mobile terminal

Also Published As

Publication number Publication date
CN106899061A (en) 2017-06-27

Similar Documents

Publication Publication Date Title
US9906061B2 (en) Quick charging mobile terminal, method and system
US9904267B2 (en) Method and apparatus for determining direction of power delivery
CN106537720B (en) Charging method and electronic device
EP3200311B1 (en) Method and device for controlling charging and electronic device
JP6198258B2 (en) Power supply terminal, and charging control method and apparatus
EP3982506B1 (en) Terminal device charging method and apparatus, and storage medium
TWI486771B (en) Mobile phone and system and method for transferring power
JP2019534672A (en) Charging method, terminal and charging adapter
KR20160015613A (en) Charging control Method and Device
CN109254210B (en) Electronic equipment port type detection method and device, detection circuit and electronic equipment
CN101853970A (en) Method and device for charging through universal serial bus (USB) interface
CN104158251A (en) Terminal, charger and charging method
WO2019052386A1 (en) Terminal device, charger, charging system and charging method
CN106899061B (en) Mobile terminal, charging device and charging method
CN105071484A (en) Charging method and apparatus of terminal having data exchange function
CN107885688B (en) Signal switching method and device
CN105048018A (en) Charging method and device for terminal having on-the-go (OTG) function
EP3330835A1 (en) Power adapter, terminal device, charging system, and charging method
JP7111803B6 (en) Charging method, terminal and computer storage medium
CN216530587U (en) Power supply connector for supplying power to master equipment and slave equipment
CN106487061B (en) Charging circuit and method
US10742057B2 (en) Self-loop detection method and apparatus for charging device
CN113377185B (en) Embedded equipment, power supply switching method and device thereof and storage medium
CN107204645B (en) Portable charging device
CN107437839B (en) Charging processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Building 1, 399 Keyuan Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 201203

Patentee after: Huaqin Technology Co.,Ltd.

Address before: Building 1, No. 399 Keyuan Road, Pudong New Area, Shanghai, 201203

Patentee before: Huaqin Technology Co.,Ltd.

Address after: Building 1, No. 399 Keyuan Road, Pudong New Area, Shanghai, 201203

Patentee after: Huaqin Technology Co.,Ltd.

Address before: Building 1, No. 399 Keyuan Road, Zhangjiang hi tech park, Pudong New Area, Shanghai, 201203

Patentee before: HUAQIN TELECOM TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address