# US 8,278,932 B2 · Method and detector for determining a state of a switch

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

- Number: US 8,278,932 B2
- Document ID: US8278932B2
- Status: Granted
- Kind: B2
- Application number: 12/621,238
- Filed: 2009-11-18
- Published: 2011-05-19
- Granted: 2012-10-02
- Earliest claimed: 2009-11-18
- Assignees: Freescale Semiconductor, Inc.
- Inventors: Bryan Quinones; Randall C. Gray
- Web page: https://patentgrep.com/patent/US8278932B2

## CPC

- H03K 17/18: Modifications for indicating state of switch
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

In an integrated circuit, a state of a switch coupled to the integrated circuit is determined by comparing a switch voltage at a first terminal of the switch to a reference voltage at a first time. If the switch voltage is higher than the reference voltage, the switch is determined to be in a first state. If the switch voltage is lower than the reference voltage, the switch voltage is stored in a storage element to produce a stored voltage. The stored voltage is compared to the switch voltage at a second time after the first time. A determination is made that the switch is in the first state if the switch voltage is higher than the stored voltage at the second time. A determination is made that the switch is in a second state if the switch voltage is not higher than the stored voltage at the second time.

## Claims

### Claim 1

A method for determining a state of a switch, the method comprising:
comparing a switch voltage at a first terminal of the switch to a reference voltage at a first time;
if the switch voltage is higher than the reference voltage, determining that the switch is in a first state;
if the switch voltage is lower than the reference voltage, storing the switch voltage in a storage element to produce a stored voltage;
comparing the stored voltage to the switch voltage at a second time after the first time;
determining that the switch is in the first state if the switch voltage is higher than the stored voltage at the second time; and
determining that the switch is in a second state if the switch voltage is not higher than the stored voltage at the second time.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining that the switch is in a first state further comprises determining that the switch is in an open state.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining that the switch is the second state further comprises determining that the switch is in a closed state.

### Claim 4 (depends on 1)

The method of claim 1, wherein the storage element is characterized as being a capacitive storage element.

### Claim 5 (depends on 1)

The method of claim 1, wherein the storage element is a capacitor.

### Claim 6 (depends on 1)

The method of claim 1, wherein the switch is a portion of a mechanical relay.

### Claim 7 (depends on 1)

The method of claim 1, wherein the second time is in a range of between 10-20 microseconds after the first time.

### Claim 8 (depends on 1)

The method of claim 1, further comprising reporting the state of the switch if the state of the switch has changed.

### Claim 9 (depends on 8)

The method of claim 8, wherein the state of the switch is reported as an interrupt if the state of the switch has changed.

### Claim 10

A method for determining a state of a switch, the method comprising:
comparing a switch voltage at a first terminal of the switch to a reference voltage at a first time;
if the switch voltage is higher than the reference voltage, determining that the switch is in an open state;
if the switch voltage is lower than the reference voltage, storing the switch voltage in a storage element to produce a stored voltage;
comparing the stored voltage to the switch voltage at a second time after the first time;
determining that the switch is in the open state if the switch voltage is higher than the stored voltage at the second time; and
determining that the switch is in a closed state if the switch voltage is not higher than the stored voltage at the second time.

### Claim 11 (depends on 10)

The method of claim 10, wherein the storage element is characterized as being a capacitive storage element.

### Claim 12 (depends on 10)

The method of claim 10, wherein the storage element is a capacitor.

### Claim 13 (depends on 10)

The method of claim 10, wherein the switch is a portion of a mechanical relay.

### Claim 14 (depends on 10)

The method of claim 10, wherein the second time is in a range of between 10-20 microseconds after the first time.

### Claim 15 (depends on 10)

The method of claim 10, further comprising reporting the state of the switch to a controller circuit if the state of the switch has changed.

### Claim 16 (depends on 15)

The method of claim 15, wherein the state of the switch is reported as an interrupt if the state of the switch has changed.
