# US 2013/0290593 A1 · Interfacing a Switch Array

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

- Number: US 2013/0290593 A1
- Document ID: US20130290593A1
- Status: Published application
- Kind: A1
- Application number: 13/808,912
- Filed: 2011-08-05
- Published: 2013-10-31
- Earliest claimed: 2010-08-05
- Assignees: ST-Ericsson SA
- Inventors: Nedyalko Slavov
- Web page: https://patentgrep.com/patent/US20130290593A1

## CPC

- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- H04Q 3/521: {using semiconductors in the switching stages}
- H04Q 2213/1302: Relay switches
- H04Q 2213/1304: Coordinate switches, crossbar, 4/2 with relays, coupling field
- H04Q 2213/13213: Counting, timing circuits
- H04Q 2213/13305: Transistors, semiconductors in general
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04Q: SELECTING (switches, relays, selectors H01H; wireless communication networks H04W)

## Abstract

An interface circuit for a switch array having an array of switches, each closeable to couple a row conductor of a plurality of row conductors to a column conductor of one or more column conductors, comprises a current generator and a current detector. The current generator has a plurality of row interface ports for coupling to different ones of the row conductors and is arranged to generate a switch array current for coupling to the row interface ports, the switch array current having a different one of a plurality of different switch array current magnitudes for different ones of the row interface ports, and generate one or more reference currents each having a different reference current magnitude. The current detector has one or more column interface ports for coupling to the one or more column conductors and is arranged to detect the switch array current flowing at any one of the one or more column interface ports, and generate a row indication indicative of which of the row conductors a closed one of the switches is coupled to by determining which one of the switch array current magnitudes the detected switch array current has by comparing the detected switch array current with the one or more reference currents.

## Claims

### Claim 1

An interface circuit for a switch array having an array of switches each closeable to couple a row conductor of a plurality of row conductors to a column conductor of one or more column conductors, the interface circuit comprising:
a current generator having a plurality of row interface ports for coupling to different ones of the row conductors and arranged to:
generate a switch array current for coupling to the row interface ports, the switch array current having a different one of a plurality of different switch array current magnitudes for different ones of the row interface ports, and
generate one or more reference currents each having a different reference current magnitude; and
a current detector having one or more column interface ports for coupling to different ones of the one or more column conductors and arranged to:
detect the switch array current flowing at any one of the one or more column interface ports, and
generate a row indication indicative of which of the row conductors a closed one of the switches is coupled to by determining which one of the switch array current magnitudes the detected switch array current has by comparing the detected switch array current with the one or more reference currents.

### Claim 2 (depends on 1)

An interface circuit as claimed in claim 1, wherein the current detector comprises a comparison means arranged to compare the detected switch array current with the one or more reference currents by comparing a comparison current having one of a plurality of different comparison current magnitudes dependent on the detected switch array current with a threshold current having one or more different threshold current magnitudes dependent on the one or more reference currents.

### Claim 3 (depends on 2)

An interface circuit as claimed in claim 2, wherein the comparison current magnitudes are arranged to take values intermediate of a plurality of the one or more threshold current magnitudes.

### Claim 4 (depends on 2)

An interface circuit as claimed in claim 2, wherein the comparison means is coupled to the one or more column interface ports by a switch array current mirroring means arranged to generate the comparison current by mirroring the detected switch array current.

### Claim 5 (depends on 2)

An interface circuit as claimed in claim 2, wherein the comparison current magnitudes are equal to the switch array current magnitudes.

### Claim 6 (depends on 4)

An interface circuit as claimed in claim 4, wherein the switch array current mirroring means is arranged to apply scaling such that the comparison current magnitudes are equal to scaled down values of the switch array current magnitudes.

### Claim 7 (depends on 2)

An interface circuit as claimed in claim 2, wherein:
the current detector comprises a selection means for selecting sequentially different ones of a plurality of the one or more reference currents; and
the comparison means is arranged to compare the comparison current with, sequentially, the threshold current having the different threshold current magnitudes dependent on the reference current magnitude of the selected reference current.

### Claim 8 (depends on 7)

An interface circuit as claimed in claim 7, wherein the comparison means is coupled to the selection means by a reference current mirroring means arranged to generate the threshold current by mirroring the selected reference current.

### Claim 9 (depends on 7)

An interface circuit as claimed in claim 7, wherein the threshold current magnitude of the threshold current is equal to the reference current magnitude of the selected reference current.

### Claim 10 (depends on 7)

An interface circuit as claimed in claim 7, wherein the current detector comprises a counter for counting pulses of a clock signal and for controlling the selection means to select sequentially the different ones of the plurality of the one or more reference currents with sequentially increasing reference current magnitudes dependent on the count.

### Claim 11 (depends on 10)

An interface circuit as claimed in claim 10, wherein the current detector is arranged to start the counter in response to detecting the switch array current flowing at any of the one or more column interface ports, and to stop the counter in response to detecting the threshold current having a smallest one of a plurality of the one or more threshold current magnitudes which exceeds the comparison current magnitude of the comparison current.

### Claim 12 (depends on 2)

An interface circuit as claimed in claim 2, wherein the comparison means comprises at least one current comparator comprising:
a first comparator current mirror having a first comparator port for the threshold current and a second comparator port (325b) for a mirror of current at the first comparator port;
a second comparator current mirror having a third comparator port for the comparison current and a fourth comparator port for a mirror of current at the third comparator port;
a third comparator current mirror having a fifth comparator port coupled to the fourth comparator port and a sixth comparator port for a mirror of current at the fifth comparator port, wherein the sixth comparator port is coupled to the second comparator port; and
a limiting means having a limiting means input coupled to the second comparator port and a limiting means output coupled to a current comparison means output of the current comparison means.

### Claim 13 (depends on 1)

An interface circuit as claimed in claim 1, wherein the current generator comprises:
a reference current generation means arranged to generate the one or more reference currents by mirroring a first input current; and
a switch array current generation means arranged to generate the switch array current by mirroring a second input current.

### Claim 14 (depends on 13)

An interface circuit as claimed in claim 13, wherein the current generator is arranged to apply scaling such that the switch array current magnitudes are equal to scaled up values of a magnitude of the second input current.

### Claim 15 (depends on 1)

An interface circuit as claimed in claim 1, wherein the current detector comprises a key bounce protection circuit (380) arranged to prevent the generation of the row indication in response to the switch array current having a pulse duration less than a threshold.

### Claim 16 (depends on 1)

An interface circuit as claimed in claim 1, wherein the current detector is arranged to generate a column indication indicative of which of the one or more column conductors a closed one of the switches is coupled to, dependent on which of the one or more column interface ports the detected switch array current is flowing at.

### Claim 17 (depends on 1)

An electronic device comprising the interface circuit as claimed in claim 1 and the switch array.

### Claim 18

A method of interfacing a switch array, the switch array having an array of switches each closeable to couple a row conductor of a plurality of row conductors to a column conductor of one or more column conductors, the method comprising:
generating a switch array current for coupling to the plurality of row conductors, the switch array current having a different one of a plurality of different switch array current magnitudes for different ones of the row conductors;
generating one or more reference currents each having a different reference current magnitude;
detecting the switch array current flowing at any one of the one or more column conductors; and
generating a row indication indicative of which of the row conductors a closed one of the switches is coupled to by determining which one of the switch array current magnitudes the detected switch array current has by comparing the detected switch array current with the one or more of reference currents.
