# US 2004/0080887 A1 · Current direction detection

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

- Number: US 2004/0080887 A1
- Document ID: US20040080887A1
- Status: Published application
- Kind: A1
- Application number: 10/445,750
- Filed: 2003-05-27
- Published: 2004-04-29
- Earliest claimed: 2002-10-29
- Assignees: Agilent Technologies, Inc.
- Inventors: Ivor Francis Feast
- Web page: https://patentgrep.com/patent/US20040080887A1

## CPC

- G01R 19/14: Indicating direction of current; Indicating polarity of voltage
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

An electrical circuit is provided for detecting direction of a current flowing on a line, in particular of a bus of a test equipment. The circuit comprises a sense resistor coupled within the line. A first comparator is connected with its positive input to the line on one of the two sides of the sense resistor and with its negative input connected to the line on the other one of the two sides of the sense resistor. A second comparator with one of its inputs is connected to the line on one of the two sides of the sense resistor and with the other one of its inputs is provided with a voltage divider. Said first comparator provides an output signal depending on the direction of the current flowing on the line, and said second comparator provides a second output signal defining whether the first output signal is valid or not.

## Claims

### Claim 1

An electrical circuit for detecting direction of a current flowing on a line, in particular of a bus of a test equipment, the circuit comprising:
a sense resistor coupled within the line,
a first comparator with its positive input being connected to the line on one of the two sides of the sense resistor and with its negative input being connected to the line on the other one of the two sides of the sense resistor, and
a second comparator with one of its inputs being connected to the line on one of the two sides of the sense resistor and with the other one of its inputs being provided with a voltage divider,
wherein:
said first comparator provides an output signal depending on the direction of the current flowing on the line, and
said second comparator provides a second output signal defining whether the first output signal is valid or not.

### Claim 2 (depends on 1)

The electrical circuit of claim 1, wherein the line is at least one of: the clock line and the data line of a bus.

### Claim 3 (depends on 2)

The electrical circuit of claim 2, further comprising: a demultiplexer for combining the output signals of the first and the second comparator such that a copy of a signal of at least one of a clock signal and a data signal of that board is provided as an output signal of the demultiplexer which is driving the signal on the at least one of the clock line and the data line.

### Claim 4 (depends on 3)

The electrical circuit of claim 3, wherein the output signals of the first and the second comparator are combined at least with a NAND-function in order to generate the output signals of the multiplexer.

### Claim 5 (depends on 1)

The electrical circuit of claim 1, wherein the bus is an open-drain-bus, in particular an I2C-bus.

### Claim 6

A method of detecting direction of a current flowing on a line, in particular of a bus of a test equipment, the method comprising the steps of:
evaluating a voltage drop along a sense resistor being provided within the line and providing a first output signal depending on the direction of the current flowing on the line, and
comparing the voltage at one of the two sides of the sense resistor with the voltage of a voltage divider and providing a second output signal defining whether the first output signal is valid or not.

### Claim 7

A test equipment adapted for testing two boards, wherein each board comprises at least one line, the test equipment comprises:
a sense resistor coupled within the line,
a first comparator with its positive input being connected to the line on one of the two sides of the sense resistor and with its negative input being connected to the line on the other one of the two sides of the sense resistor, and
a second comparator with one of its inputs being connected to the line on one of the two sides of the sense resistor and with the other one of its inputs being provided with a voltage divider.

### Claim 8 (depends on 7)

The test equipment of claim 7, wherein the line is at least one of: the clock line and the data line of a bus.

### Claim 9 (depends on 8)

The test equipment of claim 8, further comprising: a demultiplexer for combining the output signals of the first and the second comparator such that a copy of a signal of at least one of a clock signal and a data signal of that board is provided as an output signal of the demultiplexer which is driving the signal on the at least one of the clock line and the data line.

### Claim 10 (depends on 9)

The test equipment of claim 9, wherein the output signals of the first and the second comparator are combined at least with a NAND-function in order to generate the output signals of the multiplexer.

### Claim 11 (depends on 7)

The test equipment of claim 7, wherein the bus is an open-drain-bus, in particular an I2C-bus.
