# US 9,319,042 B2 · Sensor with concurrent autosensing of output mode and manual selection

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

- Number: US 9,319,042 B2
- Document ID: US9319042B2
- Status: Granted
- Kind: B2
- Application number: 13/423,669
- Filed: 2012-03-19
- Published: 2013-01-17
- Granted: 2016-04-19
- Earliest claimed: 2011-07-11
- Assignees: Rockwell Technologies, LLC; Sensopart Industriesensorik GmbH
- Applicants: Jagjit S. Thiara; Manfred Wiezel; Brian Haley Schriver
- Inventors: Jagjit S. Thiara; Manfred Wiezel; Brian Haley Schriver
- Web page: https://patentgrep.com/patent/US9319042B2

## CPC

- H03K 17/0822: {in field-effect transistor switches}
- H03K 17/667: {using complementary bipolar transistors}
- G01R 15/207: {Constructional details independent of the type of device used}
- G01R 19/0092: {Measuring current only}
- G01R 27/28: Measuring attenuation, gain, phase shift or derived characteristics of electric four pole networks, i.e. two-port networks; Measuring transient response (in line transmission systems H04B3/46)
- G01R 33/02: Measuring direction or magnitude of magnetic fields or magnetic flux (G01R33/20 takes precedence)
- G01R 33/07: Hall effect devices
- G01R 33/09: Magnetoresistive devices
- 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)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A switching sensor may automatically configure itself to a sinking or a sourcing mode by monitoring the voltage of its switched output to determine a loading configuration associated with each of these operating modes. The auto detection may occur not only at start up but also during operation of the sensor by monitoring the output voltage or current in coordination with knowledge about the intended state of the output by the sensor. A manual selection of the operating mode and override of the autodetect feature may be provided for cases when multiple sensors are connected in parallel.

## Claims

### Claim 1

An electrical sensor providing a switched electrical output, the electrical sensor comprising:
a sensor element sensing a physical condition to produce a sensor signal;
a first solid-state switching device connected between a source of power and a sensor output to source current at the sensor output when the first solid-state switching device is activated;
a second solid-state switching device connected between ground and the sensor output to sink current at the sensor output when the second solid-state switching device is activated;
an autodetection circuit operable to:
produce a switched signal based on the sensor signal,
receive a mode signal having a first state and a second state, wherein the first state corresponds to the sensor output sourcing current and the second state corresponds to the sensor output sinking current,
route the switched signal to the first solid-state switching device when the mode signal is in the first state and to the second solid-state switching device when the mode signal is in the second state,
when the sensor element produces the sensor signal, monitor the sensor output to identify a presence of one of a sinking load connected between the sensor output and a source of power and a sourcing load connected between the sensor output and ground,
when the presence of the sourcing load is identified as the sensor element produces the sensor signal, set the mode signal to the first state, and
when the presence of the sinking load is identified as the sensor element produces the sensor signal, set the mode signal to the second state.

### Claim 2 (depends on 1)

The electrical sensor of claim 1 wherein autodetection circuit changes its mode from sourcing mode to sinking mode when the sensor output has a high-voltage when the first solid-state switching device is off and wherein the autodetection circuit changes its mode from sinking mode to sourcing mode when the sensor output has a low voltage when the second solid-state switching device is off.

### Claim 3 (depends on 1)

The electrical sensor of claim 1 wherein the first solid-state switching device is a PNP transistor having an emitter connected to the source of power and a collector connected to the sensor output and the second solid-state switching device is an NPN transistor having a collector connected to the sensor output and an emitter connected to wound.

### Claim 4

The electrical sensor of claim l wherein the mode signal is generated by a threshold detector comparing the sensor output voltage to a voltage less than a voltage of the source of power and greater than a voltage of the ground.

### Claim 5 (depends on 1)

The electrical sensor of claim 1 wherein the autodetection circuit includes a microprocessor executing a stored program to monitor the sensor output voltage.

### Claim 6 (depends on 1)

The electrical sensor of claim 1 wherein the sensor element is selected from the group of sensor elements sensing physical conditions selected from the group consisting of: optical intensity, magnetic reluctance, temperature, pressure, and capacitance.

### Claim 7 (depends on 1)

The electrical sensor of claim 1 wherein the sensor element is selected from the group of sensor elements sensing physical conditions selected from the group consisting of: inductance, ultrasonic intensity, magnetic field, and eddy current resistance.

### Claim 8 (depends on 1)

The electrical sensor of claim 1 wherein the autodetection circuit further includes a selection input causing a predetermined routing of the switched signal to one of the first solid-state switching device and second solid-state switching device without regard to voltage of the sensor output.

### Claim 9 (depends on 1)

The electrical sensor of claim 1 wherein the autodetection circuit changes its mode from sourcing mode to sinking mode when the sensor output is not sourcing current when the first solid-state switching device is on and wherein the autodetection circuit changes its mode from sinking mode to sourcing mode when the sensor output is not sinking current when the second solid-state switching device is on.

### Claim 10 (depends on 9)

The electrical sensor of claim 9 wherein the sinking and sourcing of current from the sensor output is deduced from a voltage of the sensor output dropped by current flow through a transistor.

### Claim 11

A method of automatically selecting an interface mode for an electrical sensor providing a switched electrical output, the method comprising the steps of:
(a) sensing a physical condition to produce a switched signal based on the physical condition;
(b) detecting a mode signal having a first state and a second state, wherein the first state corresponds to the sensor output sourcing current and the second state corresponds to the sensor output sinking current;
(c) responsive to the mode signal, using the switched signal to control one of a first solid-state switching device connected between a source of power and a sensor output to source current at the sensor output, and a second solid-state switching device connected between ground and the sensor output to sink current at the sensor output when the second solid-state switching device is activated; and
(d) changing the interface mode for the electrical sensor when sensing the physical condition and a voltage at the sensor output and a predetermined combination of the switched signal and the voltage at the sensor output indicate that a current interface mode is inconsistent with an attached load to the sensor output.

### Claim 12 (depends on 11)

The method of claim 11 wherein the interface mode is changed when the switched signal is routed to the first solid-state switching device and the sensor output has a high-voltage when the first solid-state switching device is off and the interface mode is changed when the switched signal is routed to the second solid-state switching device and the sensor output has a low voltage when the second solid-state switching device is off.

### Claim 13 (depends on 11)

The method of claim 11 wherein the interface mode is changed when the switched signal is routed to the first solid-state switching device and the sensor output is not sourcing current when the first solid-state switching device is on and the interface mode is changed when the switched signal is routed to the second solid-state switching device and the sensor output is not sinking current when the second solid-state switching device is on.

### Claim 14

An electrical sensor providing a switched electrical output, the electrical sensor comprising:
a sensor element sensing a physical condition to produce a sensor signal;
a first solid-state switching device connected between a source of power and a sensor output to source current at a sensor output when the first solid-state switching device is activated;
a second solid-state switching device connected between ground and the sensor output to sink current at the sensor output when the second solid-state switching device is activated;
a threshold circuit operable to detect a voltage at the sensor output and to activate one of the first solid state switching device and the second solid state switching device responsive to the voltage detected at the sensor output and responsive to the sensor signal; and
a selection input causing a predetermined activation of one of the first solid-state switching device and second solid-state switching device without regard to the voltage of the sensor output.
