A charger, a smart terminal and a method for identifying the charger

By incorporating an identification module within the charger and an acquisition module within the smart terminal, the charger's characteristics are identified, resolving the overload issue caused by incompatibility between the smart terminal and the charger, and achieving a safe and efficient charging process.

CN111262304BActive Publication Date: 2026-02-13SHENZHEN TRANSSION HLDG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010194576.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-06-04
Filing Date
2020-03-18
Publication Date
2026-02-13
Estimated Expiration
2040-03-18

AI Technical Summary

Technical Problem

In existing technologies, standard USB chargers cannot recognize their output capabilities, causing smart terminals to draw more current than the charger's output capacity during charging, resulting in charger overload, overheating, or even burnout.

Method used

An identification module is set up inside the charger. The information of the identification module is associated with the characteristics of the charger. The acquisition module in the smart terminal obtains this information to identify the characteristics of the charger, including the use of resistors or a combination of resistors and interface chips with shorting function, combined with components such as voltage sources, pull-down circuits and comparators to detect the resistance value.

Benefits of technology

It enables smart terminals to identify charger characteristics, ensuring reasonable arrangement of charging strategies, avoiding charging overload and overheating, and guaranteeing charging safety and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111262304B_ABST
    Figure CN111262304B_ABST
Patent Text Reader

Abstract

The application discloses a charger, a smart terminal and a recognition method of the charger. The charger is internally provided with an identification module; the smart terminal is internally provided with an acquisition module, which is used for acquiring information of the identification module and identifying charger characteristics according to the information. After the above technical scheme is adopted, the smart terminal can identify the charger characteristics, so that a reasonable charging strategy can be executed according to the charger characteristics, the charger overload, overheating and even burning are avoided, and the safety of charging is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to the Chinese patent application No. 201910483341.1 filed on June 4, 2019 and titled "A charging device identification system, a charging device, a smart terminal and an identification method", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] The present application relates to the field of smart terminal charging devices, in particular to a charging device, a smart terminal and a charging device identification method. BACKGROUND

[0003] Currently, a standard USB charging device usually short-circuits the D+ line and the D- line in the charging device according to the BC1.2 specification, and does not connect with other components of the charging device, as shown in the attached Figure 1 The smart terminal to be charged identifies whether the charging device is a standard USB charging device by judging whether the D+ line and the D- line in the charging device are short-circuited.

[0004] The standard charging device short-circuiting the D+ line and the D- line in the charging device according to the BC1.2 specification cannot support fast charging and has no identification feature, so the smart terminal cannot identify the output capability thereof. Therefore, when a charging device with an output capability less than that of the standard charging device of the smart terminal is connected to the smart terminal, the smart terminal will draw a current greater than the output capability of the charging device, thereby causing the charging device to be overloaded, which may cause the charging device to overheat, reduce the service life, and even be burned out, etc.

[0005] Therefore, it is necessary to develop a charging device identification system and method that enables the smart terminal to identify the charging device features, such as the output capability of the charging device. SUMMARY

[0006] The main purpose of the present application is to provide a charging device, a smart terminal and a charging device identification method, which aims to solve the problem that the charging device is easily overloaded due to the mismatch between the smart terminal and the charging device.

[0007] To achieve the above purpose, the present application discloses a charging device, wherein an identification module is arranged in the charging device, and the information of the identification module is associated with the charging device features;

[0008] The information of the identification module is used to be acquired by an acquisition module in the smart terminal, so that the charging device features are identified by the smart terminal according to the information.

[0009] Optionally, the identification module is a resistor connected between the D+ line and the D- line of the charging device.

[0010] The information of the identification module is the resistance value of the resistor.

[0011] Optionally, the identification module is an interface chip with a shorting function and a resistor connected in series with the interface chip, and the interface chip and the resistor are connected between the D+ line and the D- line of the charger;

[0012] The information of the identification module is the resistance value of the resistor.

[0013] The application further discloses an intelligent terminal, wherein an acquisition module is arranged in the intelligent terminal, the acquisition module is used for acquiring information of an identification module associated with a charger feature arranged in a charger, and the charger feature is identified according to the information.

[0014] Optionally, the acquisition module comprises:

[0015] a first voltage source connected to a first node on the D+ line or the D- line, and the first voltage source is grounded;

[0016] a pull-down circuit connected to a second node on the D- line or the D+ line, and the pull-down circuit is grounded;

[0017] a voltage comparator connected in parallel to the second node;

[0018] another circuit connected in parallel to the first node;

[0019] another circuit 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.2 PHY;

[0020] the pull-down circuit is a resistor and / or a first current source;

[0021] the comparator has two inputs, wherein a first input is the second node, and a second input is a threshold voltage Vth;

[0022] the comparator has one output state Vo.

[0023] Optionally, the acquisition module comprises:

[0024] a first switch and a second voltage source connected to a third node on the D+ line or the D- line, and the second voltage source is grounded;

[0025] a second switch and a resistor connected to a fourth node on the D- line or the D+ line, and the resistor is grounded;

[0026] an analog-to-digital converter connected in parallel to the second switch and the resistor;

[0027] a third switch arranged on a USB PHY line of the third node;

[0028] A fourth switch is arranged on the fourth node and connected with the USB PHY.

[0029] Optionally, the second voltage source is an independent voltage source or a 0.6V voltage source of the BC1.2 PHY.

[0030] Optionally, the acquisition module comprises:

[0031] A fifth switch connected to the fifth node on the D+ line or the D- line and a third voltage source, wherein the third voltage source is grounded.

[0032] A sixth switch connected to the sixth node on the D- line or the D+ line and a second current source, wherein the second current source is grounded.

[0033] An analog-to-digital converter connected in parallel to the sixth switch and the current source.

[0034] A seventh switch arranged on the fifth node and connected with the USB PHY.

[0035] An eighth switch arranged on the sixth node and connected with the USB PHY.

[0036] The application further discloses a charger identification method for identifying a charger by a smart terminal, and the charger identification method comprises the following steps:

[0037] An acquisition module in the smart terminal acquires a resistance value of an identification module connected between a D+ line and a D- line of the charger.

[0038] According to a preset resistance value range and a corresponding relationship between the charger characteristics, the charger characteristics are determined.

[0039] Optionally, the step of acquiring, by the acquisition module in the smart terminal, the resistance value of the identification module connected between the D+ line and the D- line of the charger comprises:

[0040] The output voltage of the first voltage source, the circuit parameter of the pull-down circuit and / or the threshold voltage Vth are changed, and the output state Vo of the comparator is detected.

[0041] When the output state Vo is reversed, the first output voltage, the first circuit parameter and / or the first threshold voltage Vth1 before the output state Vo is reversed are recorded, and the second output voltage, the second circuit parameter and / or the second threshold voltage Vth2 after the output state Vo is reversed are recorded.

[0042] 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 Vth2, the resistance value range of the identification module is calculated.

[0043] Optionally, the step of the acquiring module in the intelligent terminal acquiring the resistance value of the identification module connected between the D+ line and the D- line of the charger comprises:

[0044] The acquiring module disconnects the D+ line and the D- line of the intelligent terminal from the USB PHY;

[0045] A voltage V is applied to the D+ line of the intelligent terminal;

[0046] A voltage V0 on the D- line of the intelligent terminal is read;

[0047] A resistance R1 with a known resistance value is connected to the D- line of the intelligent terminal;

[0048] A voltage V1 of the resistance R1 is read;

[0049] The resistance value of the identification module is calculated according to the values of V0, R1 and V1.

[0050] Optionally, the step of the acquiring module in the intelligent terminal acquiring the resistance value of the identification module connected between the D+ line and the D- line of the charger comprises:

[0051] The acquiring module disconnects the D+ line and the D- line of the intelligent terminal from the USB PHY;

[0052] A voltage V is applied to the D+ line of the intelligent terminal;

[0053] A voltage V2 on the D- line of the intelligent terminal is read;

[0054] A current I is applied to the D- line of the intelligent terminal;

[0055] A voltage V3 on the D- line of the intelligent terminal is read;

[0056] The resistance value of the identification module is calculated according to the values of V2, I and V3.

[0057] In the present application, the charger is provided with an identification module, and the intelligent terminal is provided with an acquiring module, which is used to acquire information of the identification module and identify the charger characteristics according to the information. The technical solution disclosed in the present application is relatively simple and easy to implement. The charger characteristics can be effectively identified by the intelligent terminal, and corresponding charging strategies are executed according to the charging characteristics, so that the charging safety is ensured, and the charging overload, overheating and even burning of the charger are avoided BRIEF DESCRIPTION OF DRAWINGS

[0058] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0059] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, for those skilled in the field, other drawings can also be obtained based on these drawings without any creative effort.

[0060] Figure 1 Structure diagram of a charger in the prior art;

[0061] Figure 2 Structure diagram of a charger in the prior art;

[0062] Figure 3 Structure diagram of a charger in the prior art;

[0063] Figure 4 Structure diagram of a charger in the prior art;

[0064] Figure 5 Structure diagram of a charger in the prior art;

[0065] Figure 6 Structure diagram of a charger in the prior art;

[0066] Figure 7 Structure diagram of a charger in the prior art.

[0067] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0068] It should be understood that the specific embodiments described herein merely serve to explain the present application and are not intended to limit the present application.

[0069] In the following description, the suffixes such as "module", "part", or "unit" used for an element are merely intended for facilitating explanation of the present application, and are not intended to have the specific meaning or function. Therefore, "module", "part", or "unit" can be mixedly used.

[0070] Referring to the drawings Figure 2 Structure diagram of a charger in the prior art;

[0071] The charger is used to accept commercial power, and performs voltage reduction on the commercial power, converts the commercial power into low-voltage pulses, and then, through a rectification and voltage stabilization circuit, becomes stable low-voltage direct current to provide the intelligent terminal.

[0072] The intelligent terminal can be a mobile intelligent terminal. The mobile intelligent terminal mainly includes: 1. a smart phone, which refers to "a kind of mobile phone that is like a human brain, has an independent operating system, can be installed with software and programs provided by a third party service provider by a user, and can be expanded in function through the programs, and can be connected to a wireless network through a mobile network"; 2. a PDA intelligent terminal, which is also called a palm computer, can help us to work, study and entertain in the mobile. According to the use, it is divided into industrial PDA and consumer PDA. It is widely used in data acquisition of shoe, clothing, fast consumption, express delivery and other industries, and supports wireless network communication such as BT / GPRS / 3G / WiFi. 3. a tablet computer, which is a small and portable personal computer with a touch screen as the basic input device. The touch screen (also known as digitizer technology) allows users to work through an electronic pen instead of a traditional keyboard or mouse. The intelligent terminal can also be a fixed type intelligent terminal in some cases.

[0073] The charger is provided with an identification module, and the intelligent terminal is provided with an acquisition module, which is used to acquire information of the identification module and identify the charger characteristics according to the information.

[0074] The charger characteristics mentioned here can be the type of charger, such as standard charger or special charger. The charger characteristics can also be the output capacity of the charger, including but not limited to the maximum output current, the maximum output voltage and the like of the charger. In some embodiments, the charger characteristics can also be whether the charger supports constant current output. The characteristics of the charger can be freely set, as long as they are associated with the information of the identification module. After the acquisition module in the intelligent terminal acquires the information of the identification module, it can identify the charger characteristics according to the information, so as to know the charger characteristics. Further, after the intelligent terminal knows the charger characteristics, it can reasonably arrange the charging strategy according to the charger characteristics, so that the intelligent terminal can be charged efficiently and safely. For example, after the intelligent terminal knows the output capacity of the charger, it can set the current drawn slightly less than the maximum output current of the charger, so as to ensure that the charger can output efficiently without overloading, and ensure the safety of the charging process.

[0075] Referring to the accompanying drawings Figure 3Fig. 1 is a structural schematic diagram of a charger according to an embodiment of the present application. The charger and the intelligent terminal are connected through USB (Universal Serial Bus), i.e. through four lines of USB, which are VBUS, D-, D+, and GND. The 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 line or power bus for power supply, and GND is a ground line. The D- line and the D+ line in the charger are connected with an identification module, which 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 associated with the charger characteristics. For example, for chargers with different output capacities, different resistance values of the resistor RID can be set therein, and the output capacity and the resistance value are one-to-one corresponding. Thus, after the resistance value of the resistor RID in the charger is acquired by the acquisition module in the intelligent terminal, the output capacity of the charger can be known according to the corresponding relationship between the resistance value and the output capacity, and then the intelligent terminal can arrange a suitable charging strategy according to the output capacity of the charger.

[0076] Referring to Fig. 1, Figure 4 Fig. 2 is a structural schematic diagram of a charger according to another embodiment of the present application. The charger and the intelligent terminal are connected through USB, i.e. through four lines of USB, which are VBUS, D-, D+, and GND. In this embodiment, the D- line and the D+ line in the charger are connected with an identification module, which is an interface chip with a shorting function and a resistor connected in series with the interface chip, 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 to realize the shorting of the D- line and the D+ line, and a functional circuit for controlling the opening and closing of a switch SW is arranged on the interface chip, and the two ends of the switch SW are connected with the D- line and the D+ line respectively, and the shorting of the D+ line and the D- line is realized when the switch SW is closed. Resistors RID1 and RID2 are arranged on the connection lines of the interface chip and the D- line and the D+ line respectively. The information of the identification module is the sum of the resistance values of the resistors RID1 and RID2, and the sum of the resistance values of the resistors RID1 and RID2 is associated with the charger characteristics. The acquisition module in the intelligent terminal is used to acquire the sum of the resistance values of the resistors RID1 and RID2, and after the sum of the resistance values of the resistors RID1 and RID2 is acquired, the charger characteristics can be known according to the corresponding relationship between the sum of the resistance values and the charger characteristics. In some embodiments, only one of the resistors RID1 and RID2 can be arranged, and in this case, the information of the identification module is the resistance value of the resistor RID1 or RID2.

[0077] Referring to Fig. 2, Figure 5Figure 1 is a schematic diagram of the identification system of the charger in an embodiment of the present application. The identification system of the charger comprises a charger and a smart terminal, and the charger and the smart terminal are connected through USB. The charger has the same structure as the charger in the embodiment Figure 3 The charger in the embodiment has the same structure as the charger. The identification module, i.e. the resistor RID3, is connected between the D+ line and the D- line in the charger. The resistance value of the resistor RID3 is associated with the charger characteristics, and in the embodiment, the charger characteristics are the output current of the charger and the charger type. Specifically, for example, the constant current charger with the output current of 1.2 A is provided with the resistor RID5 with the resistance value of 150 Ω; the constant current charger with the output current of 2 A is provided with the resistor RID3 with the resistance value of 200 Ω, and so on. The resistance value can be flexibly set as required. The D+ line and the D- line of the charger are connected with the USB PHY in the smart terminal. The smart terminal is provided with an acquisition module, which comprises: a first voltage source connected to a first node on the D+ line or the D- line, the first voltage source being grounded; a pull-down circuit connected to a second node on the D- line or the D+ line, the pull-down circuit being grounded; a voltage comparator connected in parallel to the second node; other circuits connected in parallel to the first node; and other circuits connected in parallel to the second node. The first voltage source is a 0.6 V voltage source of the BC1.2 PHY; the pull-down circuit is a resistor, and the pull-down circuit can also be set as a current source or a combination of a resistor and a current source according to the actual situation; the comparator has two inputs, of which the first input is the second node and the second input is a threshold voltage Vth; and the comparator has one output state Vo. Figure 5

[0078] Specifically, the identification method comprises:

[0079] 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;

[0080] Step A2, when the output state Vo flips, recording the first output voltage, the first circuit parameter and / or the first threshold voltage Vth1 before the output state flips Vo and recording the second output voltage, the second circuit parameter and / or the second threshold voltage Vth2 after the output state flips Vo;

[0081] 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 Vth2;

[0082] ​At least one of the output voltage of the first voltage source, the circuit parameter (resistor resistance or current source) of the pull-down circuit, the threshold voltage Vth, and the output state Vo of the comparator can be detected to obtain the resistance value range of the identification module. For convenience, only one of the values is changed to obtain the resistance value range of the identification module. First, other circuits connected to the D+ line and the D- line of the intelligent terminal stop working, the corresponding first node and the second node are set to a high resistance state, then different parameters are changed for corresponding operation, such as changing the threshold voltage Vth, then a voltage V=0.6V is added to the D+ line of the intelligent terminal, a pull-down resistor R is added to the D1 line of the intelligent terminal, the comparator output is monitored, and the Vth1 and Vth2 before and after the comparator output state flips are recorded, and the range of RID3 is calculated: R(0.6V-Vth1) / Vth1>RID3>R(0.6V-Vth2) / Vth2, such as changing the first voltage source voltage, then a voltage V is added to the D+ line of the intelligent terminal, a pull-down resistor R is added to the D1 line of the intelligent terminal, the comparator output is monitored, and the V1 and V2 before and after the comparator output state flips are recorded, and the range of RID3 is calculated: R(V1-Vth) / Vth>RID3>R(V2-Vth) / Vth, such as changing the resistance of the resistor in the pull-down circuit, then a voltage V=0.6V is added to the D+ line of the intelligent terminal, a variable resistor R is added to the D1 line of the intelligent terminal, the comparator output is monitored, and the R1 and R2 before and after the pull-down resistor resistance are recorded, and the range of RID3 is calculated: R1(0.6V-Vth) / Vth>RID3>R2(0.6V-Vth) / Vth, then according to the correspondence between the pre-set resistance value range and the charger characteristics, the charger characteristics are determined. Specifically, for example, when the calculated resistance value of RID3 is in the range of 100-175Ω, the output current of the corresponding charger is 1.2A, and the charger type is a constant current charger; when the 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 correspondence can be flexibly set as needed. Thus, after the intelligent terminal obtains the resistance value of RID3, the output current and type of the charger can be determined according to the range to which the resistance value belongs and the correspondence between the charger output current and the charger type. Then, the charging strategy can be reasonably arranged according to the output current type of the charger to ensure charging safety under efficient charging.

[0083] Referring to the accompanying drawings Figure 6 , the charger identification system includes a charger and an intelligent terminal, and the charger and the intelligent terminal are connected through a USB. The structure of the charger is the same as that of the charger identification system in the embodiment of the present application Figure 3The charger structure in the embodiment is the same, and a identification module, i.e. a resistor RID4, is connected between the D+ line and the D- line in the charger. The resistance value of the resistor RID4 is associated with the charger characteristics, and in the embodiment, the charger characteristics 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.2 A, the resistance value of its resistor RID4 is set to 150 Ω; for a non-constant current charger with an output current of 2 A, the resistance value of its resistor RID4 is set to 200 Ω, and so on. It can be flexibly set as needed. The D+ line and the D- line of the charger are connected with the USB PHY in the intelligent terminal. The intelligent terminal is provided with an acquisition module, which 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 grounded; a second switch S2 and a resistor R1 connected to a fourth node N4 on the D- line, the resistor R1 being grounded; an analog-to-digital converter (ADC) connected in parallel to the second switch S2 and the resistor R1; a third switch S3 provided on the connection line between the third node N3 and the USB PHY; and a fourth switch S4 provided on the connection line between the fourth node N4 and the USB PHY. In some embodiments, the first switch S1 and the first voltage source can be connected to the D- line, while the second switch S2, the resistor R1 and the digital-to-analog converter are connected to the D+ line.

[0084] The second voltage source can be an independent voltage source or a 0.6V voltage source of the USB PHY under the BC 1.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, and the processor calculates the resistance value of the resistor 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 relationship between the resistance value and the output capability of the charger.

[0085] Specific identification methods include:

[0086] B1: disconnect the D+ line and the D- line of the intelligent terminal from the USB PHY. That is, the third switch S3 and the fourth switch S4 are opened. At this time, the first switch S1 and the second switch S2 are both in the open state.

[0087] B2: add a voltage V to the D+ line of the intelligent terminal. That is, the first switch S1 is closed, and a voltage V is added to the D+ line by the second voltage source.

[0088] B3: read 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.

[0089] B4: Connect a resistor R1 with a known resistance value to the D-line of the smart terminal. That is, close the second switch S2 to connect the resistor R1 to the D-line.

[0090] B5: Read the voltage V1 of resistor R1. That is, the digital-to-analog converter reads the voltage V1 of resistor R1 at this time.

[0091] B6: Calculate the resistance value of the identification module based on the values ​​of V0, R1, and V1. It should be noted that there is also an equivalent resistance Res1 on the D+ (D-) line path. This equivalent resistance specifically includes PCB trace resistance, interface contact resistance, cable resistance, and electronic component resistance. The processor calculates the resistance value of RID4 using the following formula: RID4 = R1 * (V0 - V1) / V1 - Res1 - Res2

[0092] B7: After calculating the resistance value of resistor RID4, the processor determines the charger characteristics based on the preset resistance value range and the correspondence between the charger characteristics and the charger characteristics.

[0093] Specifically, for example, it can be preset that when the calculated resistance of RID4 is in the range of 100-175Ω, the corresponding charger output current is 1.2A, and the charger type is a constant current charger; when the calculated resistance of RID4 is in the range of 175-225Ω, the corresponding charger output current is 2A, and the charger type is a non-constant current charger. The specific correspondence can be flexibly set as needed. Therefore, after obtaining the resistance value of RID4, the smart terminal can determine the charger's output current and type based on the correspondence between the resistance range and the charger's output current and type. Furthermore, based on the charger's output current and type, a reasonable charging strategy can be arranged to ensure charging safety while maintaining high efficiency.

[0094] See appendix Figure 7 This is a detailed structural diagram of a charger identification system according to another embodiment of the present invention. The charger identification system includes a charger and a smart terminal, which are connected via USB. The charger's structure is similar to... Figure 3The charger structure in the embodiment is the same, and a identification module, i.e. a resistor RID5, is connected between the D+ line and the D- line in the charger. The resistance value of the resistor RID5 is associated with the charger characteristics, and in the embodiment, the charger characteristics 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.2 A, the resistance value of its resistor RID5 is set to 150 Ω; for a non-constant current charger with an output current of 2 A, the resistance value of its resistor RID5 is set to 200 Ω, and so on. It can be flexibly set as required. The D+ line and the D- line of the charger are connected with the USB PHY in the intelligent terminal. The intelligent terminal is provided with an acquisition module, which 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 grounded; a sixth switch S6 and a second current source connected to a sixth node N6 on the D- line, the second current source being grounded; an analog-to-digital converter connected in parallel to the sixth switch S6 and the second current source; a seventh switch S7 provided on the connection line between the fifth node N5 and the USB PHY; and an eighth switch S8 provided on the connection line between the sixth node N6 and the USB PHY.

[0095] The third voltage source can be an independent voltage source or a 0.6 V voltage source of the USB PHY under the BC 1.2 charging specification. The current source is a controlled current source, which can be easily realized by an IC, and can be realized by a MOSFET in the case of low precision requirement, and can be realized by a MOSFET plus a current negative feedback circuit in the case 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 calculates the resistance value of the resistor 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 relationship between the resistance value and the output capability of the charger.

[0096] Specific identification methods include:

[0097] C1: disconnect the D+ line and the D- line of the intelligent terminal from the USB PHY, i.e. disconnect the seventh switch S7 and the eighth switch S8, at this time the fifth switch S5 and the sixth switch S6 are in the open state.

[0098] C2: add a voltage V to the D+ line of the intelligent terminal. That is, the fifth switch S5 is closed, and a voltage V is added to the D+ line by the third voltage source.

[0099] C3: read the voltage V2 on the D- line of the intelligent terminal. That is, the analog-to-digital converter reads the voltage V2 on the D- line at this time.

[0100] C4: add a current I on the D- line of the intelligent terminal. Namely, close the sixth switch S6, and add a current I on the D- line by the second current source.

[0101] C5: read the voltage V3 on the D- line of the intelligent terminal. Namely, the digital-to-analog converter reads the voltage V3 on the D- line at this time.

[0102] C6: calculate the resistance value of the identification module according to the values of V2, I and V3. It should be noted that there are equivalent resistances Res3 (equivalent resistance Res4) on the D+ line (D- line) path, and the equivalent resistance specifically includes the PCB trace resistance, interface contact resistance, cable resistance, electronic device resistance, etc. The processor calculates the resistance value of the resistance RID5 according to the following formula: RID5 = (V2-V3) / I-Res3-Res4.

[0103] C7: after the processor calculates the resistance value of the resistance RID5, the charger characteristic is determined according to the correspondence relationship between the preset resistance value range and the charger characteristic.

[0104] Specifically, for example, when the calculated resistance value of RID5 is in the range of 100-175Ω, the output current of the corresponding charger is 1.2A, and the charger type is a constant current charger; when the 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 correspondence relationship can be flexibly set according to needs. Thus, after the intelligent terminal obtains the resistance value of RID5, the output current and type of the charger can be determined according to the range to which the resistance value belongs and the correspondence relationship between the charger output current and the charger type. Further, the charging strategy can be reasonably arranged according to the output current type of the charger, so as to guarantee charging safety in the case of efficient charging.

[0105] The application also discloses a charger, wherein an identification module is arranged in the charger, the information of the identification module is associated with the charger characteristic; and the information of the identification module is used for being acquired by an acquisition module in the intelligent terminal, so that the charger characteristic is identified by the intelligent terminal according to the information.

[0106] Specifically, the identification module can be Figure 3 The resistance connected between the D- line and the D+ line in the charger in the embodiment. The identification module can also be Figure 4The interface chip with short-circuit function connected between the D- line and the D+ line in the charger and the resistance connected in series with the interface chip in the embodiment. The information of the identification module is the resistance value of the resistance. The resistance value of the resistance is related to the charger characteristics. For example, the resistance value of the resistance is related to the output capacity and / or type of the charger, and of course, the resistance value of the resistance can also be related to other suitable charger characteristics, which can be flexibly set as required. The resistance value of the resistance is obtained by the acquisition module in the intelligent terminal, so that the intelligent terminal can identify the charger characteristics according to the relationship between the resistance value of the resistance and the charger characteristics. The acquisition module can be any module or structure as long as the resistance value of the resistance can be obtained.

[0107] The application further discloses an intelligent terminal, wherein an acquisition module is arranged in the intelligent terminal, and the acquisition module is used for acquiring information of an identification module arranged in a charger and related to charger characteristics, and identifying the charger characteristics according to the information.

[0108] Specifically, the acquisition module can Figure 5 、 Figure 6 or Figure 7 The acquisition module in the embodiment is used for acquiring the resistance value of the resistance connected between the D- line and the D+ line in the charger (that is, the information of the identification module), and the resistance value of the resistance is related to the charger characteristics, so that after the acquisition module acquires the resistance value of the resistance, the intelligent terminal can identify the charger characteristics according to the relationship between the resistance value and the charger characteristics. The identification module can be any module or structure as long as the resistance value of the resistance can be associated with the charger characteristics and can be acquired by the acquisition module.

[0109] Through the technical scheme of the application, 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 then the charging efficiency can be improved as much as possible under the condition of ensuring the charging safety.

[0110] It should be noted that in this document, the terms "comprising", "containing" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus including the element.

[0111] The above-mentioned serial numbers of the embodiments of the application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0112] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, also can be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application essentially or say the part which contributes to the prior art can be embodied in the form of software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a plurality of instructions to make a terminal (may be a mobile phone, computer, server, air conditioner, or network equipment, etc.) execute the method described in various embodiments of the present application.

[0113] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative, not limiting, and those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.

Claims

1. A smart terminal, characterized in that, an acquisition module is arranged in the smart terminal, the acquisition module is used to acquire information of an identification module associated with a charger feature arranged in a charger, and identify the charger feature according to the information, the charger feature is an output current of the charger and a charger type, and the identification module is a resistor connected between D+ line and D- line of the charger; the information of the identification module is a resistance value of the resistor; 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; a pull-down circuit connected to a second node on the D- line or the D+ line, the pull-down circuit being grounded; a voltage comparator connected in parallel to the second node, the voltage comparator having two inputs, wherein a first input is the second node, and a second input is a threshold voltage Vth; the voltage comparator has an output state Vo; another circuit connected in parallel to the first node; another circuit connected in parallel to the second node; the acquisition module is further used to change an output voltage of the first voltage source, a circuit parameter of the pull-down circuit, and / or the threshold voltage Vth, detect the output state Vo of the voltage comparator; when the output state Vo flips, record a first output voltage, a first circuit parameter, and / or a first threshold voltage Vth1 before the output state flips, and record a second output voltage, a second circuit parameter, and / or a second threshold voltage Vth2 after the output state flips; 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 Vth2, calculate a resistance value range of the identification module, wherein the first circuit parameter and the second circuit parameter are resistance values of resistors of the pull-down circuit before and after the output state of the voltage comparator flips.

2. The smart terminal of claim 1, characterized in that, 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.

3. The intelligent terminal of claim 1 wherein, the acquisition module comprises: a first switch connected to a third node on the D+ line or the D- line, and a second voltage source, the second voltage source being grounded; a second switch and a resistor connected to a fourth node on the D- line or the D+ line, the resistor being grounded; an analog-to-digital converter connected in parallel to the second switch and the resistor; a third switch arranged on a USB PHY line of the third node; a fourth switch arranged on a USB PHY line of the fourth node.

4. The smart terminal of claim 3, characterized in that, the second voltage source is an independent voltage source or a 0.6V voltage source of BC1.2 PHY.

5. The intelligent terminal of claim 1 wherein, the acquisition module comprises: a fifth switch connected to a fifth node on the D+ line or the D- line, and a third voltage source, the third voltage source being grounded; a sixth switch connected to a sixth node on the D- line or the D+ line, and a second current source, the second current source being grounded; an analog-to-digital converter connected in parallel to the sixth switch and the current source. A seventh switch is arranged on the fifth node and connected with the USB PHY; An eighth switch is arranged on the sixth node and connected with the USB PHY.

6. A method for identifying a charger by a smart terminal as claimed in any one of claims 1 to 5, characterized in that, The identification method of the charger comprises: An acquisition module in the intelligent terminal acquires the resistance value of the identification module connected between the D+ line and the D- line of the charger; According to the preset resistance value range and the corresponding relationship of the charger characteristics, the charger characteristics are determined.

7. The identification method of the charger according to claim 6, characterized by, The step that the acquisition module in the intelligent terminal acquires the resistance value of the identification module connected between the D+ line and the D- line of the charger comprises: The output voltage of the first voltage source, the circuit parameter of the pull-down circuit and / or the threshold voltage Vth are changed, and the output state Vo of the voltage comparator is detected; When the output state Vo is reversed, the first output voltage, the first circuit parameter and / or the first threshold voltage Vth1 before the output state Vo is reversed are recorded, and the second output voltage, the second circuit parameter and / or the second threshold voltage Vth2 after the output state Vo is reversed are recorded; 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 Vth2, the resistance value range of the identification module is calculated.

8. The identification method of the charger according to claim 6, characterized by, The step that the acquisition module in the intelligent terminal acquires the resistance value of the identification module connected between the D+ line and the D- line of the charger comprises: The acquisition module disconnects the D+ line and the D- line of the intelligent terminal from the USB PHY; A voltage V is added to the D+ line of the intelligent terminal; The voltage V0 on the D- line of the intelligent terminal is read; A resistance R1 with a known resistance value is connected to the D- line of the intelligent terminal; The voltage division V1 of the resistance R1 is read; According to the values of V0, R1 and V1, the resistance value of the identification module is calculated.

9. The identification method of the charger according to claim 6, characterized by, The step that the acquisition module in the intelligent terminal acquires the resistance value of the identification module connected between the D+ line and the D- line of the charger comprises: The acquisition module disconnects the D+ line and the D- line of the intelligent terminal from the USB PHY; A voltage V is added to the D+ line of the intelligent terminal; The voltage V2 on the D- line of the intelligent terminal is read; A current I is added to the D- line of the intelligent terminal; The voltage V3 on the D- line of the intelligent terminal is read; According to the values of V2, I and V3, the resistance value of the identification module is calculated.

Citation Information

Patent Citations

  • USB charger recognition device and method

    CN102393837A

  • Charger detecting system and detecting method thereof and mobile terminal

    CN104101808A