# Patent

## Title
Enhanced simulation models for automation

## Abstract

A simulation tool for an industrial automation system is provided. The tool includes a simulation component that simulates one or more components of an industrial control system. At least one directed model provides one or more suggested parameters or profiles to the simulation component, where the suggested parameters or profiles are derived from data relating to an industry or controls application.

## Background
TECHNICAL FIELD
The claimed subject matter relates generally to industrial control systems and more particularly to model enhancements for simulation tools.
BACKGROUND
Simulation and modeling for automation has advanced considerably in recent years. In one instance, manufacturers employ simulation for business purposes. While some have utilized simulation to close sales with suppliers, other manufacturers employ simulation for supply chain planning. For example, if it is known how many items are produced for a given line, then it can be determined where production needs to occur and what equipment needs to drive the production while yielding confidence in the final production outcome. Entities can also predict delivery schedules from simulations. Design engineers are using simulation to alter their designs to make products easier to manufacture, whereas many companies are now creating simulations of entire plants before a plant is built or refurbished.
One recent trend is the use of simulation to train plant personnel. There are two main areas where simulation has helped in training. In one, simulation allows less skilled workers to practice and gain experience “operating” plant equipment before taking the reins in the real world. In another, simulated operation offers an accelerated form of training. For instance, input/output (I/O) simulation software provides a shortcut to training on actual equipment that may not even be available at the present time, where training materials can be created from simulated manufacturing design. Training is often considered a secondary use of simulation, but the savings it produces can be considerable nonetheless. Another recent development in simulation mirrors progress in other areas of computer technology: standardization of data. One of the trends in simulation is the ability to share data. Thus, users share data in many directions, from product design and manufacturing to robot simulation and ergonomics, for example.
Three-dimensional modeling has gained ground in manufacturing simulation. Three-dimensional modeling first was applied in the aerospace and automotive sectors. Often, designers model robots in 3-D, then select the location for the respective operation such as “weld” and instruct the robot to perform along those lines. As for parameters such as pressure and the robot's maneuverability, such parameters can be built into the simulation and delivered by the robot manufacturer, thus preventing a simulation from inadvertently instructing the robot to perform an operation that is beyond its capabilities. Often times the robots are controlled from one or more programmable controllers that can also be simulated.
When a company has its manufacturing process fully simulated, it becomes easier to analyze a product design and observe how well it performs in a manufacturing setting. Since the design and manufacturing are not yet “live,” there is an opportunity to turn back to the design engineer and request changes before it is cost prohibitive to do so. Such changes at the simulation stage are generally much less costly to implement than at the actual manufacturing stage. Thus, early on in the life of the product, designers can analyze the simulated manufacturing process, and adjust a given product for desired manufacturability. The ability to alter a product design prior to manufacturing in order to cause the entire process to work more efficiently offers significant potential savings over the traditional design process. This process is often referred to as front-loading, where a designer can identify manufacturing glitches through simulation and then facilitate planning on how to overcome such problems. With front-loading, products can be designed so it performs well in the manufacturing simulation which should mitigate problems in actual production thus mitigating overall system costs.
Simulation can also be implemented end-to-end, thus demonstrating how every process in a plant performs together over a designated period of time. For instance, simulation can occur from the controller level up to warehouse management and other supervisory systems. One area where simulations of the entire plant are taking hold is with new plants or newly refitted plants. Before manufacturers determine what equipment they need and where it should go, they simulate the plant's entire operations. Dynamic simulation thus provides a model for a new plant to ensure the plant is designed properly.
Simulation tools often include complex functionality that generally requires some type of training in order to become efficient with the tools. Since there are vastly different simulation and system requirements, tools are often constructed with general features in order to accommodate the wide variety of applications that the tools may be expected to support. Although useful, the general functionality may not be the most efficient manner in which to perform or design simulation.
SUMMARY OF THE INVENTION
The following summary presents a simplified overview of the invention to provide a basic understanding of certain aspects of the invention. This summary is not an extensive overview of the invention. Nor is the summary intended to identify critical elements of the invention or delineate the scope of the invention. The sole purpose of this summary is to present some features offered by the invention in a simplified form as a prelude to a more detailed description presented later.
One or more simulation templates and models are provided that are tailored toward the nuances of common applications. This includes determining one or more domain-specific models that provide a base for a designer to begin constructing a given simulation. The models provide a basis for designers to begin their simulations such as providing suggested values, currents, voltages, ranges or other parameters that may be implicated by a present simulation setting or derived/learned from past simulations. User interfaces can be provided to query users on the important aspects of a given system such as tag-specific values, which values may be time-critical, and offering simulation components that may have been successful in similar industries in the past. Industry templates for simulation can be provided such as a template for oil & gas, food & beverage, and so forth. Predetermined values for timers and counters (determined for a given industry) can also be provided depending on the nuances of a given industry. Surveys can be administered asking questions about I/O requirements or other performance aspects where suggested simulation templates can be retrieved based on answers provided to the questions. Standardized simulation components can be offered in view of the template or industry targeted. In addition to industry models, enhanced models can be provided that increase the functionality of components that may interface with a controller simulation. This includes enhanced device models that provide such features as acceleration profiles, incorporating sensor data within a respective model, and providing device or industry-specific performance models to enhance an overall simulation with the controller.
To the accomplishment of the foregoing and related ends, the following description and annexed drawings set forth in detail certain illustrative aspects of the invention. These aspects are indicative of but a few of the various ways in which the principles of the invention may be employed. Other advantages and novel features of the invention may become apparent from the following detailed description of the invention when considered in conjunction with the drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic block diagram illustrating a simulation tool having enhanced performance models for an industrial automation control system.
FIG. 2 is a diagram illustrating example device model aspects.
FIG. 3 is a diagram illustrating example industry model aspects.
FIG. 4 is a diagram illustrating example manufacturing model aspects.
FIG. 5 is a diagram illustrating model to equipment mapping components.
FIG. 6 is a diagram illustrating a user interface for entering simulator parameters, fields, and other simulation specifications.
FIG. 7 is a block diagram illustrating alternative user interface aspects when interfacing to a simulation component.
FIG. 8 is a block diagram illustrating a system employing a simulation component and alternative logic aspects.
FIG. 9 is a flow diagram illustrating a methodology for generating directed models and suggestions.
FIG. 10 is a block diagram illustrating an example simulation component and alternative simulation aspects.



DETAILED DESCRIPTION OF THE INVENTION
Enhanced models are supplied to an industrial control simulator to facilitate efficient simulation performance. In one aspect, a simulation tool for an automation system is provided. The tool includes a simulation component that simulates one or more components of an industrial control system. At least one directed model provides one or more suggested parameters or profiles to the simulation component, where the suggested parameters or profiles are derived from data relating to an industry or controls application.
It is noted that as used in this application, terms such as “component,” “module,” “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 or thread of execution and a component may be localized on one computer or distributed between two or more computers, industrial controllers, or modules communicating therewith.
Referring initially to FIG. 1, a system 100 illustrates tools for simulating an industrial control system in association with enhanced models for simulations. The system includes a simulation component 110 that generates simulated factory output 120 in view of one or more controller models 130. One or more directed models 140 are provided that generate targeted parameters and profiles to the simulation component. The directed models are targeted based off of past experiences related to a device, industry, or manufacturing setting and can be modeled or mined from databases such as a knowledge database. As shown, an enhanced device model 150, an enhanced industry model 160, and an enhanced manufacturing model can be provided to drive the respective simulation component.
Enhancements to the models 150-170 include device enhancements where not only are basic model elements considered such as a motor's speed but higher performance criteria are provided such as tunable acceleration profiles and power considerations for the motor. Industry models 160 can include assisting designers with nuances of a particular industry such as automotive or food processing and providing simulation parameters and profiles that are tailored to the domain. This can include providing industry templates and tag-specific values related to the industry that are processed by the simulation component 110. Manufacturing models can include suggestions for tank properties, valve controls, macro-value settings, values that are considered critical for a particular industry or application and so forth. These models 150-170 can include data that is mined from such sources as what settings or data were employed in the last N number of applications, where N is an integer. Such mined data can include equipment settings, valve voltage and currents, range settings, over and under values, and so forth that are described in more detail below.
In one aspect, one or more simulation templates and models 150-170 are provided that are tailored toward the nuances of common applications. This includes determining one or more domain-specific models 150-170 that provide a base for a designer to begin constructing a given simulation in accordance with the simulation component 110. The enhanced models 150-170 provide a basis for designers to begin their simulations such as providing potential values, currents, voltages, ranges or other parameters that may be implicated by a present simulation setting or derived/learned from past simulations. User interfaces can be provided to query users on the important aspects of a given system such as tag-specific values, which values may be time-critical, and offering simulation components that may have been successful in similar industries in the past.
Industry templates for simulation can be provided such as a template for oil & gas, food & beverage, and so forth. Predetermined values for timers and counters (determined for a given industry) can also be provided depending on the nuances of a given industry. Surveys can be administered asking questions about I/O requirements or other performance aspects where suggested simulation templates can be retrieved based on answers provided to the questions. Standardized simulation components can be offered in view of the template or industry targeted. In addition to industry models, enhanced models 150-170 can be provided that increase the functionality of components that may interface with a controller simulation. This includes enhanced device models 150 that provide such features as acceleration profiles, incorporating sensor data within a respective model, and providing device or industry-specific performance models to enhance an overall simulation with the controller.
A simulation component 110 constructs and executes simulation models in accordance with specifications set forth by an input component as well as a cross-section of real time variables (e.g., a range of operating temperatures, variations in materials such as thickness, properties, and so forth) that inherently occur in an industrial control setting. The simulation component 110 also identifies suitable process control equipment (e.g., a batch server, a programmable logic controller, individual devices, I/O, and so forth), process control steps, or methodologies to accomplish the manufacture of a particular item.
In general, the simulation component 110 processes components or methodologies and executes respective simulation models for the respective components or steps. Simulation models 130 and 150-170 may be stored in a simulation database (not shown) that includes a history of simulations that have been previously run. It is to be noted that such simulation database may be accessed through remote connections such as the Internet. Other simulation models may be formed based on logic, historical simulation models, the user specification, or artificial intelligence. Alternatively, the simulation component 110 may prompt the user for a simulation model that is not found within the database, difficult to generate, or specific to the user.
When the simulation models have been identified and gathered, the simulation component 110 executes a simulation based on the simulation models, stores and returns the result of the simulation. By storing the results of the simulations, users can quickly identify failed or successful simulations, as well as simulation models that are similar to the current simulation for comparative purposes. If a problem occurs during simulation or the simulation fails, the simulation component 110 identifies the particular simulation models that were the root of the failure. In one aspect, the simulation component 110 simulates to the smallest level of granularity to facilitate the most accurate simulation possible. However, if a particular combination of simulation models has been run repeatedly, the simulation component 110 can identify this through the simulation database, notify the user that a repeated simulation has been executed, and refrain simulating that portion of the model (perhaps after prompting the user for permission).
It is noted that components (simulated or real) associated with the system 100 can include various computer or network components such as servers, clients, controllers, industrial controllers, programmable logic controllers, communications modules, mobile computers, wireless components, control components and so forth that are capable of interacting across a network. Similarly, the term controller or PLC as used herein can include functionality that can be shared across multiple components, systems, or networks. For example, one or more controllers can communicate and cooperate with various network devices across the network. This can include substantially any type of control, communications module, computer, I/O device, sensors, Human Machine Interface (HMI) that communicate via the network that includes control, automation, or public networks. The controller can also communicate to and control various other devices such as Input/Output modules including Analog, Digital, Programmed/Intelligent I/O modules, other programmable controllers, communications modules, sensors, output devices, and the like.
The network can include public networks such as the Internet, Intranets, and automation networks such as Control and Information Protocol (CIP) networks including DeviceNet and ControlNet. Other networks include Ethernet, DH/DH+, Remote I/O, Fieldbus, Modbus, Profibus, wireless networks, serial protocols, and so forth. In addition, the network devices can include various possibilities (hardware or software components). These include components such as switches with virtual local area network (VLAN) capability, LANs, WANs, proxies, gateways, routers, firewalls, virtual private network (VPN) devices, servers, clients, computers, configuration tools, monitoring tools, or other devices.
Referring now to FIG. 2, an example device model 200 is illustrated. The device models 200 can consider different device models, device performance models, suggested device parameters, device sensor data, network parameters for a device, device operating characteristics, and alternative simulations for a device. As shown, one or more performance profiles 210 can be included in the device profiles. This can include motor profiles having advanced acceleration or power curves that enhance the models over conventional speed profiles. Performance profiles can be associated with substantially any device that operates in a factory such as motors, drives, conveyors, and substantially any type of automated machinery. For example, advanced drive profiles can include suggested drive parameters 220 that are selected in view of a given industry or manufacturing type described below with respect to industry and manufacturing models. Parameters can be selected based of the components that are chosen for a given simulation or selected based of desired operating goals. For instance, it may be desirable to have a range of parameters 220 that illustrate the trade-offs between higher performance and cost in one example. Parameters can be provided and selected for a particular industry, performance, manufacturing type, or other desired outcome.
In addition to the parameters 220, device or sensor data 230 can be provided that facilitates more accurate modeling and can be provided up front for a given simulation. For example, motor data can be stored with a motor model where the data has been collected or modeled from previous applications. At 240, one or more network options can be provided for a given device model 200. Such network options 240 or parameters include data collection times, message overhead, device addressing considerations, and network control options. This can also include modeling over differing networks such as Device Networks, Control Networks, Ethernets, and other factory networks. At 250, one or more operating characteristics for a device can be modeled. This can include differing performance curves for varying conditions such as over different temperature, pressure, and humidity conditions, for example. As shown, one or more alternative device simulations can be provided. This can include modeling more elaborate devices that may provide some desired performance aspect such as high speed operation. Other models may provide lower cost operations yet provide lower-end performance capabilities. User interfaces can be provided to illustrate trade-offs between the various models and offer predictions to overall system performance.
Turning to FIG. 3, an industry model 300 consider various nuances of a particular industry and offers model options suggestions based on such nuances. This can include considerations of an industry's type (e.g., beverage, automotive) 310, industry parameters 320, industry profiles 330, throughput suggestions 340, equipment needs 350, communication considerations 360, and recommendations from knowledge databases at 370 for a given industry. Industry types can include substantially any type of automated industry such as power industries, food and beverage industries, pharmaceuticals, automotive, manufacturing sectors, oil & gas, and so forth. Other model items 320-370 can be automatically modified based on the selected or determined industry type 310. Industry parameters 320 are tailored from the nuances of a given industry. For example, a process industry for making a beverage may typically employ a known number of mixing stages, resident controllers, I/O modules, and devices, where the parameters can supply information or data relating to the nuances of such components.
Industry profiles 330 can include performance data for a given industry and performance data for components that may be selected to operate in the respective industry. This can include industry templates that are generated to start an application in a given industry. At 340, one or more throughput suggestions can be provided for an industry. This may show options for selecting the number of controller and I/O and what the trade-offs may be based upon such selections. Equipment needs 350 suggest various equipment options relating to a selected or targeted industry. Communication considerations 360 outline the various communication needs and options for a given industry. From wireless data scenarios to coupling to global systems such as the Internet, a plurality of communication configurations can be provided including how to interconnect factory networks and parameters with business networks and public networks. At 370, the knowledge database includes information gleaned from a plurality of industries which can be employed to tailor a given application. Such data can be mined for the database 370 and employed to update the industry model over time. As can be appreciated, the industry model can be updated via manual or automated procedures.
Referring to FIG. 4, a manufacturing model 400 can provide resource considerations such as tank settings, manufacturing type (e.g., discrete, process), valve settings, alarm parameters, range settings, overflow data settings, and various process settings. At 410, manufacturing type relates to the type of manufacturing where a discrete type model is selected for assembly operations such as automotives and a processing type is selected for industries such as beverages that combine ingredients such as in a batch process. One type of example manufacturing model 400 includes one or more suggested tank settings 420. These can be tailored for a given industry or application and can be constructed from past experiences databases for a given industry. Similarly, one or more valve settings can be provided for a given model. This can include suggested current or voltage settings for example for controlling the valves. More sophisticated settings can include PID (proportional/integral/derivative) settings for reliable control operations for example.
At 440, one or more suggested alarm parameters can be provided. Such alarms can be typical or general alarm setting for a given industry. For example, a fill operation for a selected model tank and given fluid may be modeled as taking four minutes to fill, where the suggested alarm parameter 440 may be four minutes and 10 seconds so as to provide a suitable buffer factor for the alarm. At 450, possible range settings can be provided where suggested upper and lower thresholds are established for a given operation. At 460, potential overflow data can be provided as a suggestion to potential data maximum's that can be expected for a given operation. For example, an overflow on a tank may be triggered after a certain number of gallons have been filled. At 470, one or more process settings may be related to typical operating settings for a given process. For example, a mixing operation for a powdered pharmaceutical would have different agitation properties than a mixing operation for liquid beverage. At 480, one or more miscellaneous settings can be provided that are adjusted based upon determined device, industry, or manufacturing considerations.
FIG. 5 illustrates a system 500 that provides a model to equipment mapping. In this aspect, model data 510 is transformed into one or more equipment suggestions 530 via a mapping component 530. Such mapping allows selected or suggested models to be taken from the virtual and mapped or projected onto actual equipment. For example, in a device model if a lower end motor were selected for a given conveyor application, the mapping component 530 could generate a list of potential motors that fit into the desired cost and performance criterion. Data could be provided to automatically order such equipment or how to contact a manufacturer for other data relating to equipment that has been suggested at 520. In an industry model case, factory equipment for an application can be generated in schematic form outlining the controllers utilized, I/O modules selected, devices connected to such I/O and networks capable or suitable of handling a given application or industry. For manufacturing models, equipment such as tanks, valves, mixers, actuators, or other equipment can be mapped based off the model data 510 which is derived from the desired device, industry, or manufacturing models described above.
Referring now to FIG. 6, a user interface 600 is provided so the user can communicate data to a simulation component described above. In one aspect, the user can specify a multitude of parameters that correspond to user desires or design goals. For example, the user could provide a plurality of goals or operating conditions in the specification that include operating temperature, a desired quantity of product to be produced per time frame, and a desired yield percentage. A parameter box 610 is provided to permit the user to label individual parameters from different portions of a specification or other type input, for example. A field box 620 is provided in the user interface 600 to enable the user to input a particular goal that corresponds to the label in parameter box 610.
Alternatively, the user interface 600 can automatically fill the parameter box labels for the user if existing parameters are commonly used. The user interface 600 can communicate with a database component (not shown) to determine possible parameters, parameter ranges, and parameter limits. Upon retrieval of the parameter data, the user interface 600 can present this information to the user in the form of a parameter box label 610 and a parameter field drop down selection box 620.
For instance, an industrial controller that controls a motor may be expected to have different operating speed settings or revolutions per minute (RPM) settings. The user interface 600 can communicate with a database component (not shown) and determine the variables that could be included as parameters such as input voltage, operating speed (RPMs), and torque. User interface 600 may determine that the motor could accept three input voltage levels: low, nominal, and high, for example. The user interface 600 may further determine that the motor outputs run at either a low or high level of torque and that it can run between five hundred and one thousand RPMs. Upon determination of the parameter data, the user interface 600 automatically labels parameter box 610 with an “Input Voltage” label and creates a drop down box in field box 620 that lists the three possible settings for the user to choose. Similarly, user interface 600 can label parameter box 630 as “Torque” and create a drop down box with the two possible settings from which the user could choose. Again, the user interface 600 can automatically label parameter box 650 as “RPM setting”. In this situation, however, field box 660 may be left blank and the user interface 600 could prompt the user to input an RPM number between five hundred and one thousand.
It is to be noted that the claimed subject matter is not limited to parameters that are stored within a database. The user may input parameters that do not directly correspond to a particular component. For instance, a user could provide a parameter that recites output of one hundred units per day. The user interface 600 may facilitate the implementation of such a parameter through the determination of suitable process control equipment or processes.
Turning to FIG. 7, a system 700 illustrates gathering specifications 702 from the user through a user interface 710, communicating the specifications to an input component 720, and storing the specifications in a database component 730. Alternatively, a system 740 illustrates specifications 742 that have been entered in the past may be stored in a database component 750, presented to the user via a user interface 760, and entered into an input component 770 after selection by the user.
The input component 720, 770 accepts and stores the specifications 702, 742 from the user for later use. In one aspect, the user enters the specifications 702, 742 into a computer terminal (that represents the user interface 710, 760) with a plurality of fields that pertains to different parameters regarding the user specification. In another aspect, the user links the input component 770 to a database 740 that houses the specifications 742 and the specifications are accessed or downloaded as the need arises. In yet another aspect, the input component 720, 770 automatically generates the specification by analyzing historical data trends or by anticipating user specifications. It is to be appreciated that data utilized to facilitate automatic generation of specification 702, 742 can be housed within database component 740 or accessed through a network such as the Internet.
The input component 720 or 770 can determine if additional specifications would be needed to facilitate simulation. If the user provides a high-level set of instructions as the specification, the input component 720, 770 can decompose the high-level specification into sub-parameters as the need arises. Decomposition can occur through a variety of techniques and the following examples are not intended to limit the scope of the subject claims. A logic component (not shown) can be used to determine suitable sub-parameters based on process control equipment to be used or processes to be provided. The database 740 stores the results of parameter decomposition to access for later use. For example, if a controller drives a motor, and the user submits a specification that includes a parameter calling for the motor to run at one thousand RPMs and the motor uses an input voltage of 12V to do so, the input component 320, 370 can utilize logic to associate the user specification with the known properties of the motor and return the additional parameter of 12V to the user interface 710. Similarly, if the user submits a specification 702, 742 of one hundred units of production per day, the input component 720, 770 may recognize that two processes are required to complete manufacture of a unit and that each process takes twenty-four hours to complete and thus, notify the user that the specification is not feasible through the current setup due to the time limitation. If it would be possible to meet a specification through the purchase of additional manufacturing equipment, or removal of a certain limitation, the input component 720 or 770 can notify the user of such possibility.
In accordance with another aspect, the input component 720, 770 can utilize artificial intelligence component (not shown) to automatically infer parameters to suggest to the user. The artificial intelligence (AI) component can include an inference component (not shown) that can further enhance automated aspects of the AI components utilizing, in part, inference based schemes to facilitate inferring intended parameters. The AI-based aspects can be effectuated via any suitable machine learning based technique or statistical based techniques, or probabilistic-based techniques or fuzzy logic techniques. Specifically, the AI is provided to execute simulation aspects based upon AI processes (e.g., confidence, inference). For example, a process for defining a parameter can be facilitated via an automatic classifier system and process. Furthermore, the AI component can be employed to facilitate an automated process of creating a parameter in accordance with historical user trends.
Referring to FIG. 8, a detailed system 800 employing a simulation component 802 is illustrated. The simulation component 802 receives a set of parameters from an input component 820. As noted supra, the parameters may be derived or decomposed from a specification provided by the user and certain parameters can be inferred, suggested, or determined based on logic or artificial intelligence. An identifier component 840 identifies suitable process control equipment (e.g., a batch server, a programmable logic controller, individual devices, and so forth), process control steps, or methodologies to accomplish the manufacture of a particular item in accordance with the parameters of the specification. Identifier component 840 then associates a simulation model with one or more component or process steps. It should be appreciated that this may be performed by accessing database component 844, which stores the component and methodology simulation models.
If more than one component or process may be used to effectuate manufacture of a particular item, then the simulation component 802 employs logic component 850 to determine which component or process model to use. Logic component 850 can present business related information to the user to assist with the determination of the decision. For instance, logic component can present information to the user including cycle time for the product, costs associated with the process, level of automation of the process (e.g. how much babysitting operators will have to do), or amount of waste produced, and so forth.
When the identifier component 840 has identified the components or methodologies and defined simulation models for the respective components or steps, the simulation component 802 constructs, executes, and stores simulation results based upon the simulation models identified, as well as a cross-section of real-time variables (e.g., a range of operating temperatures, variations in materials such as thickness, properties, tolerance of materials, and so forth) that inherently occur in an industrial control setting. The real-time variables are stored in the database component 844, where the simulation component 802 generates and executes a separate simulation model for a given set of conditions. If a problem occurs during simulation or the simulation fails, the simulation component 802 identifies the particular simulation models that were the root of the failure. Generally, the simulation component simulates to the smallest level of granularity to facilitate the most accurate simulation possible.
The executed simulation models are then stored in database component 844 to provide a history of previously run simulation results. By storing the results of the simulations, users can quickly identify failed or successful simulations, as well as simulation models that are similar to the current simulation for comparative purposes. To streamline future access, the database component 844 associates historical simulation results with simulation model components or process steps, associated components or process steps, and specification parameters that the simulation model may have been derived from. However, if a particular combination of simulation models has been run repeatedly, the simulation component 830 can identify this through the simulation database 810, notify the user that a repeated simulation has been executed, and refrain simulating that portion of the model after prompting the user for permission. This enables users to access a simulation history efficiently and circumvent costs or inefficient use of time associated with duplicate or even substantially similar simulations. Note that if multiple manufacturing paths exist, the simulation component 802 can simulate various paths and present the user with several options.
Alternatively, the simulation component 802 may prompt the user for a simulation model that is not found within the database, difficult to generate, or specific to the user. It should be appreciated that the user may provide such simulation model through a network such as the Internet. Simulation models may also be formed based on logic or artificial intelligence. In addition to logic component 850 or in place of the logic component described with reference to the system 800, the simulation component 802 can include an artificial intelligence (AI) component 860.
In accordance with this aspect, the AI component 860 automatically generates various simulation models. For example, if manufacture of an item incorporates processes A and B, and process A comprises steps C and D, while process B comprises steps E and F, AI component 860 can generate a simulation model that incorporates C, D, E, and F or combination thereof. The AI component 860 can include an inference component (not shown) that further enhances automated aspects of the AI components utilizing, in part, inference based schemes to facilitate inferring intended simulation models. The AI-based aspects of the invention can be effected via any suitable machine learning based technique or statistical-based techniques or probabilistic-based techniques or fuzzy logic techniques. Specifically, AI component 860 can implement simulation models based upon AI processes (e.g., confidence, inference). For example, a simulation model can be generated via an automatic classifier system and process which is described in further detail below. In another aspect, artificial intelligence can be applied as an optimization component. A typical optimizer tool will automatically run a simulation model multiple times, for each run evaluating a unique combination of values for a specified set of control variables, with the goal of finding the set of control variable values that maximizes (or minimizes) some objective function
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). Such classification can employ a probabilistic 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. In the case of standing query creation and designation, for example, attributes can be file types or other data-specific attributes derived from the file types or contents, and the classes can be categories or areas of interest.
A support vector machine (SVM) is an example of a classifier that can be employed for AI. The SVM operates by finding a hypersurface in the space of possible inputs, which hypersurface attempts to split the triggering criteria from the non-triggering events. Intuitively, this makes the classification correct for testing data that is near, but not identical to training data. Other directed and undirected model classification approaches include, e.g., naïve Bayes, 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, simulation tools 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). For example, SVM's can be configured via a learning or training phase within a classifier constructor and feature selection module. In other words, the use of expert systems, fuzzy logic, support vector machines, greedy search algorithms, rule-based systems, Bayesian models (e.g., Bayesian networks), neural networks, other non-linear training techniques, data fusion, utility-based analytical systems, systems employing Bayesian models, etc. are contemplated and are intended to fall within the scope of the hereto appended claims.
Other implementations of AI could include alternative aspects whereby based upon a learned or predicted user intention, the system can generate hierarchical notifications or prompts. Likewise, an optional AI component could generate multiple prompts to a single or group of users based upon the received content.
FIG. 9 illustrates a flow diagram 900 that demonstrates a methodology for determining directed models providing automated suggestions. While, for purposes of simplicity of explanation, the methodology is shown and described as a series of acts, it is to be understood and appreciated that the methodologies are not limited by the order of acts, as some acts may occur in different orders or concurrently with other acts from that shown and described herein. For example, those skilled in the art will understand and appreciate that a methodology could alternatively be represented as a series of interrelated states or events, such as in a state diagram. Moreover, not all illustrated acts may be required to implement a methodology as described herein.
Proceeding to 910 of FIG. 9, one or more directed models are generated. As noted previously, such models can include device models that model performance of a given device, industry models that map characteristics of an industry to a particular control solution, and manufacturing models that consider aspects relating to equipment such as tanks, conveyors, or valves, for example. At 920, target device, industry, and equipment models are determined. For example, target device models can consider different device models, device performance models, suggested device parameters, device sensor data, network parameters for a device, device operating characteristics, and alternative simulations for a device. Industry models consider various nuances of a particular industry and offer suggestions based on such nuances. This can include considerations of an industry's type (e.g., beverage, automotive), industry parameters, industry profiles, throughput suggestions, equipment needs, communication considerations, and recommendations from knowledge databases for a given industry. Manufacturing models can provide resource considerations such as tank settings, manufacturing type (e.g., discrete, process), valve settings, alarm parameters, range settings, overflow data settings, and various process settings.
Proceeding to 930 of the process 900, suggestions for a particular device, industry, or equipment are mapped to an interface as a suggestion for a potential simulation. Based on the suggestions presented to the user, various simulation components are selected for a potential simulation at 940. This can include an iterative process where model suggestions are made over time and the user selects a component or parameter from the suggestion. At 950, simulations are conducted based in part on the suggestions mapped at 930. If the user selects suggested models or alter parameters in view of device, industry, or manufacturing considerations then such selections are simulated at 950.
Referring to FIG. 10, a block diagram of a simulation component 1004 is illustrated. The simulation component 1004 a synchronization component 1010, an external integration component 1020, a data share component 1030, and an implementation component 1040. The simulation component 1004 individually communicates with one or more process components to model the proper parts of the system and also with one or more external applications to receive and send data relevant to a given simulation model described above.
The simulation component 1004 can be customized for the needs of a specific system. The synchronization component 1010 enables the clock of the simulation component 1004 to be synchronized with a computer clock, or another external time source. This allows the simulation component 1004 to speed up or slow down the process timing to any suitable multiple (or fraction thereof). In one example, the simulation component 1004 can slow simulation to half speed to train novice operators. In another example, the simulation component 1004 can speed up simulation to compress the testing time and reach an output result in a shorter amount of time.
The external integration component 1020 allows a user to integrate external behavior into the logic of the simulation component 1004. The communication can be established manually or automatically and can take into account, for instance, messages regarding action requests and status changes. The data share component 1030 provides the simulation component 1004 with a convenient mechanism to share data extracted from the simulation model at any point in time with other applications. Therefore, a user can upload data from the simulation component 1004 to an external evaluation application for data analysis. The external application can also automatically request or extract the data from the simulation component 1004. The information should be presented in a mutually readable format, so that translation is not required between the simulation component 1004 and the external application. After the synchronization component 1010, external integration component 1020, and data share component 1030 complete their respective configurations, the implementation component 1040 integrates those parameters into the simulation model. These parameters can be saved and labeled for future use.
The subject matter as described above includes various exemplary aspects of the subject invention. However, it should be appreciated that it is not possible to describe every conceivable component or methodology for purposes of describing these aspects. One of ordinary skill in the art may recognize that further combinations or permutations may be possible. Various methodologies or architectures may be employed to implement the subject invention, modifications, variations, or equivalents thereof. Accordingly, all such implementations of the aspects described herein are intended to embrace the scope and spirit of subject claims. 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 simulation tool for an industrial automation system, comprising:
a simulation component that creates a simulation model for at least one component of the industrial automation system according to a plurality of parameters; and
at least one directed model that derives at least one of the plurality of parameters from an industry profile, wherein the industry profile includes at least one of performance data for the industry or performance data for industrial components that operate in the industry.

2. The simulation tool of claim 1, the simulation component creates the simulation model as a re-usable model for the at least one component of the industrial automation system.

3. The simulation tool of claim 1, the simulation component creates the simulation model as a run-time module for the at least one component of the industrial automation system.

4. The simulation tool of claim 1, further comprises an optimization component that runs the simulation model at least twice and, for each run, evaluates a unique combination of the plurality of parameters to determine the plurality of parameters that at least one of maximizes or minimizes an objective function.

5. The simulation tool of claim 1, the directed model further comprises at least one of a device model, an industry model, or a manufacturing model.

6. The simulation tool of claim 1, further comprising an implementation component that downloads an executable runtime code for the simulation model to a controller.

7. The simulation tool of claim 1, the at least one directed model mines the historical data from at least one database.

8. The simulation tool of claim 1, further comprising an input component that accepts a set of specifications from a user, the specifications include design preferences, performance goals, or objectives.

9. The simulation tool of claim 8, further comprising an identifier component that determines components or methodologies suitable to achieve specifications set forth by a user.

10. The simulation tool of claim 8, further comprising a logic component that determines whether the specifications are within manufacturing capabilities.

11. The method of claim 1, further comprising executing the simulation model into at least one runtime code module.

12. The method of claim 11, the runtime code modules are associated with ladder logic, Sequential Function Logic, input/output module codes, communication codes, or remote Internet interface code.

13. A method of generating simulation code for an industrial automation system, comprising:
generating a simulation model for at least one component of the industrial automation system according to a plurality of parameters;
deriving at least one of the plurality of parameters from past experiences databases for an industry; and
storing the simulation model.

14. The method of claim 13, further comprising:
receiving a set of specifications for a simulation of a process in the industrial automation system;
selecting the at least one component of the industrial automation system for the simulation of the process in the industrial automation system ; and
associating the simulation model with the simulation of the process in the industrial automation system.

15. The method of claim 13, further comprising:
running the simulation model in a simulation;
identifying that the simulation model failed the simulation;
changing at least one of the plurality of parameters and creating an alternative simulation model; and
re-executing the simulation with the alternative simulation model.

16. The method of claim 15, further comprising monitoring the simulation and determining the at least one of the plurality of parameters to change.

17. The method of claim 15, further comprising learning the alternative simulation modules via at least one classifier process.

18. The method of claim 13, further comprising
receiving at least one specification, comprising a plurality of fields;
associating the plurality of parameters with the plurality of fields.

19. The method of claim 13, generating the simulation model further comprising generating the simulation model for at least one of a controller, an input/output module, a communication module, or an intelligent module.

20. A method for generating executable control code, comprising:
defining at least one specification of a control system;
generating at least one directed model from the specifications, the at least one directed model comprising at least one of a device model, an industry model, or a manufacturing model;
generating a simulation model based at least in part upon the at least one directed model and the at least one specification; and
executing the simulation model to simulate a process in the control system.