# US 2021/0048788 A1 · Self-calibrating universal input port

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

- Number: US 2021/0048788 A1
- Document ID: US20210048788A1
- Status: Published application
- Kind: A1
- Application number: 16/539,367
- Filed: 2019-08-13
- Published: 2021-02-18
- Earliest claimed: 2019-08-13
- Assignees: Johnson Controls Technology Company
- Applicants: Johnson Controls Technology Company
- Inventors: Denis Sterjo; Mark G. Freund; Michael J. Schantzen
- Web page: https://patentgrep.com/patent/US20210048788A1

## CPC

- G05B 19/0423: {Input/output}
- G05B 19/0426: {Programming the control sequence}
- H02M 7/217: using semiconductor devices only
- H04L 12/10: Current supply arrangements
- G05B 2219/21117: Universal I-O, same pin is input or output, bidirectional
- G05B 2219/2614: HVAC, heating, ventillation, climate control
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- H02M: APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF (transformers H01F; dynamo-electric converters H02K47/00; controlling transformers, reactors or choke coils, control or regulation of electric motors, generators or dynamo-electric converters H02P)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An illustrative embodiment disclosed herein is a circuit for sensing heating, ventilation, air conditioning, and refrigeration (HVACR) equipment. The circuit includes an input port that has an input voltage signal. The circuit includes an analog-to-digital converter (ADC) generating a first digital signal based on receiving a representation of a supply voltage, generating a second digital signal based on receiving the divided input voltage signal, and outputting the first digital signal, the second digital signal, and an output voltage reference. The circuit includes an amplifier coupled to the ADC and amplifying the output voltage reference to generate a supply voltage. The circuit includes a microprocessor coupled to the ADC and configured to calculate a first ratio of the first digital signal and the supply voltage. The microprocessor is configured to determine the input voltage signal by calculating a second ratio of the second digital signal and the first ratio.

## Claims

### Claim 1

A circuit for sensing heating, ventilation, air conditioning, and refrigeration (HVACR) equipment, the circuit comprising:
an input port that, upon receiving a device-under-test (DUT), has an input voltage signal;
a first switch coupled to the input port and a resistive load having a load resistance and having a first open position and a first closed position;
an input divider coupled to the input port and dividing the input voltage signal;
an analog-to-digital converter (ADC) coupled to the input divider, generating a first digital signal based on receiving an input voltage reference, generating a second digital signal based on receiving the divided input voltage signal, and outputting the first digital signal, the second digital signal, and an output voltage reference;
an amplifier coupled to the ADC and amplifying the output voltage reference to generate a supply voltage;
a supply divider coupled to the amplifier and dividing the supply voltage to generate the input voltage reference;
a voltage-controlled current source coupled to the amplifier and converting the supply voltage to a first current configured to drive the input port;
a second switch coupled to the voltage-controlled source and the input port and having a second open position and a second closed position; and
a microprocessor coupled to the ADC and configured to:
calculate a first ratio of the first digital signal and the supply voltage; and
determine the input voltage signal by calculating a second ratio of the second digital signal and the first ratio.

### Claim 2 (depends on 1)

The circuit of claim 1, wherein the microprocessor is further configured to:
set the first switch to the first open position;
set the second switch to the second closed position; and
determine a resistance of the DUT by calculating a third ratio of the second ratio and the first current.

### Claim 3 (depends on 1)

The circuit of claim 1, wherein the microprocessor is further configured to:
set the first switch to the first closed position;
set the second switch in to the second open position; and
determine a current of the DUT by calculating a third ratio of the second ratio and the load resistance.

### Claim 4 (depends on 1)

The circuit of claim 1, wherein the microprocessor is further configured to:
set the first switch to the first open position;
set the second switch to the second open position; and
determine a voltage of the DUT as the input voltage signal.

### Claim 5 (depends on 1)

The circuit of claim 1, wherein the microprocessor is further configured to periodically calculate the first ratio at a predetermined interval.

### Claim 6 (depends on 1)

The circuit of claim 1, wherein the amplifier comprises:
an operation amplifier having a first input, a second opamp input and an opamp output;
a first resistor coupled between the first opamp input and the opamp output; and
a second resistor between the first opamp input and ground.

### Claim 7 (depends on 1)

The circuit of claim 1, wherein the input divider comprises:
a first resistive element coupled to the input port and the ADC and having a first resistance; and
a second resistive element coupled to the ADC and ground and having a second resistance.

### Claim 8 (depends on 7)

The circuit of claim 7, wherein the supply divider comprises:
a third resistive element coupled to the amplifier and the ADC and having a third resistance; and
a fourth resistive element coupled to the ADC and the ground and having a fourth resistance.

### Claim 9 (depends on 8)

The circuit of claim 8, wherein a third ratio of the first resistance and the second resistance is same or substantially similar to a fourth ratio of the third resistance and the fourth resistance.

### Claim 10 (depends on 1)

The circuit of claim 1, wherein the voltage-controlled current source comprises a first resistive element coupled to the amplifier and the second switch and having a first resistance.

### Claim 11

A system for sensing heating, ventilation, air conditioning, and refrigeration (HVACR) equipment, the system comprising:
a controller configured to control HVACR equipment; and
an circuit coupled to the controller and comprising:
an input port that, upon receiving a device-under-test (DUT), has an input voltage signal;
a first switch coupled to the input port and a resistive load having a load resistance and having a first open position and a first closed position;
an input divider coupled to the input port and dividing the input voltage signal;
an analog-to-digital converter (ADC) coupled to the input divider, generating a first digital signal based on receiving an input voltage reference, generating a second digital signal based on receiving the divided input voltage signal, and outputting the first digital signal, the second digital signal, and an output voltage reference;
an amplifier coupled to the ADC and amplifying the output voltage reference to generate a supply voltage;
a supply divider coupled to the amplifier and dividing the supply voltage to generate the input voltage reference;
a voltage-controlled current source coupled to the amplifier and converting the supply voltage to a first current configured to drive the input port;
a second switch coupled to the voltage-controlled source and the input port and having a second open position and a second closed position; and
a microprocessor coupled to the ADC and configured to:
calculate a first ratio of the first digital signal and the supply voltage; and
determine the input voltage signal by calculating a second ratio of the second digital signal and the first ratio.

### Claim 12 (depends on 11)

The system of claim 11, wherein the microprocessor is further configured to:
set the first switch to the first open position;
set the second switch to the second closed position; and
determine a resistance of the DUT by calculating a third ratio of the second ratio and the first current.

### Claim 13 (depends on 11)

The system of claim 11, wherein the microprocessor is further configured to:
set the first switch to the first closed position;
set the second switch in to the second open position; and
determine a current of the DUT by calculating a third ratio of the second ratio and the load resistance.

### Claim 14 (depends on 11)

The system of claim 11, wherein the microprocessor is further configured to:
set the first switch to the first open position;
set the second switch to the second open position; and
determine a voltage of the DUT as the input voltage signal.

### Claim 15 (depends on 11)

The system of claim 11, wherein the microprocessor is further configured to periodically calculate the first ratio at a predetermined interval.

### Claim 16

A method for sensing heating, ventilation, air conditioning, and refrigeration (HVACR) equipment, the method comprising:
receiving, by a microprocessor, a first digital signal converted from a first voltage-divided representation of a supply voltage;
calculating, by the microprocessor, a first ratio of the first digital signal and the supply voltage;
receiving, by the microprocessor, a second digital signal converted from a second voltage-divided representation of an input voltage signal corresponding to a device-under-test (DUT) coupled to an input port;
determining, by the microprocessor, the input voltage signal by calculating a second ratio of the second digital signal and the first ratio;
setting, by the microprocessor, a first switch coupled to the input port and a resistive load to a first open position or a first closed position;
setting, by the microprocessor, a second switch coupled to the input port and a voltage-controlled current source to a second open position or a second closed position; and
determining, by the microprocessor, a resistance, a voltage, or a current of the DUT based on the first switch and the second switch.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
setting, by the microprocessor, the first switch to the first open position;
setting, by the microprocessor, the second switch to the second closed position; and
determining, by the microprocessor, the resistance of the DUT by calculating a third ratio of the second ratio and a first current of the voltage-controlled current source.

### Claim 18 (depends on 16)

The method of claim 16, further comprising:
setting, by the microprocessor, the first switch to the first closed position;
setting, by the microprocessor, the second switch to the second open position; and
determining, by the microprocessor, the current of the DUT by calculating a third ratio of the second ratio and a load resistance of the resistive load.

### Claim 19 (depends on 16)

The method of claim 16, further comprising:
setting, by the microprocessor, the first switch to the first open position;
setting, by the microprocessor, the second switch to the second open position; and
determining, by the microprocessor, the voltage of the DUT as the input voltage signal.

### Claim 20 (depends on 16)

The method of claim 16, further comprising periodically calculating, by the microprocessor, the first ratio at a predetermined interval.
