# US 2014/0207977 A1 · Usb device and control method thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0207977 A1
- Document ID: US20140207977A1
- Status: Published application
- Kind: A1
- Application number: 14/155,124
- Filed: 2014-01-14
- Published: 2014-07-24
- Earliest claimed: 2013-01-22
- Assignees: Silergy Semiconductor Technology (Hangzhou) LTD
- Applicants: Silergy Semiconductor Technology (Hangzhou) LTD
- Inventors: Kailang Hang; Chen Zhao
- Web page: https://patentgrep.com/patent/US20140207977A1

## CPC

- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one embodiment, a universal serial bus (USB) device can include: (i) an interface module having a power supply port, a ground port, and first and second data ports, where the interface module is configured to connect to corresponding ports of a USB host at a USB interface; (ii) a property identification module coupled to the first and second data ports, where the property identification module is configured to determine properties of the USB interface; (iii) a data transmission module configured to exchange data between the USB device and the USB host according to the determined properties; and (iv) a charging module coupled to the power supply port and the ground port, where the charging module is configured to charge the USB device based on the determined properties.

## Claims

### Claim 1

A universal serial bus (USB) device, comprising:
a) an interface module having a power supply port, a ground port, and first and second data ports, wherein said interface module is configured to connect to corresponding ports of a USB host at a USB interface;
b) a property identification module coupled to said first and second data ports, wherein said property identification module is configured to determine properties of said USB interface;
c) a data transmission module configured to exchange data between said USB device and said USB host according to said determined properties; and
d) a charging module coupled to said power supply port and said ground port, wherein said charging module is configured to charge said USB device based on said determined properties.

### Claim 2 (depends on 1)

The USB device of claim 1, wherein said property identification module comprises:
a) a first determination circuit coupled to said first data port, and being configured to generate a first determination signal;
b) a second determination circuit coupled to said second data port, and being configured to generate a second determination signal; and
c) a processing unit configured to determine said properties of said USB interface according to states of said first and second determination signals.

### Claim 3 (depends on 2)

The USB device of claim 2, wherein:
a) when said first determination signal is active and said second determination signal is inactive, said processing unit is configured to determine that said USB interface is in an open state, and said data transmitter and said charger are disabled;
b) when said first and second determination signals are inactive, said processing unit is configured to determine that said USB interface comprises a standard downstream interface, said data transmission module is configured to perform data exchange, and said charging module is configured to charge said USB device at a first current; and
c) when said first and second determination signals are active, said processing unit is configured to determine that said USB interface comprises a dedicated charging port, said data transmission module is disabled, and said charging module is configured to charge said USB device at a second current.

### Claim 4 (depends on 2)

The USB device of claim 2, wherein:
a) said first determination circuit comprises a pull-up resistor coupled to an input power supply and said first data port, and a first comparator configured to compare said first data port against a first reference voltage, and to generate said first determination signal; and
b) said second determination circuit comprises a pull-down resistor coupled to said second data port and ground, and a second comparator configured to compare said second data port against a second reference voltage, and to generate said second determination signal.

### Claim 5 (depends on 1)

The USB device of claim 1, wherein said charging module comprises a current modulation circuit configured to modulate a charging current of said USB device according to said determined properties.

### Claim 6 (depends on 1)

The USB device of claim 1, wherein said USB host comprises at least one of: a computer, a laptop computer, and a USB charger.

### Claim 7 (depends on 1)

The USB device of claim 1, wherein said USB device comprises at least one of: a mobile communication device, a music player, and a tablet PC.

### Claim 8

A method of controlling a universal serial bus (USB) device, the method comprising:
a) connecting, by USB interface, a power supply port, a ground port, and first and second data ports to corresponding ports of a USB host;
b) determining properties of said USB interface according to signals at said first and second data ports;
c) performing data exchange between said USB device and said USB host according to said determined properties; and
d) charging said USB device according to said determined properties.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
a) generating a first determination signal according to a signal at said first data port;
b) generating a second determination signal according to a signal at said second data port; and
c) determining said properties of said USB interface according to said first and second determination signals.

### Claim 10 (depends on 9)

The method of claim 9, wherein:
a) when said first determination signal is active and said second determination signal is inactive, said determining said properties comprises determining that said USB interface comprises an open state;
b) when said first and second determination signals are inactive, said determining said properties comprises determining that said USB interface comprises a downstream port, and said charging said USB device comprises charging at a first current;
c) when said first determining signal is inactive and said second determination signal is active, said determining said properties comprises determining that said USB interface comprises a charging downlink interface, and said charging said USB device comprises charging at a second current; and
d) when said first and second determination signals are active, said determining said properties comprises determining that said USB interface comprises a charging port, and said charging said USB device comprises charging at a third current.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
a) generating said first determination signal by comparing a signal at said first data port against a first reference voltage; and
b) generating said second determination signal by comparing a signal at said second data port against a second reference voltage.

### Claim 12 (depends on 8)

The method of claim 8, further comprising modulating a charging current of said USB device according to said determined properties.

### Claim 13 (depends on 8)

The method of claim 8, wherein said USB device comprises at least one of: a mobile communication device, a music player, and a tablet computer.
