CN109004708B - Charging equipment and mobile terminal - Google Patents

Charging equipment and mobile terminal Download PDF

Info

Publication number
CN109004708B
CN109004708B CN201810844370.1A CN201810844370A CN109004708B CN 109004708 B CN109004708 B CN 109004708B CN 201810844370 A CN201810844370 A CN 201810844370A CN 109004708 B CN109004708 B CN 109004708B
Authority
CN
China
Prior art keywords
pin
charging
mobile terminal
battery
interface
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
CN201810844370.1A
Other languages
Chinese (zh)
Other versions
CN109004708A (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 CN201810844370.1A priority Critical patent/CN109004708B/en
Publication of CN109004708A publication Critical patent/CN109004708A/en
Application granted granted Critical
Publication of CN109004708B publication Critical patent/CN109004708B/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/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • H02J7/0085
    • H02J7/0091

Landscapes

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

Abstract

The embodiment of the invention provides a charging device and a mobile terminal, wherein the charging device comprises: a communication signal line; the first interface is positioned at one end of the communication signal line and is used for being connected with power supply equipment or a power adapter; the second interface is positioned at the other end of the communication signal wire and is used for being connected with a charging interface of the mobile terminal; the first control unit is connected with the second interface and used for receiving the charging parameters configured by the mobile terminal through the second interface and outputting a charging control signal according to the charging parameters; and the charging circuit is respectively connected with the first interface, the second interface and the first control unit and is used for charging the mobile terminal according to the charging control signal. Through the mode, the method and the device can ensure the charging rate and the smoothness of the multimedia application operation when the user uses the mobile terminal while charging, solve the problem of temperature rise caused by using the mobile terminal while charging, and improve the user experience.

Description

Charging equipment and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of terminal charging, in particular to charging equipment and a mobile terminal.
Background
With the rapid development of mobile communication technology, mobile terminals have become irreplaceable communication tools in people's daily life, and the use functions of the mobile terminals are more and more abundant, so that the mobile terminals not only can meet the most basic communication requirements of people, but also provide a plurality of multimedia applications (such as games, videos, photos and the like) for people to use. The daily use proportion of the multimedia application is continuously improved, but the multimedia application is large in power consumption when running, the battery endurance capacity is greatly reduced due to long-time running, the temperature of the mobile terminal is increased, and the multimedia application is generally selected by a user when charging and running in order to avoid automatic shutdown caused by low electric quantity of the mobile terminal.
And under the scene of charging, the mobile terminal can be caused to generate heat by the dissipation power of the built-in charging circuit of the mobile terminal, the temperature rise of the whole machine brought under the scene of standby charging at normal temperature is about 10 ℃, at the moment, the temperature of the mobile terminal is close to the temperature of a human body, and the human body can sense the charging and the heating of the mobile terminal. Under the non-charging scene, the temperature rise of the whole machine caused by normal-temperature operation of a large 3D game is generally more than 10 ℃, at the moment, the temperature of the mobile terminal exceeds the temperature of a human body, and the human body can obviously feel that the mobile phone generates heat. Under the scene of charging, large-scale 3D recreation of operation simultaneously, whole quick-witted temperature rise can exceed standard far away, and the people can strongly feel mobile terminal and send out scalding. In order to solve the problem of temperature rise caused by running multimedia applications while charging and reduce the temperature rise of the whole machine to within the standard, the prior art adopts a mode of limiting charging current and reducing the performance of a Central Processing Unit (CPU for short) and a Graphics Processing Unit (GPU for short). However, this processing method will result in a longer charging time, which will affect the user experience of using the multimedia application.
Therefore, the problem of temperature rise caused by using the mobile terminal while charging is an urgent technical problem to be solved at present.
Disclosure of Invention
The embodiment of the invention provides a charging device and a mobile terminal, and aims to solve the problem of temperature rise caused by the fact that the mobile terminal is used while charging is carried out.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a charging device, including:
a communication signal line;
the first interface is positioned at one end of the communication signal line and is used for being connected with power supply equipment or a power adapter;
the second interface is positioned at the other end of the communication signal wire and is used for being connected with a charging interface of the mobile terminal;
the first control unit is connected with the second interface and used for receiving the charging parameters configured by the mobile terminal through the second interface and outputting a charging control signal according to the charging parameters;
and the charging circuit is respectively connected with the first interface, the second interface and the first control unit and is used for charging the mobile terminal according to the charging control signal.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
the charging interface is used for being connected with charging equipment;
a battery;
the second control unit is respectively connected with the charging interface and the battery, and is used for configuring charging parameters for charging the battery and sending the charging parameters to the charging equipment through the charging interface;
and the connecting line is used for connecting the charging interface and the battery.
In the embodiment of the invention, the charging circuit is transferred to the outside of the mobile terminal, so that when a user uses the mobile terminal while charging, the charging current is not required to be limited, the charging rate is ensured, the performances of a CPU (Central processing Unit) and a GPU (graphics processing Unit) are not required to be reduced, the smoothness of the operation of multimedia applications is ensured, the problem of temperature rise caused by using the mobile terminal while charging is solved, and the user experience is greatly improved.
Drawings
Fig. 1 is a schematic structural diagram of a charging device according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a charging device according to some preferred embodiments of the present invention;
FIG. 3 is a pin definition diagram for standard USB Type-C;
FIG. 4 is a pin definition diagram for a modified USBType-C according to some preferred embodiments of the present invention;
FIG. 5 is a schematic circuit diagram of a charging device in accordance with some preferred embodiments of the invention;
FIG. 6 is a pin definition diagram of a modified USBType-C according to alternative embodiment of the present invention;
FIGS. 7-8 are schematic circuit diagrams of charging devices according to further preferred embodiments of the present invention;
fig. 9-10 are schematic structural views of charging devices according to some preferred embodiments of the present invention;
fig. 11 is a circuit diagram of a mobile terminal according to a second embodiment of the present invention;
fig. 12 is a circuit schematic of a mobile terminal according to some preferred embodiments of the present invention.
Description of reference numerals:
1-a first pin; 2-a second pin; 3-a third pin; 4-a fourth pin; 5-a fifth pin; 6-sixth pin; 7-a seventh pin; 8-eighth pin; 9-ninth pin; 10-tenth pin; 11-eleventh pin; 12-twelfth pin; 100-a charging device; 101-a communication signal line; 102-a first interface; 13-a second interface; 14-a first control unit; 15-a charging circuit; 16-digital signal ground; 17-a power adapter; k1 — first switch; k2 — second switch; k3 — third switch; k4-fourth switch; k5 — fifth switch; k6 — sixth switch; k7-seventh switch; k8 — eighth switch; 110-a mobile terminal; 111-a charging interface; 112-a battery; 113-a second control unit; 114-a connection line; 115-a host system; 116-a controllable switch; q1-a first field effect transistor; q2-a second field effect transistor; q3-third field effect transistor.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a charging apparatus according to a first embodiment of the present invention, where the charging apparatus 100 includes:
a communication signal line 101;
a first interface 102, located at one end of the communication signal line 101, for connecting with a power supply device or a power adapter;
the second interface 13 is located at the other end of the communication signal line 101 and is used for being connected with a charging interface of the mobile terminal;
the first control unit 14 is connected to the second interface 13, and configured to receive the charging parameter configured by the mobile terminal through the second interface 13, and output a charging control signal according to the charging parameter;
and a charging circuit 15, connected to the first interface 102, the second interface 13 and the first control unit 14, respectively, and configured to charge the mobile terminal according to the charging control signal.
The charging device of the embodiment of the invention transfers the charging circuit arranged on the mainboard of the mobile terminal to the external accessories of the mobile terminal, namely: the charging circuit is removed from the mainboard of the mobile terminal and integrated on the communication signal line, and the mobile terminal basically does not generate heat when only the battery of the mobile terminal is charged and the mobile terminal is not used due to the fact that the heating source (namely, the charging circuit) is transferred to the outside of the mobile terminal; when the mobile terminal is used while charging, the situation that the mobile phone is scalded due to the heat productivity of the superposed charging circuit can be avoided, the temperature rise of the mobile terminal is not required to be controlled by limiting the charging current and reducing the performance of the CPU and the GPU, the charging rate and the smoothness of multimedia application operation can be ensured, the problem of temperature rise caused by using the mobile terminal while charging is solved, and the user experience is improved.
In the above embodiment, the charging circuit may be a normal 5V/2A charging circuit, a high-voltage fast-charging 12V/2A charging circuit, a 9V/2A charging circuit, or a low-voltage direct-charging 5V/4.5A charging circuit, which is not limited in the present invention.
In some preferred embodiments of the present invention, the communication signal line may be a USB communication signal line.
Charging a mobile terminal by using a USB communication signal line is mainly classified into the following two types: according to the first scheme, the mobile terminal only supports USB2.0, and an interface connected with a power adapter or power supply equipment in a USB communication signal line is a USB-A interface; and in the second scheme, the mobile terminal supports USB3.0 and is downward compatible with USB2.0, and in a USB communication signal line, an interface for connecting a power adapter or power supply equipment is a USB Type-C interface.
In the invention, the charging interface of the mobile terminal can be a USB Type-C interface, and in the USB communication signal line, the interface (namely, the second interface) for connecting the mobile terminal can also be the USB Type-C interface.
Aiming at the scheme one: the mobile terminal only supports USB2.0, and the first interface may be a USB-A interface, as shown in FIG. 1; aiming at the scheme II: the mobile terminal supports USB3.0 and is downward compatible with USB2.0, and the first interface may be a USB Type-C interface, as shown in fig. 2, which is not limited by the present invention.
In the embodiment of the invention, in order to realize the communication between the charging circuit positioned outside the mobile terminal and the mobile terminal, the compatibility definition improvement is carried out on the standard USB Type-C definition interface.
Referring to the first solution, referring to fig. 3 and 4, in the standard USB Type-C defined interface, the USB communication signal line may be changed to an I2C (Inter-Integrated Circuit) communication pin and a battery voltage differential detection pin, where the USB communication signal line is connected to an uplink data transmission pin for transmitting a TX (output) signal and a downlink data transmission pin for transmitting an RX (receive) signal in the interface (i.e., the second interface) of the mobile terminal.
Referring to fig. 1, 3, 4 and 5, in some preferred embodiments of the present invention, the second interface 13 includes: the first pin 1 is used for being connected with a third pin 3 of a charging interface of the mobile terminal;
the first control unit 14 is connected to the first pin 1, and configured to communicate with the mobile terminal through the first pin 1.
Specifically, the first pin 1 may be an I2C communication pin, the first pin 1 and the third pin 3 are connected through an I2C bus, the I2C bus includes a serial data line (SDA) and a Serial Clock Line (SCL), and data is transmitted through an I2C bus, so that the first control Unit 14 on the communication signal line, that is, the MCU (Microcontroller Unit, microcontrol Unit) on the communication signal line, and the MCU on the mobile terminal are communicated with each other.
Preferably, the second interface 13 further includes: the second pin 2 is used for being connected with a fourth pin 4 of a charging interface of the mobile terminal, and the fourth pin 4 is connected with a battery of the mobile terminal;
the first control unit 14 is connected to the second pin 2, and is configured to obtain a voltage of the battery through the second pin 2; the method comprises the steps of receiving the voltage of a battery detected by the mobile terminal through the first pin 1, and sending a warning signal when the difference value between the received voltage of the battery detected by the mobile terminal and the obtained voltage of the battery is larger than or equal to a preset voltage threshold value.
Specifically, the second pin 2 is a battery voltage differential detection pin, and is used for detecting a voltage VSNS of a battery of the mobile terminal. The first control unit 14 detects the voltage of the battery of the mobile terminal through the second pin 2 and the fourth pin 4, so that the detection precision is ensured, the detected voltage of the battery is an analog signal, and analog-to-digital conversion is performed to obtain a digital signal; and receive the voltage of the battery that the mobile terminal detects through first pin 1, compare the voltage of the battery that the mobile terminal detects that receives with the voltage of the battery that acquires, when the difference of these two voltages is greater than or equal to and presets the voltage threshold, show that unusual, for example: and sending a warning signal to the mobile terminal when the short circuit or the damage occurs. After the mobile terminal receives the warning signal, a prompt window can be popped up on the mobile terminal, or an indicator lamp of the mobile terminal is turned on, or an alarm sound is given out to remind a user to remove the charging equipment and stop charging; after the mobile terminal receives the warning signal, the power can be automatically cut off to ensure the charging safety and avoid accidents. When the difference value of the two voltages is smaller than the preset voltage threshold value, it indicates that all the batteries of the detection link and the mobile terminal are normal, and the mobile terminal can be charged.
The preset voltage threshold may be 50 mv, 80 mv or 100 mv, or may be set according to actual requirements, which is not limited in the present invention.
Optionally, when the difference between the received voltage of the battery detected by the mobile terminal and the obtained voltage of the battery is greater than or equal to a preset difference and is smaller than the preset voltage threshold, the voltage of the battery detected by the mobile terminal is used as the voltage of the battery of the mobile terminal.
That is to say, when the difference between the received voltage of the battery detected by the mobile terminal and the obtained voltage of the battery is larger but does not exceed the preset voltage threshold, the mobile terminal adjusts the charging parameter according to the detected voltage of the battery, taking the voltage of the battery detected by the mobile terminal as the reference.
In the above embodiment, the mobile terminal sends the detected voltage of the battery to the charging device, and the first control unit of the charging device also obtains the voltage of the battery of the mobile terminal, and compares the two voltages on the charging device side; of course, the voltage of the battery of the mobile terminal acquired by the charging device may also be sent to the mobile terminal, and the mobile terminal detects the voltage of the battery and compares the two voltages at the mobile terminal side, which is not limited in the present invention.
For the second scenario, please refer to fig. 3 and fig. 6, since the mobile terminal supports USB3.0 and is USB 2.0-compliant, TX and RX signals need to be reserved. Therefore, in the standard USB Type-C defined interface, in the USB communication signal line, the TX signal shares the pin with the I2C communication signal, and the RX signal shares the pin with the battery voltage differential detection signal; alternatively, the RX signal shares a pin with the I2C communication signal and the TX signal shares a pin with the battery voltage differential detection signal (not shown).
Therefore, no matter aiming at the first scheme or the second scheme, through the improved USB Type-C defined interface, when the charging circuit positioned outside the mobile terminal charges the mobile terminal, not only can the communication of the standard USB Type-C defined interface be realized, but also the communication between the MCU on the USB communication signal line and the MCU on the mobile terminal can be synchronously realized, and the voltage of the battery of the mobile terminal can be detected in real time, so that the charging circuit can charge the mobile terminal according to the charging parameters configured by the mobile terminal, and the temperature rise of the whole mobile terminal can not be obviously influenced.
Referring to fig. 2, fig. 3, fig. 6 and fig. 7, in other preferred embodiments of the present invention, the first interface 102 further includes: a fifth pin 5 and a sixth pin 6, configured to transmit data between a first device connected to the first interface 102 and a second device connected to the second interface 13;
the first control unit 14 includes: a seventh pin 7 and an eighth pin 8;
the first control unit 14 is configured to control the first pin 1 to be connected to the seventh pin 7 and control the second pin 2 to be connected to the eighth pin 8 when the current operating mode of the charging device 100 is a charging mode; when the current working mode of the charging device 100 is a data transmission mode, the first pin 1 and the fifth pin 5 are controlled to be connected, and the second pin 2 and the sixth pin 6 are controlled to be connected.
Specifically, the fifth pin 5 may be an uplink data transmission pin for transmitting a TX signal, and the sixth pin 6 may be a downlink data transmission pin for transmitting an RX signal.
Optionally, the seventh pin 7 is an I2C communication pin for transmitting an I2C communication signal, the eighth pin 8 is a battery voltage differential detection pin for detecting a voltage VSNS of the battery, the first pin 1 is a common pin for transmitting an I2C communication signal and a TX signal, and the second pin 2 is a common pin for detecting the voltage VSNS of the battery and transmitting an RX signal. When the current operation mode of the charging apparatus 100 is the charging mode, the I2C communication signal is transmitted through the first pin 1 and the seventh pin 7, and the voltage VSNS of the battery is detected through the second pin 2 and the eighth pin 8. When the current operation mode of the charging device 100 is the data transmission mode, the TX signal is transmitted through the first pin 1 and the fifth pin 5, and the RX signal is transmitted through the second pin 2 and the sixth pin 6.
Optionally, referring to fig. 8, the seventh pin 7 is a battery voltage differential detection pin for detecting a voltage VSNS of the battery, the eighth pin 8 is an I2C communication pin for transmitting an I2C communication signal, the first pin 1 is a common pin for detecting the voltage VSNS of the battery and transmitting a TX signal, and the second pin 2 is a common pin for transmitting an I2C communication signal and an RX signal. When the current operation mode of the charging apparatus 100 is the charging mode, the voltage VSNS of the battery is detected through the first pin 1 and the seventh pin 7, and the I2C communication signal is transmitted through the second pin 2 and the eighth pin 8. When the current operation mode of the charging device 100 is the data transmission mode, the TX signal is transmitted through the first pin 1 and the fifth pin 5, and the RX signal is transmitted through the second pin 2 and the sixth pin 6.
With reference to fig. 7-8, in some preferred embodiments of the present invention, the number of the first pin 1, the second pin 2, the fifth pin 5, the sixth pin 6, the seventh pin 7, and the eighth pin 8 is two respectively;
the charging apparatus 100 further includes: a first switch K1, a second switch K2, a third switch K3, and a fourth switch K4;
the first switch K1 is respectively connected to the first pin 1, the first fifth pin 5 and the first seventh pin 7, and is configured to control the connection between the first pin 1 and the first seventh pin 7 according to a first control signal; controlling the first pin 1 to be connected with the first fifth pin 5 according to a second control signal;
the second switch K2 is respectively connected to the second first pin 1, the second fifth pin 5 and the second seventh pin 7, and is configured to control the connection between the second first pin 1 and the second seventh pin 7 according to the first control signal; controlling the second first pin 1 to be connected with the second fifth pin 5 according to the second control signal;
the third switch K3 is respectively connected to the first second pin 2, the first sixth pin 6 and the first eighth pin 8, and is configured to control the connection between the first second pin 2 and the first eighth pin 8 according to the first control signal; controlling the first second pin 2 to be connected with the first sixth pin 6 according to the second control signal;
the fourth switch K4 is respectively connected to the second pin 2, the second sixth pin 6 and the second eighth pin 8, and is configured to control the connection between the second pin 2 and the second eighth pin 8 according to the first control signal; controlling the second pin 2 to be connected with the second sixth pin 6 according to the second control signal;
the first control unit is used for generating the first control signal when the current working mode of the charging equipment is a charging mode; and when the current working mode of the charging equipment is a data transmission mode, generating the second control signal.
That is, when the current operation mode of the charging apparatus 100 is the charging mode, the shift positions of the first switch K1, the second switch K2, the third switch K3 and the fourth switch K4 are all controlled to be opened upward in fig. 7-8, the I2C communication signal is transmitted through the first pin 1 and the second pin 2, and the voltage VSNS of the battery is detected; when the current operation mode of the charging apparatus 100 is the data transmission mode, the first switch K1, the second switch K2, the third switch K3 and the fourth switch K4 are all controlled to be turned on the lower side in fig. 7 to 8, and the TX signal and the RX signal are transmitted through the first pin 1 and the second pin 2.
Optionally, when the charging device 100 is electrically connected to the mobile terminal, the charging device 100 initializes, and defaults to transmit the I2C communication signal and detect the voltage VSNS of the battery through the first pin 1 and the second pin 2, and after the configuration of the mobile terminal completes the charging parameters, determines whether to switch to transmit the TX signal through the first pin 1 and transmit the RX signal through the second pin 2 according to the operating mode of the mobile terminal.
That is, when the charging device 100 is electrically connected to the mobile terminal, the default is the charging mode, and after the charging parameters are configured in the mobile terminal, when the operating mode of the mobile terminal is the charging mode, the switching is not performed, and the I2C communication signal and the voltage VSNS of the battery are still transmitted through the first pin 1 and the second pin 2; when the working mode of the mobile terminal is a data transmission mode, the first pin 1 and the second pin 2 are switched to be the USB3.0 communication interface, that is, the first pin 1 is switched to transmit a TX signal, and the second pin 2 is switched to transmit an RX signal.
When the operation mode of the charging apparatus 100 is the data transmission mode, the periodic switching may be performed by transmitting the I2C communication signal and detecting the voltage VSNS of the battery through the first pin 1 and the second pin 2, or by transmitting the TX signal through the first pin 1 and the RX signal through the second pin 2.
For example: a user connects a mobile terminal to a computer through the charging device 100 to perform data transmission, a TX signal is transmitted through the first pin 1, an RX signal is transmitted through the second pin 2, during the data transmission, switching is performed every 2 seconds, the data transmission is suspended, switching is performed to transmit an I2C communication signal through the first pin 1 and the second pin 2 and detect the voltage VSNS of the battery, and the mobile terminal detects whether the charging parameters need to be reconfigured. If the charging parameters need to be reconfigured, after the mobile terminal reconfigures the charging parameters, the reconfigured charging parameters are sent to the charging device 100, the charging device 100 charges the mobile terminal according to the reconfigured charging parameters, and switches the transmission of the I2C communication signal and the detection of the voltage VSNS of the battery through the first pin 1 and the second pin 2 to the transmission of the TX signal through the first pin 1 and the transmission of the RX signal through the second pin 2 again, so as to continue the data transmission. If the charging parameters do not need to be reconfigured, the transmission of the I2C communication signal and the detection of the battery voltage VSNS through the first pin 1 and the second pin 2 are switched again to the transmission of the TX signal through the first pin 1 and the transmission of the RX signal through the second pin 2, and the data transmission is continued. So relapse for during data transmission, still can charge the battery high-efficiently, promote user's experience.
Wherein, the cycle of switching can be set for according to actual demand, and is more nimble convenient.
In the embodiments of the charging device of fig. 5, 7 and 8, the first control unit 14 may be connected to the charging ground of the mobile terminal through the digital signal ground line 16 to ensure that the communication levels are consistent.
The charging circuit 15 is respectively connected to a voltage input pin Vin of the first interface 102 and a voltage output pin Vout of the second interface 13, the voltage input pin Vin is used for being connected to a voltage output pin of a power supply device or a power adapter, and the voltage output pin Vout is used for being connected to a voltage input pin of a charging interface of the mobile terminal. Therefore, the current output from the power supply device or the power adapter flows through the voltage input pin Vin of the first interface 102, the charging circuit 15, and the voltage output pin Vout of the first interface 102 in sequence, and flows to the charging interface of the mobile terminal, so as to charge the mobile terminal.
In other preferred embodiments of the present invention, the first control unit is configured to detect whether a device electrically connected to the first interface is a standard adapter corresponding to the mobile terminal, and determine the current charging mode as the fast charging mode when the device electrically connected to the first interface is the standard adapter; and when the equipment electrically connected with the first interface is not the standard adapter, determining the current charging mode as the common charging mode.
That is, the first control unit detects whether the standard adapter charges the mobile terminal, and controls the charging circuit to enter a corresponding charging mode: when the standard adapter charges the mobile terminal, determining the current charging mode as a quick charging mode; and when the mobile terminal is not charged by the standard adapter, determining the current charging mode as the common charging mode.
Specifically, whether the mobile terminal is charged by the standard adapter can be detected through the data positive pin D + and the data negative pin D-on the first interface.
Of course, the mobile terminal may also detect whether the battery is charged by the standard adapter corresponding to the mobile terminal, generate a mode determination signal for determining the current charging mode as the fast charging mode or the normal charging mode according to the detection result, and send the mode determination signal to the first control unit to control the charging device to fast charge or normal charge the mobile terminal.
In some preferred embodiments of the present invention, the charging apparatus further comprises: and the power adapter and/or the power supply equipment are connected with the first interface. Wherein, power supply unit can be for charging treasured or supply socket.
When the charging device 100 further includes the power adapter 17, as shown in fig. 9 and 10.
Referring to fig. 11, the mobile terminal 110 of the present invention further includes:
a charging interface 111 for connecting with a charging device;
a battery 112;
the second control unit 113 is connected to the charging interface 111 and the battery 112, and configured to configure charging parameters for charging the battery 112, and send the charging parameters to the charging device through the charging interface 111;
a connection line 114 for connecting the charging interface 111 and the battery 112.
By adopting the mobile terminal, when a user charges and uses the mobile terminal, the charging current is not required to be limited, the charging rate is ensured, the performances of a CPU and a GPU are not required to be reduced, the smoothness of the running of multimedia applications is ensured, the problem of temperature rise caused by the fact that the mobile terminal is used while charging is solved, and the user experience is greatly improved.
In the above embodiment, the voltage input pin Vin of the charging interface 111 is used to connect with the voltage output pin of the charging device, so that the current output from the charging device is input to the mobile terminal.
In some preferred embodiments of the present invention, the charging interface may be a USB Type-C interface.
Since the charging of the mobile terminal through the USB Type-C interface includes the first scheme and the second scheme, the mobile terminal needs to be compatible with the first scheme and the second scheme, and therefore, the pin definition in the charging interface of the mobile terminal is the same as that for the USB Type-C defined interface in the second scheme, please refer to fig. 3 and fig. 6.
In some preferred embodiments of the present invention, the charging interface 111 comprises: a third pin 3, configured to be connected to the first pin 1 of the charging device;
the second control unit 113 is connected to the third pin 3, and is configured to communicate with the charging device through the third pin 3.
Specifically, the I2C communication signal may be transmitted through the third pin 3, the third pin 3 may be connected to the first pin 1 through an I2C bus, the I2C bus includes a serial data line (SDA) and a Serial Clock Line (SCL), and data is transmitted through an I2C bus, so that communication between the second control unit 113 on the mobile terminal (i.e., the MCU on the mobile terminal) and the MCU on the communication signal line is realized.
Preferably, the charging interface 111 further includes: a fourth pin 4, configured to be connected to the second pin 2 of the charging device, and connected to the battery 112;
the second control unit 113 is connected to the fourth pin 4, and configured to receive the voltage of the battery 112 obtained by the charging device through the third pin 3, and send an alarm signal when a difference between the voltage of the battery 112 detected by the mobile terminal 110 and the received voltage of the battery 112 obtained by the charging device is greater than or equal to a preset voltage threshold.
Specifically, the voltage VSNS of the battery may be detected through the fourth pin 4. The charging device detects the voltage of the battery 112 through the second pin 2 and the fourth pin 4, the voltage is an analog signal, performs analog-to-digital conversion to obtain a digital signal, and sends the obtained digital signal to the mobile terminal 110 through the first pin 1 and the third pin 3. After receiving the digital signal through the third pin 3, the second control unit 113 compares the digital signal with the voltage of the battery 112 detected by the mobile terminal 110, and sends an alert signal when a difference between the digital signal and the voltage is greater than or equal to a preset voltage threshold, for example: popping up a prompt window on the mobile terminal, or enabling an indicator lamp of the mobile terminal to be on, or giving out an alarm sound to remind a user of removing the charging equipment and stopping charging; or, when the difference between the two is greater than or equal to the preset voltage threshold, the connection line 114 is controlled to be automatically disconnected, so as to ensure the charging safety and avoid accidents. When the difference value of the two is smaller than the preset voltage threshold value, it indicates that all the batteries of the detection link and the mobile terminal are normal, and the charging can be carried out.
The preset voltage threshold may be 50 mv, 80 mv or 100 mv, or may be set according to actual requirements, which is not limited in the present invention.
Optionally, when a difference between the voltage of the battery detected by the mobile terminal and the received voltage of the battery obtained by the charging device is greater than or equal to a preset difference and is smaller than the preset voltage threshold, the voltage of the battery detected by the mobile terminal is used as the voltage of the battery of the mobile terminal.
That is, when the difference between the voltage of the battery detected by the mobile terminal and the received voltage of the battery acquired by the charging device is larger but does not exceed the preset voltage threshold, the charging parameter is adjusted according to the detected voltage of the battery, taking the voltage of the battery detected by the mobile terminal as the reference.
Further, the mobile terminal 110 further includes: and a host system 115, where the host system 115 is connected to the second control unit 113 and the battery 112, respectively, and the voltage of the battery 112 detected by the mobile terminal 110 may be the voltage of the battery 112 detected by the second control unit 113 and/or the voltage of the battery detected by the host system 115.
When the voltage of battery 112 detected by mobile terminal 110 includes the voltage of battery 112 detected by host system 115, the voltage of battery 112 detected by host system 115 is taken as the voltage of battery 112 of mobile terminal 110.
That is, when the voltage of the battery 112 detected by the mobile terminal 110 includes the voltage of the battery 112 detected by the host system 115, the voltage of the battery 112 detected by the host system 115 is used as a reference.
With continued reference to fig. 11, in some preferred embodiments of the present invention, the host system 115 includes: a ninth pin 9 and a tenth pin 10 for transmitting data between a third device connected to the charging interface 111 and the mobile terminal 110;
the second control unit 113 includes: an eleventh pin 11 and a twelfth pin 12;
the second control unit 113 is configured to control the third pin 3 to be connected to the eleventh pin 11 and control the fourth pin 4 to be connected to the twelfth pin 12 when the current working mode of the mobile terminal 110 is a charging mode; when the current working mode of the mobile terminal 110 is a data transmission mode, the third pin 3 and the ninth pin 9 are controlled to be connected, and the fourth pin 4 and the tenth pin 10 are controlled to be connected.
Specifically, the ninth pin 9 may be an uplink data transmission pin for transmitting a TX signal, and the tenth pin 10 may be a downlink data transmission pin for transmitting an RX signal.
Optionally, the eleventh pin 11 is an I2C communication pin for transmitting an I2C communication signal, the twelfth pin 12 is a battery voltage differential detection pin for detecting a voltage VSNS of the battery 112, the third pin 3 is a common pin for transmitting an I2C communication signal and a TX signal, and the fourth pin 4 is a common pin for detecting a voltage VSNS of the battery and transmitting an RX signal. When the current operation mode of the mobile terminal 110 is the charging mode, the I2C communication signal is transmitted through the third pin 3 and the eleventh pin 11, and the voltage VSNS of the battery 112 is detected through the fourth pin 4 and the twelfth pin 12. When the current operation mode of the mobile terminal 110 is a data transmission mode, a TX signal is transmitted through the third pin 3 and the ninth pin 9, and an RX signal is transmitted through the fourth pin 4 and the tenth pin 10.
Optionally, referring to fig. 12, the eleventh pin 11 is a battery voltage differential detection pin for detecting the voltage VSNS of the battery 112, the twelfth pin 12 is an I2C communication pin for transmitting an I2C communication signal, the third pin 3 is a common pin for detecting the voltage VSNS of the battery 112 and transmitting a TX signal, and the fourth pin 4 is a common pin for transmitting an I2C communication signal and an RX signal. When the current operation mode of the mobile terminal 110 is the charging mode, the voltage VSNS of the battery 112 is detected through the third pin 3 and the eleventh pin 11, and an I2C communication signal is transmitted with the twelfth pin 12 through the fourth pin 4. When the current operation mode of the mobile terminal 110 is a data transmission mode, a TX signal is transmitted through the third pin 3 and the ninth pin 9, and an RX signal is transmitted through the fourth pin 4 and the tenth pin 10.
With reference to fig. 11-12, in some preferred embodiments of the present invention, the number of the third pin 3, the fourth pin 4, the ninth pin 9, the tenth pin 10, the eleventh pin 11, and the twelfth pin 12 is two respectively;
the mobile terminal 110 further includes: a fifth switch K5, a sixth switch K6, a seventh switch K7 and an eighth switch K8;
the fifth switch K5 is respectively connected to the first third pin 3, the first ninth pin 9 and the first eleventh pin 11, and is configured to control the connection between the first third pin 3 and the first eleventh pin 11 according to a third control signal; controlling the first third pin 3 to be connected with the first ninth pin 9 according to a fourth control signal;
the sixth switch K6 is respectively connected to the second third pin 3, the second ninth pin 9 and the second eleventh pin 11, and is configured to control the connection between the second third pin 3 and the second eleventh pin 11 according to the third control signal; controlling the second third pin 3 to be connected with the second ninth pin 9 according to the fourth control signal;
the seventh switch K7 is respectively connected to the first fourth pin 4, the first tenth pin 10 and the first twelfth pin 12, and is configured to control the connection between the first fourth pin 4 and the first twelfth pin 12 according to the third control signal; controlling the first fourth pin 4 to be connected with the first tenth pin 10 according to the fourth control signal;
the eighth switch K8 is respectively connected to the second fourth pin 4, the second tenth pin 10 and the second twelfth pin 12, and is configured to control the connection between the second fourth pin 4 and the second twelfth pin 12 according to the third control signal; controlling the second fourth pin 4 to be connected with the second tenth pin 10 according to the fourth control signal;
the second control unit 113 is configured to generate the third control signal when the current operating mode of the mobile terminal 110 is the charging mode; when the current operation mode of the mobile terminal 110 is a data transmission mode, the fourth control signal is generated.
That is, when the current operation mode of the mobile terminal 110 is the charging mode, the fifth switch K5, the sixth switch K6, the seventh switch K7 and the eighth switch K8 are all controlled to be turned on the upper side in fig. 11-12, the I2C communication signal is transmitted through the third pin 3 and the fourth pin 4, and the voltage VSNS of the battery 112 is detected; when the current operation mode of the mobile terminal 110 is the data transmission mode, the positions of the fifth switch K5, the sixth switch K6, the seventh switch K7 and the eighth switch K8 are all controlled to be turned on the lower side in fig. 11-12, and the TX signal and the RX signal are transmitted through the third pin 3 and the fourth pin 4.
Optionally, when the mobile terminal 110 is electrically connected to the charging device, the second control unit 113 initializes, and defaults to transmit the I2C communication signal and detect the voltage VSNS of the battery through the third pin 3 and the fourth pin 4, configures the charging parameter first after the handshake between the mobile terminal 110 and the charging device is successful, and after the configuration of the charging parameter is completed, determines whether to switch to transmit the TX signal and the RX signal through the third pin 3 and the fourth pin 4 according to the operating mode of the mobile terminal 110.
That is, when the mobile terminal 110 is electrically connected to the charging device, the default is the charging mode, and after the mobile terminal 110 configures the charging parameters, when the operation mode of the mobile terminal 110 is the charging mode, the switching is not performed, and the I2C communication signal is still transmitted and the voltage VSNS of the battery 112 is detected through the third pin 3 and the fourth pin 4. When the operating mode of the mobile terminal 110 is the data transmission mode and the device electrically connected to the charging device supports USB3.0, the third pin 3 and the fourth pin 4 are switched to the USB3.0 communication interface, that is, the TX signal is transmitted through the third pin 3 and the RX signal is transmitted through the fourth pin 4; when the operation mode of the mobile terminal 110 is the data transmission mode, but the device electrically connected to the first interface of the charging device does not support USB3.0, the switching is not performed, and the I2C communication signal and the voltage VSNS of the battery 112 are still transmitted through the third pin 3 and the fourth pin 4, and the data transmission is performed through the USB2.0 communication interface (i.e., the data pins D +, D-on the first interface and the data pins D +, D-) on the charging interface of the mobile terminal).
When the operation mode of the mobile terminal 110 is the data transmission mode, the periodic switching may be performed for transmitting the I2C communication signal and detecting the voltage VSNS of the battery through the third pin 3 and the fourth pin 4, or for transmitting the TX signal through the third pin 3 and the RX signal through the fourth pin 4.
For example: a user connects the mobile terminal 110 with a computer through a charging device to perform data transmission, a TX signal is transmitted through the third pin 3, an RX signal is transmitted through the fourth pin 4, switching is performed every 2s during the data transmission, the data transmission is suspended, switching is performed to transmit an I2C communication signal through the third pin 3 and the fourth pin 4 and detect the voltage VSNS of a battery, and the mobile terminal 110 is used for detecting whether the charging parameters need to be reconfigured. If the charging parameters need to be reconfigured, the mobile terminal 110 sends the reconfigured charging parameters to the charging device, controls the charging device to perform charging according to the reconfigured charging parameters, and switches the transmission of the I2C communication signal and the detection of the voltage VSNS of the battery through the third pin 3 and the fourth pin 4 to the transmission of the TX signal through the third pin 3 and the transmission of the RX signal through the fourth pin 4 again, so as to continue the data transmission. If the charging parameters do not need to be reconfigured, the transmission of the I2C communication signal and the detection of the voltage VSNS of the battery 112 through the third pin 3 and the fourth pin 4 are switched again to the transmission of the TX signal through the third pin 3 and the transmission of the RX signal through the fourth pin 4, and the data transmission is continued. So relapse for during data transmission, still can charge the battery high-efficiently, promote user's experience.
Wherein, the cycle of switching can be set for according to actual demand, and is more nimble convenient.
In still other preferred embodiments of the present invention, the second control unit is configured to detect information of the battery, and configure the charging parameter according to the information of the battery. That is to say, the mobile terminal configures the charging parameters according to the detected information of the battery, can detect the information of the battery in real time, and timely reconfigures the charging parameters, so that the charging is more efficient, and the mobile terminal cannot be damaged.
Optionally, the information of the battery includes: the charge of the battery;
the charging parameters include: a current to charge the battery;
the second control unit is further used for controlling the charging equipment to charge at a first current when the electric quantity of the battery is smaller than or equal to a first preset electric quantity threshold value; when the electric quantity of the battery is larger than the first preset electric quantity threshold value and is smaller than or equal to a second preset electric quantity threshold value, controlling the charging equipment to charge at a second current; when the electric quantity of the battery is larger than the second preset electric quantity threshold value, controlling the charging equipment to charge at a third current; wherein the second preset electric quantity threshold is greater than the first preset electric quantity threshold, and the first current and the third current are both less than the second current.
That is, when the charge of the battery of the mobile terminal is lower than or equal to a first preset charge threshold (for example, the charge of the battery is 0-10% of full charge), the battery is charged with a small current; when the electric quantity is increased to be larger than the first preset electric quantity threshold value and smaller than or equal to the second preset electric quantity threshold value (for example, the electric quantity of the battery is 10-90% of full electric quantity), the charging current for charging the battery is increased, and the battery is charged by using large current; when the electric quantity is close to saturation and is larger than a second preset electric quantity threshold value (for example, the electric quantity of the battery is 90% -100% of full electric quantity), the charging current for charging the battery is reduced, and the battery is charged by small current.
The charging parameters may further include: a voltage at which the battery is charged. The mobile terminal may configure a voltage for charging the battery according to information of the battery. Therefore, the charging equipment can adjust the output current or voltage in time according to the charging parameters configured by the mobile terminal to charge the mobile terminal, so that the charging is more efficient, and the mobile terminal cannot be damaged.
In some preferred embodiments of the present invention, the second control unit is further configured to detect whether a device electrically connected to the charging interface is a standard adapter corresponding to the mobile terminal, and whether the charging device is a standard charging device corresponding to the mobile terminal; when the device electrically connected with the charging interface is the standard adapter and the charging device is the standard charging device, determining the current charging mode as a quick charging mode; when the equipment electrically connected with the charging interface is not the standard adapter and the charging equipment is the standard charging equipment, determining the current charging mode as a common charging mode; when the charging device is not the standard charging device, determining a current charging mode as a slow charging mode, or outputting a charging stop signal.
The standard charging equipment is the charging equipment in the invention and is matched with the mobile terminal.
Specifically, whether the mobile terminal is charged by a standard adapter and a standard charging device can be detected through a data positive pin D + and a data negative pin D-on the charging interface.
That is, the second control unit detects whether the standard adapter and the standard charging device charge the mobile terminal, and controls the charging circuit to enter a corresponding charging mode: when the standard adapter and the standard charging equipment charge the mobile terminal, determining the current charging mode as a quick charging mode; when the mobile terminal is charged by the standard charging equipment but not by a standard adapter (such as a charger, other mobile terminals, a computer or other adapters), determining the current charging mode as a common charging mode; when it is not the standard charging device, the current charging mode is determined as the slow charging mode, or a stop charging signal is output.
Preferably, the second control unit is further configured to detect whether the electric quantity of the battery is less than or equal to a fourth preset electric quantity threshold when the charging device is not the standard charging device, and determine the current charging mode as the slow charging mode when the electric quantity of the battery is less than or equal to the fourth preset electric quantity threshold; and when the electric quantity of the battery is greater than the fourth preset electric quantity threshold value, outputting a charging stopping signal.
That is, when the charging device for charging the mobile terminal is not a standard charging device, in an emergency where the battery of the mobile terminal is low (for example, the battery is less than or equal to 20% of full charge), and the user needs to use the mobile terminal, the current charging mode is determined as the slow charging mode; and when the power of the battery of the mobile terminal is not very low (for example, the power of the battery is greater than 20% of the full power), stopping charging the battery of the mobile terminal.
Optionally, the second control unit is further configured to control the connection circuit to be automatically disconnected after outputting the charging stop signal, or output a prompt signal for prompting a user to remove the power adapter or the power supply device according to the charging stop signal.
The reminding signal may be a prompting signal for popping up a prompting window by the mobile terminal, or a lighting signal for lighting an indicator light of the mobile terminal, or a sound signal for emitting an alarm sound.
That is, after the charging stop signal is output, the control connection circuit is automatically disconnected, the mobile terminal is not charged, or the user is reminded to remove the power adapter or the power supply device, and the mobile terminal is not charged.
Optionally, the second control unit is further configured to configure the charging parameter according to a loading capability of another adapter when detecting that the device electrically connected to the charging interface is another adapter, where the another adapter is not the standard adapter.
That is, when the standard charging device and other adapters charge the mobile terminal, the current charging mode is determined as the normal charging mode, and the charging parameters are configured according to the loading capacity of the other adapters.
For example: a mobile terminal is charged by utilizing a non-standard adapter and standard charging equipment, wherein the non-standard adapter is a 5V/2A adapter, the maximum current for charging the mobile terminal can be determined to be less than or equal to 2A, and then the charging parameters are configured.
With continuing reference to fig. 11-12, in some preferred embodiments of the present invention, the mobile terminal 110 further includes: a first field effect transistor Q1 and a second field effect transistor Q2, a Q1 and a Q2 are connected in series on the connection line 114, wherein one end of the first field effect transistor Q1 is connected with the charging interface 111, the other end of the first field effect transistor Q1 is connected with the second field effect transistor Q2, and a control end of the first field effect transistor Q1 is connected with the second control unit 113; one end of the second field effect transistor Q2 is connected with the first field effect transistor Q1, the other end is connected with the battery 112 and the main system 115, and the control end is connected with the second control unit 113;
the second control unit 113 is further configured to control the first field effect transistor Q1 and the second field effect transistor Q2 to be in a conducting state after the current charging mode is determined to be the fast charging mode or the normal charging mode, so as to fast charge or normally charge the battery 112 and supply power to the main system 115; after determining the current charging mode as the slow charging mode, controlling one of the first field effect transistor Q1 and the second field effect transistor Q2 to be in a conducting state and the other to be in a linear operating state to slowly charge the battery 112 and supply power to the main system 115; after outputting the charging stop signal, the first field effect transistor Q1 and the second field effect transistor Q2 are controlled to be in an off state to stop charging the battery 112 and stop supplying power to the main system 115.
That is, two field effect transistors (MOS transistors for short) of the Q1 transistor and the Q2 transistor are controlled by the second control unit 113.
When it is detected that the standard charging device charges the mobile terminal 110 (i.e., it is determined that the current charging mode is the fast charging mode or the normal charging mode), the Q1 transistor and the Q2 transistor are both controlled to be in the on state.
When it is detected that the mobile terminal 110 is not charged by the standard charging device (i.e., it is determined that the current charging mode is the slow charging mode, or the charging stop signal is output), in the slow charging mode, one of the Q1 and the Q2 is controlled to be in the conducting state, and the other is controlled to be in the linear working state (approximately a variable resistor); after the charging stop signal is output, the Q1 tube and the Q2 tube are controlled to be in an off state.
For example, when a non-standard charging device is detected to charge the battery, if the highest charging voltage of the battery is 4.4V and the output voltage of the non-standard charging device is 5V, the Q2 transistor is controlled to be in a linear operating state, so that the Q2 transistor shares a voltage of 0.6V to charge the battery of the mobile terminal.
Preferably, the charging parameters include: a current to charge the battery;
the second control unit is further configured to control the charging device to charge with a fourth current when one of the first field effect transistor Q1 and the second field effect transistor Q2 is in a conducting state and the other one is in a linear operating state, where the fourth current is greater than or equal to a first current threshold and less than or equal to a second current threshold.
Preferably, the first current threshold is 300mA and the second current threshold is 500 mA.
That is to say, in the slow charging mode, the charging current can be limited, so that in the emergency situation that the mobile terminal has low electric quantity and the user needs to use the mobile terminal, the mobile terminal is charged slowly, and the obvious temperature rise of the mobile terminal can not be caused by the current-limiting charging.
In the fast charge mode, the normal charge mode, or the slow charge mode, the current output by the charging device flows through the charging interface 111, the Q1 tube, and the Q2 tube in sequence, and then flows to the battery 112 and the main system 115, respectively. Accordingly, when the user operates the mobile terminal 110 while charging, the main system 115 takes power only from the charging device, not from the battery 112, ensuring charging efficiency.
Further, the connection line 114 includes: a controllable switch 116, one end of the controllable switch 116 is connected to the battery 112, the other end is connected to the main system 115 and the charging interface 111, and a control end is connected to the second control unit 113;
the second control unit 113 is further configured to, after determining that the current charging mode is the fast charging mode, the normal charging mode, or the slow charging mode, control the controllable switch 116 to be in an on state to charge the battery 112, detect an electric quantity of the battery 112, and when the electric quantity is a full electric quantity, control the controllable switch 116 to be in an off state to stop charging the battery 112, and continue to supply power to the main system 115; after outputting the charging stop signal, the controllable switch 116 is controlled to be in a conducting state, so that the battery 112 supplies power to the main system 115.
That is, the connection line 114 from the charging interface 111 to the battery 112 is equivalent to a battery protection circuit. In the charging scenario, the second control unit 113 controls the switch 116 to be in the on state to charge the battery 112 of the mobile terminal, and controls the switch 116 to be in the off state to stop charging the battery 112 after the battery 112 is fully charged, at this time, the Q1 tube and the Q2 tube are still in the on or linear working state to continue to supply power to the main system 115. Therefore, when the battery 112 is fully charged, but the mobile terminal 110 is still electrically connected to the power adapter or the power supply device, the battery 112 is not charged any more, so that the charging safety is ensured, and the power supply is continued to the host system 115, so that the host system 115 only takes power from the charging device, but not from the battery 112, the electric quantity of the battery 112 of the mobile terminal is always maintained in a full-charge state, and the user experience is improved.
After the charging stop signal is output, the controllable switch 116 is controlled to be in an on state, the Q1 transistor and the Q2 transistor are in an off state, the charging of the battery 112 is stopped, and the battery 112 supplies power to the main system 115.
Preferably, the controllable switch 116 is a third field effect transistor Q3.
The Q1 tube, the Q2 tube and the Q3 tube are MOS tubes with low on-resistance, so that the dissipation power in a charging scene is very small and can be ignored, and the temperature rise of the whole mobile terminal cannot be obviously influenced.
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 (14)

1. A charging device, comprising:
a communication signal line;
the first interface is positioned at one end of the communication signal line and is used for being connected with power supply equipment or a power adapter;
the second interface is positioned at the other end of the communication signal wire and is used for being connected with a charging interface of the mobile terminal;
the first control unit is connected with the second interface and used for receiving the charging parameters configured by the mobile terminal through the second interface and outputting a charging control signal according to the charging parameters;
the charging circuit is respectively connected with the first interface, the second interface and the first control unit and is used for charging the mobile terminal according to the charging control signal;
the charging circuit is an external accessory of the mobile terminal, is removed from a main board of the mobile terminal and is integrated on the communication signal line;
the second interface includes: the first pin is used for being connected with a third pin of a charging interface of the mobile terminal;
the first control unit is connected with the first pin and is used for communicating with the mobile terminal through the first pin;
the second interface further comprises: the second pin is used for being connected with a fourth pin of a charging interface of the mobile terminal, and the fourth pin is connected with a battery of the mobile terminal;
the first control unit is connected with the second pin and used for acquiring the voltage of the battery through the second pin; the voltage of the battery detected by the mobile terminal is received through the first pin, and when the difference value between the received voltage of the battery detected by the mobile terminal and the obtained voltage of the battery is larger than or equal to a preset voltage threshold value, a warning signal is sent.
2. The charging device of claim 1,
the first interface further comprises: the fifth pin and the sixth pin are used for transmitting data between first equipment connected with the first interface and second equipment connected with the second interface;
the first control unit includes: a seventh pin and an eighth pin;
the first control unit is configured to control the first pin to be connected to the seventh pin and control the second pin to be connected to the eighth pin when the current working mode of the charging device is a charging mode; and when the current working mode of the charging equipment is a data transmission mode, controlling the first pin to be connected with the fifth pin, and controlling the second pin to be connected with the sixth pin.
3. The charging device of claim 2,
the number of the first pin, the second pin, the fifth pin, the sixth pin, the seventh pin and the eighth pin is two respectively;
the charging apparatus further includes: a first switch, a second switch, a third switch and a fourth switch;
the first switch is respectively connected with a first pin, a first fifth pin and a first seventh pin, and is used for controlling the connection of the first pin and the first seventh pin according to a first control signal; controlling the first pin to be connected with the first fifth pin according to a second control signal;
the second switch is respectively connected with a second first pin, a second fifth pin and a second seventh pin and is used for controlling the connection of the second first pin and the second seventh pin according to the first control signal; controlling the second first pin to be connected with the second fifth pin according to the second control signal;
the third switch is respectively connected with a first second pin, a first sixth pin and a first eighth pin, and is used for controlling the connection of the first second pin and the first eighth pin according to the first control signal; controlling the first second pin to be connected with the first sixth pin according to the second control signal;
the fourth switch is respectively connected with a second pin, a second sixth pin and a second eighth pin, and is used for controlling the connection of the second pin and the second eighth pin according to the first control signal; controlling the second pin to be connected with the second sixth pin according to the second control signal;
the first control unit is used for generating the first control signal when the current working mode of the charging equipment is a charging mode; and when the current working mode of the charging equipment is a data transmission mode, generating the second control signal.
4. The charging device of claim 1,
the first control unit is used for detecting whether the equipment electrically connected with the first interface is a standard adapter corresponding to the mobile terminal, and when the equipment electrically connected with the first interface is the standard adapter, determining the current charging mode as a quick charging mode; and when the equipment electrically connected with the first interface is not the standard adapter, determining the current charging mode as the common charging mode.
5. A mobile terminal, comprising:
a charging interface for connecting with the charging device of any one of claims 1 to 4;
a battery;
the second control unit is respectively connected with the charging interface and the battery, and is used for configuring charging parameters for charging the battery and sending the charging parameters to the charging equipment through the charging interface;
and the connecting line is used for connecting the charging interface and the battery.
6. The mobile terminal of claim 5,
the charging interface includes: the third pin is used for being connected with the first pin of the charging equipment;
the second control unit is connected with the third pin and used for communicating with the charging equipment through the third pin.
7. The mobile terminal of claim 6,
the charging interface further comprises: the fourth pin is used for being connected with the second pin of the charging equipment and the battery;
the second control unit is connected with the fourth pin and used for receiving the voltage of the battery acquired by the charging equipment through the third pin, and when the difference value between the voltage of the battery detected by the mobile terminal and the received voltage of the battery acquired by the charging equipment is larger than or equal to a preset voltage threshold value, a warning signal is sent.
8. The mobile terminal of claim 7,
the mobile terminal further includes: a main system connected to the second control unit and the battery, respectively, including: the ninth pin and the tenth pin are used for transmitting data between the third equipment connected with the charging interface and the mobile terminal;
the second control unit includes: an eleventh pin and a twelfth pin;
the second control unit is configured to control the third pin to be connected to the eleventh pin and control the fourth pin to be connected to the twelfth pin when the current working mode of the mobile terminal is a charging mode; and when the current working mode of the mobile terminal is a data transmission mode, controlling the third pin to be connected with the ninth pin, and controlling the fourth pin to be connected with the tenth pin.
9. The mobile terminal of claim 8,
the number of the third pin, the fourth pin, the ninth pin, the tenth pin, the eleventh pin and the twelfth pin is two respectively;
the mobile terminal further includes: a fifth switch, a sixth switch, a seventh switch, and an eighth switch;
the fifth switch is respectively connected with a first third pin, a first ninth pin and a first eleventh pin, and is used for controlling the connection of the first third pin and the first eleventh pin according to a third control signal; controlling the first third pin to be connected with the first ninth pin according to a fourth control signal;
the sixth switch is respectively connected with a second third pin, a second ninth pin and a second eleventh pin, and is used for controlling the connection of the second third pin and the second eleventh pin according to the third control signal; controlling the second third pin to be connected with the second ninth pin according to the fourth control signal;
the seventh switch is respectively connected with the first fourth pin, the first tenth pin and the first twelfth pin, and is used for controlling the connection of the first fourth pin and the first twelfth pin according to the third control signal; controlling the first fourth pin to be connected with the first tenth pin according to the fourth control signal;
the eighth switch is respectively connected with a second fourth pin, a second tenth pin and a second twelfth pin, and is used for controlling the connection of the second fourth pin and the second twelfth pin according to the third control signal; controlling the second fourth pin to be connected with the second tenth pin according to the fourth control signal;
the second control unit is configured to generate the third control signal when a current working mode of the mobile terminal is a charging mode; and generating the fourth control signal when the current working mode of the mobile terminal is a data transmission mode.
10. The mobile terminal of claim 7,
the second control unit is used for detecting the information of the battery and configuring the charging parameters according to the information of the battery.
11. The mobile terminal of claim 8,
the information of the battery includes: the charge of the battery;
the charging parameters include: a current to charge the battery;
the second control unit is further used for controlling the charging equipment to charge at a first current when the electric quantity of the battery is smaller than or equal to a first preset electric quantity threshold value; when the electric quantity of the battery is larger than the first preset electric quantity threshold value and is smaller than or equal to a second preset electric quantity threshold value, controlling the charging equipment to charge at a second current; when the electric quantity of the battery is larger than the second preset electric quantity threshold value, controlling the charging equipment to charge at a third current; wherein the second preset electric quantity threshold is greater than the first preset electric quantity threshold, and the first current and the third current are both less than the second current.
12. The mobile terminal of claim 5,
the second control unit is further used for detecting whether the equipment electrically connected with the charging interface is a standard adapter corresponding to the mobile terminal or not and whether the charging equipment is standard charging equipment corresponding to the mobile terminal or not; when the device electrically connected with the charging interface is the standard adapter and the charging device is the standard charging device, determining the current charging mode as a quick charging mode; when the equipment electrically connected with the charging interface is not the standard adapter and the charging equipment is the standard charging equipment, determining the current charging mode as a common charging mode; when the charging device is not the standard charging device, determining a current charging mode as a slow charging mode, or outputting a charging stop signal.
13. The mobile terminal of claim 12,
the mobile terminal further includes: the main system is respectively connected with the second control unit and the battery;
the mobile terminal further includes: the first field effect transistor and the second field effect transistor are connected on the connecting line in series, wherein one end of the first field effect transistor is connected with the charging interface, the other end of the first field effect transistor is connected with the second field effect transistor, and the control end of the first field effect transistor is connected with the second control unit; one end of the second field effect transistor is connected with the first field effect transistor, the other end of the second field effect transistor is connected with the battery and the main system, and the control end of the second field effect transistor is connected with the second control unit;
the second control unit is further configured to control the first field effect transistor and the second field effect transistor to be in a conducting state after the current charging mode is determined to be the fast charging mode or the normal charging mode, so as to fast charge or normally charge the battery and supply power to the main system; after the current charging mode is determined to be the slow charging mode, one of the first field effect transistor and the second field effect transistor is controlled to be in a conducting state, and the other one of the first field effect transistor and the second field effect transistor is controlled to be in a linear working state, so that the battery is charged slowly, and the main system is powered; and after the charging stopping signal is output, controlling the first field effect transistor and the second field effect transistor to be in a turn-off state so as to stop charging the battery and stop supplying power to the main system.
14. The mobile terminal of claim 13,
the connection line includes: one end of the controllable switch is connected with the battery, the other end of the controllable switch is connected with the main system and the charging interface, and the control end of the controllable switch is connected with the second control unit;
the second control unit is further configured to control the controllable switch to be in an on state after the current charging mode is determined to be the fast charging mode, the normal charging mode, or the slow charging mode, so as to charge the battery, detect the electric quantity of the battery, and control the controllable switch to be in an off state when the electric quantity is a full electric quantity, so as to stop charging the battery and continue to supply power to the main system; and after the charging stopping signal is output, controlling the controllable switch to be in a conducting state, so that the battery supplies power to the main system.
CN201810844370.1A 2018-07-27 2018-07-27 Charging equipment and mobile terminal Active CN109004708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810844370.1A CN109004708B (en) 2018-07-27 2018-07-27 Charging equipment and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810844370.1A CN109004708B (en) 2018-07-27 2018-07-27 Charging equipment and mobile terminal

Publications (2)

Publication Number Publication Date
CN109004708A CN109004708A (en) 2018-12-14
CN109004708B true CN109004708B (en) 2021-03-12

Family

ID=64598194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810844370.1A Active CN109004708B (en) 2018-07-27 2018-07-27 Charging equipment and mobile terminal

Country Status (1)

Country Link
CN (1) CN109004708B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671073B (en) * 2021-01-08 2024-03-29 深圳拓邦股份有限公司 Power adaptation circuit, controller, electrical device, power adaptation method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070103115A1 (en) * 2005-11-08 2007-05-10 Sheng-Hui Liu Function-switching type linking apparatus
CN102593930B (en) * 2012-02-28 2015-01-21 惠州Tcl移动通信有限公司 Charging system of mobile terminal
CN105978084A (en) * 2016-06-16 2016-09-28 青岛海信移动通信技术股份有限公司 Method and device for charging electronic equipment
CN106253400A (en) * 2016-08-25 2016-12-21 维沃移动通信有限公司 A kind of charging method, mobile terminal and charger
CN106329594A (en) * 2015-06-30 2017-01-11 深圳市科陆新能源技术有限公司 Charging current limiting device and method for battery of energy storage system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070103115A1 (en) * 2005-11-08 2007-05-10 Sheng-Hui Liu Function-switching type linking apparatus
CN102593930B (en) * 2012-02-28 2015-01-21 惠州Tcl移动通信有限公司 Charging system of mobile terminal
CN106329594A (en) * 2015-06-30 2017-01-11 深圳市科陆新能源技术有限公司 Charging current limiting device and method for battery of energy storage system
CN105978084A (en) * 2016-06-16 2016-09-28 青岛海信移动通信技术股份有限公司 Method and device for charging electronic equipment
CN106253400A (en) * 2016-08-25 2016-12-21 维沃移动通信有限公司 A kind of charging method, mobile terminal and charger

Also Published As

Publication number Publication date
CN109004708A (en) 2018-12-14

Similar Documents

Publication Publication Date Title
CN107465240B (en) A kind of intelligent movable power supplies and the method for carrying out usb data communication with it
US9356460B2 (en) Method and apparatus of fast battery charging with universal high power input source
JP6198258B2 (en) Power supply terminal, and charging control method and apparatus
CN106374581B (en) A kind of the voltage output method and charger of charger
CN107196357A (en) A kind of charging equipment, terminal device and charging method, charging monitoring method
CN203813491U (en) Charging adapter device
CN106797129B (en) Battery charger with user interface
CN203871616U (en) USB data line
CN105098932B (en) Charging method, charger and charging module
US9912016B2 (en) Link for battery power transfer between portable electronic devices
CN102593930A (en) Charging system of mobile terminal
CN111756086B (en) Power bridging device and bridging method using mobile robot battery
CN109217419A (en) Quick charging system and method
CN105098890A (en) Charging data line and charger
CN109861038B (en) USB connection port capable of automatically switching connection mode and control method thereof
TW201729491A (en) Charging device
CN109004708B (en) Charging equipment and mobile terminal
CN204947689U (en) There is the portable power source of OTG function
WO2024114716A1 (en) Vehicle-to-vehicle charging device
WO2022046295A1 (en) Dual electronic device wireless charger
CN210042140U (en) Wireless earphone, wireless earphone charging box and wireless earphone charging system
TW201814543A (en) Apparatus and method for USB charge and communication
CN201674068U (en) Socket with USB interface
WO2016173081A1 (en) Method and device for implementing connection control
CN209963779U (en) Power adapter

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