CN111262304A - Charger, intelligent terminal and identification method of charger - Google Patents

Charger, intelligent terminal and identification method of charger Download PDF

Info

Publication number
CN111262304A
CN111262304A CN202010194576.1A CN202010194576A CN111262304A CN 111262304 A CN111262304 A CN 111262304A CN 202010194576 A CN202010194576 A CN 202010194576A CN 111262304 A CN111262304 A CN 111262304A
Authority
CN
China
Prior art keywords
line
charger
intelligent terminal
voltage
resistor
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.)
Pending
Application number
CN202010194576.1A
Other languages
Chinese (zh)
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.)
Shenzhen Microphone Holdings Co Ltd
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings 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 Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Publication of CN111262304A publication Critical patent/CN111262304A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • H02J7/0077

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a charger, an intelligent terminal and a charger identification method. An identification module is arranged in the charger; and an acquisition module is arranged in the intelligent terminal and is used for acquiring the information of the identification module and identifying the characteristics of the charger according to the information. After the technical scheme is adopted, the intelligent terminal can identify the charger characteristics, so that a reasonable charging strategy is executed according to the charger characteristics, the charger is prevented from being overloaded, overheated or even burnt out, and the charging safety is guaranteed.

Description

Charger, intelligent terminal and identification method of charger
The present application claims priority of chinese patent application with application number 201910483341.1 entitled "identification system for charger, intelligent terminal and identification method" filed by chinese patent office on 04/06/2019, which is incorporated by reference in its entirety.
Technical Field
The invention relates to the field of intelligent terminal chargers, in particular to a charger, an intelligent terminal and a charger identification method.
Background
Currently, standard USB chargers typically short the D + and D-lines within the charger according to the BC1.2 specification, and do not connect with other components of the charger, see fig. 1. The intelligent terminal to be charged identifies whether the charger is a standard USB charger by judging whether a D + line and a D-line in the charger are in short circuit.
And the standard charger which shorts the D + line and the D-line in the charger according to the BC1.2 specification can not support quick charging, has no identification characteristic, and can not identify the output capability of the intelligent terminal. Therefore, when a charger with rated output capacity smaller than the output capacity of the standard charger of the intelligent terminal is connected with the intelligent terminal and the intelligent terminal is charged, the intelligent terminal can extract current larger than the output capacity of the charger, so that the charger is overloaded, and the problems that the charger is overheated, the service life is reduced, even the charger is burnt out and the like due to long-time use are solved.
Therefore, it is necessary to develop a charger identification system and an identification method that enable a smart terminal to identify a charger characteristic, such as the output capability of the charger.
Disclosure of Invention
The application mainly aims to provide a charger, an intelligent terminal and a charger identification method, and aims to solve the problem that the charger is easy to overload due to mismatching of the intelligent terminal and the charger.
In order to achieve the purpose, the application discloses a charger, wherein an identification module is arranged in the charger, and the information of the identification module is associated with the characteristics of the charger;
and the information of the identification module is used for being acquired by an acquisition module in the intelligent terminal, so that the charger characteristics are identified by the intelligent terminal according to the information.
Optionally, the identification module is a resistor connected between a charger D + line and a D-line;
the information of the identification module is the resistance value of the resistor.
Optionally, the identification module is an interface chip with a short-circuit function and a resistor connected in series with the interface chip, and the interface chip and the resistor are connected between a charger D + line and a charger D-line;
the information of the identification module is the resistance value of the resistor.
The application also discloses an intelligent terminal, an acquisition module is arranged in the intelligent terminal, and the acquisition module is used for acquiring the information of the identification module which is arranged in the charger and is associated with the charger characteristics and identifying the charger characteristics according to the information.
Optionally, the obtaining module includes:
a first voltage source connected to a first node on the D + line or the D-line, the first voltage source being grounded;
the pull-down circuit is correspondingly connected to a second node on the D-line or the D + line and is grounded;
a voltage comparator connected in parallel to the second node;
other circuitry connected in parallel to the first node;
other circuits connected in parallel to the second node. Optionally, the first voltage source is an independent voltage source or a 0.6V voltage source of BC1.2PHY;
the pull-down circuit is a resistor and/or a first current source;
the comparator has two inputs, wherein the first input is a second node and the second input is a threshold voltage Vth;
the comparator has an output state Vo.
Optionally, the obtaining module includes:
the first switch and the second voltage source are connected to a third node on the D + line or the D-line, and the second voltage source is grounded;
the second switch and the resistor are respectively connected to a fourth node on the D-line or the D + line, and the resistor is grounded;
an analog-to-digital converter connected in parallel to the second switch and the resistor;
a third switch disposed on a connection of the third node and the USB PHY;
and the fourth switch is arranged on a connecting line of the fourth node and the USB PHY.
Optionally, the second voltage source is an independent voltage source or a 0.6V voltage source of a BC1.2 PHY.
Optionally, the obtaining module includes:
a fifth switch and a third voltage source connected to a fifth node on the D + line or the D-line, the third voltage source being grounded;
a sixth switch and a second current source respectively connected to a sixth node on the D-line or D + line, the second current source being grounded;
an analog-to-digital converter connected in parallel to the sixth switch and the current source;
the seventh switch is arranged on a connecting line of the fifth node and the USB PHY;
and the eighth switch is arranged on a connection line of the sixth node and the USB PHY.
The application also discloses a charger identification method, which is used for identifying the charger by the intelligent terminal, and the charger identification method comprises the following steps:
an acquisition module in the intelligent terminal acquires the resistance value of an identification module connected between a D + line and a D-line of the charger;
and judging the charger characteristics according to the corresponding relation between the preset resistance value range and the charger characteristics.
Optionally, the step of acquiring, by an acquisition module in the intelligent terminal, the resistance value of the identification module connected between the D + line and the D-line of the charger includes:
changing the output voltage of the first voltage source, the circuit parameter of the pull-down circuit and/or the threshold voltage Vth, and detecting the output state Vo of the comparator;
when the output state Vo is inverted, recording a first output voltage, a first circuit parameter and/or a first threshold voltage Vth1 before the output state Vo is inverted and recording a second output voltage, a second circuit parameter and/or a second threshold voltage Vth2 after the output state Vo is inverted;
and calculating the resistance value range of the identification module according to the first output voltage, the second output voltage, the first circuit parameter, the second circuit parameter, the first threshold voltage Vth1 and/or the second threshold parameter Vth 2.
Optionally, the step of acquiring, by an acquisition module in the intelligent terminal, the resistance value of the identification module connected between the D + line and the D-line of the charger includes:
the acquisition module disconnects a D + line and a D-line of the intelligent terminal from the USB PHY;
a voltage V is applied to a D + line of the intelligent terminal;
reading a voltage V0 on a D-line of the intelligent terminal;
a resistor R1 with known resistance is connected to the D-line of the intelligent terminal;
a voltage division V1 of the read resistor R1;
and calculating the resistance value of the identification module according to the values of V0, R1 and V1.
Optionally, the step of acquiring, by an acquisition module in the intelligent terminal, the resistance value of the identification module connected between the D + line and the D-line of the charger includes:
the acquisition module disconnects a D + line and a D-line of the intelligent terminal from the USB PHY;
a voltage V is applied to a D + line of the intelligent terminal;
reading a voltage V2 on a D-line of the intelligent terminal;
adding current I to a D-line of the intelligent terminal;
reading a voltage V3 on a D-line of the intelligent terminal;
the resistance values of the identity modules are calculated from the values of V2, I, V3.
In the application, an identification module is arranged in the charger; and an acquisition module is arranged in the intelligent terminal and is used for acquiring the information of the identification module and identifying the characteristics of the charger according to the information. The technical scheme disclosed by the application is simple and easy to realize. The charger characteristics can be effectively identified through the intelligent terminal, and the corresponding charging strategy is executed according to the charging characteristics, so that the charging safety is ensured, and the charging overload, overheating and even burnout are avoided
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic diagram of a charger according to the prior art;
FIG. 2 is a schematic diagram of an identification system of a charger according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a charger in an identification system according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a charger in an identification system according to another embodiment of the present application;
FIG. 5 is a detailed structural diagram of an identification system of a charger according to an embodiment of the present disclosure;
FIG. 6 is a detailed structural diagram of an identification system of a charger according to another embodiment of the present application;
fig. 7 is a detailed structural diagram of an identification system of a charger according to another embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
Fig. 2 is a schematic structural diagram of an identification system of a charger according to an embodiment of the present invention. The charging system comprises a charger and an intelligent terminal.
The charger is used for receiving commercial power, reducing the voltage of the commercial power, converting the commercial power into low-voltage pulses, converting the low-voltage pulses into stable low-voltage direct current through the rectification and voltage stabilizing circuit and providing the stable low-voltage direct current for the intelligent terminal.
The intelligent terminal can be a mobile intelligent terminal. The mobile intelligent terminal mainly comprises: 1. the smart phone is a general name of a mobile phone which has an independent operating system like a human brain, can be provided with software and programs provided by a third-party service provider by a user, continuously expands the functions of the mobile phone through the programs and can realize wireless network intervention through a mobile network. The PDA intelligent terminal is also called a palm computer and can help people to complete work, study, entertainment and the like in moving. Classified by use, into industrial-grade PDAs and consumer-product PDAs. The wireless sensor network data acquisition system is widely used for data acquisition in multiple industries such as shoes, clothes, fast-moving, fast-forwarding and the like, and supports wireless network communication such as BT/GPRS/3G/WiFi and the like. 3. The tablet personal computer is a small-sized and portable personal computer, and takes a touch screen as a basic input device. It possesses a touch screen (also known as digitizer technology) that allows the user to work with an electronic pen rather than a traditional keyboard or mouse. The intelligent terminal may also be a fixed type of intelligent terminal in some cases.
An identification module is arranged in the charger; and an acquisition module is arranged in the intelligent terminal and is used for acquiring the information of the identification module and identifying the characteristics of the charger according to the information.
The charger characteristic referred to herein may be the type of charger, such as a standard charger or a dedicated charger. The charger characteristic may also be the output capability of the charger including, but not limited to, the maximum output current, the maximum output voltage, etc. of the charger. In some embodiments, the charger characteristic may also be whether the charger supports constant current output. The characteristics of the charger can be freely set, and only the information of the identification module needs to be correlated. After the acquisition module in the intelligent terminal acquires the information of the identification module, the charger characteristics can be identified according to the information, so that the charger characteristics can be acquired. Furthermore, after the intelligent terminal acquires the characteristics of the charger, the charging strategy can be reasonably arranged according to the characteristics of the charger, so that the intelligent terminal can be charged efficiently and safely. For example, after the output capability of the intelligent terminal or the charger, the current drawn by the intelligent terminal can be set to be slightly smaller than the maximum output current of the charger, so that the charger can be ensured to output efficiently without overload, and the safety of the charging process is ensured.
Fig. 3 is a schematic structural diagram of a charger according to an embodiment of the present invention. The charger and the intelligent terminal are connected through a Universal Serial Bus (USB), that is, connected through four lines of the USB, where the four lines are: VBUS, D-, D + and GND, wherein a D + line (DP, Digital Positive)/D-line (DM, Digital Minus) is a pair of differential signal lines for communication and data transmission; VBUS is a power supply line or a power supply bus for supplying power, and GND is a ground line. An identification module is connected between a D-line and a D + line in the charger, and the identification module is a resistor RID. The information of the identification module is the resistance value of the resistor RID. The resistance value of the resistor RID is correlated to the charger characteristic. For example, for chargers having different output capabilities, the resistors RID having different resistance values set therein may be provided, the output capabilities corresponding to the resistance values one-to-one. Therefore, after the acquisition module in the intelligent terminal acquires the resistance value of the resistor RID in the charger, the output capability of the charger can be acquired according to the corresponding relation between the resistance value and the output capability, and the intelligent terminal can arrange a proper charging strategy according to the charging output capability.
Fig. 4 is a schematic structural diagram of a charger according to another embodiment of the present invention. The charger and the intelligent terminal are connected through the USB, namely, the charger and the intelligent terminal are connected through four lines of VBUS, D-, D + and GND of the USB, in the embodiment, an identification module is connected between a D-line and a D + line in the charger, the identification module comprises an interface chip with a short circuit function and a resistor connected with the interface chip in series, and the interface chip and the resistor are connected between the D + line and the D-line of the charger. The interface chip is used for realizing short circuit of the D-line and the D + line, a functional circuit used for controlling the switch SW to be opened and closed is arranged on the interface chip, two ends of the switch SW are respectively connected with the D-line and the D + line, and when the switch SW is closed, the short circuit of the D + line and the D-line is realized. And a resistor RID1 and a resistor RID2 are respectively arranged on connecting lines of the interface chip and the D-line and the D + line. The information of the identification module is the sum of the resistance values of the resistor RID1 and the resistor RID2, and the sum of the resistance values of the resistor RID1 and the resistor RID2 is associated with the charger characteristic. The acquisition module in the intelligent terminal is used for acquiring the sum of the resistance values of the resistor RID1 and the resistor RID2, and after the sum of the resistance values of the resistor RID1 and the resistor RID2 is acquired, the charging characteristics can be acquired according to the corresponding relation between the sum and the charger characteristics. In some implementations, only one of resistor RID1 and resistor RID2 may be provided, in which case the information identifying the module is the resistance of either resistor RID1 or resistor RID 2.
Fig. 5 is a schematic diagram illustrating a detailed structure of the identification system of the charger according to an embodiment of the present invention. The identification system of the charger comprises the charger and an intelligent terminal, and the charger is connected with the intelligent terminal through a USB. The structure of the charger is the same as that of the embodiment of fig. 3. An identification module, namely a resistor RID3, is connected between the D + line and the D-line in the charger. The resistance of resistor RID3 is associated with the charger characteristics, which in this embodiment are the output current of the charger and the charger type. Specifically, for example, a constant current charger having an output current of 1.2A sets the resistance value of its resistor RID5 to 150 Ω; the constant current charger with the output current of 2A sets the resistance value of the resistor RID3 to 200 Ω, and so on. Can be flexibly arranged according to the requirement. And the D + line and the D-line of the charger are connected with the USB PHY in the intelligent terminal. Be provided with the acquisition module in the intelligent terminal, the acquisition module includes: the first voltage source is connected to a first node on the D + line or the D-line and is grounded; the pull-down circuit is correspondingly connected to a second node on the D-line or the D + line and is grounded; a voltage comparator connected in parallel to the second node; other circuitry connected in parallel to the first node; other circuits connected in parallel to the second node. The first voltage source is a 0.6V voltage source of BC1.2 PHY; in fig. 5, the pull-down circuit is a resistor, and the pull-down circuit can be set as a current source or a combination of a resistor and a current source according to actual situations; the comparator has two inputs, wherein the first input is a second node and the second input is a threshold voltage Vth; the comparator has an output state Vo.
The specific identification mode comprises the following steps:
step A1, changing the output voltage of the first voltage source, the circuit parameter of the pull-down circuit and/or the threshold voltage Vth, and detecting the output state Vo of the comparator;
step A2, when the output state Vo is inverted, recording a first output voltage, a first circuit parameter and/or a first threshold voltage Vth1 before the output state Vo is inverted and recording a second output voltage, a second circuit parameter and/or a second threshold voltage Vth2 after the output state Vo is inverted;
step A3, calculating the resistance value range of the identification module according to the first output voltage, the second output voltage, the first circuit parameter, the second circuit parameter, the first threshold voltage Vth1 and/or the second threshold parameter Vth 2;
the range of the resistance value of the identification module can be obtained by changing at least one of the output voltage of the first voltage source, the circuit parameter (the resistance value of the resistor or the current source) of the pull-down circuit and the threshold voltage Vth, and detecting the output state Vo of the comparator. For convenience, the example is given here by changing only one of the values to obtain the resistance value range of the identification module. Firstly, other circuits connected to a D + line and a D-line of the intelligent terminal stop working, a corresponding first node and a corresponding second node are set to be in a high-impedance state, then corresponding operation is carried out according to different parameters, if threshold voltage Vth is changed, voltage V is added to the D + line of the intelligent terminal to be 0.6V, a resistor R is pulled up and down on a D1 line of the intelligent terminal, comparator output is monitored, Vth value is changed at the same time, Vth1 and Vth2 before and after the output state of the comparator is turned over are recorded, and the range of RID3 is calculated: r (0.6V-Vth1)/Vth1> RID3> R (0.6V-Vth2)/Vth2, if the first voltage source voltage is changed, the voltage V is applied to the D + line of the intelligent terminal, the resistor R is pulled down on the D1 line of the intelligent terminal, the comparator output is monitored while the voltage V is changed, V1 and V2 before and after the state of the comparator output is inverted are recorded, the range of RID3 is calculated, R (V1-Vth)/Vth > RID3> R (V2-Vth)/Vth, if the resistance value of the resistor in the pull-down circuit is changed, the voltage V applied to the D + line of the intelligent terminal is 0.6V, the variable resistor R is pulled down on the D1 line of the intelligent terminal, the comparator output is monitored while the Vth resistance value is pulled down, R1 and R2 before and after the state of the comparator output is inverted are recorded, the range of RID 1(0.6V-Vth 3)/Vth 2 > R (3) is calculated, and then judging the charger characteristics according to the corresponding relation between the preset resistance value range and the charger characteristics. Specifically, for example, when the calculated resistance value of RID3 is within the range of 100-; when the preset calculated resistance value of RID5 is in the range of 175-225 Ω, the output current of the corresponding charger is 2A, and the charger type is a constant current charger. The specific corresponding relation can be flexibly set according to the requirement. Therefore, after the intelligent terminal obtains the resistance value of RID3, the output current and the type of the charger can be judged according to the corresponding relation between the range to which the resistance value belongs and the output current and the type of the charger. And then can rationally arrange the charging strategy according to the output current type of charger, guarantee the safety of charging under the high-efficient condition of charging.
Fig. 6 is a schematic diagram illustrating a detailed structure of an identification system of a charger according to an embodiment of the present invention. The identification system of the charger comprises the charger and an intelligent terminal, and the charger is connected with the intelligent terminal through a USB. The charger has the same structure as the charger in the embodiment of fig. 3, and an identification module, namely a resistor RID4, is connected between the D + line and the D-line in the charger. The resistance of resistor RID4 is associated with the charger characteristics, which in this embodiment are the output current of the charger and the charger type. Specifically, for example, for a constant current charger with an output current of 1.2A, the resistance value of the resistor RID4 thereof is set to 150 Ω; for a non-constant current charger with an output current of 2A, the resistance value of its resistor RID4 is set to 200 Ω, and so on. Can be flexibly arranged according to the requirement. And the D + line and the D-line of the charger are connected with the USB PHY in the intelligent terminal. Be provided with the acquisition module in the intelligent terminal, the acquisition module includes: a first switch S1 connected to a third node N3 on the D + line and a second voltage source, the second voltage source being connected to ground; a second switch S2 and a resistor R1 respectively connected to a fourth node N4 on the D-line, the resistor R1 being connected to ground; an analog-to-digital converter (ADC) connected in parallel to the second switch S2 and a resistor R1; a third switch S3 disposed on the third node N3 connecting to a USB PHY; a fourth switch S4 disposed on the connection of the fourth node N4 with the USB PHY. In some embodiments, the first switch S1 and the first voltage source may be connected on the D-line, while the second switch S2, the resistor R1, and the digital-to-analog converter are connected on the D + line.
The second voltage source may be an independent voltage source, or may be a 0.6V voltage source of the USB PHY under the BC1.2 charging specification. The first switch S1, the second switch S2, the third switch S3 and the fourth switch S4 are connected with the processor of the intelligent terminal and are controlled to be opened or closed by the processor. The analog-to-digital converter is connected with the processor of the intelligent terminal, the processor of the intelligent terminal calculates the resistance RID4 according to the voltage value read by the analog-to-digital converter, and identifies the output capability of the charger according to the corresponding relation between the resistance and the output capability of the charger.
The specific identification method comprises the following steps:
b1: and disconnecting the D + line and the D-line of the intelligent terminal from the USB PHY. I.e., open the third switch S3 and the fourth switch S4. At this time, both the first switch S1 and the second switch S2 are in an open state.
B2: and adding a voltage V to a D + line of the intelligent terminal. I.e. closing the first switch S1, a voltage V is applied to the D + line by the second voltage source.
B3: and reading the voltage V0 on the D-line of the intelligent terminal. That is, the digital-to-analog converter reads the voltage V0 on the D-line at this time.
B4: and a resistor R1 with known resistance is connected to the D-line of the intelligent terminal. I.e., closing the second switch S2, connecting the resistor R1 to the D-line.
B5: the voltage division V1 of the read resistor R1. Namely, the digital-to-analog converter reads the divided voltage V1 of the resistor R1 at this time.
B6: and calculating the resistance value of the identification module according to the values of V0, R1 and V1. It should be noted that there is also an equivalent resistance Res1 (equivalent resistance Res1) on the D + line (D-line) path, and the equivalent resistance specifically includes PCB track resistance, interface contact resistance, cable resistance, electronic device resistance, and the like. The processor calculates the resistance of resistor RID4 according to the following equation: RID4 ═ R1 (V0-V1)/V1-Res1-Res2
B7: after the processor calculates the resistance value of the resistor RID4, the charger characteristic is judged according to the corresponding relation between the preset resistance value range and the charger characteristic.
Specifically, for example, when the calculated resistance value of RID4 is within the range of 100-; when the preset calculated resistance value of RID4 is in the range of 175-225 Ω, the output current of the corresponding charger is 2A, and the charger type is a non-constant current charger. The specific corresponding relation can be flexibly set according to the requirement. Therefore, after the intelligent terminal obtains the resistance value of RID4, the output current and the type of the charger can be judged according to the corresponding relation between the range to which the resistance value belongs and the output current and the type of the charger. And then can rationally arrange the charging strategy according to the output current and the type of the charger, guarantee the charging safety under the condition of high-efficient charging.
Fig. 7 is a schematic diagram showing a detailed structure of an identification system of a charger according to another embodiment of the present invention. The identification system of the charger comprises the charger and an intelligent terminal, and the charger is connected with the intelligent terminal through a USB. The charger has the same structure as the charger in the embodiment of fig. 3, and an identification module, namely a resistor RID5, is connected between the D + line and the D-line in the charger. The resistance of resistor RID5 is associated with the charger characteristics, which in this embodiment are the output current of the charger and the charger type. Specifically, for example, for a constant current charger with an output current of 1.2A, the resistance value of the resistor RID5 thereof is set to 150 Ω; for a non-constant current charger with an output current of 2A, the resistance value of its resistor RID5 is set to 200 Ω, and so on. Can be flexibly arranged according to the requirement. And the D + line and the D-line of the charger are connected with the USB PHY in the intelligent terminal. Be provided with the acquisition module in the intelligent terminal, the acquisition module includes: a fifth switch S5 connected to a fifth node N5 on the D + line and a third voltage source, the third voltage source being connected to ground; a sixth switch S6 and a second current source respectively connected at a sixth node N6 on the D-line, the second current source being connected to ground; an analog-to-digital converter connected in parallel to the sixth switch S6 and a second current source; a seventh switch S7 provided on the connection of the fifth node N5 with the USB PHY; an eighth switch S8 disposed on the connection of the sixth node N6 with the USB PHY.
The third voltage source may be an independent voltage source, or may be a 0.6V voltage source of the USB PHY under the BC1.2 charging specification. The current source is a controlled current source and is easy to realize through an IC (integrated circuit), can be realized by using an MOSFET (metal oxide semiconductor field effect transistor) under the condition of low precision requirement, and can be realized by using an MOSFET current-adding negative feedback circuit under the condition of high precision requirement. The fifth switch S5, the sixth switch S6, the seventh switch S7 and the eighth switch S8 are connected with the processor of the intelligent terminal and are controlled to be opened or closed by the processor. The analog-to-digital converter is connected with the processor of the intelligent terminal, the processor of the intelligent terminal calculates the resistance RID5 according to the voltage value read by the analog-to-digital converter, and identifies the output capability of the charger according to the corresponding relation between the resistance and the output capability of the charger.
The specific identification method comprises the following steps:
c1: the D + line and the D-line of the smart terminal are disconnected from the USB PHY, that is, the seventh switch S7 and the eighth switch S8 are opened, and the fifth switch S5 and the sixth switch S6 are in an open state.
C2: and adding a voltage V to a D + line of the intelligent terminal. I.e. closing the fifth switch S5, a voltage V is applied to the D + line by the third voltage source.
C3: and reading the voltage V2 on the D-line of the intelligent terminal. That is, the digital-to-analog converter reads the voltage V2 on the D-line at this time.
C4: and adding current I to a D-line of the intelligent terminal. I.e. the sixth switch S6 is closed, a current I is added to the D-line by the second current source.
C5: and reading the voltage V3 on the D-line of the intelligent terminal. That is, the digital-to-analog converter reads the voltage V3 on the D-line at this time.
C6: the resistance values of the identity modules are calculated from the values of V2, I, V3. It should be noted that there is also an equivalent resistance Res3 (equivalent resistance Res4) on the D + line (D-line) path, and the equivalent resistance specifically includes PCB track resistance, interface contact resistance, cable resistance, electronic device resistance, and the like. The processor calculates the resistance of resistor RID5 according to the following equation: RID5 ═ V2-V3)/I-Res3-Res 4.
C7: after the processor calculates the resistance value of the resistor RID5, the charger characteristic is judged according to the corresponding relation between the preset resistance value range and the charger characteristic.
Specifically, for example, when the calculated resistance value of RID5 is within the range of 100-; when the preset calculated resistance value of RID5 is in the range of 175-225 Ω, the output current of the corresponding charger is 2A, and the charger type is a non-constant current charger. The specific corresponding relation can be flexibly set according to the requirement. Therefore, after the intelligent terminal obtains the resistance value of RID5, the output current and the type of the charger can be judged according to the corresponding relation between the range to which the resistance value belongs and the output current and the type of the charger. And then can rationally arrange the charging strategy according to the output current type of charger, guarantee the safety of charging under the high-efficient condition of charging.
The invention also discloses a charger, wherein an identification module is arranged in the charger, and the information of the identification module is associated with the characteristics of the charger; and the information of the identification module is used for being acquired by an acquisition module in the intelligent terminal, so that the charger characteristics are identified by the intelligent terminal according to the information.
Specifically, the identification module may be a resistor connected between a D-line and a D + line in the charger in the embodiment of fig. 3. The identification module may also be an interface chip with a short-circuit function and a resistor connected in series with the interface chip, which are connected between the D-line and the D + line in the charger in the embodiment of fig. 4. The information of the identification module is the resistance value of the resistor. The resistance value of the resistor is related to the characteristic of the charger. For example, the output capability and/or type of the charger, but may of course also be associated with other suitable charger features, and may in particular be flexibly arranged as required. The resistance value of the resistor is used for being obtained by an obtaining module in the intelligent terminal, so that the intelligent terminal can identify the charger characteristics according to the relation between the resistance value of the resistor and the charger characteristics. The obtaining module may be any module or structure as long as the resistance value of the resistor can be obtained.
The invention also discloses an intelligent terminal, wherein an acquisition module is arranged in the intelligent terminal, and the acquisition module is used for acquiring the information of the identification module which is arranged in the charger and is associated with the charger characteristics and identifying the charger characteristics according to the information.
Specifically, the obtaining module may be the obtaining module in the embodiment of fig. 5, 6, or 7, and is configured to obtain a resistance value (i.e., information of the identification module) of a resistor connected between a D-line and a D + line in the charger, where the resistance value of the resistor is associated with the charger characteristic, and after the obtaining module obtains the resistance value of the resistor, the intelligent terminal may identify the charger characteristic according to a relationship between the resistance value and the charger characteristic. The identification module may be any module or structure as long as its resistance value can be associated with the charger characteristic and can be obtained by the obtaining module.
Through the technical scheme, when the intelligent terminal is connected to the charger, the charger characteristics can be identified, so that the charging strategy can be reasonably arranged according to the charger characteristics, and the charging efficiency can be improved as much as possible under the condition of ensuring the charging safety.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 (13)

1. A charger, characterized in that,
an identification module is arranged in the charger, and the information of the identification module is associated with the characteristics of the charger;
and the information of the identification module is used for being acquired by an acquisition module in the intelligent terminal, so that the charger characteristics are identified by the intelligent terminal according to the information.
2. The charger of claim 1,
the identification module is a resistor connected between a D + line and a D-line of the charger;
the information of the identification module is the resistance value of the resistor.
3. The charger of claim 1,
the identification module is an interface chip with a short circuit function and a resistor connected with the interface chip in series, and the interface chip and the resistor are connected between a D + line and a D-line of the charger;
the information of the identification module is the resistance value of the resistor.
4. An intelligent terminal is characterized in that a terminal body is provided with a plurality of terminals,
the intelligent terminal is internally provided with an acquisition module, and the acquisition module is used for acquiring information of an identification module which is arranged in the charger and is associated with the charger characteristics and identifying the charger characteristics according to the information.
5. The intelligent terminal of claim 4, wherein the acquisition module comprises:
a first voltage source connected to a first node on the D + line or the D-line, the first voltage source being grounded;
the pull-down circuit is correspondingly connected to a second node on the D-line or the D + line and is grounded;
a voltage comparator connected in parallel to the second node;
other circuitry connected in parallel to the first node;
other circuits connected in parallel to the second node.
6. The intelligent terminal of claim 5,
the first voltage source is an independent voltage source or a 0.6V voltage source of BC1.2 PHY;
the pull-down circuit is a resistor and/or a first current source;
the comparator has two inputs, wherein the first input is a second node and the second input is a threshold voltage Vth;
the comparator has an output state Vo.
7. The intelligent terminal of claim 4, wherein the acquisition module comprises:
the first switch and the second voltage source are connected to a third node on the D + line or the D-line, and the second voltage source is grounded;
the second switch and the resistor are respectively connected to a fourth node on the D-line or the D + line, and the resistor is grounded;
an analog-to-digital converter connected in parallel to the second switch and the resistor;
a third switch disposed on a connection of the third node and the USB PHY;
and the fourth switch is arranged on a connecting line of the fourth node and the USB PHY.
8. The intelligent terminal of claim 7,
the second voltage source is an independent voltage source or a 0.6V voltage source of BC1.2 PHY.
9. The intelligent terminal of claim 4, wherein the acquisition module comprises:
a fifth switch and a third voltage source connected to a fifth node on the D + line or the D-line, the third voltage source being grounded;
a sixth switch and a second current source respectively connected to a sixth node on the D-line or D + line, the second current source being grounded;
an analog-to-digital converter connected in parallel to the sixth switch and the current source;
the seventh switch is arranged on a connecting line of the fifth node and the USB PHY;
and the eighth switch is arranged on a connection line of the sixth node and the USB PHY.
10. A charger identification method is used for an intelligent terminal to identify a charger, and is characterized by comprising the following steps:
an acquisition module in the intelligent terminal acquires the resistance value of an identification module connected between a D + line and a D-line of the charger;
and judging the charger characteristics according to the corresponding relation between the preset resistance value range and the charger characteristics.
11. The method for identifying a charger according to claim 10, wherein the step of the obtaining module in the smart terminal obtaining the resistance value of the identification module connected between the D + line and the D-line of the charger comprises:
changing the output voltage of the first voltage source, the circuit parameter of the pull-down circuit and/or the threshold voltage Vth, and detecting the output state Vo of the comparator;
when the output state Vo is inverted, recording a first output voltage, a first circuit parameter and/or a first threshold voltage Vth1 before the output state Vo is inverted and recording a second output voltage, a second circuit parameter and/or a second threshold voltage Vth2 after the output state Vo is inverted;
and calculating the resistance value range of the identification module according to the first output voltage, the second output voltage, the first circuit parameter, the second circuit parameter, the first threshold voltage Vth1 and/or the second threshold parameter Vth 2.
12. The method for identifying a charger according to claim 10, wherein the step of the obtaining module in the smart terminal obtaining the resistance value of the identification module connected between the D + line and the D-line of the charger comprises:
the acquisition module disconnects a D + line and a D-line of the intelligent terminal from the USB PHY;
a voltage V is applied to a D + line of the intelligent terminal;
reading a voltage V0 on a D-line of the intelligent terminal;
a resistor R1 with known resistance is connected to the D-line of the intelligent terminal;
a voltage division V1 of the read resistor R1;
and calculating the resistance value of the identification module according to the values of V0, R1 and V1.
13. The method for identifying a charger according to claim 10, wherein the step of the obtaining module in the smart terminal obtaining the resistance value of the identification module connected between the D + line and the D-line of the charger comprises:
the acquisition module disconnects a D + line and a D-line of the intelligent terminal from the USB PHY;
a voltage V is applied to a D + line of the intelligent terminal;
reading a voltage V2 on a D-line of the intelligent terminal;
adding current I to a D-line of the intelligent terminal;
reading a voltage V3 on a D-line of the intelligent terminal;
the resistance values of the identity modules are calculated from the values of V2, I, V3.
CN202010194576.1A 2019-06-04 2020-03-18 Charger, intelligent terminal and identification method of charger Pending CN111262304A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2019104833411 2019-06-04
CN201910483341.1A CN110190650A (en) 2019-06-04 2019-06-04 A kind of identifying system of charger, charger, intelligent terminal and recognition methods

Publications (1)

Publication Number Publication Date
CN111262304A true CN111262304A (en) 2020-06-09

Family

ID=67720365

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910483341.1A Pending CN110190650A (en) 2019-06-04 2019-06-04 A kind of identifying system of charger, charger, intelligent terminal and recognition methods
CN202010194576.1A Pending CN111262304A (en) 2019-06-04 2020-03-18 Charger, intelligent terminal and identification method of charger

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910483341.1A Pending CN110190650A (en) 2019-06-04 2019-06-04 A kind of identifying system of charger, charger, intelligent terminal and recognition methods

Country Status (1)

Country Link
CN (2) CN110190650A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111628551A (en) * 2020-06-12 2020-09-04 深圳传音控股股份有限公司 Power supply circuit, power supply system and power supply method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111628551A (en) * 2020-06-12 2020-09-04 深圳传音控股股份有限公司 Power supply circuit, power supply system and power supply method

Also Published As

Publication number Publication date
CN110190650A (en) 2019-08-30

Similar Documents

Publication Publication Date Title
US8627121B2 (en) USB-on-the-go bi-directional protection circuit
EP2075872B1 (en) Battery module and method for determining battery ID and temperature
WO2015115783A1 (en) Charging circuit and electronic device having the same
US11342774B2 (en) Power conversion circuit, and charging apparatus and system
CN202196398U (en) Power supply managing circuit of charging/ communication multiplex interface and digital electronic product
WO2018052917A1 (en) Charging circuit for battery-powered device
WO2022194106A1 (en) Dual-battery charging and discharging circuit and control method, and electronic device
US20120198250A1 (en) Portable terminal equipment, a power supply system, and a power supply method and a power supply program for portable terminal equipment
US11404895B2 (en) Power conversion circuit, and charging apparatus and system
CN102882246A (en) Device and method for charging a master device using a detachable device
CN101267120A (en) Method for identifying power device and its circuit
CN113241835B (en) Charging module, electronic equipment and charging control method
CN111262304A (en) Charger, intelligent terminal and identification method of charger
CN106058798B (en) Voltage protection, method and wearable device
CN216390547U (en) PD charging circuit capable of automatically compensating line loss
CN210927452U (en) Slow starting circuit
CN208971379U (en) A kind of anti-overshoot protection circuit
CN214069600U (en) Charging protection circuit, mobile device and charging device
CN115425716A (en) Electronic device
CN214380163U (en) Switch type charging circuit and electronic equipment
CN219938400U (en) Power supply circuit, scanner host and scanner assembly
EP4138290A1 (en) Buck converter including a bootstrap capacitor and an operating method thereof
CN218920024U (en) Charging control circuit, charging module and electronic equipment
CN219107087U (en) Charging module and charging device
CN211701557U (en) Battery information reading device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination