# US 2017/0322531 A1 · Application specific field device for process control system

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

- Number: US 2017/0322531 A1
- Document ID: US20170322531A1
- Status: Published application
- Kind: A1
- Application number: 15/145,549
- Filed: 2016-05-03
- Published: 2017-11-09
- Earliest claimed: 2016-05-03
- Assignees: Invensys Systems, Inc.
- Applicants: Invensys Systems, Inc.
- Inventors: Peter Allstrom
- Web page: https://patentgrep.com/patent/US20170322531A1

## CPC

- G05B 19/042: using digital processors (G05B19/05 takes precedence)
- G05B 19/0423: {Input/output}
- G05B 2219/25112: Using firmware stored in processor
- G05B 2219/25428: Field device
- 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)

## Abstract

A field device for use in a process control system having embedded firmware stored in a a nonvolatile memory. The firmware includes computer-executable instructions for performing fixed behaviors and/or standard measurements as well as a runtime interpreter. The interpreter executes application specific code downloaded to the field device. When executed, the application specific code performs custom field device functions.

## Claims

### Claim 1

A field device for use in a process control system comprising:
a processor; and
a nonvolatile memory storing embedded firmware, said firmware including computer-executable instructions that, when executed by the processor, perform:
at least one of a fixed behavior and a measurement to implement a predetermined function of the field device; and
a runtime interpreter, said interpreter executing application specific code to perform a custom function of the field device, wherein the application specific code is downloaded to the memory separate from the embedded firmware.

### Claim 2 (depends on 1)

The field device of claim 1, wherein the interpreter is configured to execute after the processor completes processing to perform the at least one fixed behavior or measurement within a processing cycle.

### Claim 3 (depends on 2)

The field device of claim 2, wherein the processor pauses the interpreter when processing of the downloaded application specific code exceeds a predetermined processing time apportioned for the interpreter within the processing cycle.

### Claim 4 (depends on 3)

The field device of claim 3, wherein the processor resumes the interpreter for continued processing of the downloaded application specific code after the processor completes processing to perform the at least one fixed behavior or measurement.

### Claim 5 (depends on 1)

The field device of claim 1, wherein the processor is configured to receive information from a sensor and is responsive to the received information for performing the measurement function of the field device to generate a standard measurement.

### Claim 6 (depends on 5)

The field device of claim 5, wherein the custom function implemented by the application specific code comprises a custom measurement function and the interpreter is responsive to the information received from the sensor to generate a custom measurement.

### Claim 7 (depends on 6)

The field device of claim 6, wherein the firmware further includes computer-executable instructions that, when executed by the processor, perform mapping at least one of the standard measurement and the custom measurement to an output.

### Claim 8 (depends on 7)

The field device of claim 7, wherein the application specific code implements user-defined mapping to at least one of the following outputs: mA, pulse, alarm, and digital.

### Claim 9 (depends on 1)

The field device of claim 1, wherein the firmware further includes computer-executable instructions that, when executed by the processor, perform publishing the custom function.

### Claim 10 (depends on 1)

The field device of claim 1, wherein the custom function implemented by the application specific code comprises a custom behavior.

### Claim 11 (depends on 1)

The field device of claim 1, wherein the interpreter is configured to execute the application specific code to perform the custom function such that the custom function cannot modify the at least one fixed behavior or measurement.

### Claim 12

A computer-implemented method of operating a field device for use in a process control system comprising:
performing at least one of a fixed behavior and a measurement in embedded firmware to implement a predetermined function of the field device; and
performing a runtime interpreter in embedded firmware, wherein the interpreter executes application specific code to perform a custom function of the field device, and wherein the application specific code is downloaded to a memory of the field device separate from the embedded firmware.

### Claim 13 (depends on 12)

The method of claim 12, further comprising executing the application specific code, by the interpreter, after processing to perform the at least one fixed behavior or measurement is completed within a processing cycle.

### Claim 14 (depends on 13)

The method of claim 13, further comprising pausing the interpreter when executing of the downloaded application specific code exceeds a predetermined processing time apportioned for the interpreter within the processing cycle.

### Claim 15 (depends on 14)

The method of claim 14, further comprising resuming the interpreter for continued execution of the downloaded application specific code after processing to perform the at least one fixed behavior or measurement is completed.

### Claim 16 (depends on 12)

The method of claim 12, further comprising receiving sensor data and, responsive to the received data, performing the measurement function of the field device to generate a standard measurement.

### Claim 17 (depends on 16)

The method of claim 16, wherein the custom function implemented by the application specific code comprises a custom measurement function and the interpreter is responsive to the information received from the sensor to generate a custom measurement.

### Claim 18 (depends on 17)

The method of claim 17, further comprising mapping at least one of the standard measurement and the custom measurement to an output.

### Claim 19

A process control system comprising:
a communications infrastructure;
a sensor generating sensor data;
a transmitter coupled to the communications infrastructure and to the sensor, said transmitter configured for receiving the sensor data, said transmitter including:
a processor; and
a nonvolatile memory storing embedded firmware, said firmware including computer-executable instructions that, when executed by the processor, perform:
a standard measurement as a function of the received sensor data; and
a runtime interpreter, said interpreter executing application specific code to implement a custom function of the transmitter, wherein the application specific code is downloaded via the communications infrastructure to the memory separate from the embedded firmware.

### Claim 20 (depends on 19)

The system of claim 19, wherein the interpreter is configured to execute after the processor completes processing to perform the standard measurement within a processing cycle and wherein the processor pauses the interpreter when processing of the downloaded application specific code exceeds a predetermined processing time apportioned for the interpreter within the processing cycle.

### Claim 21 (depends on 19)

The system of claim 19, wherein the processor resumes the interpreter for continued processing of the downloaded application specific code after the processor completes processing to perform the standard measurement.
