# US 2022/0230047 A1 · Optimistic data retrieval in a process control environment

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

- Number: US 2022/0230047 A1
- Document ID: US20220230047A1
- Status: Published application
- Kind: A1
- Application number: 17/583,709
- Filed: 2022-01-25
- Published: 2022-07-21
- Earliest claimed: 2014-12-15
- Assignees: Aveva Software, LLC
- Applicants: Aveva Software, LLC
- Inventors: Vinay T. Kamath; Yevgeny Naryzhny; Alexander Vasilyevich Bolotskikh; Abhijit Manushree; Elliott Middleton; Bala Kamesh Sista
- Web page: https://patentgrep.com/patent/US20220230047A1

## CPC

- G06M 1/28: for zeroising or setting to a particular value
- B65B 57/20: Applications of counting devices for controlling the feed of articles (other applications B65B65/08)
- B65B 65/08: Devices for counting or registering the number of articles handled, or the number of packages produced by the machine
- G05B 19/41865: {characterised by job scheduling, process planning, material flow}
- Y02P 90/02: Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
- G06M: COUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
- B65B: MACHINES, APPARATUS OR DEVICES FOR, OR METHODS OF, PACKAGING ARTICLES OR MATERIALS; UNPACKING (bundling and pressing devices for cigars A24C1/44; devices for tensioning and securing binders adapted to be supported by the article or articles to be bound B25B25/00; applying closure members to bottles, jars or similar containers B67B1/00-B67B6/00; concurrent cleaning, filling and closing of bottles B67C7/00; emptying bottles, jars, cans, casks, barrels or similar containers B67C9/00)
- 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

## Abstract

Processing raw data stored in an historian device for determining an amount of products passed through a process element in a process control environment is described. A count value is incremented by a counter at a rate at which products pass through the process element. The count value rolls over to zero when the count value reaches a rollover value R. An historian device periodically receives count value data points from the counter. A deadband value D is set in the historian device for distinguishing between rollovers, resets, and reversals. A client device queries the historian device for an amount of products passed through the process element for a timeframe. The historian device selects a set of count value data points from within the queried timeframe. The historian device determines, based on the selected data points and their quality, an amount of products passed through the process element.

## Claims

### Claim at position 1

1-8. (canceled)

### Claim 9

A system for retrieving data from a historian comprising:
a historian comprising one or more processors and one or more non-transitory computer readable media, the one or more non-transitory computer readable media having instructions stored thereon that when executed cause the historian to:
receive, by the one or more processors, a counter data points from a counter, the counter configured to keep track of products passing through a process element using the counter data points, the counter including a rollover value;
determine, by the one or more processors, counter data points that fall within a range;
determine, by the one or more processors, counter data points that fall outside the range;
determine, by the one or more processors, counter data points that are null and/or counter data points within the range by not consistent with previous or subsequent counter data points;
set, by the one or more processors, a quality rule mode where the counter data points that fall within a range and the counter data points that are outside the range are used in a calculation, while the counter data points that are null and/or counter data points within the range by not consistent with previous or subsequent counter data points are not used in the calculation; and
determine, by the one or more processors, if a reset, a rollover, or a reversal of the counter has occurred based on the calculation.

### Claim 10 (depends on 9)

The system of claim 9,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
identify, by the one or more processors, the counter data points that fall within the range as ‘GOOD’.

### Claim 11 (depends on 10)

The system of claim 10,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
identify, by the one or more processors, the counter data points that fall outside the range as ‘DOUBTFUL’.

### Claim 12 (depends on 11)

The system of claim 11,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
identify, by the one or more processors, the counter data points that are null and/or the counter data points within the range but not consistent with previous or subsequent counter data points as ‘BAD’.

### Claim 13 (depends on 12)

The system of claim 12,
wherein if a ‘BAD’ counter data point is encountered, then a last known ‘GOOD’ counter data point or a last known ‘DOUBTFUL’ counter data point is used in the calculation as if the ‘BAD’ counter data point never occurred.

### Claim 14 (depends on 12)

The system of claim 12,
wherein if a particular counter data point is a ‘BAD’ counter data point and if there are no counter data points prior to a start of a queried timeframe, then the system is configured to use a zero in the calculation as a starting base value for the ‘BAD’ counter data point.

### Claim 15 (depends on 14)

The system of claim 14,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
divide, by the one or more processors, the counter data points into multiple time cycles in response to a queried timeframe;
wherein a starting base value for one or more of the multiple time cycles is calculated from a first actual data point in one or more of the multiple time cycles, rather than the zero.

### Claim 16

A system for retrieving data from a historian comprising:
a historian comprising one or more processors and one or more non-transitory computer readable media, the one or more non-transitory computer readable media having instructions stored thereon that when executed cause the historian to:
receive, by the one or more processors, a counter data points from a counter, the counter configured to keep track of products passing through a process element using the counter data points, the counter including a rollover value;
determine, by the one or more processors, counter data points that fall within a range;
determine, by the one or more processors, counter data points that fall outside the range;
determine, by the one or more processors, counter data points that are null and/or counter data points within the range but not consistent with previous or subsequent counter data points;
set, by the one or more processors, a quality rule mode where the counter data points that fall within a range, the counter data points that are outside the range, and the counter data points that are null and/or counter data points within the range by not consistent with previous or subsequent counter data points are used in a calculation;
determine, by the one or more processors, if a reset, a rollover, or a reversal of the counter has occurred based on the calculation.

### Claim 17 (depends on 16)

The system of claim 16,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
determine, by the one or more processors, if a reset has occurred if a first counter data point is greater than a following counter data point and the first counter data point is less than R*(1-D/100) and the following counter data point is less than R*D/100.

### Claim 18 (depends on 16)

The system of claim 16,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
determine, by the one or more processors, if a reversal has occurred if a first counter data point is greater than a following counter data point and a difference between the first counter data point and the following counter data point is less than R*D/100.

### Claim 19 (depends on 16)

The system of claim 16,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
determine, by the one or more processors, if a rollover has occurred if a first counter data point is greater than a following counter data point and the system has not determined that the reset and the reversal has not occurred.

### Claim 20

A system for retrieving data from a historian comprising:
a historian comprising one or more processors and one or more non-transitory computer readable media, the one or more non-transitory computer readable media having instructions stored thereon that when executed cause the historian to:
receive, by the one or more processors, a counter data points from a counter, the counter configured to keep track of products passing through a process element using the counter data points, the counter including a rollover value;
determine, by the one or more processors, counter data points that fall within a range;
determine, by the one or more processors, counter data points that fall outside the range;
determine, by the one or more processors, counter data points that are null and/or counter data points within the range but not consistent with previous or subsequent counter data points;
set, by the one or more processors, a quality rule mode where the counter data points that fall within a range and the counter data points that are null and/or counter data points within the range by not consistent with previous or subsequent counter data points are used in a calculation, while the counter data points that are outside the range are not used in the calculation;
determine, by the one or more processors, if a reset, a rollover, or a reversal of the counter has occurred based on the calculation.

### Claim 21 (depends on 20)

The system of claim 20,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
replace, by the one or more processors, a last counter data point that is null and/or a last counter data point within the range but not consistent with previous or subsequent counter data points with a last counter data point that fell within the range.

### Claim 22 (depends on 21)

The system of claim 21,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
replace, by the one or more processors, the last counter data point that is null and/or the last counter data point within the range but not consistent with previous or subsequent counter data points with a zero if there is no last counter data point that fell within the range.

### Claim 23 (depends on 22)

The system of claim 22,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
divide, by the one or more processors, the counter data points into multiple time cycles in response to a queried timeframe;
if there is no last counter data point that fell within the range, and there are no previous counter data points prior to a queried timeframe start, then use the zero as a starting base value in at least one of the multiple time cycles.

### Claim 24 (depends on 20)

The system of claim 20,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
replace, by the one or more processors, a last counter data point that is null and/or a last counter data point within the range but not consistent with previous or subsequent counter data points with the last counter data point that fell outside the range.

### Claim 25 (depends on 24)

The system of claim 24,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
replace, by the one or more processors, the last counter data point that is null and/or the last counter data point within the range but not consistent with previous or subsequent counter data points with a zero if there is no last counter data point that fell that fell outside the range.

### Claim 26 (depends on 25)

The system of claim 25,
the one or more non-transitory computer readable media having further instructions stored thereon that when executed cause the historian to:
divide, by the one or more processors, the counter data points into multiple time cycles in response to a queried timeframe;
if there is no last counter data point that fell within the range, and there are no previous counter data points prior to a queried timeframe start, then use the zero as a starting base value in the calculation for at least one of the multiple time cycles.
