Unlock instant, AI-driven research and patent intelligence for your innovation.

Universal serial bus interface detection circuit and method

A universal serial bus, detection circuit technology, applied in the direction of measuring electricity, measuring electrical variables, measuring devices, etc., can solve problems such as affecting the normal use of users, inability to charge, etc., and achieve the effect of solving the problem of terminal identification errors

Active Publication Date: 2015-12-23
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF6 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When there is a micro-short circuit, the system will think that the OTG device has always existed, which will affect the normal use of the user, such as being unable to charge

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Universal serial bus interface detection circuit and method
  • Universal serial bus interface detection circuit and method
  • Universal serial bus interface detection circuit and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] Figure 2A It is a structural representation of a USB interface detection circuit provided by Embodiment 1 of the present invention Figure 1 , Figure 2B The second schematic diagram of the structure of a USB interface detection circuit provided by the first embodiment of the present invention. The technical solution of this embodiment is applicable to the situation where the communication interface of the terminal with the OTG function performs detection. The terminal can be any electronic device with an OTG function, typically such as a mobile phone, a tablet computer, and the like.

[0027] Such as Figure 2A and 2B As shown, the interface detection circuit includes: a USB interface 110 , a voltage divider circuit 120 , an identification signal detection terminal 130 , an ADC detection terminal 140 and a detection module 150 . Wherein the voltage dividing circuit 120 includes a first power source 121 and a voltage dividing point 122 .

[0028] Wherein, the ide...

Embodiment 2

[0035] image 3 It is a circuit diagram of a USB interface detection circuit provided by Embodiment 2 of the present invention. Based on the first embodiment, this embodiment provides a specific circuit implementation manner.

[0036] Such as image 3 As shown, CN1101 is the USB interface of the mobile terminal, which includes an ID pin, a VBUS pin, two data pins (D+, D-) and a GND pin.

[0037] The voltage dividing circuit specifically includes: a first resistor R1, a second resistor R2 and a third resistor R3 connected in series between the first power supply (VDD) and the ground, and the point between R2 and R3 is used as a voltage dividing point. Here R2 does not have to exist, and the removal of R2 is the situation in the first embodiment. Adding R2 here can adjust the threshold value of the second level, so that the setting of the detection threshold value is more flexible, and the threshold value of the second level can be changed. When the second resistor R2 is con...

Embodiment 3

[0050] Figure 4 It is a flowchart of a detection method of a universal serial bus interface detection circuit provided by Embodiment 3 of the present invention. In this embodiment, the detection method is performed by the serial bus interface detection circuit of the above-mentioned embodiment, and the detection method is as follows: Figure 4 As shown, the method includes:

[0051] S410. The detection module acquires the first level and the second level.

[0052] S420. The detection module determines the connection state between the interface and the device according to the first level and the second level.

[0053] Specifically, such as Figure 5 As shown, the detection module judges the connection status between the interface and the device according to the first level and the second level, including:

[0054] S421. Identify that the first level is a set low level.

[0055] S422. Detect whether the second level is lower than the set threshold value. If it is lower tha...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a universal serial bus interface detection circuit and a detection method thereof. The detection circuit comprises a voltage-dividing circuit, an identification signal detection terminal, an analog-to-digital converter ADC detection terminal, and a detection module. The voltage-dividing circuit comprises a first power supply and a voltage-dividing point, wherein the first power supply and the voltage-dividing point are connected in series and grounded. The voltage-dividing point is connected with an identification pin. The identification signal detection terminal is connected with the voltage-dividing point via an electrostatic protection resistor and is used for detecting the level value of the identification pin as a first level. The analog-to-digital converter ADC detection terminal is connected with the voltage-dividing point and is used for detecting the level value of the voltage-dividing point as a second level. The detection module is connected with the identification signal detection terminal and the ADC detection terminal and is used for judging the connection state of an interface with equipment according to the first level and the second level. According to the technical scheme of the invention, the problem that the USB interface of a terminal is corroded to be incapable of identifying equipment so as to cause the invalidation of the equipment can be solved.

Description

technical field [0001] The embodiment of the invention belongs to the technical field of circuit detection, and relates to a universal serial bus interface detection circuit and method. Background technique [0002] The Universal Serial Bus (USB, UniversalSerialBus) interface is an essential part of terminals such as mobile phones, and generally includes a power supply pin (VBUS), two data pins (D+, D-) and a ground pin (GND) . For the interface with data conversion (OTG, OnTheGo) function, an identification pin (ID) is also provided. Taking mobile terminals as an example, such as figure 1 Shown is a schematic diagram of a USB interface of a mobile phone and a USB interface with an OTG function provided by the prior art. [0003] The detection of the OTG device by the mobile phone is to perform OTG identification through the identification pin of the USB interface, and then perform OTG communication through the USB interface. The detection of the mobile phone to the exte...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G01R31/02
Inventor 李路路
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD