CN111813634A - Identification device for type of USB device interface and terminal device - Google Patents

Identification device for type of USB device interface and terminal device Download PDF

Info

Publication number
CN111813634A
CN111813634A CN202010706875.9A CN202010706875A CN111813634A CN 111813634 A CN111813634 A CN 111813634A CN 202010706875 A CN202010706875 A CN 202010706875A CN 111813634 A CN111813634 A CN 111813634A
Authority
CN
China
Prior art keywords
enumeration
signal line
type
device interface
usb device
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.)
Granted
Application number
CN202010706875.9A
Other languages
Chinese (zh)
Other versions
CN111813634B (en
Inventor
徐超
董泰安
香妹
房柏阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202010706875.9A priority Critical patent/CN111813634B/en
Publication of CN111813634A publication Critical patent/CN111813634A/en
Application granted granted Critical
Publication of CN111813634B publication Critical patent/CN111813634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3041Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is an input/output interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/30Charge provided using DC bus or data bus of a computer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Power Engineering (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a device for identifying the type of a USB device interface and terminal equipment, wherein the device for identifying the type of the USB device interface comprises an enumeration unit, a first comparison unit and a control unit; the enumeration unit is electrically connected with the DP signal line and the DM signal line and is used for initiating enumeration operation and outputting an enumeration result; the first comparing unit is electrically connected with the DM signal line and is used for comparing the voltage of the DM signal line with a first reference voltage to output a first comparison result; and the control unit identifies the type of the USB equipment interface according to the enumeration result and the first comparison result. The technical scheme of the invention identifies the type of the USB device interface based on the result of enumeration operation and the judgment result of the voltage value and the reference value on the DM signal line.

Description

Identification device for type of USB device interface and terminal device
Technical Field
The invention belongs to the technical field of Universal Serial Bus (USB) interfaces, and particularly relates to a device for identifying the type of a USB device interface and terminal equipment.
Background
Along with the continuous evolution of battery technology and charging technology, rechargeable mobile terminal scale is constantly enlarged, and more terminal products change into wireless from wired, and meanwhile, along with the mobile terminal to the battery capacity demand and the time of endurance demand more and more high, different battery charging outfit's charging current difference also is bigger and bigger, thereby for safety risk and the efficiency risk that charging current mismatch between avoiding battery charging outfit and the battery caused, thereby just need distinguish the suitable charging current of adaptation to different battery charging outfits.
The USB interface technology was applied to the field of computers at first, and is currently widely applied to mobile terminals such as mobile phones, personal computers, and mobile phones, and USB device interfaces can be classified into two main types according to the classification in the USB specification:
a Charging Port (Charging Port), which is used for Charging only and has no USB communication function. The DP and DM signals in the USB interface are connected together through a resistor that does not exceed 200 milliohms.
And the Downstream Port (Downstream Port) comprises a Standard Downstream Port (Standard Downstream Port) and a Charging Downstream Port (Charging Downstream Port), the Downstream Port is a USB interface which is compatible with the USB specification and has a communication function, and the internal DP and the DM are respectively pulled down to the ground through the RDP _ DWN and the RDM _ DWN.
In practical application, most terminal devices perform identification of the interface type of the external USB device by integrating the BC1.2 protocol circuit module in the USB specification. The BC1.2 protocol, Battery Charging v1.2 Spec and AdoptersGreement, is a Battery Charging standard promulgated by the USB protocol organization. The identification circuit module is shown in fig. 1. The identification circuit module is composed of a plurality of current sources, a switch and a comparator circuit. The identification circuit module utilizes the impedance characteristics between DP and DM signal lines in different external USB device interfaces and the difference of the feedback signals of the identified end to judge the type of the external USB device interface. The technical principle is as follows:
1. and (4) opening a VDP _ SRC power supply connected with the DP signal line, and detecting a level value on the DM signal line through a comparator to carry out first judgment.
2. And (4) opening a VDM _ SRC power supply connected with the DM signal line, and detecting a level value on the DP signal line through the comparator to carry out second judgment.
3. And determining the type of the interface of the currently connected external USB equipment based on the judgment results of the first time and the second time.
In the prior art, the scheme design is performed based on a BC1.2 protocol circuit module in a USB specification, which requires that the circuit module must be added when each mobile terminal device performs scheme design, and directly causes the cost increase of terminal scheme manufacturers.
Meanwhile, the control authority of the BC1.2 protocol circuit module is not opened in the scheme of partially integrating the BC1.2 protocol circuit module, so that when the BC1.2 protocol detects errors, the terminal cannot actively judge the type of the external USB device interface again, the errors can not be corrected all the time, and the charging current is matched incorrectly.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a device for identifying the type of a USB device interface and a terminal device, in order to overcome the defects in the prior art.
The invention solves the technical problems through the following technical scheme:
the invention provides a device for identifying the type of a USB equipment interface, wherein the USB equipment interface comprises a VBUS signal line, a DP signal line and a DM signal line;
the enumeration unit is electrically connected with the DP signal line and the DM signal line and is used for initiating enumeration operation and outputting an enumeration result;
the first comparing unit is electrically connected with the DM signal line and is used for comparing the voltage of the DM signal line with a first reference voltage to output a first comparison result;
and the control unit identifies the type of the USB equipment interface according to the enumeration result and the first comparison result.
Preferably, the control unit is further configured to send a start signal to the enumeration unit, and the enumeration unit initiates an enumeration operation according to the start signal.
Preferably, the control unit is further configured to generate the activation signal in response to an external request signal.
Preferably, the identification device further comprises a second comparison unit;
the second comparison unit is electrically connected with the VBUS signal line and used for comparing the voltage of the VBUS signal line with a second reference voltage to output a second comparison result;
the control unit also generates a start signal according to the second comparison result.
Preferably, if the enumeration result represents that the enumeration fails and the first comparison result represents that the DM signal line is at a low level, the control unit identifies that the type of the USB device interface is the non-standard charging port;
if the enumeration result represents that enumeration is successful and the first comparison result represents that the DM signal line is at a low level, the control unit identifies that the type of the USB device interface is a downlink port;
if the enumeration result represents that the enumeration fails and the first comparison result represents that the DM signal line is at a high level, the control unit identifies that the type of the USB device interface is a standard charging port;
if the enumeration result represents that the enumeration is successful and the first comparison result represents that the DM signal line is at a high level, the control unit identifies the type of the USB device interface as a non-standard charging port.
Preferably, the first comparing unit includes a voltage comparator.
Preferably, the first comparing unit includes an analog-to-digital converter.
Preferably, the enumeration unit comprises a USB communication module.
Preferably, during the enumeration operation, the enumeration unit applies a predetermined voltage to the DP signal line for a predetermined time threshold.
The invention also provides a terminal device which comprises the identification device of the type of the USB device interface.
The positive progress effects of the invention are as follows: the technical scheme of the invention identifies the type of the USB device interface based on the result of enumeration operation and the judgment result of the voltage value and the reference value on the DM signal line.
Drawings
Fig. 1 is a schematic structural diagram of an identification circuit module in the prior art.
Fig. 2 is a schematic structural diagram of an apparatus for identifying a type of a USB device interface according to embodiment 1 of the present invention.
Fig. 3 is a schematic diagram of a first comparing unit of the apparatus for identifying the type of the USB device interface according to embodiment 1 of the present invention.
Fig. 4 is a schematic structural diagram of an apparatus for identifying a type of a USB device interface according to embodiment 2 of the present invention.
Fig. 5 is a schematic diagram of a second comparing unit of the apparatus for identifying the type of the USB device interface according to embodiment 2 of the present invention.
Fig. 6 is a schematic diagram of a terminal device according to embodiment 1 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
The embodiment provides a device for identifying the type of a USB device interface, which is used for identifying the type of an external USB device interface. Referring to fig. 2, the external USB device 2 includes a USB device interface 201, and the USB device interface 201 includes a VBUS signal line, a DP signal line, a DM signal line, and a GND signal line. The VBUS signal line is a USB power line; DP signal line, i.e., USB data line + (or characterized by "D +); a DM signal line, namely a USB data line- (or characterized by' D-); the GND signal line is a USB ground signal line, and the GND signal line is grounded.
The device for identifying the type of the USB device interface comprises an enumeration unit 101, a first comparison unit 102 and a control unit 103.
The enumeration unit 101 is electrically connected with the DP signal line and the DM signal line, and the enumeration unit 101 is used for initiating an enumeration operation and outputting an enumeration result; the first comparing unit 102 is electrically connected to the DM signal line, and the first comparing unit 102 is configured to compare a voltage of the DM signal line with a first reference voltage VREF _ B to output a first comparison result; the control unit 103 identifies the type of the USB device interface according to the enumeration result and the first comparison result.
As an optional implementation manner, the control unit 103 sends a start signal to the enumeration unit 101, and the enumeration unit 101 initiates an enumeration operation according to the start signal. In a specific implementation, the enumeration unit 101 includes a USB communication module, and the USB communication module has functions of initiating enumeration and implementing USB communication. After receiving the start signal, the enumeration unit 101 initiates an enumeration operation. During the enumeration operation, the enumeration unit 101 applies a preset voltage to the DP signal line for more than a preset time threshold. For example, the enumeration unit 101 applies a voltage equivalent to the operating voltage VDD of the USB device interface to the DP signal line, and maintains the voltage for more than 100ms (milliseconds). The specific operation process of the enumeration operation can be implemented by those skilled in the art according to the USB protocol, and is not described herein again. The enumeration unit 101 outputs an enumeration result according to an enumeration operation, and characterizes the enumeration result by Y.
As an alternative embodiment, referring to fig. 3, the first comparing unit 102 is implemented by using a voltage comparator, a non-inverting input terminal of which is electrically connected to the DM signal line, and a non-inverting input terminal of which is electrically connected to the first reference voltage VREF _ B. When the enumeration unit 101 applies the working voltage VDD to the DP signal line for 50ms, the voltage comparator outputs a first comparison result, and represents the first comparison result by X. If the voltage on the DM signal line is higher than the first reference voltage VREF _ B, the voltage comparator outputs a first comparison result X as 1 (high level); if the voltage on the DM signal line is lower than the first reference voltage VREF _ B, the voltage comparator outputs a first comparison result X as 0 (low level).
The control unit 103 waits for the enumeration unit 101 to feed back the enumeration result Y. The period for which the control unit 103 waits may be set reasonably according to the time period required for the enumeration unit 101 to feed back the enumeration result. If the enumeration result Y fed back by the enumeration unit 101 is 1, the characterization enumeration is successful; if the enumeration result Y fed back by the enumeration unit 101 is 0, the token enumeration fails.
The control unit 103 identifies the type of the USB device interface according to the enumeration result and the first comparison result. Referring to fig. 4, if the enumeration result represents that the enumeration fails and the first comparison result represents that the DM signal line is at a low level, the control unit 103 identifies that the type of the USB device interface is a non-standard charging port; if the enumeration result represents that enumeration is successful and the first comparison result represents that the DM signal line is at a low level, the control unit 103 identifies that the type of the USB device interface is a downlink port; if the enumeration result represents that the enumeration fails and the first comparison result represents that the DM signal line is at a high level, the control unit 103 identifies that the type of the USB device interface is the standard charging port; if the enumeration result represents that the enumeration is successful and the first comparison result represents that the DM signal line is at a high level, the control unit 103 identifies the type of the USB device interface as a non-standard charging port.
TABLE 1
Figure BDA0002595132210000061
The USB device interface type identification apparatus of this embodiment identifies the type of the USB device interface based on the result of the enumeration operation and the result of determination of the voltage value on the DM signal line and the reference value.
In this embodiment, after completing the primary type identification, the control unit 103 may generate the start signal again, so as to perform the secondary type identification operation, overcome the defect that the prior art cannot actively identify the type of the external USB device interface again, and improve the flexibility of identification.
In another alternative embodiment, the control unit 103 is responsive to an external request signal to generate the activation signal. When the identification apparatus of the type of the USB device interface of the present embodiment is applied to a terminal device, the external request signal comes from the terminal device. When the USB equipment interface of the USB equipment is connected with the identification device of the type of the USB equipment interface, the terminal equipment sends an external request signal to the identification device of the type of the USB equipment interface so as to start the operation of type identification of the USB equipment interface.
In another alternative embodiment, the first comparing unit 102 is implemented by an analog-to-digital converter (ADC). The analog-to-digital converter samples a voltage signal on the DM signal line and outputs a corresponding first comparison result.
Example 2
The embodiment provides a device for identifying the type of a USB device interface, which is used for identifying the type of an external USB device interface. Referring to fig. 4, the external USB device 2 includes a USB device interface 201, and the USB device interface 201 includes a VBUS signal line, a DP signal line, a DM signal line, and a GND signal line. The VBUS signal line is a USB power line; DP signal line, i.e., USB data line + (or characterized by "D +); a DM signal line, namely a USB data line- (or characterized by' D-); the GND signal line is a USB ground signal line, and the GND signal line is grounded.
The device for identifying the type of the USB device interface includes an enumeration unit 101, a first comparison unit 102, a control unit 103, and a second comparison unit 104.
The enumeration unit 101 is electrically connected with the DP signal line and the DM signal line, and the enumeration unit 101 is used for initiating an enumeration operation and outputting an enumeration result; the first comparing unit 102 is electrically connected to the DM signal line, and the first comparing unit 102 is configured to compare a voltage of the DM signal line with a first reference voltage VREF _ B to output a first comparison result; the control unit 103 identifies the type of the USB device interface according to the enumeration result and the first comparison result. The second comparing unit 104 is electrically connected to the VBUS signal line, and the second comparing unit 104 is configured to compare a voltage of the VBUS signal line with a second reference voltage VREF _ a to output a second comparison result.
As an alternative embodiment, the control unit 103 generates the start signal according to the second comparison result. As an alternative embodiment, referring to fig. 5, the second comparing unit 104 is implemented by using a voltage comparator, a non-inverting input terminal of which is electrically connected to the VBUS signal line, and an inverting input terminal of which is set to the second reference voltage VREF _ a. In specific implementation, when the USB device 2 is connected to the USB device interface type identification apparatus of this embodiment through the USB device interface 201, the level on the VBUS signal line changes from low to high. When the level on the VBUS signal line is higher than the second reference voltage VREF _ a, the output signal of the second comparing unit 104 is inverted from 0 (low level) to 1 (high level).
The control unit 103 generates a start signal according to an inverted state of the output signal of the second comparison unit 104.
The control unit 103 sends a start signal to the enumeration unit 101, and the enumeration unit 101 initiates an enumeration operation according to the start signal. In a specific implementation, the enumeration unit 101 includes a USB communication module, and the USB communication module has functions of initiating enumeration and implementing USB communication. After receiving the start signal, the enumeration unit 101 initiates an enumeration operation. During the enumeration operation, the enumeration unit 101 applies a preset voltage to the DP signal line for more than a preset time threshold. For example, the enumeration unit 101 applies a voltage corresponding to the operating voltage VDD of the USB device interface to the DP signal line, and maintains the voltage for more than 100 ms. The specific operation process of the enumeration operation can be implemented by those skilled in the art according to the USB protocol, and is not described herein again. The enumeration unit 101 outputs an enumeration result according to an enumeration operation, and characterizes the enumeration result by Y.
As an alternative embodiment, referring to fig. 3, the first comparing unit 102 is implemented by using a voltage comparator, a non-inverting input terminal of which is electrically connected to the DM signal line, and a non-inverting input terminal of which is electrically connected to the first reference voltage VREF _ B. When the enumeration unit 101 applies the working voltage VDD to the DP signal line for 50ms, the voltage comparator outputs a first comparison result, and represents the first comparison result by X. If the voltage on the DM signal line is higher than the first reference voltage VREF _ B, the voltage comparator outputs a first comparison result X as 1 (high level); if the voltage on the DM signal line is lower than the first reference voltage VREF _ B, the voltage comparator outputs a first comparison result X as 0 (low level).
The control unit 103 waits for the enumeration unit 101 to feed back the enumeration result Y. The period for which the control unit 103 waits may be set reasonably according to the time period required for the enumeration unit 101 to feed back the enumeration result. If the enumeration result Y fed back by the enumeration unit 101 is 1, the characterization enumeration is successful; if the enumeration result Y fed back by the enumeration unit 101 is 0, the token enumeration fails.
The control unit 103 identifies the type of the USB device interface according to the enumeration result and the first comparison result. Referring to fig. 4, if the enumeration result represents that the enumeration fails and the first comparison result represents that the DM signal line is at a low level, the control unit 103 identifies that the type of the USB device interface is a non-standard charging port; if the enumeration result represents that enumeration is successful and the first comparison result represents that the DM signal line is at a low level, the control unit 103 identifies that the type of the USB device interface is a downlink port; if the enumeration result represents that the enumeration fails and the first comparison result represents that the DM signal line is at a high level, the control unit 103 identifies that the type of the USB device interface is the standard charging port; if the enumeration result represents that the enumeration is successful and the first comparison result represents that the DM signal line is at a high level, the control unit 103 identifies the type of the USB device interface as a non-standard charging port.
The USB device interface type identification apparatus of this embodiment identifies the type of the USB device interface based on the result of the enumeration operation and the result of determination of the voltage value on the DM signal line and the reference value.
In this embodiment, after completing the primary type identification, the control unit 103 may generate the start signal again, so as to perform the secondary type identification operation, overcome the defect that the prior art cannot actively identify the type of the external USB device interface again, and improve the flexibility of identification.
In another alternative embodiment, the control unit 103 is responsive to an external request signal to generate the activation signal. When the identification apparatus of the type of the USB device interface of the present embodiment is applied to a terminal device, the external request signal comes from the terminal device. When the USB equipment interface of the USB equipment is connected with the identification device of the type of the USB equipment interface, the terminal equipment sends an external request signal to the identification device of the type of the USB equipment interface so as to start the operation of type identification of the USB equipment interface.
In another alternative embodiment, the first comparing unit 102 is implemented by an analog-to-digital converter (ADC). The analog-to-digital converter samples a voltage signal on the DM signal line and outputs a corresponding first comparison result.
Example 3
The embodiment provides a terminal device. Referring to fig. 6, the terminal device includes identification means of the type of the USB device interface of embodiment 1 or embodiment 2.
When the external USB device is connected to the identification means of the type of USB device interface of the terminal device of this embodiment through its USB device interface, the identification means of the type of USB device interface identifies the type of USB device interface of the external USB device. For the specific identification process, reference is made to embodiment 1 or embodiment 2, which is not described herein again.
Based on the result of the enumeration operation and combining the determination result of the voltage value on the DM signal line and the reference value, the terminal device of this embodiment can quickly identify the type of the USB device interface.
As an optional implementation manner, the terminal device of this embodiment includes a USB communication module, which has a function of initiating enumeration and implementing USB communication, and functions as the enumeration unit 101 in the identification apparatus of the type of the USB device interface. That is, in this embodiment, the function of the enumeration unit can be implemented by using the USB communication module of the terminal device itself, and the terminal device does not need to occupy additional related resources, which can reduce the cost of the terminal device.
In addition, in this embodiment, after completing the primary type identification, the control unit may generate the start signal again, so as to perform the secondary type identification operation, overcome the defect that the prior art cannot actively identify the type of the external USB device interface again, and improve the flexibility of identification.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. The device for identifying the type of the USB equipment interface comprises a VBUS signal line, a DP signal line and a DM signal line, and is characterized by comprising an enumeration unit, a first comparison unit and a control unit;
the enumeration unit is electrically connected with the DP signal line and the DM signal line and is used for initiating enumeration operation and outputting an enumeration result;
the first comparing unit is electrically connected with the DM signal line, and is used for comparing the voltage of the DM signal line with a first reference voltage to output a first comparison result;
and the control unit identifies the type of the USB equipment interface according to the enumeration result and the first comparison result.
2. The apparatus for identifying the type of the USB device interface according to claim 1, wherein the control unit is further configured to send a start signal to the enumeration unit, and the enumeration unit initiates an enumeration operation according to the start signal.
3. The apparatus for identifying the type of USB device interface of claim 2 wherein the control unit is further configured to generate the enable signal in response to an external request signal.
4. The apparatus for recognizing the type of the USB device interface according to claim 2, wherein the apparatus further comprises a second comparing unit;
the second comparing unit is electrically connected with the VBUS signal line and used for comparing the voltage of the VBUS signal line with the second reference voltage to output a second comparison result;
the control unit also generates the starting signal according to the second comparison result.
5. The apparatus for identifying a type of a USB device interface according to claim 1, wherein if the enumeration result indicates an enumeration failure and the first comparison result indicates that the DM signal line is at a low level, the control unit identifies the type of the USB device interface as a non-standard charging port;
if the enumeration result represents that enumeration is successful and the first comparison result represents that the DM signal line is at a low level, the control unit identifies that the type of the USB device interface is a downlink port;
if the enumeration result represents that enumeration fails and the first comparison result represents that the DM signal line is at a high level, the control unit identifies that the type of the USB device interface is a standard charging port;
if the enumeration result represents that enumeration is successful and the first comparison result represents that the DM signal line is at a high level, the control unit identifies that the type of the USB device interface is a non-standard charging port.
6. The apparatus for identifying the type of USB device interface of claim 3, wherein the first comparing unit comprises a voltage comparator.
7. The apparatus for identifying the type of USB device interface of claim 3, wherein the first comparing unit comprises an analog-to-digital converter.
8. The apparatus for identifying the type of the USB device interface of claim 1, wherein the enumeration unit includes a USB communication module.
9. The apparatus for identifying the type of the USB device interface according to claim 1, wherein during an enumeration operation, the enumeration unit applies a preset voltage to the DP signal line for more than a preset time threshold.
10. A terminal device, characterized in that it comprises means for identifying the type of USB device interface according to any one of claims 1 to 9.
CN202010706875.9A 2020-07-21 2020-07-21 Identification device for type of USB device interface and terminal device Active CN111813634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010706875.9A CN111813634B (en) 2020-07-21 2020-07-21 Identification device for type of USB device interface and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010706875.9A CN111813634B (en) 2020-07-21 2020-07-21 Identification device for type of USB device interface and terminal device

Publications (2)

Publication Number Publication Date
CN111813634A true CN111813634A (en) 2020-10-23
CN111813634B CN111813634B (en) 2022-10-04

Family

ID=72861995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010706875.9A Active CN111813634B (en) 2020-07-21 2020-07-21 Identification device for type of USB device interface and terminal device

Country Status (1)

Country Link
CN (1) CN111813634B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112436577A (en) * 2021-01-27 2021-03-02 展讯通信(上海)有限公司 Chargeable equipment, charger and charging system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164670A1 (en) * 2007-12-19 2009-06-25 Seiko Epson Corporation Printer and usb device recognizing method
CN102393837A (en) * 2011-11-08 2012-03-28 深圳市海思半导体有限公司 USB charger recognition device and method
US20130181660A1 (en) * 2012-01-12 2013-07-18 Hai-Qing Zhou Charge control circuit for usb device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164670A1 (en) * 2007-12-19 2009-06-25 Seiko Epson Corporation Printer and usb device recognizing method
CN102393837A (en) * 2011-11-08 2012-03-28 深圳市海思半导体有限公司 USB charger recognition device and method
US20130181660A1 (en) * 2012-01-12 2013-07-18 Hai-Qing Zhou Charge control circuit for usb device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
骆震波: "基于D12的USB接口设计", 《内江科技》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112436577A (en) * 2021-01-27 2021-03-02 展讯通信(上海)有限公司 Chargeable equipment, charger and charging system
CN112436577B (en) * 2021-01-27 2021-04-23 展讯通信(上海)有限公司 Chargeable equipment, charger and charging system

Also Published As

Publication number Publication date
CN111813634B (en) 2022-10-04

Similar Documents

Publication Publication Date Title
US9128691B2 (en) Method and terminal for selecting internal circuit according to USB interface status
US9577452B2 (en) Portable electronic device and charging method therefor
US8796988B2 (en) Input-output circuit
JP5388484B2 (en) Apparatus and method for detecting power supply
CN106716389B (en) Method for fast USB charging, electronic device and charger device
EP3086433A1 (en) Charging method, alternating current adaptor, charging management device and terminal
US9077195B2 (en) Input-output circuit
US20150171647A1 (en) Method and apparatus for high current charging of smart terminals
US9223727B2 (en) Input-output circuit
WO2022012527A1 (en) Charger, data cable, charging device, and electronic device
US20120249119A1 (en) Input-output circuit
CN106230070B (en) Charging method and device
US10141760B2 (en) Power supply circuit, charge circuit, charging system, power supplying method, and charging method
CN114039400B (en) Electronic equipment
CN105071484A (en) Charging method and apparatus of terminal having data exchange function
CN110492562B (en) Mobile power supply equipment, power supply control method and device thereof, and power supply equipment
CN111813634B (en) Identification device for type of USB device interface and terminal device
CN108924325B (en) Data processing method and related device
TW201814543A (en) Apparatus and method for USB charge and communication
KR100700532B1 (en) A method for recognizing device connected to universal serial bus port and universal serial bus adaptor
CN107887938B (en) Method and mobile terminal compatible with USB standard charging and quick charging
CN110086230B (en) Charging device and charging method
CN107204645B (en) Portable charging device
US11881736B2 (en) Power system
TWI459190B (en) Power supply device, portable electronic apparatus and related method for determining types of a power supply device

Legal Events

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