# US 11,119,458 B2 · Building management system with virtual points and optimized data integration

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

- Number: US 11,119,458 B2
- Document ID: US11119458B2
- Status: Granted
- Kind: B2
- Application number: 16/687,011
- Filed: 2019-11-18
- Published: 2020-03-12
- Granted: 2021-09-14
- Earliest claimed: 2016-06-14
- Assignees: Johnson Controls Tyco IP Holdings LLP
- Applicants: Johnson Controls Technology Company
- Inventors: Gerald A. Asp; Youngchoon Park; Peter A. Craig
- Web page: https://patentgrep.com/patent/US11119458B2

## CPC

- G05B 15/02: electric
- G06F 16/38: Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06Q 50/06: Energy or water supply
- 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)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

A building management system (BMS) includes building equipment, a data collector, a sample aggregator, and an application. The building equipment is operable to monitor and control a variable in the BMS and to provide raw data samples of the variable. The data collector is configured to collect the raw data samples from the building equipment and generate a raw data timeseries including a plurality of the raw data samples. The sample aggregator is configured to automatically generate a data rollup timeseries including a plurality of aggregated data samples. The aggregated data samples are generated by aggregating the raw data samples as the raw data samples are collected from the building equipment. Both timeseries are stored in a timeseries database. The application is configured to retrieve the raw data timeseries and the data rollup timeseries from the timeseries database in response to a request for timeseries data associated with the variable.

## Claims

### Claim 1

A building management system comprising:
one or more memory devices configured to store instructions thereon that, when executed by one or more processors, cause the one or more processors to:
receive raw data samples from building equipment and generate a raw data timeseries comprising a plurality of the raw data samples;
generate a data rollup timeseries comprising a plurality of aggregated data samples as the raw data samples are received;
receive one or more new raw data samples from the building equipment;
determine whether an update is triggered based on the one or more new raw data samples;
update the data rollup timeseries with the one or more new raw data samples in response to a determination that the update is triggered; and
store the data rollup timeseries in a database.

### Claim 2 (depends on 1)

The building management system of claim 1, wherein:
each of the raw data samples comprises a timestamp and a raw data value; and
wherein the instructions cause the one or more processors to generate the plurality of aggregated data samples by aggregating one or more of the raw data samples that have timestamps within a predetermined aggregation interval.

### Claim 3 (depends on 2)

The building management system of claim 2, wherein aggregating the one or more of the raw data samples comprises averaging one or more raw data values of the one or more of the raw data samples.

### Claim 4 (depends on 1)

The building management system of claim 1, wherein the instructions cause the one or more processors to store one or more raw data samples of the raw data samples with a timestamp, the timestamp comprising:
a local time indicating a time at which each of the one or more raw data samples was collected in a time zone within which each of the one or more raw data samples was collected; and
a time offset indicating a difference between the local time and universal time.

### Claim 5 (depends on 1)

The building management system of claim 1, wherein the instructions cause the one or more processors to update the data rollup timeseries by:
identifying a timestamp of a new raw data sample of the one or more new raw data samples;
identifying a particular aggregated data sample of the data rollup timeseries that was generated using an aggregation interval that includes the timestamp of the new raw data sample; and
recalculating an aggregated data value of the particular aggregated data sample using the new raw data sample and any other raw data samples that have timestamps within the aggregation interval.

### Claim 6 (depends on 1)

The building management system of claim 1, wherein the instructions cause the one or more processors to update the data rollup timeseries by:
identifying a timestamp of a new raw data sample of the one or more new raw data samples;
determining that the timestamp of the new raw data sample is not within any aggregation interval used to generate the plurality of aggregated data samples;
generating a new aggregated data sample using the new raw data sample and a new aggregation interval that includes the timestamp of the new raw data sample; and
adding the new aggregated data sample to the data rollup timeseries.

### Claim 7 (depends on 1)

The building management system of claim 1, wherein the instructions cause the one or more processors to:
create a virtual data point representing a variable not directly measured by the building equipment;
calculate data values for each of a plurality of samples of the virtual data point using at least one of the raw data samples and the plurality of aggregated data samples;
generate a virtual point timeseries comprising the plurality of samples of the virtual data point; and
store the virtual point timeseries in the database.

### Claim 8 (depends on 1)

The building management system of claim 1, wherein the instructions cause the one or more processors to:
detect faults in timeseries data by applying fault detection rules to at least one of the raw data timeseries and the data rollup timeseries;
generate a fault detection timeseries comprising a plurality of fault detection data samples, each of the plurality of fault detection data samples having a timestamp and a data value indicating whether a fault is detected at the timestamp; and
store the fault detection timeseries in the database.

### Claim 9 (depends on 1)

The building management system of claim 1, wherein the instructions cause the one or more processors to monitor updates to the raw data samples of the building equipment and trigger an automatic update to the data rollup timeseries.

### Claim 10

A building management system comprising:
one or more memory devices configured to store instructions thereon that, when executed by one or more processors, cause the one or more processors to:
receive raw data samples from a sensor and generate a raw data timeseries comprising a plurality of the raw data samples;
associate the raw data timeseries with a measured data point;
generate a virtual data point representing a non-measured variable;
calculate the virtual data point based on the measured data point and generate a virtual point timeseries comprising a plurality of samples of the virtual data point; and
store the virtual point timeseries in a database.

### Claim 11 (depends on 10)

The building management system of claim 10, wherein the instructions cause the one or more processors to synchronize the raw data timeseries with an asynchronous timeseries by aggregating both the raw data timeseries and the asynchronous timeseries using equivalent aggregation intervals.

### Claim 12 (depends on 11)

The building management system of claim 11, wherein the instructions cause the one or more processors to calculate the virtual data point by:
identifying a plurality of aggregated data values generated by aggregating the raw data timeseries;
identifying, for each of the plurality of aggregated data values, a corresponding synchronized data value generated by aggregating the asynchronous timeseries; and
calculating, for each sample of the virtual data point, a data value of the sample by evaluating a function of one of the plurality of aggregated data values and the corresponding synchronized data value.

### Claim 13 (depends on 10)

The building management system of claim 10, wherein the instructions cause the one or more processors to calculate the virtual data point by:
applying values of the measured data point as inputs to a mathematical function; and
evaluating the mathematical function to determine corresponding values of the virtual data point.

### Claim 14 (depends on 10)

The building management system of claim 10, wherein the instructions cause the one or more processors to calculate the virtual data point as a function of the measured data point and one or more other data points.

### Claim 15 (depends on 10)

The building management system of claim 10, wherein the instructions cause the one or more processors to:
generate a data rollup timeseries comprising a plurality of aggregated data samples; and
calculate a value for each of the plurality of aggregated data samples by aggregating one or more of the raw data samples that have timestamps within a predetermined aggregation interval.

### Claim 16 (depends on 10)

The building management system of claim 10, wherein the sensor measures a weather-related variable;
wherein the instructions cause the one or more processors to:
associate the raw data timeseries with a measured weather-related data point; and
calculate the virtual data point as a function of the measured weather-related data point.

### Claim 17 (depends on 10)

The building management system of claim 10, wherein the instructions cause the one or more processors to:
detect faults in timeseries data by applying fault detection rules to the virtual point timeseries;
generate a fault detection timeseries comprising a plurality of fault detection data samples, each of the plurality of fault detection data samples having a timestamp and a data value indicating whether a fault is detected at the timestamp; and
store the fault detection timeseries in the database.

### Claim 18

A method of a building management system comprising:
receiving, by one or more processing circuits, raw data samples from building equipment and generating, by the one or more processing circuits, a raw data timeseries comprising a plurality of the raw data samples;
generating, by the one or more processing circuits, a data rollup timeseries comprising a plurality of aggregated data samples as the raw data samples are received;
receiving, by the one or more processing circuits, one or more new raw data samples from the building equipment;
determining, by the one or more processing circuits, whether an update is triggered based on the one or more new raw data samples;
updating, by the one or more processing circuits, the data rollup timeseries with the one or more new raw data samples in response to a determination that the update is triggered; and
storing, by the one or more processing circuits, the data rollup timeseries in a database.

### Claim 19 (depends on 18)

The method of claim 18, wherein:
each of the raw data samples comprises a timestamp and a raw data value; and
wherein generating, by the one or more processing circuits, the plurality of aggregated data samples comprises aggregating one or more of the raw data samples that have timestamps within a predetermined aggregation interval.

### Claim 20 (depends on 19)

The method of claim 19, wherein aggregating the one or more of the raw data samples comprises averaging one or more raw data values of the one or more of the raw data samples.

### Claim 21 (depends on 18)

The method of claim 18, further comprising updating, by the one or more processing circuits, the data rollup timeseries by:
identifying a timestamp of a new raw data sample of the one or more new raw data samples;
identifying a particular aggregated data sample of the data rollup timeseries that was generated using an aggregation interval that includes the timestamp of the new raw data sample; and
recalculating an aggregated data value of the particular aggregated data sample using the new raw data sample and any other raw data samples that have timestamps within the aggregation interval.
