# US 2012/0084400 A1 · Machines, Computer Program Products, and Computer-Implemented Methods Providing an Integrated Node for Data Acquisition and Control

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

- Number: US 2012/0084400 A1
- Document ID: US20120084400A1
- Status: Published application
- Kind: A1
- Application number: 13/188,899
- Filed: 2011-07-22
- Published: 2012-04-05
- Earliest claimed: 2010-07-23
- Assignees: Saudi Arabian Oil Company
- Inventors: Soloman M. Almadi; Soliman A. Al-Walaie; Tofig A. Al-Dhubaib
- Web page: https://patentgrep.com/patent/US20120084400A1

## CPC

- H04L 41/069: using logs of notifications; Post-processing of notifications
- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L 69/08: Protocols for interworking; Protocol conversion
- H04L 69/28: Timers or timing mechanisms used in protocols
- G05B 2219/34413: Add time stamp to command message
- H04L 41/0686: Additional information in the notification, e.g. enhancement of specific meta-data
- H04L 69/18: Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
- Y02P 90/02: Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
- Y02P 90/80: Management or planning
- Y04S 40/00: Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
- Y04S 40/18: Network protocols supporting networked applications, e.g. including control of end-device applications over a network
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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)
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y04S: SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS

## Abstract

Embodiments of an integrated node, such as a programmable logic controller, are provided for process automation and seamless, flexible subsystem communications, allowing a remote host to interface with a plurality of remote and in-plant subsystems and services using a wired or wireless network interface and having a database server and a protocol translator or translation server to convert and manipulate various industrial interfaces and protocols. Embodiments of the integrated node time-synchronize the plurality of remote subsystems, acquire and archive time-stamped process data, report exceptions therein to the remote host, and extract and transmit time-stamped process data to the remote host. Embodiments of computer program products and computer implemented methods also are provided to detect a time of communication failure and a time of a corresponding recovery between a node and either a remote subsystem or a remote host.

## Claims

### Claim 1

A programmable logic controller (PLC) positioned to allow a remote host to interface with a plurality of remote subsystems to thereby define an integrated node, the integrated node comprising:
a central processing unit;
a network interface to route network connections with the remote host and the plurality of remote subsystems;
a protocol translator to translate communications with each of the plurality of subsystems according to one of a plurality of communication protocols;
an input/output unit positioned to transfer communications between the integrated node, the plurality of remote subsystems, and the remote host;
a database server module positioned to archive data acquired from the plurality of subsystems in a plurality of time-stamped archive files;
a non-transitory computer-readable storage medium having stored thereon:
first executable computer program comprising a set of instructions that, when executed by the central processing unit, causes the integrated node to perform the following operations:
synchronizing an internal clock in the remote host and in each of the plurality of remote subsystems to thereby define a plurality of remote time-synchronized subsystems,
acquiring time-stamped process data from each of the plurality of remote time-synchronized subsystems responsive to a first pre-defined rate,
archiving the time-stamped process data responsive to the acquiring operation in a time-stamped archive file,
extracting time-stamped process data from at least one time-stamped archive file responsive to receiving a command from the remote host, and
transmitting the time-stamped process data to the remote host responsive to receiving the command from the remote host;
second executable computer program comprising a set of instructions that, when executed by the central processing unit, causes the integrated node to perform the following operations:
detecting a time of a communication failure and a time of a corresponding communication recovery in a communication link between the integrated node and any of the plurality of remote time-synchronized subsystems,
retrieving at least one data file from one of the plurality of remote time-synchronized subsystems responsive to the detected time of the communication failure and the detected time of the corresponding communication recovery,
extracting time-stamped process data from the at least one data file retrieved, the time-stamped process data being extracted starting from the time of the communication failure and ending at the time of the corresponding communication recovery, and
transmitting the time-stamped process data to the remote host responsive to the extracting operation; and
third executable computer program comprising a set of instructions that, when executed by the central processing unit, causes the integrated node to perform the following operations:
detecting a time of a communication failure and a time of a corresponding communication recovery in a communication link between the integrated node and the remote host,
extracting time-stamped process data from at least one time-stamped archive file, the time-stamped process data being extracted starting from the time of the communication failure and ending at the time of the corresponding communication recovery,
transmitting the time-stamped process data to the remote host responsive to the extracting operation, and
buffering data transmissions in the communication link between the integrated node and the remote host responsive to detecting bandwidth starvation therein.

### Claim 2 (depends on 1)

A programmable logic controller as defined in claim 1,
wherein one of the first computer program, second computer program, and third computer program comprises one or more instructions that, when executed by the central processing unit, causes the integrated node to perform an operation of
reporting an exception alarm to the remote host so that the remote host receives the alarm and issues commands in response to being processed by the integrated node, the exception alarm being responsive to determining that the acquired time-stamped process data satisfies pre-defined exception criteria;
wherein the acquiring operation is to be performed at a rate of once per second; and
wherein the integrated node operably receives the command from the remote host to extract and operably transmits time-stamped process data at a rate of approximately once every sixty (60) seconds, the time-stamped process data being defined as the time-stamped process data acquired by the acquiring operation in an approximate sixty (60) second time period between receiving commands from the remote host.

### Claim 3 (depends on 1)

A programmable logic controller as defined in claim 1,
wherein the remote host is a supervisory control and data acquisition (SCADA) host;
wherein the plurality of remote subsystems includes one or more intelligent field systems selected from the following: permanent down hole monitoring (PDHM) systems, electrical submersible pump (ESP) systems, smart well completion (SWC) systems, and flow meter systems; and
wherein each of the remote host and the plurality of remote subsystems is synchronized responsive to a uniform time according to one or more of the following: the integrated node utilizing telecontrol protocols, and a global positioning system (GPS) time server utilizing simple network time protocol (SNTP).

### Claim 4 (depends on 1)

A programmable logic controller as defined in claim 1,
wherein the input/output unit is positioned to support each of analog inputs, analog outputs, digital inputs, digital outputs, and pulse inputs;
wherein the protocol translator is adapted to support one or more of the following communication protocols: serial Modbus, Modbus over Internet protocol (IP), highway addressable remote transducer protocol (HART), distributed network protocol (DNP), IEC61850 (International Electrotechnical Commission Standard), the International Society of Automation (ISA) SP100 protocol, and Ethernet/IP (Industrial Protocol); and
wherein the integrated node is configurable to support a plurality of connection types, protocol types, and communication speed rates.

### Claim 5 (depends on 1)

A programmable logic controller as defined in claim 1,
wherein the archiving operation includes archiving the time-stamped process data in a plurality of comma-separated values (CSV) files, each of the files corresponding to a particular day and being named responsive to a date, month, and year of the day and being stored in a directory, the directory being named responsive to a month and year;
wherein the archiving operation includes performing the archiving operation continuously responsive to continuous performance of the acquiring operation; and
wherein the transmitting operation includes transmitting data using file transfer protocol (FTP) from an FTP server, the FTP server being one of the integrated node and the remote host.

### Claim 6

A programmable logic controller having a central processing unit and a non-transitory computer-readable storage medium to allow a remote host to interface with a plurality of remote subsystems to thereby define an integrated node, the integrated node comprising:
an input/output unit positioned to transfer communications between the node the plurality of remote subsystems and the remote host;
a database server module positioned to archive data acquired from the plurality of subsystems in a plurality of time-stamped archive files;
a time-synchronizer positioned to synchronize an internal clock in each of the plurality of remote subsystems to thereby define a plurality of remote time-synchronized subsystems;
a data acquirer positioned to periodically acquire time-stamped data from each of the plurality of remote time-synchronized subsystems and archive the time-stamped data using the database server module;
an exception reporter positioned to determine exceptions in the time-stamped data acquired from each of the plurality of remote time-synchronized subsystems and report the exceptions to the remote host;
a data uploader positioned to periodically upload archived time-stamped data to the remote host; and
a subsystems restorer positioned to retrieve time-stamped data from any of the plurality of remote time-synchronized subsystems responsive to communications failure between the integrated node and any of the plurality of remote time-synchronized subsystems.

### Claim 7 (depends on 6)

A programmable logic controller as defined in claim 6, wherein the time synchronizor comprises a computer program being stored on the non-transitory computer-readable storage medium and operable on the central processing unit, the computer program comprising a set of instructions that, when executed by the central processing unit, causes the integrated node to perform the following operation: synchronizing an internal clock in the remote host and in each of the plurality of remote subsystems to thereby define a plurality of remote time-synchronized subsystems.

### Claim 8 (depends on 7)

A programmable logic controller as defined in claim 7, wherein the data acquirer comprises a computer program being stored on the non-transitory computer-readable storage medium and operable on the central processing unit, the computer program comprising a set of instructions that, when executed by the central processing unit, causes the integrated node to perform the following operations:
acquiring time-stamped process data from each of the plurality of remote time-synchronized subsystems at a first pre-defined rate; and
archiving the time-stamped process data responsive to the acquiring operation in a time-stamped archive file.

### Claim 9 (depends on 8)

A programmable logic controller as defined in claim 8, wherein the exception reporter comprises a computer program being stored on the non-transitory computer-readable storage medium and operable on the central processing unit, the computer program comprising a set of instructions that, when executed by the central processing unit, causes the integrated node to perform the following operations:
comparing the time-stamped process data to pre-defined exception criteria responsive to the acquiring operation to determine whether the time-stamped process data satisfies the pre-defined exception criteria; and
reporting an exception alarm to the remote host so that the remote host receives the alarm and issues commands in response to be processed by the integrated node, the exception alarm being responsive to determining that the time-stamped process data satisfies pre-defined exception criteria.

### Claim 10 (depends on 9)

A programmable logic controller as defined in claim 9, wherein the data uploader comprises a computer program being stored on the non-transitory computer-readable storage medium and operable on the central processing unit, the computer program comprising a set of instructions that, when executed by the central processing unit, causes the integrated node to perform the following operations:
extracting time-stamped process data from at least one time-stamped archive file responsive to receiving a command from the remote host; and
transmitting the time stamped process data to the remote host responsive to receiving the command from the remote host.

### Claim 11 (depends on 10)

A programmable logic controller as defined in claim 10,
wherein the acquiring operation occurs at a rate of one time per second; and
wherein the integrated node receives the command from the remote host to extract and transmit time-stamped process data at a rate of one time every sixty (60) seconds and the time-stamped process data being defined as the time-stamped process data acquired by the node during the sixty (60) second time period between commands.

### Claim 12 (depends on 10)

A programmable logic controller as defined in claim 10, wherein the subsystems restorer comprises a computer program being stored on the non-transitory computer-readable storage medium and operable on the central processing unit, the computer program comprising a set of instructions that, when executed by the central processing unit, causes the integrated node to perform the following operations:
detecting a time of a communication failure and a time of a corresponding communication recovery in a communication link between the integrated node and any of the plurality of remote time-synchronized subsystems;
retrieving at least one data file from one of the plurality of remote time-synchronized subsystems responsive to the detected time of the communication failure and the detected time of the corresponding communication recovery;
extracting time-stamped process data from the at least one data file retrieved, the time-stamped process data being extracted starting from the time of the communication failure and ending at the time of the corresponding communication recovery; and
transmitting the time-stamped process data to the remote host responsive to the extracting operation.

### Claim 13 (depends on 12)

A programmable logic controller as defined in claim 12, wherein the time synchronizer further synchronizes an internal clock in the remote host; and the programmable logic controller further comprising a host restorer being a computer program being stored on the non-transitory computer-readable storage medium and operable on the central processing unit, the computer program comprising a set of instructions that, when executed by the central processing unit, causes the integrated node to perform the following operations:
detecting a time of a communication failure and a time of a corresponding communication recovery in a communication link between the integrated node and the remote host;
extracting time-stamped process data from at least one time-stamped archive file, the time-stamped process data being extracted starting from the time of the communication failure and ending at the time of the corresponding communication recovery;
transmitting the time-stamped process data to the remote host responsive to the extracting operation; and
buffering data transmissions in the communication link between the integrated node and the remote host responsive to detecting bandwidth starvation therein.

### Claim 14 (depends on 6)

A programmable logic controller as defined in claim 6,
wherein the remote host is a supervisory control and data acquisition (SCADA) host;
wherein the plurality of remote subsystems includes one or more intelligent field systems selected from the following: permanent down hole monitoring (PDHM) systems, electrical submersible pump (ESP) systems, smart well completion (SWC) systems, and flow meter systems; and
wherein each of the remote host and the plurality of remote subsystems is synchronized responsive to a uniform time according to one of the following: the integrated node utilizing telecontrol protocols, and a global positioning system (GPS) time server utilizing simple network time protocol (SNTP).

### Claim 15 (depends on 6)

A programmable logic controller as defined in claim 6,
wherein the archiving operation includes archiving the time-stamped process data in a plurality of comma-separated values (CSV) files, each of the files corresponding to a particular day and being named responsive to the date, month, and year of the day and being stored in a directory, the directory being named responsive to the month and year;
wherein the archiving step includes being performed continuously in response to the acquiring operation; and
wherein the transmitting step includes transmitting data using file transfer protocol (FTP), the FTP server being either of the integrated node or the remote host.

### Claim 16

A computer-implemented method for providing a uniform restoration of interrupted data transmissions between a plurality of remote subsystems and a programmable logic controller positioned to allow a remote host to interface with the plurality of remote subsystems, the programmable logic controller thereby defining an integrated node, the method comprising the steps of:
detecting a time of a communication failure and a time of a corresponding communication recovery in a communications link between the integrated node and any of the plurality of remote subsystems, each of the integrated node and the plurality of remote subsystems being time-synchronized according to a uniform time source;
retrieving at least one data file from one of the plurality of remote time-synchronized subsystems responsive to the detected time of the communication failure and the detected time of the corresponding communication recovery; and
restoring the time-stamped process data to the remote host computer responsive to the retrieving step.

### Claim 17 (depends on 16)

The computer-implemented method as defined in claim 16, wherein the step of restoring includes the steps of:
extracting time-stamped process data from the at least one data file responsive to the retrieving step, the time-stamped process data being extracted starting from the time of communication failure and ending at the time of the communication recovery; and
transmitting the extracted process data to the remote host responsive to the extracting step.

### Claim 18 (depends on 17)

The computer-implemented method as defined in claim 17, wherein the extracting and transmitting steps are performed responsive to receiving a command from the remote host, the computer-implemented method further comprising the steps of:
reporting the time of the communication failure and the time of the communication recovery to the remote host so that the remote host issues a command to extract and transmit time-stamped process data from the at least one data file; and
monitoring to detect for bandwidth starvation in the communication link between the node and the remote host responsive to the transmission of the recovery data and buffering data transmissions responsive thereto.

### Claim 19

A computer-implemented method for providing a uniform restoration of interrupted data transmissions between a remote host and a programmable logic controller acquiring process data from a plurality of remote subsystems, the programmable logic controller thereby defining an integrated node, the computer-implemented method comprising the steps of
detecting a time of a communication failure and a time of a corresponding communication recovery in a communications link between the integrated node and the remote host, each of the integrated node and the remote host being time-synchronized according to a uniform time source; and
restoring time-stamped process data to the remote host computer responsive to the time of the communication failure and the time of the corresponding communication recovery.

### Claim 20 (depends on 19)

The computer-implemented method as defined in claim 19, wherein the step of restoring includes the steps of:
extracting time-stamped process data from the at least one data file, the time-stamped process data being extracted starting from the time of communication failure and ending at the time of the communication recovery; and
transmitting the extracted process data to the remote host responsive to the extracting step.

### Claim 21 (depends on 20)

The computer-implemented method as defined in claim 20, wherein the restoring step is performed responsive to receiving a command from the remote host, and the computer-implemented method further comprises the steps of:
reporting the time of the communication failure and the time of the communication recovery to the remote host so that the remote host issues a command to initiate a restoration of process data not received in the time period between the communication failure and corresponding communication recovery; and
monitoring to detect for bandwidth starvation in the communication link between the node and the remote host responsive to transmission of recovery data; and
buffering data transmissions responsive to the transmission of recovery data.

### Claim 22

A programmable logic controller having a central processing unit and a non-transitory computer-readable storage medium to allow a remote host to interface with a plurality of remote subsystems to thereby define an integrated node, the integrated node comprising:
an input/output unit positioned to transfer communications between the node the plurality of remote subsystems and the remote host;
a database server positioned to archive data acquired from the plurality of subsystems in a plurality of time-stamped archive files;
a time-synchronizer positioned to synchronize an internal clock in each of the plurality of remote subsystems to thereby define a plurality of remote time-synchronized subsystems;
a data acquirer positioned to periodically acquire time-stamped data from each of the plurality of remote time-synchronized subsystems and archive the time-stamped data using the database server module;
a data verifier to substitute out-of-bounds measurements in measurements of the time-stamped data with new measurements responsive to a preconfigured filtering scheme and to suspend data acquisition upon detecting an out-of-bounds measurement, to thereby define a plurality of verified measurements; and
a data reconciler to determine an operating state of the plurality of remote time-synchronized subsystems and to reconcile the plurality of verified measurements responsive to a reconciler corresponding to the operating state of the plurality of remote time-synchronized subsystems.

### Claim 23 (depends on 22)

A programmable logic controller as defined in claim 22, the data verifier comprising a computer program being stored on the non-transitory computer-readable storage medium and operable on the central processing unit, the computer program comprising a set of instructions that, when executed by the central processing unit, causes the programmable logic controller to perform the following operations:
determining that a first measurement in the time-stamped data acquired from the plurality of remote time-synchronized subsystems is out-of-bounds responsive to defined by an upper bound and a lower bound, thereby defining an out-of-bounds measurement;
substituting a second measurement for the out-of-bounds measurement, the second measurement being one of a minimal or maximal value of a preselected interval of past measurements, a last good measurement, an average of the upper bound and the lower bound, an average of a preselected number of measurements or of an interval of past measurements, the upper bound, the lower bound, or any preselected value, the time-stamped data including the substituted second measurement defining a plurality of verified measurements; and
commanding the data acquirer to suspend acquiring time-stamped data from any of the plurality of remote time-synchronized subsystems responsive to determining an out-of-bounds measurement in the time-stamped data.

### Claim 24 (depends on 23)

A programmable logic controller as defined in claim 23, the data reconciler comprising a computer program being stored on the non-transitory computer-readable storage medium and operable on the central processing unit, the computer program comprising a set of instructions that, when executed by the central processing unit, causes the programmable logic controller to perform the following operations:
determining an operating state of one or more process units of a plurality of remote time-synchronized subsystems, the determining operation being responsive to the plurality of verified measurements from the plurality of remote-time synchronized subsystems;
determining a reconciliation model responsive to the plurality of verified measurements, the reconciliation model corresponding to one or more process units and the operating state for the one or more process units;
reconciling the plurality of verified measurements responsive to the reconciliation model, the reconciliation operation being a sequential quadratic programming algorithm, to thereby define a plurality of reconciled measurements;
detecting a change in the operating state of one or more process units responsive to a later plurality of verified measurements; and
determining a new reconciliation model for the one or more process units responsive to the change in the operating state detected so that the reconciliation operation proceeds responsive to the new reconciliation model.
