# US 2019/0317132 A1 · Detection apparatus and method

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

- Number: US 2019/0317132 A1
- Document ID: US20190317132A1
- Status: Published application
- Kind: A1
- Application number: 16/382,221
- Filed: 2019-04-12
- Published: 2019-10-17
- Earliest claimed: 2018-04-12
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Mingming JU; Xiaobing LI; Jianwei YU
- Web page: https://patentgrep.com/patent/US20190317132A1

## CPC

- G01R 31/58: Testing of lines, cables or conductors (testing of electric windings G01R31/72)
- G01R 1/203: {Resistors used for electric measuring, e.g. decade resistors standards, resistors for comparators, series resistors, shunts (resistors in general H01C; microwave or radiowave terminations H01P1/26; coupling devices H01R)}
- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G01R 19/2506: {Arrangements for conditioning or analysing measured signals, e.g. for indicating peak values (G01R19/003 takes precedence); Details concerning sampling, digitizing or waveform capturing (displaying waveforms G01R13/00; analog sampling G01R19/0053)}
- G06F 2213/0002: Serial port, e.g. RS232C
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of application relate to the field of communications technologies, and in particular, to a detection apparatus and method for quickly locating a wire fault of a serial bus and finding a cause. The apparatus is connected to a serial bus between a primary device and a secondary device, the serial bus includes a first bus and a second bus, and the apparatus includes a voltage divider module, a voltage follower module, a forward bias module, and a control module that are sequentially connected. The voltage divider module is configured to reduce a voltage of the first bus and a voltage of the second bus. The voltage follower module is configured to enhance an electrical signal of the first bus and an electrical signal of the second bus. The forward bias module is configured to forward bias the voltage of the first bus and the voltage of the second bus.

## Claims

### Claim 1

A detection apparatus, wherein the apparatus is connected to a serial bus, the serial bus is disposed between a primary device and a secondary device, the serial bus comprises a first bus and a second bus, and the apparatus comprises a voltage divider module, a voltage follower module, a forward bias module, and a control module that are sequentially connected, wherein
the voltage divider module is configured to reduce a voltage of the first bus and a voltage of the second bus;
the voltage follower module is configured to enhance an electrical signal of the first bus and an electrical signal of the second bus;
the forward bias module is configured to forward bias the voltage of the first bus and the voltage of the second bus; and
the control module is configured to: measure a digital voltage of the first bus and a digital voltage of the second bus, and determine a wire fault type of the serial bus based on the digital voltage of the first bus, the digital voltage of the second bus, and an electrical standard for the serial bus.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein the first bus is a positive electrode bus, the second bus is a negative electrode bus, and the control module is further configured to:
determine a differential digital voltage of the serial bus based on the digital voltage of the first bus and the digital voltage of the second bus; and
determine the wire fault type of the serial bus based on the differential digital voltage and the electrical standard for the serial bus.

### Claim 3 (depends on 2)

The apparatus according to claim 2, wherein the first bus is pulled up to a preset voltage, and the second bus is pulled down to a ground cable.

### Claim 4 (depends on 3)

The apparatus according to claim 3, wherein the control module is specifically configured to:
when the serial bus is in an idle state, measure the digital voltage of the first bus and the digital voltage of the second bus;
when the serial bus outputs a logical high level, measure the digital voltage of the first bus and the digital voltage of the second bus; and
when the serial bus outputs a logical low level, measure the digital voltage of the first bus and the digital voltage of the second bus.

### Claim 5 (depends on 1)

The apparatus according to claim 1, wherein the first bus is a receive, RX bus, the second bus is a transmit, TX bus, and a ground cable of the primary device is connected to a ground cable of the secondary device.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein the control module is specifically configured to:
measure the digital voltage of the first bus;
when the second bus outputs a logical high level, measure the digital voltage of the second bus; and
when the second bus outputs a logical low level, measure the digital voltage of the second bus.

### Claim 7 (depends on 6)

The apparatus according to claim 6, wherein the voltage divider module comprises two voltage division units, each voltage division unit corresponds to one bus, and the voltage division unit comprises a first resistor, a second resistor, and a capacitor, wherein
a first end of the first resistor is connected to the bus, a second end of the first resistor is connected to a first end of the second resistor, a first end of the capacitor, and the voltage follower module, and a second end of the second resistor and a second end of the capacitor are connected to a ground cable.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the voltage follower module comprises two voltage followers, each voltage follower corresponds to one bus, the voltage follower comprises a first input end, a second input end, and an output end, and the output end is connected to the second input end and the forward bias module.

### Claim 9 (depends on 8)

The apparatus according to claim 8, wherein the forward bias module comprises two forward bias units, each forward bias unit corresponds to one bus, and the forward bias unit comprises a third resistor and a fourth resistor, wherein
a first end of the third resistor is connected to the voltage follower module, a second end of the third resistor is connected to a first end of the fourth resistor and the control module, and a second end of the fourth resistor is connected to a reference voltage.

### Claim 10

A detection method, applied to a detection apparatus, wherein the apparatus is connected to a serial bus, the serial bus is disposed between a primary device and a secondary device, the serial bus comprises a first bus and a second bus, and the method comprises:
reducing a voltage of the first bus and a voltage of the second bus;
enhancing an electrical signal of the first bus and an electrical signal of the second bus;
forward biasing the voltage of the first bus and the voltage of the second bus; and
measuring a digital voltage of the first bus and a digital voltage of the second bus, and determining a wire fault type of the serial bus based on the digital voltage of the first bus, the digital voltage of the second bus, and an electrical standard for the serial bus.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the first bus is a positive electrode bus, the second bus is a negative electrode bus, and the determining a wire fault type of the serial bus based on the digital voltage of the first bus, the digital voltage of the second bus, and an electrical standard for the serial bus comprises:
determining a differential digital voltage of the serial bus based on the digital voltage of the first bus and the digital voltage of the second bus; and
determining the wire fault type of the serial bus based on the differential digital voltage and the electrical standard for the serial bus.

### Claim 12 (depends on 10)

The method according to claim 10, wherein the first bus is pulled up to a preset voltage, and the second bus is pulled down to a ground cable.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the measuring a digital voltage of the first bus and a digital voltage of the second bus comprises:
when the serial bus is in an idle state, measuring the digital voltage of the first bus and the digital voltage of the second bus;
when the serial bus outputs a logical high level, measuring the digital voltage of the first bus and the digital voltage of the second bus; and
when the serial bus outputs a logical low level, measuring the digital voltage of the first bus and the digital voltage of the second bus.

### Claim 14 (depends on 10)

The method according to claim 10, wherein the first bus is a receive (RX) bus, the second bus is a transmit (TX) bus, and a ground cable of the primary device is connected to a ground cable of the secondary device.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the measuring a digital voltage of the first bus and a digital voltage of the second bus comprises:
measuring the digital voltage of the first bus;
when the second bus outputs a logical high level, measuring the digital voltage of the second bus; and
when the second bus outputs a logical low level, measuring the digital voltage of the second bus.
