# Patent

## Title
Conditional download of data from embedded historians

## Abstract

Systems and methods that provide for event driven downloading, via defining storage thresholds in an embedded historian (e.g. micro historian). Upon reaching predetermined thresholds (e.g., low/high water marks), stored data in the embedded historians can automatically down load to a central plant historian. An automatic download engine is provided that down loads historian data based on satisfaction of such conditions defined for the download. The download engine can further include a detector component, which detects whether a predetermined condition (e.g., associated with the storage capacity of the micro-historians have been met. Moreover, a notification component can notify the embedded historians that the data have been permanently persisted in the central historian.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 11/536,535, filed Sep. 28, 2006, now U.S. Pat. No. 7,672,740, patented Mar. 2, 2010, entitled Conditional Download of Data from Embedded Historians. The above patent is incorporated herein by reference.


TECHNICAL FIELD
The subject invention relates generally to historian components associated with industrial controllers, and more particularly to conditional download of data collected by embedded historian components, based on a predetermined condition(s) such as respective storage level(s).
BACKGROUND
Manufacturing control and monitoring modules typically produce significant amounts of data. Industrial controller produce both real-time and historical data about the status of a given process including alarms, process values, and audit/error logs. Typically, industrial controllers are special-purpose computers utilized for controlling industrial processes, manufacturing equipment, and other factory automation, such as data collection or networked systems. At the core of the industrial control system, is a logic processor such as a Programmable Logic Controller (PLC) or PC-based controller. Programmable Logic Controllers for instance, are programmed by systems designers to operate manufacturing processes via user-designed logic programs or user programs. The user programs are stored in memory and generally executed by the PLC in a sequential manner although instruction jumping, looping and interrupt routines, for example, are also common. Associated with the user program are a plurality of memory elements or variables that provide dynamics to PLC operations and programs. Differences in PLCs are typically dependent on the number of Input/Output (I/O) they can process, amount of memory, number and type of instructions, and speed of the PLC central processing unit (CPU).
In a more macro sense than the controller, businesses have become more complex in that higher order business systems or computers often need to exchange data with such controllers. For instance, an industrial automation enterprise may include several plants in different locations. Modern drivers such as efficiency and productivity improvement, and cost-reduction, are requiring manufacturers to collect, analyze, and optimize data and metrics from global manufacturing sites. For example, a food company can have several plants located across the globe for producing a certain brand of food. These factories in the past were standalone, with minimum data collection and comparison of metrics with other similar factories. In the networked world of today, manufacturers are demanding real-time data from their factories to drive optimization and productivity. Unfortunately, conventional control systems architectures are not equipped to allow a seamless exchange of data between these various components of the enterprise.
Another requirement of modern control system architectures is the ability to record and store data in order to maintain compliance with Food and Drug Administration regulations such as Regulation 21 CFR Part 11. One common solution for recording data includes providing a local recording module that often occupies a slot in a controller backplane such as a PC-Historian which is an industrial computer for the controller backplane, and employs a transitional layer to supply an indirect interface to the controller. This includes a platform that provides high speed, time series, data storage and retrieval with both local and remote control processors. The PC-Historian communicates with controllers directly through the backplane and can communicate remotely via a network interface. The PC-Historian allows archiving data from the controller to an Archive Engine which provides additional storage capabilities.
In general, conventional historian processors enable high-speed real-time data collection by communicating directly with the control processor across the backplane for fast data collection speeds. This includes handling large quantities of data over extended time periods while providing efficient storage and retrieval of process data over extended periods of time. These solutions are generally employed for electronic documentation and provide an audit trail and data flags for tracking modified, inserted, or incomplete data. In order to configure such products, a Graphical User Interface (GUI) can be provided to map controller tags defined in a local or remote processor to a data historian file.
Moreover, process control workstation displays can show the current state of process variables to an operator, and historical trend objects can display historical data from a persistent store such as a database or log file. Such data can be collected and recorded via historians, which are industrial computer(s) associated with the controller backplane.
Nonetheless and in contrast to PC historians, when employing embedded historian components that supply a direct interface to controllers, data backup, and risk of loss for data stored on a RAM residing on such embedded historians can create complexities. The size of the RAM in such embedded historians is limited and can eventually overload. In general an operator should periodically upload the data to remove it from the historian memory to avoid overloading.
SUMMARY
The following presents a simplified summary in order to provide a basic understanding of some aspects described herein. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of the various aspects described herein. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
The subject innovation provides for systems and methods of event driven downloading, via defining storage thresholds in an embedded historian(s), wherein upon reaching such predetermined threshold (e.g., low/high water marks), stored data in embedded historians can automatically down load to a central plant historian. In general, such embedded historians (unlike conventional PC historians) supply a direct interface to controllers without employing a transitional layer, and hence provide a substantially higher data exchange rate as compared to conventional PC historians. An automatic download engine is provided that down loads historian data, based on satisfaction of such conditions defined for the download. The download engine of the subject invention can include a detector component, which detects whether a predetermined condition (e.g., associated with the storage capacity of the embedded historians have been met. Moreover, a notification component can notify the embedded historians that the data have been permanently persisted in the central historian.
Accordingly, event driven down loads can be enabled based on memory usage and/or other predetermined events. For example, various levels of storage capacity for an embedded historian can be associated with a full level and an empty level wherein the embedded historian (e.g., micro-historian) can down load itself to the plant historian (e.g., a central plant) upon reaching a full level. Subsequently, the central plant historian can persistently store such data, and send a confirmation signal on a secure channel (e.g., a trusted confirmation signal) to the embedded historian. Upon receipt of such confirmation, the embedded historian can avail its memory for data override. Such an arrangement can reduce data backup, and mitigate risk of loss for data stored on a RAM, wherein size of the RAM in such embedded historians is limited and can eventually overload, for example.
In a related methodology, data can be initially stored via embedded historians, wherein such storage can continue until a predetermined threshold is reached. Upon reaching such predetermined threshold, the automatic download component can download stored data in such embedded historians to a central plant historian. Upon completion of data transfer to the central plant historian, then a trusted confirmation signal can be sent to the embedded historians for indicating that the data is persisted, and hence data in the embedded historians can be purged. Moreover, various artificial intelligence component to predict and/or infer whether predetermined thresholds have been satisfied.
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings. These aspects are indicative of various ways which can be practiced, all of which are intended to be covered herein. Other advantages and novel features may become apparent from the following detailed description when considered in conjunction with the drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic block diagram of an industrial automation system with embedded historians and a down load engine that downloads data based on satisfaction of predefined thresholds in accordance with an aspect of the subject innovation.
FIG. 2 illustrates a network of embedded historians within an industrial setting that interact with an automatic download engine in accordance with an aspect of the subject innovation.
FIG. 3 illustrates a general block diagram of a download engine that further includes a notification component in accordance with an aspect of the subject innovation.
FIG. 4 illustrates a methodology of downloading historian data in accordance with an aspect of the subject invention.
FIG. 5 illustrates a related download methodology in accordance with a particular aspect of the subject innovation.
FIG. 6 illustrates an exemplary industrial automation network that employs an embedded historian component with downloads to a central plant historian in accordance with an aspect of the subject innovation.
FIG. 7 illustrates an exemplary multi-tiered and distributed embedded historian system that can download history data to a central plant historian, in accordance with an aspect of the subject innovation.
FIG. 8 illustrates historian services that include historian data services and presentation and reporting services, which can employ a download in accordance with an aspect of the subject innovation.
FIG. 9 illustrates an exemplary environment for implementing various aspects of the subject innovation.
FIG. 10 illustrates an exemplary module and backplane arrangement that various aspects of the subject innovation can be implemented therein.



DETAILED DESCRIPTION
The various aspects of the subject innovation are now described with reference to the annexed drawings, wherein like numerals refer to like or corresponding elements throughout. It should be understood, however, that the drawings and detailed description relating thereto are not intended to limit the claimed subject matter to the particular form disclosed. Rather, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the claimed subject matter.
FIG. 1 illustrates a download engine 110 that is associated with a plant embedded historian network of an industrial programmer system 100 (e.g., a network of controller devices), to facilitate download of data based on predetermined criteria such as parameters relating to storage capacity of the embedded (e.g., micro) historians 121, 122, 123 (1 to N, N being an integer). In contrast to conventional PC historians, embedded historians (e.g., micro historians) of the subject innovation are special purpose historians that reside in a backplane and supply direct interface (e.g., without a transition layer) to controllers and/or associated industrial units. Such embedded historians employ industrial specifications (e.g., regarding shock vibration, sealing, contamination proofing, and the like), and supply substantially higher data exchange speed as compared to conventional PC historians. Such download engine 110 can download from each embedded historian 121, 122, 123 respective stored data, wherein the embedded historians are distributed on the back plane of an industrial network. The download engine 110 can be part of applications running on a control unit, which can function as a management control center for the industrial network system 100. Accordingly, a distributed embedded historian framework is provided, wherein a plurality of historical data types can be stored, collected and subsequently downloaded to a central plant historian 170. The download engine 110 initiates the download upon satisfaction of predetermined criteria; for example such as storage capacity of the embedded historians reaching a predetermined value.
Such download threshold criteria associated with the download engine 110 can determine whether to commence, pause, resume and/or halt data transfer on any embedded historian 121, 122, 123 that requests data exchange with the central plant historian 170, for example. As depicted, the embedded historian 121 has a storage capacity that is partially full; embedded historian 122 is substantially full and storage capacity of embedded historian 123 is at an empty level. Such storage capacity can be employed as criteria for downloading data to the central plant historian; (e.g., immediately download substantially full embedded historians, down load after a predetermined duration embedded historians that have half of their storage capacity filled, and the like.) Such an arrangement can reduce data backup, and mitigate risk of loss for data stored on a RAM, wherein size of the RAM in such micro-historians is limited and can eventually overload, for example.
Typically, when a message transfer session (e.g., a connection) is initiated for download of historian data 121,122, 123; the download engine 110 can generate a connection instance to the central plant historian for the download session. The connection instance can be populated with information indicative of the embedded historian 121, 122, 123, the type of data for download, identifying message(s), and/or a connection ID (e.g., a keep-alive message), for example. Such information can be utilized to begin data transfer between the embedded historians 121, 122, 123 and the central plant historian 170. Furthermore, the connection ID can further be employed to track message transmission within the embedded historians, download engine, and central plant historian 170.
The established connection instance between the embedded historians 121, 122, 123 and the central plant historian 170 can additionally be dynamically updated, to reflect transmission progress and provide transmission history. For example, indicia indicative of any portions—(including the entire message or data download)—that have been transmitted successfully or failed can be associated with such connection instance. Transmission history can include information related to transfer commencement and completion, pauses and resumes, the level of communication activity errors, re-submissions, changes in the servicing machine, and the like. It is to be appreciated that any number of embedded historians can request download transfer connection to the central plant historian 170.
A network system (not shown) can be associated with the industrial automation system 100, which can be employed via the download engine 110. The network system can further include additional hosts (not shown), which may be personal computers, servers or other types of computers. Such hosts are generally capable of running or executing one or more application-level (or user-level) programs, as well as initiating an I/O request (e.g., I/O reads or writes). In addition, the network system can further include one or more input/output units (I/O units), wherein such I/O units can includes one or more I/O controllers connected thereto, and each of the I/O can be any of several types of I/O devices, such as storage devices (e.g., a hard disk drive, tape drive) or other I/O device. The hosts and I/O units and their attached I/O controllers and devices can be organized into groups such as clusters, with each cluster including one or more hosts and typically one or more I/O units (each I/O unit including one or more I/O controllers). The hosts and I/O units can be interconnected via a collection of routers, switches and communication links (such as wires, connectors, cables, and the like) that connects a set of nodes (e.g., connects a set of hosts and I/O units) of one or more clusters. Moreover, the network system can be, for example, an Ethernet LAN, a token ring LAN, or other LAN, or Wide Area Network (WAN). Also, the network system can include hardwired and/or optical and/or wireless connection paths. The download engine 110 can supply data exchange between the micro historians and the central plant historian 170, to supply information such as: portions of the data that are to be downloaded to the central plant historian, from each of the micro historians.
It is noted that as used in this application, terms such as “engine” “component,” “hierarchy,” “model,” and the like are intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution as applied to an automation system for industrial control. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program and a computer. By way of illustration, both an application running on a server and the server can be components. One or more components may reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers, industrial controllers, and/or modules communicating therewith.
FIG. 2 illustrates a download engine 201 that can manage download of applications by employing a detector component 203 that detects whether a condition associated with a download of data from a distributed embedded historian network has been satisfied. For example, such condition can relate to a storage capacity of an embedded historian reaching a predetermined storage level (e.g., a percentage capacity of the historian being reached). Accordingly, event driven down loads can be enabled via the detector component 203 based on memory usage and/or other predetermined events. For example, various levels of storage capacity for a micro-historian can be associated with a full level and an empty level. The embedded historian can down load itself to the plant historian (not shown) upon reaching a full level. It is to be appreciated that the download engine 201 can be part of an application that runs on a control unit 210 of the industrial plant.
FIG. 3 illustrates a general block diagram of a download engine 310 that further includes a notification component 305, in accordance with an aspect of the subject innovation. Upon a successful download of the embedded historian data to central plant historian 340, the notification component 305 can notify the embedded historians 335, 337, 339 (1 to L, L being an integer) that the data have been permanently persisted in the central plant historian 340. Upon receipt of such confirmation, the embedded historians 335, 337, 339 can avail their memory for data override. Such an arrangement can reduce data backup, and mitigate risk of loss for data stored on a RAM, wherein size of the RAM in such embedded historians 335, 337, 339 is limited and can eventually overload, for example.
For example, data can be initially stored via embedded historians 335, 337, and 339, and such storage can continue until predetermined threshold storage capacities associated with these embedded historians are reached. Upon reaching such predetermined threshold, the download engine 310 can download the embedded historian data to the central plant historian 340. After completion of the data transfer to the central plant historian 340, the notification component 305 can send a trusted confirmation signal to the embedded historians 335, 337, 339 to indicate that the data is properly persisted, and hence data in the embedded historians 335, 337, and 339 can be purged.
FIG. 4 illustrates a methodology 400 of downloading historian data in accordance with an aspect of the subject invention. While the exemplary method is illustrated and described herein as a series of blocks representative of various events and/or acts, the present invention is not limited by the illustrated ordering of such blocks. For instance, some acts or events may occur in different orders and/or concurrently with other acts or events, apart from the ordering illustrated herein, in accordance with the invention. In addition, not all illustrated blocks, events or acts, may be required to implement a methodology in accordance with the present invention. Moreover, it will be appreciated that the exemplary method and other methods according to the invention may be implemented in association with the method illustrated and described herein, as well as in association with other systems and apparatus not illustrated or described.
Initially and at 410, a plurality of embedded historians within the industrial plant can collect data that is related to an industrial operation. Such collected data can subsequently be stored in a storage medium associated with the embedded historians at 420. Next, and at 430 a determination is made as to whether the storage capacity has reached a predetermined storage. If so, the methodology proceeds to act 440, and a download to the central plant can be initiated. Otherwise, the methodology 400 proceeds to act 410 wherein additional data associated with the industrial process can be collected.
FIG. 5 illustrates a related methodology 500 in accordance with a particular aspect of the subject innovation. Initially and at 510 a predetermined condition for download is satisfied. For example, various levels of storage capacity for an embedded historian (e.g., micro-historian) can be employed as such download condition, such as for example, a full level and an empty level. Next, and at 520 the embedded historian can down load itself to the central plant historian (e.g., upon reaching a full level.) Subsequently, a determination is performed at 530 to verify that the data transfer is completed, and data is fully downloaded to the central plant historian. The plant historian can persistently store such data and send a confirmation signal on a secure channel (e.g., a trusted confirmation signal) to the embedded historian(s) at 540. Upon receipt of such confirmation, the embedded historian(s) can avail its memory for data override, and hence data in the embedded historian(s) can be purged. Such an arrangement can reduce data backup, and mitigate risk of loss for data stored on a RAM, wherein size of the RAM in such micro-historians is limited and can eventually overload, for example.
FIG. 6 illustrates an exemplary industrial automation network that employs a embedded historian component 633, to enable high speed data collection (e.g., real time) from the industrial setting 600, which can include a database 610, a human machine interface (HMI) 620 and a programmable logic controller (PLC) 630, and a directory interface 640. The directory interface 640 can further associate with an Artificial Intelligence (AI) component 650 to facilitate efficient identification of desired data within a particular network/application. For example, in connection with facilitating the download and/or selection of an embedded historian for download, the subject innovation can employ various artificial intelligence schemes. A process for learning explicitly or implicitly whether data from an embedded historian should be downloaded, can be facilitated via an automatic classification system and process. Classification can employ a probabilistic and/or statistical-based analysis (e.g., factoring into the analysis utilities and costs) to prognose or infer an action that a user desires to be automatically performed. For example, a support vector machine (SVM) classifier can be employed. Other classification approaches include Bayesian networks, decision trees, and probabilistic classification models providing different patterns of independence can be employed. Classification as used herein also is inclusive of statistical regression that is utilized to develop models of priority.
As will be readily appreciated from the subject specification, the subject invention can employ classifiers that are explicitly trained (e.g., via a generic training data) as well as implicitly trained (e.g., via observing user behavior, receiving extrinsic information) so that the classifier is used to automatically determine according to a predetermined criteria which answer to return to a question. For example, with respect to SVM's that are well understood, SVM's are configured via a learning or training phase within a classifier constructor and feature selection module. A classifier is a function that maps an input attribute vector, x=(x1, x2, x3, x4, xn), to a confidence that the input belongs to a class—that is, f(x)=confidence(class). As shown in FIG. 5, an artificial intelligence (AI) component 650 can be employed to facilitate inferring and/or determining when, where, how to initiate a download from the plurality of embedded historians to the central plant historian. The AI component 550 can employ any of a variety of suitable AI-based schemes as described supra in connection with facilitating various aspects of the subject invention.
Moreover, the directory interface 640 can be employed to provide data from an appropriate location such as the data source 660, a server 670 and/or a proxy server 680. Accordingly, the directory interface 640 can point to a source of data based upon role and requirements (needs) of a requester (e.g., database 610, HMI 620, PLC 630, and the like.) The database 610 can be any number of various types such as a relational, network, flat-file or hierarchical systems. Typically, such databases can be employed in connection with various enterprise resource planning (ERP) applications that can service any number of various business related processes within a company. For example, ERP applications can be related to human resources, budgeting, forecasting, purchasing and the like. Accordingly, particular ERP applications can require data that has certain desired attributes associated therewith. Thus, in accordance with an aspect of the subject invention, the directory interface 640 can provide data to the database 610 from the server 670, which provides data with the attributes desired by the database 610.
As illustrated in FIG. 6, the embedded historian 633 can leverage directory interface 640 and other Unified Plant Model (UPM) services to facilitate collection and download of history data to a central plant historian (not shown), via the download engine 665. Such download engine 665 can automatically download historian data based on satisfaction of pre-defined conditions (e.g., related to storage capacity of the embedded historians) defined for the download.
Moreover, the HMI 620 can employ the directory interface 640 to point to data located within the system 600. The HMI 620 can be employed to graphically display various aspects of a process, system, factory, etc. to provide a simplistic and/or user-friendly view of the system. Accordingly, various data points within a system can be displayed as graphical (e.g., bitmaps, jpegs, vector based graphics, clip art and the like) representations with desired color schemes, animation, and layout.
The HMI 620 can request data to have particular visualization attributes associated with data in order to easily display such data thereto. For example, the HMI 620 can query the directory interface 640 for a particular data point that has associated visualization attributes. The directory interface 640 can determine that the proxy server 680 contains the attributed data point with the desired visualization attributes. For instance, the attributed data point can have a particular graphic that is either referenced or sent along with the data such that this graphic appears within the HMI environment instead of or along with the data value.
The PLC 630 can be any number of models such as Allen Bradley PLC5, SLC-500, MicoLogix, and the like. The PLC 630 is generally defined as a specialized device employed to provide high-speed, low-level control of a process and/or system. The PLC 630 can be programmed using ladder logic or some form of structured language. Typically, the PLC 630 can utilize data directly from a data source (e.g., data source 660) that can be a sensor, encoder, measurement sensor, switch, valve and the like. The data source 660 can provide data to a register in a PLC, and such data can be stored in the PLC if desired. Additionally, data can be updated (e.g., based on a clock cycle) and/or output to other devices for further processing.
FIG. 7 illustrates an exemplary multi-tiered and distributed historian system 700 that can download history data to a central plant historian, in accordance with an aspect of the subject innovation. The exemplary system 700 illustrates three tiered historian level, wherein the highest data collection tier is illustrated and can be referred to as the enterprise tier 710. This tier aggregates data collected from lower level tiers such as from a plant tier 720 and a micro or embedded tier 730. The tiers 710 and 720 can include archival or permanent storage capabilities. In the system 700, data can be collected from two plants at the tier 720, and from a plurality of historian components at tier 730. It is to be appreciated that such an arrangement is exemplary in nature, and other arrangements are well within the realm of the subject innovation.
Typically, the system 700 can be viewed as a Distributed Historian that spans machines, plants, and enterprises. At level 730, the historian collects data at the rack level and is coupled to Common Plant Data Structure described above. Such can include collecting process & discrete data, alarms & events in a single archive if desired. Other aspects can include auto-discovery of data and context from controllers in local chassis including store/forward data capabilities from local buffers. Data can be collected without polling within a network that has a low communications bandwidth, for example. The plant level 720 aggregates data from Micro or rack-embedded Historians and/or other data sources (e.g., Live Data source). Such can include plant-level querying, analytics, reporting while efficiently storing, retrieving, and managing large amounts of data. Such level can also auto-discover data and data model context from Micro Historians located at level 730. Other features of the system 700 can include analysis components, logical units, components for interaction with report elements, embeddable presentation components, replication of configuration, storage, archiving, data compression, summarization/filtering, security, and scalability.
Moreover, such system 700 enables combining organizational information such as an organizational or hierarchical data model which represents a common model of a plant that can be based in the S88 or S95 model, for example, and is distributed among computers of the enterprise and industrial controllers, for example. The model can be viewed as an Organizational Data Model—a tree-like hierarchical and heterogeneous structure of organizational Units. For instance, respective Organizational Units can include other Organizational Units. Organizational Units can be either physical locations (e.g., Site, Area) or logical grouping node or collection (e.g., Enterprise as a collection of Sites). The nodes in the organizational hierarchy or model can have associated items representing the plant's production and control equipment, tags, backing tags (e.g., Alarm & Event and the like), programs, equipment phases, I/O devices, and other application related entities. These organizational units thus can form an application view of the user's system.
FIG. 8 illustrates historian services 800 for download to a central plant historian 840. The historian services 800 can include historian data services 810 and presentation and reporting services 820. Historian Data Services 810 (HDS) can supply generic, customizable services for collecting and storing data with plant model-defined context. This can include configuration of data to be collected e.g., tags, data context, alarms, events, diagnostics, SOE data and configuration of data to be forwarded to a higher level. Collection of data can be from disparate sources including storage of data, retrieval of data, and management of data. Management of data collected by/residing in other data stores (e.g., higher-level business systems, 3rd party products) can be processed by the respective applications. The presentation and reporting services 820 (PRS) can supply generic, customizable services for collating and presenting data in a common plant model-defined context. This can include access to stored data, analysis/calculators and query mechanisms, and embeddable, interactive presentation components (e.g., text, charts, SPC). The service 810 can generate reports with various means of presentation/distribution (e.g., web, email) having export capabilities to standard formats (e.g., XML, Excel). The system 800 can employ a download engine as described in detail supra to download history data to a central plant historian 840, in accordance with an aspect of the subject innovation. Additionally, a polling/publication arrangement can also be employed wherein the historians (e.g., micro-historians) identify themselves to the download engine upon occurrence of a predetermined event, and/or periodically. For example, a publish and subscribe component can identify historians to the download engine.
With reference to FIG. 9, an exemplary environment 910 for implementing various aspects of the download engine, which includes a computer 912, as part of the download engine. The computer 912 includes a processing unit 914, a system memory 916, and a system bus 918. The system bus 918 couples system components including, but not limited to, the system memory 916 to the processing unit 914. The processing unit 914 can be any of various available processors. Dual microprocessors and other multiprocessor architectures also can be employed as the processing unit 914.
The system bus 918 can be any of several types of bus structure(s) including the memory bus or memory controller, a peripheral bus or external bus, and/or a local bus using any variety of available bus architectures including, but not limited to, 9-bit bus, Industrial Standard Architecture (ISA), Micro-Channel Architecture (MSA), Extended ISA (EISA), Intelligent Drive Electronics (IDE), VESA Local Bus (VLB), Peripheral Component Interconnect (PCI), Universal Serial Bus (USB), Advanced Graphics Port (AGP), Personal Computer Memory Card International Association bus (PCMCIA), and Small Computer Systems Interface (SCSI).
The system memory 916 includes volatile memory 920 and nonvolatile memory 922. The basic input/output system (BIOS), containing the basic routines to transfer information between elements within the computer 912, such as during start-up, is stored in nonvolatile memory 922. By way of illustration, and not limitation, nonvolatile memory 922 can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory 920 includes random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in many forms such as synchronous RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM).
Computer 912 also includes removable/non-removable, volatile/non-volatile computer storage media. FIG. 9 illustrates, for example a disk storage 924. Disk storage 924 includes, but is not limited to, devices like a magnetic disk drive, floppy disk drive, tape drive, Jaz drive, Zip drive, LS-60 drive, flash memory card, or memory stick. In addition, disk storage 924 can include storage media separately or in combination with other storage media including, but not limited to, an optical disk drive such as a compact disk ROM device (CD-ROM), CD recordable drive (CD-R Drive), CD rewritable drive (CD-RW Drive) or a digital versatile disk ROM drive (DVD-ROM). To facilitate connection of the disk storage devices 924 to the system bus 918, a removable or non-removable interface is typically used such as interface 926.
It is to be appreciated that FIG. 9 describes software that acts as an intermediary between users and the basic computer resources described in suitable operating environment 910. Such software includes an operating system 928. Operating system 928, which can be stored on disk storage 924, acts to control and allocate resources of the computer system 912. System applications 930 take advantage of the management of resources by operating system 928 through program modules 932 and program data 934 stored either in system memory 916 or on disk storage 924. It is to be appreciated that various components described herein can be implemented with various operating systems or combinations of operating systems.
A user enters commands or information into the computer 912 through input device(s) 936. Input devices 936 include, but are not limited to, a pointing device such as a mouse, trackball, stylus, touch pad, keyboard, microphone, joystick, game pad, satellite dish, scanner, TV tuner card, digital camera, digital video camera, web camera, and the like. These and other input devices connect to the processing unit 914 through the system bus 918 via interface port(s) 938. Interface port(s) 938 include, for example, a serial port, a parallel port, a game port, and a universal serial bus (USB). Output device(s) 940 use some of the same type of ports as input device(s) 936. Thus, for example, a USB port may be used to provide input to computer 912, and to output information from computer 912 to an output device 940. Output adapter 942 is provided to illustrate that there are some output devices 940 like monitors, speakers, and printers, among other output devices 940 that require special adapters. The output adapters 942 include, by way of illustration and not limitation, video and sound cards that provide a means of connection between the output device 940 and the system bus 918. It should be noted that other devices and/or systems of devices provide both input and output capabilities such as remote computer(s) 944.
Computer 912 can operate in a networked environment using logical connections to one or more remote computers, such as remote computer(s) 944. The remote computer(s) 944 can be a personal computer, a server, a router, a network PC, a workstation, a microprocessor based appliance, a peer device or other common network node and the like, and typically includes many or all of the elements described relative to computer 912. For purposes of brevity, only a memory storage device 946 is illustrated with remote computer(s) 944. Remote computer(s) 944 is logically connected to computer 912 through a network interface 948 and then physically connected via communication connection 950. Network interface 948 encompasses communication networks such as local-area networks (LAN) and wide-area networks (WAN). LAN technologies include Fiber Distributed Data Interface (FDDI), Copper Distributed Data Interface (CDDI), Ethernet/IEEE 802.3, Token Ring/IEEE 802.5 and the like. WAN technologies include, but are not limited to, point-to-point links, circuit switching networks like Integrated Services Digital Networks (ISDN) and variations thereon, packet switching networks, and Digital Subscriber Lines (DSL).
Communication connection(s) 950 refers to the hardware/software employed to connect the network interface 948 to the bus 918. While communication connection 950 is shown for illustrative clarity inside computer 912, it can also be external to computer 912. The hardware/software necessary for connection to the network interface 948 includes, for exemplary purposes only, internal and external technologies such as, modems including regular telephone grade modems, cable modems and DSL modems, ISDN adapters, and Ethernet cards.
As used herein, the terms “component,” “system” and the like are intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on computer and the computer can be a component. One or more components may reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers. The word “exemplary” is used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects or designs.
FIG. 10 also illustrates an exemplary environment that can employ a download in accordance with various aspects of the subject innovation. Each functional module 1014 is attached to the backplane 1016 by means of a separable electrical connector 1030 that permits the removal of the module 1014 from the backplane 1016 so that it may be replaced or repaired without disturbing the other modules 1014. The backplane 1016 provides the module 1014 with both power and a communication channel to the other modules 1014. Local communication with the other modules 1014 through the backplane 1016 is accomplished by means of a backplane interface 1032 which electrically connects the backplane 1016 through connector 1030. The backplane interface 1032 monitors messages on the backplane 1016 to identify those messages intended for the particular module 1014, based on a message address being part of the message and indicating the message destination. Messages received by the backplane interface 1032 are conveyed to an internal bus 1034 in the module 1014.
The internal bus 1034 joins the backplane interface 1032 with a memory 1036, a microprocessor 1028, front panel circuitry 1038, I/O interface circuitry 1039 and communication network interface circuitry 1041. The microprocessor 1028 can be a general purpose microprocessor providing for the sequential execution of instructions included within the memory 1036 and the reading and writing of data to and from the memory 1036 and the other devices associated with the internal bus 1034. The microprocessor 1028 includes an internal clock circuit (not shown) providing the timing of the microprocessor 1028 but may also communicate with an external clock 1043 of improved precision. This clock 1043 may be a crystal controlled oscillator or other time standard including a radio link to an external time standard. The precision of the clock 1043 may be recorded in the memory 1036 as a quality factor. The panel circuitry 1038 includes status indication lights such as are well known in the art and manually operable switches such as for locking the module 1014 in the off state.
The memory 1036 can comprise control programs or routines executed by the microprocessor 1028 to provide control functions, as well as variables and data necessary for the execution of those programs or routines. For I/O modules, the memory 1036 may also include an I/O table holding the current state of inputs and outputs received from and transmitted to the industrial controller 1010 via the I/O modules 1020. The module 1014 can be adapted to perform the various methodologies of the innovation, via hardware configuration techniques and/or by software programming techniques.
What has been described above includes various exemplary aspects. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing these aspects, but one of ordinary skill in the art may recognize that many further combinations and permutations are possible. In particular regard to the various functions performed by the above described components (assemblies, devices, circuits, systems, etc.), the terms (including a reference to a “means”) used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure, which performs the function in the herein illustrated exemplary aspects of the innovation. In this regard, it will also be recognized that the innovation includes a system as well as a computer-readable medium having computer-executable instructions for performing the acts and/or events of the various methods of the innovation. Furthermore, to the extent that the term “includes” is used in either the detailed description or the claims, such term is intended to be inclusive in a manner similar to the term “comprising” as “comprising” is interpreted when employed as a transitional word in a claim.

## Claims

1. A industrial data collection system, comprising:
a download engine configured to initiate download of data, collected by at least one embedded historian, to a central repository in response to satisfaction of at least one predetermined criterion related to collection of the data by the at least one embedded historian.

2. The system of claim 1, wherein the at least one predetermined criterion comprises a specified percentage of storage capacity utilization associated with the at least one embedded historian.

3. The system of claim 1, wherein the download engine further comprises a detector component configured to detect that the at least one predetermined criterion has been satisfied.

4. The system of claim 1, wherein the at least one embedded historian is configured to identify itself to the download engine in response to the satisfaction of the at least one predetermined criterion.

5. The system of claim 1, wherein the at least one embedded historian is configured to reside on a rack level of an organization, and the central repository is configured to aggregate the data from the at least one embedded historian at a plant tier or an enterprise tier of the organization.

6. The system of claim 5, further comprising an organizational data model configured to represent a common model of the organization, wherein the organizational data model is capable of distribution among at least one industrial controller within the organization.

7. The system of claim 1, wherein the download engine is configured to establish a connection instance between the at least one embedded historian and the central repository to facilitate the download, and to assign a connection identifier to the connection instance.

8. The system of claim 7, wherein the download engine is configured to populate the connection instance with information regarding at least one of an identity of the at least one embedded historian or a type of data being downloaded via the connection instance.

9. The system of claim 7, wherein the download engine is configured to generate a transmission history for the download and associate the transmission history with the connection instance.

10. The system of claim 9, wherein the transmission history is configured to include at least one of an identification of a portion of the data that has been downloaded to the central repository, a record of a download pause or a download resume, or an identification of a communication activity error.

11. The system of claim 1, wherein the download engine further comprises a notification component configured to transmit a notification to the at least one embedded historian in response to completion of the download.

12. A method for collecting data within an organization, comprising:
collecting data associated with an industrial process using at least one embedded historian associated with an industrial controller;
storing the data in a memory associated with the at least one embedded historian;
determining that a predetermined criterion related to the collecting has been satisfied; and
initiating a download of the data from the at least one embedded historian to a central repository in response to the determining.

13. The method of claim 12, wherein the determining includes determining that the memory has exceeded a predetermined percentage of utilization.

14. The method of claim 12, further comprising:
representing the organization as an organizational data model; and
distributing the organizational data model to at least the industrial controller.

15. The method of claim 12, wherein the initiating includes:
establishing a connection instance between the at least one embedded historian and the central repository to facilitate downloading the data; and
assigning a connection identifier to the connection instance.

16. The method of claim 15, further comprising populating the connection instance with information regarding at least one of an identity of the at least one embedded historian or a type of data to be downloaded via the connection instance.

17. The method of claim 15, further comprising:
generating a transmission history for the download; and
associating the transmission history with the connection instance.

18. The method of claim 17, wherein the generating includes generating at least one of an identification of a subset of the data that has been downloaded to the central repository, a record of download pauses and download resumes, or an identification of at least one communication activity error.

19. The method of claim 12, further comprising providing a notification to the at least one embedded historian in response to determining that the data has been downloaded to the central repository.

20. A non-transitory computer-readable medium having stored thereon computer-executable instructions that, in response to execution, cause a computer to perform operations including:
collecting data associated with an industrial process;
storing the data in a memory;
determining that a predetermined criterion related to collection of the data has been satisfied; and
initiating a download of the data from the memory to a central plant historian in response to the determining.