WO1998036518A2 - Openbus system for control automation networks incorporating fuzzy logic control - Google Patents

Openbus system for control automation networks incorporating fuzzy logic control Download PDF

Info

Publication number
WO1998036518A2
WO1998036518A2 PCT/IL1998/000043 IL9800043W WO9836518A2 WO 1998036518 A2 WO1998036518 A2 WO 1998036518A2 IL 9800043 W IL9800043 W IL 9800043W WO 9836518 A2 WO9836518 A2 WO 9836518A2
Authority
WO
WIPO (PCT)
Prior art keywords
fuzzy
control
bus
network
node controller
Prior art date
Application number
PCT/IL1998/000043
Other languages
French (fr)
Other versions
WO1998036518A3 (en
Inventor
Arnon Azarya
Yitzhak Azarya
Original Assignee
Arnon Azarya
Yitzhak Azarya
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Arnon Azarya, Yitzhak Azarya filed Critical Arnon Azarya
Priority to AU57781/98A priority Critical patent/AU5778198A/en
Publication of WO1998036518A2 publication Critical patent/WO1998036518A2/en
Publication of WO1998036518A3 publication Critical patent/WO1998036518A3/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/0265Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric the criterion being a learning criterion
    • G05B13/0275Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric the criterion being a learning criterion using fuzzy logic only
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/04Inference or reasoning models
    • G06N5/048Fuzzy inferencing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/329Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the application layer [OSI layer 7]

Definitions

  • the present invention relates generally to computer communication networks and more particularly relates to a system for implementing a control automation network utilizing rule based control in combination with fuzzy logic based decision making.
  • Openness in the world of automation means being able to buy a variety of products from a variety of vendors and have everything work together seamlessly. To be truly open, however, means the network or platform is accessible to anyone and there is more than one source of enabling technology, i.e., microprocessors and application code. Openness promises significant savings in both time and money. However, recent attempts at openness have not lived up to the promise. The current market trend is to move to an open, modular architecture controller that will include a horizontal integration of the currently existing fragmented technologies. Currently, most computerized numerical control (CNC), motion and discrete control applications incorporate proprietary control technologies. There are numerous difficulties associated with using proprietary technologies.
  • CNC computerized numerical control
  • PC personal computer
  • Traditional Automation and Control Layer networks are typically medium sized and function to connect PLCs or PCs to related devices within cells or throughout the plant. These networks send small to medium sized packets of data repetitively and have millisecond response times
  • FIG. 1 A high level block diagram illustrating an example prior art proprietary control network including proprietary programmable logic controllers, sensors and I/O devices is shown in Figure 1.
  • a proprietary network 33 e.g., Fieldbus
  • PLCs programmable logic controllers
  • Connected to the PLCs 34 are the sensors and other I/O devices 32.
  • the proprietary PLCs implement the Automation and
  • Control Layer functionality and the sensors and I/O devices implement the Information and Device Layer.
  • Information and Device Layer Traditionally, a single manufacturer was able to provide the necessary connectivity with its own network and PLC products and those of qualified third parties.
  • the lead manufacturer typically the one making the controllers, assumes network ownership by providing specifications, enablers, e.g., chips and software, and test suites for compliance and interoperability.
  • Examples of previous attempts at openness in the field of industrial networking include the Fieldbus and manufacturing automation protocol (MAP). Both buses are open networks that are not currently meeting user expectations.
  • MAP bus is not in widespread use today and most vendors have dropped development of MAP products.
  • One of the problems is that although the products have been designed in accordance to a standard specification, many versions of a specification are in use at any one time. In addition, many so called open products require unique configuration software which is only available from the manufacturer of the product. Thus, it becomes a difficult task to get products from different vendors, all built to different versions of a specification, to interoperate together correctly.
  • Fieldbuses are a special form of local area networks dedicated to applications in the field of data acquisition and the control of sensors and actuators in machines or on the factory floor. Fieldbuses typically operate on twisted pair cables and their performance are optimized for the exchange of short point to point status and command messages. Numerous other Fieldbuses are in existence such as Filbus, Bitbus, FIP, CAN and Profibus standard networks.
  • crisp logic i.e., classical 0 or 1 logic
  • Fuzzy logic overcomes this problem by allowing any shade of gray between 0 and 1 to be directly represented.
  • Each fuzzy parameter has a range of values it can take on, such as slow to fast.
  • each input has a unique mapping for its range called a membership function.
  • traditional logic permits only two truth values, 0 and 1 , true or false, yes or no.
  • Degrees of set membership a concept inherent to fuzzy logic, is a conceptualization that allows natural objects in the real world to be directly represented as they exist, while being able to process data with general rules of logic. It permits ranges of membership, such as slow to fast, small to large and light to heavy, to be directly represented, rather than artificially quantizing them merely to be able to process their data.
  • Previous attempts at incorporating artificial intelligence (Al) have failed in large part due to being forced to use tools that are too precise for the task. Typical Al expert systems use rule sets that grow very large as the application becomes more and more complex.
  • Typical Al systems require hundreds to thousands of precise, crisp if-then rules to mirror the natural fuzziness of the real time world.
  • Equivalent fuzzy logic system typically have tens of rules, an order of magnitude less. This is because the fuzzy parameters in its rules vary so as to apply to a wide variety of cases.
  • engineers are often requested to solve real world problems with tools of traditional logic that are too tedious and unwieldy. For many engineering problems, high precision is not needed, particularly when machines are to perform tasks previously performed by humans.
  • Typical applications that are targeted by inference engines, such as real time control often still require human to observe and react based on experience, e.g., subway train operators.
  • a fuzzy logic inference engine can assist in cases such as these by utilizing a fuzzy rule based expert system.
  • Fuzzy logic generalizes the Boolean rule 'if X implies Y and X is true, then Y is true.' By substituting infinitely variable parameters for true and false, fuzzy propositions enable different premises to arrive at different conclusions using the same implication rules. Instead of all or none comparisons, a fuzzy processor performs minimum and maximum comparisons. Rather than compare digital Is and Os, fuzzy controllers compare variable truth values using minimum and maximum comparison operations.
  • Fuzzy logic permits an engineer to design expert system like applications which rival the performance of far more complicated Al applications built by specially trained knowledge engineers. Fuzzy logic utilizes ordinary language concepts which are inherently fuzzy rather than any specialized vocabulary. Designing an application using fuzzy logic should be easier than with traditional techniques since the ordinary language concepts that described a problems solution do not have to translated into crisp digital programs to perform meaningful control functions. Further, fuzzy logic control systems are typically smoother due to their inherent intelligence.
  • fuzzy logic a designer can use fuzzy concepts which apply to an entire range of performance and scale the system's actions to smooth out its operation. The designer does not need to define each situation explicitly, rather the whole range of the system's performance is represented by the membership function, that shows the appropriate response in every case.
  • the fuzzy rules are derived from ordinary language under control of a membership function. For example, a rule in an Al expert system might be "If the pressure is X, then Y the feed valve.” A separate rule would be needed for each particular X value considered in the system. In an equivalent fuzzy logic based system, the same rule can be used with X and Y replaced by appropriate membership functions. Thus, the same rule can replace tens or hundreds of crisp quantized rules in the Al system. Utilizing fuzzy rules such as these, a fuzzy knowledge base can be created for an application without requiring a knowledge engineer.
  • the present invention comprises a novel control automation system for enabling I/O boards to access communication networks for receiving and transmitting real time control information over a communication network.
  • the system combines a rule based expert system with a fuzzy logic subsystem which implements a fuzzy logic inference engine.
  • the system includes a control bus, a node controller and a development system.
  • External hardware that connects to I/O devices such as sensors, motors, monitors, machines, etc. can be connected to the invention via I/O boards that receives and transmit digital signals, representing control information, to the bus.
  • the bus functions as the hub of operation, receiving network communications, processing cooperative logic and transmitting information over the communication network.
  • the bus enables single or multiple controllers to access real time information generated by the attached hardware.
  • the bus also enables the execution of I/O operations that originated in external controllers and transmitted over the communication network.
  • the bus allows any I/O control board having a common interface, such as ISA, PCI, Compact PCI, etc., to connect to the bus by attachment to one of its slots.
  • An intelligent embedded implementation process provides the logic necessary to enable the connectivity between the I/O boards and the communication network.
  • the development system includes a real-time compiler for generating p-code to be executed on the target system.
  • the compiler also generates the code required to implement the fuzzy logic subsystem including the fuzzy rules, variables and membership functions as defined by the control application.
  • the target system e.g., the node controller, runs the real-time kernel.
  • the target system can be a PC running a commercially available operating system such as Windows NT, VxWorks, Lynx, etc.
  • the real-time compiler generates p-code from the combination of event triggers, event actions and program logic making up the user's application. External input signals and entities such as variables, timers, etc. are analyzed and used to trigger events in the real-time kernel.
  • the real-time kernel functions to implement a state machine that receives inputs and generates outputs.
  • the actions taken by the system are represented as a sequence of frames with each frame representing a unit of action.
  • Changes in the value of external input signals and/or entities trigger one or more events. Each event points to an action, i.e., a set of frames. These actions are then analyzed and executed.
  • the present invention can be adapted to provide a comprehensive environment for development and execution of fuzzy control application.
  • the system combines rule based control with a fuzzy expert subsystem.
  • the deterministic rule based methodology of the present invention can be used to control an application and the fuzzy expert subsystem can be used to provide fuzzy expert capabilities.
  • the system is comprised of two subsystems (1) an expert rule based control subsystem and (2) a fuzzy logic subsystem. Both can interface to each other to provide enhanced intelligent control.
  • the expert system can assign a value to one or more fuzzy variables.
  • the crisp input is fuzzified before being processed by the fuzzy logic processor.
  • the expert system may include as part of its rules and actions, an evaluation of one or more fuzzy variables. Once the expert system triggers an evaluation of a fuzzy variable, the fuzzy logic processor performs a fuzzy evaluation of the variable. After processing, a defuzzification process generates crisp output which is passed back to the expert system.
  • a control automation system for controlling a plurality of input and output (I/O) devices in accordance with a control application, the system connected to a network for communicating control automation information, the system comprising a development system optionally coupled to the network, the development system generating p-code embodying event triggers, event actions, program logic and fuzzy rules, variables and membership functions implementing the control application and at least one node controller coupled to the network for executing in real-time the p-code generated by the development system and for implementing a fuzzy logic inference engine.
  • the node controller comprises processor means for managing and controlling the operation of the node controller.
  • the processor means for executing a real-time kernel, - the kernel implementing the control application embodied in p-code and implementing the fuzzy logic inference engine. Also included are network interface means for connecting the node controller to the network, I/O device interface means for connecting the node controller to the plurality of I/O devices and bus means for interconnecting together the real-time kernel, the network interface means and the I/O interface means.
  • the node controller comprises means for implementing an expert rule based control system and means for implementing the fuzzy logic inference engine.
  • the development system comprises a compiler for generating p-code, machine code, code adapted to be executed on math coprocessor means, code realizing one or more fuzzy evaluation triggers and code including precalculated data of the fuzzy universe of discourse, all in accordance with the event triggers, event actions, fuzzy rules, fuzzy variables, fuzzy membership functions and program logic of the control application.
  • the kernel means comprises an external input signal scanner for reading, storing and determining changes to external input signals received from the plurality of I/O devices, an event triggers evaluation module for detecting changes to the external input signals and internal entities, the event triggers evaluation module for determining and resolving all event triggers corresponding to the detected changes, a scheduler for marking all actions corresponding to the event triggers that resolve true, an action execution unit for executing and implementing the actions marked for execution by the scheduler, an entity processor for determining any changes to values assigned to an entity, the entity processor notifying the event triggers evaluation module of the entity value changes and means for determining when a fuzzy evaluation is required to be performed.
  • a node controller apparatus for use in a control automation system, the system for controlling a plurality of input and output (I/O) devices in accordance with a control application, the system including a network for communicating control automation information, the apparatus comprising processor means for managing and controlling the operation of the node controller, the processor means for executing a real-time kernel, the kernel implementing the control application embodied in p-code and for implementing a fuzzy logic subsystem, network interface means for connecting the node controller to the network so - as to enable the transfer of one or more agents between node controller connected to the network, I/O interface means for connecting the node controller to the plurality of I/O devices and bus means for interconnecting together the processor means, the kernel means, the network interface means and the I/O interface means.
  • the processor means comprises means for implementing an expert rule based control system and means for implementing the fuzzy logic inference engine.
  • the processor means may also comprise an expert rule based control system adapted to receive a plurality of input sensor signals from one or more input sensors and adapted to output a plurality of output sensor signals to one or more actuators and a fuzzy logic subsystem for implementing a fuzzy logic inference engine, the fuzzy logic subsystem adapted to receive crisp input data from the expert rule based control system, perform fuzzy processing on the input data to yield crisp output data.
  • the fuzzy logic subsystem comprises fuzzification means for transforming the crisp input to fuzzy input, fuzzy logic processing means for performing fuzzy calculations and processing of the fuzzy input and generating fuzzy output in response thereto, defuzzification means for transforming the fuzzy output into crisp output and means for operating the fuzzy logic processing means in accordance with the fuzzy rules, fuzzy variables and associated fuzzy membership functions contained within the control application.
  • control automation system for implementing a distributed control application, the system connected to a communication network, the system comprising a plurality of node controllers, each node controller comprising expert rule based control system means for implementing the control application in accordance with one or more control rules, fuzzy logic subsystem means for implementing a fuzzy logic inference engine, the fuzzy logic inference engine for evaluating fuzzy variables, expressions and formulas in accordance with one or more fuzzy rules, fuzzy variables and associated membership functions, network interface means for connecting the node controller to the network so as to enable the transfer of one or more agents between node controllers connected to the network, I/O interface means for connecting the node controller to a plurality of I/O devices and bus means for interconnecting together the expert rule based control system means, the network interface means and the I/O interface means.
  • the fuzzy logic subsystem comprises fuzzification means for transforming the crisp input to fuzzy input, fuzzy logic processing means for performing fuzzy calculations and processing of the fuzzy input and generating fuzzy output in response thereto, defuzzification means for transforming the fuzzy output into crisp output and means for operating the fuzzy logic processing means in accordance with the fuzzy rules, fuzzy variables and associated fuzzy membership functions contained within the control application.
  • a method of implementing a distributed control application comprising the steps of providing a plurality of node controllers wherein each node controller includes expert rule based control system means for implementing the control application in accordance with one or more control rules and fuzzy logic subsystem means for implementing a fuzzy logic inference engine, evaluating fuzzy variables, expressions and formulas in accordance with one or more fuzzy rules, fuzzy variables and associated membership functions making up the control application, connecting the node controller to the network so as to enable the transfer of one or more agents between node controllers connected to the network, connecting the node controller to a plurality of I/O devices and interconnecting together the expert rule based control system means, the network interface means and the I/O interface means.
  • the step of evaluating comprises the steps of detecting, in accordance with the control rules, that a fuzzy evaluation is to be performed, fuzzifying crisp input output by the expert rule based control system means to yield a fuzzy input, performing a fuzzy evaluation of the fuzzy input in accordance with the fuzzy rules, fuzzy variables and associated membership functions making up the control application to yield a fuzzy output, defuzzifying the fuzzy output to yield crisp output and sending the crisp output results to the expert rule based control system.
  • a method of generating p-code for execution on a node controller as part of a control automation system for controlling a plurality of input and output (I/O) devices in accordance with a user's application the application including event triggers, event actions and program logic
  • the method comprising the steps of generating a plurality of pointer tables, each pointer table associated with either an external input signal or an entity, each pointer table comprising a plurality of pointer entries, each pointer entry pointing to an event trigger, generating an event trigger table, the event trigger table comprising a plurality of event trigger entries, each event trigger entry corresponding to an action that references the particular external input signal or entity that points thereto, generating a plurality of actions, each of the actions comprising at least one frame, the actions, the actions representing the generation of output signals and/or the modification of the internal entities and wherein the plurality of pointer tables, the event trigger table and the plurality of actions generated in accordance with
  • a kernel for implementation on a computing means, the computing means part of a control automation system for controlling a plurality of input and output (I/O) devices in accordance with a control application, the computing means including an expert rule based control system and a fuzzy logic subsystem, the kernel comprising an external input signal scanner for reading, storing and determining changes to external input signals received from the plurality of I/O devices, an event triggers evaluation module for detecting changes to the external input signals and internal entities, the event triggers evaluation module for determining and resolving all event triggers corresponding to the detected changes, a scheduler for marking all actions corresponding to the event triggers that resolve true, an action execution unit for executing and implementing the actions marked for execution by the scheduler, an entity processor for determining any changes to values assigned to an entity, the entity processor notifying the event triggers evaluation module of the entity value changes, means for determining when a fuzzy evaluation is required to be performed and means for sending crisp input to the fuzzy logic subsystem and receiving crisp output in
  • Fig. 1 is a high level block diagram illustrating an example prior art proprietary control network including proprietary programmable logic controllers, sensors and I/O devices;
  • Fig. 2 is a diagram illustrating the various layers of the OpenBus control automation network of the present invention
  • Fig. 3 is a high level block diagram illustrating a control automation network constructed in accordance with an embodiment of the present invention
  • Fig. 4 is a block diagram illustrating the open bus node controller of the present invention connected to a network, sensors and I/O devices;
  • Fig. 5 is a flow diagram illustrating the embedded open bus control process of the present invention
  • Fig. 6 is a flow diagram illustrating the embedded system dispatch process of the present invention
  • Fig. 7 is a diagram illustrating the bus width versus throughput for some of the buses in common use today
  • Fig. 8 is a diagram illustrating the modular portions of the software making up the OpenBus automation system of the present invention.
  • Fig. 9 is a high level block diagram illustrating the development system environment of the present invention.
  • Fig. 10 is a block diagram illustrating, in more detail, the development system environment and the target system of the present invention
  • Fig. 11 is a block diagram illustrating the real time kernel of the target system in more detail
  • Fig. 12 is a flow diagram illustrating the input signal scanner portion of the real time kernel of the target system
  • Fig. 13 is a flow diagram illustrating the entity value change processing portion of the real time kernel of the target system
  • Fig. 14 is a flow diagram illustrating the event trigger scheduler portion of the real time kernel of the target system
  • Fig. 15 is a block diagram illustrating the internal memory representation of the pointer tables used to implement event triggers and internal/external actions
  • Fig. 16 is a block diagram illustrating an example of a frame constructed to implement an action
  • Fig. 17 is a flow diagram illustrating the execution sequence of a frame
  • Fig. 18 is a block diagram illustrating the open bus node controller of the present invention incorporating a fuzzy logic subsystem coupled to the rule based expert system and to a network, sensors and I/O devices;
  • Fig. 19 is a block diagram illustrating the fuzzy logic subsystem portion of the embedded processor in more detail
  • Fig. 20 is a flow diagram illustrating the fuzzy evaluation method performed in the embedded processor
  • Fig. 21 is a flow diagram illustrating the methodology to constructing an fuzzy expert system utilizing the OpenBus system of the present invention
  • Fig. 22 is a diagram illustrating the various types of output generated by the fuzzy compiler
  • Figs. 23 A through 23F are diagrams illustrating the contents of the stack during the calculation of an example membership function
  • Fig. 24 is a diagram illustrating the linked structure created to update fuzzy output variables when related fuzzy input variables have changed
  • Fig. 25 is a flow diagram illustrating when fuzzy output variables are evaluated
  • Fig. 26 is a high level block diagram illustrating the use of agents to distribute both expert rule based system processing and fuzzy logic subsystem processing among other OpenBus controller nodes;
  • Fig. 27 is a flow diagram illustrating the agent handling method of the present invention.
  • Fig. 28 is a flow diagram illustrating the agent processing method performed when the arrival of an agent has been detected
  • Fig. 29 is a block diagram illustrating the passing of agents from one node controller to another.
  • Fig. 30 is a block diagram illustrating an example distributed control application utilizing a control server and an I/O client.
  • the present invention is a system for providing computer operated real-time process control with the means for interacting with an external system.
  • the system combines an expert system ruled based control with a fuzzy logic inference engine.
  • the present invention also provides a development system comprising a computer compiler for generating real-time code executable on a real-time kernel that resides in a target system.
  • the present invention provides automation control over standard communication networks such as Ethernet and ATM.
  • the system comprises an intelligent network I/O node controller for automation control that has a common interface with external processors and compilers.
  • the network I/O node controller implements local logic to create an intelligent controller.
  • a key aspect of the present invention is that automation control information can be transmitted on a conventional backbone network using a conventional connectivity protocol without the need for dual networks, i.e., one for standard data and one for automation control information.
  • a control bus in the intelligent network I/O node controller permits the use of off the shelf I/O cards for interfacing the node controller to input and output devices.
  • the OpenBus system of the present invention functions to fill the void to provide the infrastructure or 'infranet' for communications within a control environment, sensor and actuator level data is managed locally within the infranet but can be shared with higher level data networks through Intranets or other networking platforms. Using open APIs, devices within the infranet share process data and device status information with other nodes via the Intranet or the Internet.
  • the OpenBus system of the present invention enables communication from sensors and actuators on the plant floor to the plant manager's desk anywhere in the world via the Internet, for example, resulting in a seamless network from I/O to the Internet.
  • OpenBus connectivity can be combined with Java applets in industrial applications making it possible for a plant manager, for example, to monitor, change or control any element of the industrial control system from the sensor all the way to a high level information system.
  • Plant maintenance personnel can access devices at any point . in the network, gather data and make modifications.
  • Service technicians can download new software to devices in the field using Java applets received through an Intranet or Internet connection. If technical support is required, a direct line can be established with a customer support representative to diagnose and repair devices remotely.
  • the Information Layer 64 comprises computers and associated software derived from a variety of suppliers on a variety of computing platforms.
  • the Information Layer is the link between the automation and information environments via manufacturing information systems (MIS) and manufacturing execution systems (MES). Users choose the computing platform, software and operating system for their particular application.
  • MIS manufacturing information systems
  • MES manufacturing execution systems
  • the Automation and Control Layer 62 comprises DCS controllers, programmable logic controllers (PLCs), I/O chassis, dedicated human interfaces, motor drives and PCs. This layer is the core of the architecture that bridges the Information and Device Layers, enabling communication throughout the enterprise. Responses here must be in the order of milliseconds to be considered real time.
  • the driving force is the need for deterministic data delivery between controllers and I/O devices.
  • Control manufactures have traditionally licensed their architecture to other vendors but only in a guaranteed and controlled manner. Only if a limited number of partners work closely together can performance and interoperability be maintained.
  • Devices In the Device Layer 60, low end devices that are traditionally hardwired into I/O cards are now networked. Devices are either discrete, e.g., sensors, starters, drives, I/O blocks, etc., or process oriented, e.g., transmitters, transducers, valves, single loop controllers, etc.
  • process oriented e.g., transmitters, transducers, valves, single loop controllers, etc.
  • the present invention enables verifiable adherence to an accepted standard in order to ensure product compliance and interoperability.
  • Devices are less complex at the Device Layer than they are at the Information Layer but they are more diverse.
  • the size and cost to imbed connections in a device are critical at this layer. For example, consider adding a network connection to a $ 70 photoeye.
  • no single vendor can offer all the possible devices, e.g., sensors and actuators, a user could need.
  • An I/O device can be taken from one network and be replaced with an I/O device from another network while the operation of the system behaves the same.
  • the present invention provides this level of interoperability by using standard communication control networks such as Ethernet or FDDI on the one hand and by permitting third party connectivity via standard PC I/O boards using standard PC buses such as PCI, EISA or VME.
  • Networks in an automation control system require varying degrees of openness by virtue of the devices they connect and the functions they perform. As previously discussed, difference architecture layers and devices dictate different degrees of openness. Networks must therefore offer a level of openness compatible with the architecture layer and the devices they connect. Users, however, purchase control products at the device level, e.g., sensors, actuators, pushbuttons, etc., from a number of different manufactures. For this reason, most vendors develop products that adhere to emerging device level networking standards.
  • the OpenBus system of the present invention of connecting PC bus architectures to area network buses using an embedded application brings the high speed and high throughput capabilities of the area network buses, e.g., Ethernet, FDDI, ATM, etc., as well as the openness of PC buses, e.g., PCI, ISA, EISA, VME, etc., to the large number of third party I/O control board manufacturers.
  • PCI Peripheral Component Interconnect Express
  • Control functions include, but are not limited to, high speed counters, axis control, continuous analog output, fixed analog output, etc. These control functions are implemented via software executing on the OpenBus on board processor thus obviating the conventional method of installing special hardware for each desired function.
  • FIG. 3 A high level block diagram illustrating an automation control network constructed in accordance with an embodiment of the present invention is shown in Figure 3.
  • OpenBus At the core of the system, termed OpenBus, is the OpenBus node controller 10.
  • Each OpenBus node controller is connected to the network 18 which may be, for example, a LAN, WAN, the Internet, Intranet or any other suitable data, control or area network.
  • Personal computers 14 are also connected to the network.
  • the PCs function to execute various application programs constituting the Information Layer.
  • the p-code control application can be executed on PCs as well.
  • a gateway 42 provides connectivity to external networks such as the Internet 40. Coupled to each OpenBus node 10 are sensors and I/O devices 16.
  • a factory floor 12 may contain one to many hundreds of OpenBus node controllers.
  • a plant manager 15 located anywhere in the world can monitor and control sensors and I/O devices on the floor of a factory located around the world.
  • the OpenBus system also comprises a development system
  • the development system can be hosted by a conventional personal computer or equivalent device.
  • the development system enables a user to generate pseudo-code or p-code that can be loaded onto and executed by a real-time kernel that resides in the OpenBus node controller 10.
  • the p-code can be executed on a standard PC running any commercial operating system. A more detailed description of the development system is presented later in this document.
  • the system of the present invention functions to open the Device Layer, e.g., sensors, starters, I/O blocks, etc., and to allow third parties to supply I/O control devices that would be able to connect to the network via the OpenBus system using PC boards built according to standards such as PCI, ISA, EISA, VME, etc.
  • Conventional area networks such as Ethernet, ATM, FDDI, etc., under the present invention, comprise independent intelligent network nodes.
  • Each OpenBus intelligent node comprises an imbedded processor that functions to intermediate between the I/O boards and the area network.
  • a set of high level APIs can be written that allow each processor, controller or computer connected to the area network or the Internet to access sensor information at the application connectivity layer.
  • the intelligent nodes participate in a distributed processing control environment by implementing independent local functionality that was previously programmed using the development system.
  • the node controller 10 comprises one or more interface circuitry boards 20 coupled to a bus. These interface circuitry boards can be any widely available off the shelf third party automation control I/O board designed for either generic or specific applications.
  • the bus can be any commonly used generic conventional bus, such as any of the buses discussed below.
  • a network interface card (NIC) 24 provides the interface circuit boards connectivity to the network 18.
  • An embedded processor 22 controls and manages the node controller, functioning to control the communication between the interface circuitry boards and the NIC.
  • the embedded processor is capable of executing Java applets 50 and application p-code control applications 52 developed on the development system.
  • the local bus permits certain portions of an application program to be implemented in the node controller as a form of distributed or cooperative automated control processing. Further, the NIC and the I/O boards permit the local attachment of various analog and digital sensors, thus creating an integrated smart sensor attached to the network.
  • the development system 180 is shown in Figure 4 to illustrate that the p-code it generates forms the intelligent software control means for the embedded processor 22.
  • the process control algorithms and logic flow input by the user using the development system is represented in the p-code that is executed in the OpenBus node controller.
  • the OpenBus system of Figures 3 and 4 enables I/O boards to access conventional communication networks for the receipt and transmission of real-time control information over the network.
  • Hardware that includes I/O attachment e.g., sensors, motors, monitors, machines, etc.
  • I/O attachment e.g., sensors, motors, monitors, machines, etc.
  • I/O boards that receive/transmit signals representing control information over the bus.
  • the OpenBus node controller 10 functions as the hub of operation of the system. It receives network communications, processes cooperative logic and transmits information over the network.
  • the system permits multiple controllers, such as PCs 14 or node controllers 10, to access real time information generated by attached hardware 26 located anywhere in the network.
  • a node controller 10 can execute I/O operations that originated in PCs 14 or other controllers 10 and transmitted over the network 18 and/or the Internet 40 communication networks.
  • the 'open control' approach implemented in the OpenBus architecture of the present invention provide third party vendors with the required variety and the critical mass of products to satisfy user application needs.
  • An OpenBus control network functions to deliver tested and certified multi-vendor performance from competing third parties, which can only benefit users.
  • the OpenBus of the present invention satisfies the demand today for more open automation systems in both networks and supporting devices. There is a trend towards open protocols, e.g., Ethernet, ATM, etc., at the Information Layer.
  • the present invention provides a system able to offer accepted and supported networks at the Device _ Layer as well.
  • the Automation and Control Layer will remain controlled-open due to the unique performance requirements. As shown in Figure 7, the advancement in speed and throughput within the open network architecture is much advanced in comparison with conventional existing proprietary control networks supplied by a relatively few individual vendors.
  • the OpenBus of the present invention enables the delivery of the latest high speed area network capabilities to the automation control field.
  • a key feature of the OpenBus system is that it is completely open at the Information and the Device Layers and controlled open at the Automation and Control Layer.
  • a key advantage of this feature is that it offers numerous benefits to users.
  • a user can choose the low end devices and host platforms that best meet application requirements. This provides users with an open architecture whereby the devices are the most variable yet maintain stability over the real time control system.
  • the Automation and Control Layer functions to effectively bridge the Information and Device Layers while maintaining time critical communications between controllers and I/O devices.
  • FIG. 5 A high level logic flow diagram illustrating the embedded open bus control process of the present invention is shown in Figure 5.
  • the first action performed by the embedded processor 22 upon power up is to initialize the node controller (step 70).
  • the processor loads the embedded program into memory (step 72).
  • the embedded program comprises control programs developed by the development system written and compiled into p-code.
  • the development system can generate Java scripts or applets.
  • the processor goes out on the bus and identifies each of the I/O boards 20 installed on the bus (step 74). Once the I/O boards are identified, the processor attempts to establish communications with the attached network 18 via NIC 24 (step 76).
  • the first step of the network communication management process is to wait for a network communication (step 78). Once a network communication is received, the processor checks if it is a network message (step 80). If it is not a network message control returns to step 78. If it is a network message, the message is then analyzed (step 82) and the dispatcher is activated (step 84). Note that optionally, the network communication management process can be implemented in Java code. The dispatcher is described in more detail below.
  • the first step of the control application is to load the p-code from an external storage device (step 86). Once the p-code is loaded, it is executed in order to enable and perform the control application logic (step 88).
  • the node controller can operate as a hub only, tying the sensors and I/O devices 26 ( Figure 4) to the network 18 via one or more off the shelf interface circuitry boards 20 without the functionality of executing user's application code (i.e., p-code) and/or Java scripts. Likewise, the node controller can operate to only execute user's application code and/or Java scripts without interfacing sensors and I/O devices to the network.
  • a high level logic flow diagram illustrating the embedded system dispatch process is shown in Figure 6.
  • the first step performed is to analyze the network request contained in the message (step 90). If the network request is a cooperative processing requires, the processing parameters of the request are parsed (step 102). In accordance with the parameters parsed, an embedded intelligent process is than activated (step 104). This embedded intelligent process then performs reads and/or writes to the I/O boards (steps 106, 108).
  • the network request is not a cooperative processing request, it is checked whether the request is an input status request (step 94). If it is, the corresponding data is retrieved from the I/O boards and sent to the requester over the network via the NIC (step 96). If the request is not an input status request, it is checked whether the request is an output I/O request (step 98). If it is not, control returns to step 90. If it is an output I/O request, the I/O data sent over the network is written to the appropriate I/O board(s) (steps 100, 108).
  • Openness is usually achieved by the use of standards. These standards are either sanctioned by an official body, e.g., IEC/ISA SP50 Fieldbus, or is commonly accepted enough to become a de facto standard, e.g., Ethernet TCP/IP. Many vendors and end users prefer de facto standards over official standards because they result in a shorter time to market and have a singular customer and application focus.
  • buses of various types are performed by buses of various types: direct point to point, shared multi-drop or network (i.e., being made up of links, buses pr switches), control buses, data buses, test and maintenance buses, area network buses, etc.
  • These buses can be implemented in serial fashion (i.e., one data line or fiber) or parallel fashion (i.e., multiple data lines or fibers). They can be slow (e.g., kilobits per second) or fast (e.g., gigabits per second). They may also have protocols varying from simple clocking to elaborate access, validation and acknowledgment schemes.
  • the interface point of either is a computational element or a bus. Examples of conventional open system bus standards available today are illustrated in Figure 7 and described in more detail below.
  • bus width versus throughput for many buses in common use today are presented.
  • the broad downward sloping arrow indicates the preferred path of bus development, i.e., to faster and narrower buses.
  • These buses can be used to perform different functions, such as system control, data transfer, test and maintenance, input/output (I/O) and area networking.
  • the area networking buses e.g., Ethernet, 100Base Ethernet, FDDI and ATM, are non proprietary in nature and have an order of magnitude higher throughput when compared with the Fieldbus technology which exists today within automation control bus technology.
  • Control buses are typically used to allow multiple processors to interoperate in a system through the exchange of commands and some data. In small systems, where data traffic is minimal, this single type of bus may be the only bus employed. Some currently available control buses are described briefly below.
  • Filbus The Filbus is based on distributed intelligence and peer to peer communication. Firmware functions are built into each Filbus I/O module and enable basic capabilities such as pulse count, delay before action and sending/receiving messages to/from other modules on the network. The Filbus runs at 375 Kbps, permits a maximum of 250 nodes, uses master/slave arbitration, uses twisted pair cable and has application in data acquisition. Bitbus
  • Bitbus was originally introduced by Intel Corporation as a way to add remote I/O capability to Multibus systems. This original Fieldbus is one of the most mature and most broadly used networks today. Bitbus permits programs to be downloaded and executed in a remote node providing for distributed system configuration. The Bitbus runs at 375 Kbps, permits a maximum of 250 nodes, uses master/slave arbitration, uses twisted pair cable and has application in process control. Worldfip
  • the Worldfip provides a deterministic scheme for communicating process variables.
  • Worldfip uses an original mechanism whereby the bus arbitrator broadcasts a variable identifier to all nodes on the network, triggering the node producing that variable to place its value into the network. This feature eliminates the notion of node address and makes it possible to design distributed process control systems.
  • the Worldfip runs at 1 Mbps, permits a maximum of 250 nodes, uses a bus arbiter for arbitration, uses twisted pair cable and has application in real time control. Profibus
  • the Profibus is a Fieldbus network designed for deterministic communication between _ computers and PLCs. It is based on a real time capable asynchronous token bus principle. Profibus defines multi-master and master slave communication relations, with cyclic or a cyclic access, permitting transfer rates of up to 500 Kbps. The physical layer 1 (2-wire RS-485), the data link layer 2 and the application layer are standardized. Profibus distinguishes between confirmed and unconfirmed services, allowing process communication, broadcast and multitasking. The Profibus runs at 500 Kbps, permits a maximum of 127 nodes, uses token passing for bus arbitration, uses twisted pair cable and has application in inter-PLC communication. CAN
  • the controller area network is a serial bus that is designed to provide an efficient, reliable and very economical link between sensors and actuators.
  • CAN uses a twisted pair cable to communicate at speed of up to 1 Mbps with up to 40 devices. It was originally developed to simplify the wiring in automobiles but its use has spread to machines and factory automation products because of its useful features. Some of its features include the ability of any node to access the bus when the bus is quiet, non destructive bit wise arbitration to allow 100% use of bus bandwidth without loss of data, multimaster, peer to peer and multicast reception, automatic error detection, signaling and retries and data packets of 8 bit length.
  • CAN is the basis of several sensor buses such as DeviceNET from Allen Bradley, CAN Application Layer from CAN in Automation or Honeywell's SDS.
  • Futurebus+ operates at speeds of 3.2 GBps using 256 parallel lines or 100 MBps using 32 parallel lines. It was designed primarily as a cache-coherent shared memory bus and also supports large block transfers and message passing. Its intended application was as a migration path for the VMEbus. Besides the increased throughput, Futurebus+ features centralized or distributed mastership arbitration, compelled or packet transfer mode, priority or fairness resource sharing, cache coherence for shared memory multiprocessing, module live insertion and a Control and Status Register standard software interface.
  • Pi-bus uses the same basic structure as VMEbus but is adapted for real time, fault tolerant applications such as military mission critical systems.
  • Pi-bus is a synchronous, loosely coupled, message passing bus.
  • a node may be master and slave capable or only slave capable.
  • Pi-bus uses the same backplane transceiver logic (BTL) interface as Futurebus+.
  • BTL backplane transceiver logic
  • Pi-bus emphasizes fault tolerance and is inherently supportive of module level fault containment since it is a loosely coupled bus. It also contains features such as hardware supported intermodule communication containment boundaries, an error management protocol that supports determination of contaminated memory, the ability for software to control access to its memory and explicit software control of intermodule communication.
  • Pl-bus has no centralized control, the protocol uses a distributed vie for gaining bus mastership.
  • the Pi-bus is a 50 MBps bus using 32 parallel lines. Designers of PI -bus intended the bus operation to be a send and forget interface making it inappropriate as a real
  • VME VersaModule Europa
  • the VersaModule Europa (VME) bus is one of the most successful high end commercial buses in use and has become a de facto standard in high performance industrial automation.
  • the VMEbus is a shared mulitdrop bus with each node on the bus plugging into the rack backplane such that its address and data lines connect onto the Data Transfer Bus in parallel with those of all other nodes. Tri-state logic is used such that only one node at a time actively drives the bus, with all other nodes passively monitoring its activity.
  • the VMEbus operates at speeds of 40 MBps using 32 parallel lines. Its intended application is as a commercial backplane control bus for high performance systems.
  • VME64 is a commercial backplane control bus for high performance systems.
  • VME64 bus operates at speeds of 80 MBps using 64 parallel lines. Its intended application is as an upgrade for the VME bus. Data Buses
  • Data buses are typically used to augment a control bus with a higher throughput . path for transfer of data between processors.
  • a data bus is usually implemented as a network of point to point unidirectional links. This avoids the various transmission line problems associated with a shared multidrop bus.
  • the Scaleable Coherent Interface (SCI) bus specification define a network in which nodes are interconnected with a set of unidirectional point to point links. SCI provides scaleable network bandwidth because data transfers between nodes may occur concurrently rather than sequentially via a shared bus. SCI operates at speeds of 1 GBps using 16 parallel lines and 250 MBps using a serial line.
  • the basic SCI network is a unidirectional ring where each node receives data from its predecessor node and sends data to its successor node.
  • a mesh network is implemented by equipping each node with two SCI ring interfaces: one in the horizontal direction and one in the vertical direction.
  • a crossbar switch network can be implemented where each node interfaces to the switch via a minimal two node ringlet.
  • SCI uses cache coherent protocols to guarantee consistent data even when data is locally cached and modified by multiple processors.
  • SCI uses a distributed directory based protocol where each line of memory is associated with a list of processor sharing that line. Each memory line maintains a pointer to the processor at the head of the list.
  • Use of the SCI bus is intended with heterogeneous parallel processors.
  • SCX SCX is an offshoot of SCI that is being developed for use with heterogeneous high performance parallel processors.
  • the SCX bus operates at speeds of 1 GBps using 32 parallel lines.
  • SCX also requires two counter rotating rings with a bypass switch at each node, similar to FDDI, for fault tolerance whereby neighbor nodes can bypass a failed link, reforming the two rings into a single double length ring.
  • QuickRing QuickRing is an offshoot of SCI developed for low cost applications such as PCs, workstations and parallel processors.
  • the QuickRing bus is a SCI like bus that operates at speeds of 200 MBps using 6 parallel lines.
  • QuickRing uses a voucher/ticket protocol, which is from the SCI, to reserve space in the target node queue before transmitting a packet.
  • HIC The Heterogeneous Interconnect (HIC) bus defines a low cost, scaleable, serial interconnect for parallel system construction.
  • An HIC link is a bi-directional connection between two nodes, composed of a pair of unidirectional connections.
  • the HIC bus operates at speeds of 10 Mbps to 1 Gbps using copper wire, differential twisted pair, fiberoptic and coax cable.
  • HIC links per node can be used to build a variety of network architectures, including both hierarchical networks and flat or mesh networks.
  • HIC supports self routed systems using wormhole routing where the packet is read on the fly and the packet is forwarded without being stored in the intervening node.
  • RACEway The RACEway bus is a proprietary bus uses the VME 'P2' connector to access a crossbar switch to provide high speed concurrent data paths between boards in a VME chassis. It operates at speeds of 1280 Mbps using 32 parallel lines.
  • the basic element of the RACEway is the RACE crossbar chip which has six I/O channels. A single crossbar chip can interconnect six nodes and provide up to three concurrent 1280 Mbps communication paths between node pairs.
  • Topologies that can be created include fat-tree, switch ring and mesh.
  • the RACEway is a preemtable circuit switched network.
  • the RACEway uses a compelled protocol in that the receiving node can enforce flow control through the use of the 8-wire control and clocking signals. Data flow is bi-directional but can only go in one direction or the other at a time.
  • Test and Maintenance Buses are typically used to provide a minimally intrusive path to every hardware module in the system to isolate and debug failures and to possibly reconfigure data flows and computational elements to avoid failed elements. It is usually implemented as a serial, low speed interconnection. This bus can be included as a single bus for non critical systems or as a double redundant bus for mission critical systems. Proper use of a test and maintenance bus often requires the cooperation of the data and control buses, necessitating some type of controller element. A brief description of a few test and maintenance buses currently available is presented below. Serial Bus/Fire Wire The High Performance Serial Bus (HPSB) is similar in function to TM-bus.
  • HPSB High Performance Serial Bus
  • the HPSB operates at speeds of 6 MBps over a backplane or 40 MBps using two differential signal pairs. Its intended application is as a general purpose interface that can replace a variety of I/O types such as RS-232, RS-422 and SCSI. FireWire, one implementation of HPSB, can carry both synchronous data and isochronous mulitmedia communications.
  • TM bus The Test and Maintenance bus is a linear, synchronous, multi-drop communication bus which transfers data between a master node and one or more slave nodes residing on a single backplane. It is used to communicate diagnostic control and status information between nodes.
  • the TM-bus protocol supports up to 251 separate addresses plus the broadcast and multicast addresses.
  • the TM-bus operates at speeds of 0.8 MBps using a serial line. Its intended application is for use with PI bus in military applications.
  • the Module Test and Maintenance (MTM) bus is a parallel multi-drop bus containing five signal lines: Clock, Control, master Data, Slave Data and Pause Request.
  • the MTM bus is intended to provide connectivity between modules within a box, e.g., interconnect JTAG modules.
  • the bus operates at speeds of 1.2 MBps using a serial line. JTAG
  • JTAG bus is a widely used bus for on-module testing.
  • JTAG is a serial bus containing four signal lines: Test Clock, Test Mode Select, Test Data Input and Test Data Output.
  • JTAG defines a Test access Port (TAP) and boundary scan architecture for digital integrated circuitry.
  • TAP Test access Port
  • the JTAG bus provides a solution to the problem of testing assembled printed circuit boards containing highly complex digital integrated circuits and high density surface mounting assembly techniques. It also provides a means of accessing and controlling design-for-test features built into the digital integrated circuits themselves.
  • JTAG is used internally in most new large IC designs to confirm that each intemal component performs its required function, that the components are interconnected in the correct manner, that the components interact correctly and that the IC performs its intended function.
  • the JTAG bus operating at speeds of 3 MBps using a serial line.
  • Fibre Channel The Fibre Channel (FC) bus is a universal interface for data channels that is optimized for the predictable transfer of large blocks of data such as those used in file transfers, disk and tape storage systems, communications and imaging devices. Fibre Channel provides bi-directional point-to-point connections and support for connected and connectionless operations. Fibre Channel transfers asynchronous information in variable length frames, consisting of a 24 byte header followed by up to a 2048 byte payload of data.
  • Fibre Channel can be implemented in a ring network, but is intended primarily for a switched network.
  • One node may be connected to another node but is typically connected to a fabric node.
  • the fabric node is an entry into a switch that provides transparent connection to other system nodes.
  • Fibre Channel can operate on coax, twisted copper pair and both single and multimode fiber. It operates at speeds of 100 MBps over a serial line. SCSI
  • SCSI Small Computer System Interface
  • SCSI device are daisy chained together and obtain access to the bus via distributed arbitration.
  • Standard SCSI used an 8 bit bus and a 4 MHz clock to achieve a 4 MBps data transfer rate.
  • Fast SCSI increases throughput to 10 MBps and Fast Wide SCSI uses 16 bits to achieve 20 MBps.
  • SCSI-2 achieves 40 MBps using 32 bits. 1553B
  • the Mil-Std-1553B Digital Time Division Command/Response Multiplex Data Bus has a long-standing history in military avionics applications where independent boxes need to be interconnected. It operates at speeds of 0.1 MBps and uses a single coax with transfer coupling to reduce the chance of damage when connecting separate boxes. It is usually implemented in a dual or triple standby mode to prevent the bus from becoming a single point of failure in a mission critical application.
  • the 1553 bus uses a 1 MHz clock and Manchester biphase encoding to convert each 16 bit work into a 20 bit serial stream.
  • the El A RS-232 bus is a widely used bus providing for a point-to-point interface between a single driver and a single receiver at speeds up to 20 Kbps over distance up to 50 feet.
  • An improved version, RS-423 increases the speed to 100 Kbps, increases the number of receivers to ten and reduces the voltage swing to +/- 4 volts. Its intended application is to interconnect terminal and modem equipment. RS 422
  • the RS-422 is the Electronic Industries Association (El A) EIA-485 bus which operates at speeds of 1 MBps using a serial line. It is similar to RS-423 but uses differential driver signals to increase the transmission speed to 10 Mbps.
  • RS-485 is similar to RS-422 but uses tristate drivers to allow multiple drivers form a shared multi-drop bus.
  • ATM Asynchronous Transfer Mode
  • ATM is a logical layer protocol based on bandwidth partitioning for the transmission of large amounts of data, e.g., real-time audio, computer data, images and video, on shared media, point-to-point, switched networks.
  • ATM transfers digital information in consecutive cells (packets) of constant length consisting of a 5 byte header following by a 48 byte payload of data.
  • the header defines a virtual path and a virtual channel as well as other network management functions.
  • the ATM protocols allow a node to establish static or dynamic connections with many other nodes. Although ATM is optimized for virtual connection oriented services, it can be used for connectionless services as well.
  • ATM can be mapped on top of various existing physical layers such as SONET, Fibre Channel or FDDI.
  • ATM operates at speeds of 155 Mbps to 2.5 Gbps over a serial line. Its intended application is for use in telecommunications and as a LAN for workstations.
  • FDDI Fibre Channel
  • the Fiber Distributed Data Interface (FDDI) bus is a standard for a local area network with a transmission rate of 100 Mbps using a fiber optic cable as the transmission medium.
  • FDDI implements a dual counter rotating ring topology and uses a token access method for packet transmission.
  • FDDI is sometimes used as a higher speed backbone to interconnect several lower speed Ethernet networks.
  • FDDI consists of three layers: Physical Layer, Medium Dependent (PMD), Physical Layer Protocol (PHY) and Media Access Control (MAC).
  • the PMD layer specifies the digital baseboard point-to-point communication between two nodes in the FDDI ring.
  • a ring consists of a set of nodes and unidirectional transmission medium segments connected in a serial closed loop configuration.
  • the dual ring option consists of two identical ring configurations, where the secondary ring transmits in the reverse direction of the primary ring.
  • the PHY Layer specifies the remaining aspects of the physical layer protocols. These protocols include decoding incoming data, encoding outgoing data and clock synchronization.
  • the MAC Layer specifies fair and deterministic access to the medium, address recognition and generation and verification of frames. Access to the ring is controlled by passing a token around the ring. If a node wants to transmit, it strips the token from the ring, transmits frames and then reinserts the token. Ethernet Ethernet has become the de facto LAN standard for PCs, workstations and their peripherals.
  • Ethernet uses Carrier Sense Multiple Access with Collision Detection (CSMA/CD) protocol that allows nodes connected in parallel to transmit data without the normal bus mastership arbitration.
  • CSMA/CD Carrier Sense Multiple Access with Collision Detection
  • a node that wants to transmit data first listens to see if any other node is currently transmitting data on the cable, if not, it proceeds to transmit. The node then listens to see if its intended transmission is garbled on the cable and if so aborts transmission and waits a small time before trying again.
  • This protocol is popular because it is cheap and easy to manage.
  • the Ethernet bus is limited, however, to a bandwidth of 10 Mbps using a serial line. 100Base Ethernet
  • the 100Base Ethernet bus is a higher speed version of Ethernet which retains the original Ethernet protocol for backward compatibility with existing Ethernet.
  • 1 OOBase Ethernet operates at speeds of 100 Mbps using a serial line. Its intended application is as a migration path for 10 Mbps Ethernet.
  • the Myrinet bus is a low cost, high speed hierarchical switched network that uses a point-to-point bi-directional link, with a clock rate of 40 MHz and a bandwidth of eight lines to achieve a 40 MBps throughput in each direction.
  • Links can connect to nodes or mulitport switches, allowing the formation of various network topologies. Data is transmitted in variable length packets, with cut through routing and reverse flow control.
  • PC buses is a category of buses that is of high commercial significance. PC buses are typically used to interconnect peripherals to a desktop or laptop computer.
  • PCI Peripheral Component Interconnect
  • PCI Peripheral Component Interconnect
  • PCI Peripheral Component Interconnect
  • PCI defines a low latency path between the microprocessor local bus and other system components. It uses a 33 MHz, 32 bit data path to achieve a data throughput speed of 800 Mbps in burst transfer mode.
  • PCI also defines multiple bus master arbitration and configuration space for automatic software setup.
  • the PCI specification also covers the software architecture needed to guarantee plug-and-play compatibility of modules within a system. The intent is to allow a system to automatically configure itself when a new module is plugged into the PCI backplane connector.
  • the VESA's Local (VL) Bus is a Video Electronics Standards Association (VESA) standard operating at speeds of 100 MBps using 32 parallel lines. Its intended application is as a migration path for the EISA bus.
  • VL Video Electronics Standards Association
  • V-Bus The V-Bus is intended for high performance symmetric multiprocessing systems.
  • V-Bus is a 64 bit bus that operates at up to 66 MHz to provide a sustained peak rate of 4 Gbps.
  • the bus is controlled by central arbiter, with a parking mode to increase throughput on a lightly loaded bus.
  • ISA Industry Standard Architecture
  • the Extended ISA (EISA) bus operates at speeds of 16 MBps using 32 parallel lines. Its intended application is as a migration path for ISA to interconnect 80386 peripherals.
  • the OpenBus system of the present invention enables a cost effective solution that provides openness and interoperability. Users can choose the network or the bus based on which offers the greatest connectivity for the devices they value the most.
  • the present invention is a system for providing computer operated real-time process control with the means for interacting with an external system while also providing a development system comprising a computer compiler for generating real-time code executable on a real-time kernel that resides in the target system.
  • the target system can be a standard PC.
  • An illustration of the modular portions of the software making up the OpenBus automation system of the . present invention is shown in Figure 8.
  • the real-time kemel 154 is the heart of the OpenBus system in that the control algorithms and logic flow that the user desires to implement is executed by the real-time kemel in the target system.
  • p-code frames 150 At the core of the real-time kernel are p-code frames 150.
  • a p-code frame or simply frame represents a unit of action or operation in the system. For example, frames specify operations to be performed on internal entities such as variables or timers, for example.
  • event triggers and event actions 152 Surrounding the p-code frames are event triggers and event actions 152. Complex control operations as specified by the user are broken down by the development system into one or more frames to be executed by the real-time kemel. One or more frames combine to constitute event triggers and event actions.
  • the real-time kernel comprises the necessary operating system interface to allow it to execute on any desired operating system.
  • the layer surrounding the OS includes various functional modules that perform various roles in the OpenBus system. These functional elements comprise a module for interfacing to sensors 158, I/O devices 160, motion related devices 162, computerized numerical control (CNC) devices 164, devices requiring motor control 166 and discrete I/O 168.
  • functionality is provided to communicate with one or more networks 170.
  • a database module 172 provides the connectivity to a database that is used by the real-time kemel and application programs.
  • a graphic module 74 provides graphics and drawing related functionality and an operator interface 156 provides the user interface for used by an operator of the system.
  • FIG. 9 A high level block diagram illustrating the development system environment of the present invention is shown in Figure 9.
  • the real-time compiler functions to take as input an application 182 as input by a user and generate p-code 186 that is executable on the real-time kemel 192 in the target system 190.
  • the real-time kemel in the target system (embodied in the embedded processor 22 in Figure 4) dynamically changes in response to the structures and parameters defined ⁇ by the user and represented in her/his application program 182.
  • the development system 180 comprises an application 182 provided by the user and a real-time compiler 184.
  • the application comprises one or more event triggers 200, one or more event actions 202 and logic 204. These various elements combine to define the user's control program application.
  • the target system 190 comprises the real-time kemel 192 which functions to execute the p-code generated by the compiler.
  • the real-time kemel 192 comprises an external input signal scanner 210, an event triggers evaluation module 212, a scheduler 214, an action execution unit 216 and an entity processor 218.
  • the external input signal scanner receives external input signals from sensors and I/O devices.
  • the action execution unit generates the signals that are output to the external world.
  • the event triggers 200, event actions 202 and logic 204 provide the logic and the mechanism required to characterize the behavior of any real-time process the user desires to implement.
  • the behavior of any real-time system which interfaces with external signals and real world processes can be defined using a process state change methodology. In this methodology, when a process transitions to a new state, an action comprising a particular logic and operation sequence is performed. In more complex control processes which include multiple simultaneous activities, the action which must be performed is based upon a combination of processes rather than simply one.
  • the real-time kemel schedules the execution of event actions in accordance with the process state changes as reflected by the change entity value changes.
  • Entities include but are not limited to variables, timers, counters and external input signals. These various entities are part of the program control logic making up the user's application. Any change to the value of an entity or any external signal triggers an immediate evaluation of the event trigger that incorporates that particular entity.
  • the programming logic functions as the basis for the event actions.
  • the programming logic comprises pure logic, calculations, mathematical formulas, interfacing with sensors, discrete I/O, motion control, database operation, communication i.e., over networks and operator interface graphics.
  • extemal information and programming logic defined by the user and embodied in her/his application comprises various elements such as event triggers, event actions, program variables, timers, counters, program logic, sensor information, motion trajectory planning, motion control, etc. All these elements are broken down, defined and represented via the frame p-code generated by the real-time compiler.
  • the p-code making up a frame is the smallest building block that enables the real-time compiler to generate code that executes with a response time required of a real-time system.
  • the p-code making up frames comprises a precompiled, one step direct pointer to any piece of information or element which is required in order to perform the logic or operation of the frame.
  • the logic or operation is performed on entities which include variables, timers, I/O port information, I/O values, etc.
  • the precompiled direct pointer to the memory location of the particular entity permits rapid access to the values and references of the entities associated with a frame. These memory pointer references can be performed extremely rapidly with minimal delay thus providing the real-time response needed by the application control program. This is in direct contrast to conventional compiled programming systems that typically involve run time memory address calculations, hash table calculations, heap and stack addressing, etc. in order to resolve memory references thus creating a huge overhead not present in the real-time kemel of the present invention.
  • the real-time kemel will now be described in more detail.
  • a high level block diagram illustrating the real time kemel of the target system in more detail is shown in Figure 11.
  • the real-time kemel 192 comprises an extemal input signal scanner 210, event trigger evaluation module 212, scheduler 214, action execution unit 216 and an entity processor 218.
  • the system under control 220 received outputs from the action execution unit and generates the extemal input signals input to the extemal input signal scanner.
  • the p-code 186 generated by the real-time compiler is utilized by the event trigger evaluation module and the action execution unit.
  • the event trigger evaluation unit 212 receives extemal input signals from the system under control 220 via extemal input signal scanner 210 and various entities, e.g.,_ variables, counters, timers, motion vectors, motion loop data, etc., from the entity processor 218.
  • the event trigger evaluation module determines the next state of the system based on the current state and the values of all input entities.
  • the event trigger evaluation module in combination with the rest of the real-time kemel, serve to implement a state machine.
  • the evaluation module functions to test conditions using a set of rules derived from the user's application.
  • action frames are generated. These action frames are passed to the scheduler 214. The scheduler determines the order of execution for each action frame and passes frames ready for execution to the action execution unit 216.
  • the action execution unit processes each frame and implements the action contained therein. Depending on the type of action, one or more entities may be modified.
  • the entity processor performs the modification on the entities in accordance with the output of the action execution unit.
  • the action execution unit also generates various output signals such as, but not limited to, motion control signals, digital signals and analog signals. These output signals effect various components of the system under control and serve to modify the state of the system.
  • the execution unit outputs data for controlling the computer graphics used in the operator interface.
  • the commands and data are output to the GUI 222 that makes up part of the operating system host the real-time kemel operates in, when the target system is a standard PC.
  • the execution unit also outputs command and data for controlling a database that are directed to the database handler 224.
  • the database is used to store various data about the system such as attributes, states, entity related data, etc.
  • the input signal scanner method performed by the extemal input signal scanner of the real-time kemel will now be described in more detail.
  • a high level flow diagram illustrating the input signal scanner portion of the real time kemel is shown in Figure 12.
  • the first step of the method is to read the values of the extemal input signals from the various sensors, I/O devices that are monitored by the system (step 230).
  • the values read in are then stored for future reference (step 232). All the input values and then scanned or examined and all values that have changed since the previous read are ⁇ flagged (step 234).
  • a message is generated and sent to the event trigger evaluation module identifying the input signal and its new value (step 236). This method is repeated over and over in an endless loop.
  • the values of the signals input to the system change, these changes are immediately detected and reported to the event trigger evaluation module.
  • a high level flow diagram illustrating the entity value change processing portion of the real time kemel of the target system is shown in Figure 13.
  • the step of interpreting and executing the 'assign entity' commands contained in frames is performed by the action execution unit (step 240).
  • the entity processor receives the values to be assigned to the entities and determines whether any new values have been assigned to an entity (step 242). If there are new values to be assigned to an entity, the event trigger evaluation module is notified accordingly with the entity and it new value (step 244).
  • the event trigger scheduler method performed by the event trigger evaluation module and the scheduler unit of the real-time kemel will now be described in more detail.
  • a high level flow diagram illustrating the event trigger scheduler is shown in Figure 14.
  • the first step of the method is to get the values of all extemal input signals and intemal entities in the system (step 250). It is then determined whether any values have changed since the previous reading (step 252). For any values that have changed, the event triggers associated with the value change is determined (step 254). This process is described in more detail later.
  • each trigger is resolved to either true or false (step 256). If an event trigger resolves tme, its associated action, as represented by its frame, is scheduled by the scheduler for execution by the action execution unit (step 258).
  • FIG. 15 A high level block diagram illustrating the intemal memory representation of the pointer tables used to implement event triggers and intemal/extemal actions is shown in Figure 15. Illustrated in the left portion of the Figure are examples of various the internal pointer representations for internal entities such as variables 280 and timers 282 and for extemal input signals 284. Every entity and extemal input signal in the system is ⁇ represented by a pointer in memory.
  • the pointers are grouped into tables according to entity type. For example, the pointers 260, 262 associated with two variables are shown grouped in the variables pointer table 280.
  • the pointers 264, 266 associated with two timers are shown grouped in the timers pointer table 282.
  • three pointers 268, 270, 272 are shown grouped in the extemal input signal table 284.
  • the pointer tables for variables, timers and extemal input signals are shown for illustration purposes only. The pointers maintained for a system depends on the input signals and various entities that the application uses.
  • All the entities and extemal input signals that make up an action frame have their corresponding pointers point to the event trigger pointer for that particular action frame.
  • Every entity and input signal pointer points to a particular event trigger entry in the event trigger table 278.
  • Each entity or input signal may point to multiple event trigger entries and multiple entity and input signal pointers may point to the same event trigger entry.
  • variable pointers 260, 262 both point to event trigger entry 274.
  • Variable pointer 262 points to event trigger entries 274, 276.
  • Timer pointer 264 points to event triggers 276, 286.
  • Extemal input signal pointer 268 points to event trigger entry 290.
  • entity and extemal input signal pointers used by the system are determined and resolved during compile and load time rather than during run time.
  • configuration or input and output devices is known a priori at compile time.
  • entity or input signal addresses do not need to be computed during execution of the application as is the case in conventional systems. This is performed by conventional system using hash tables, pointer lists, variable lists, etc.
  • the present invention requires only a pointer for each entity or input signal directly to point to all the event trigger entries associated with that entity or input signal. This helps enable the control system automation system of the present invention to operate quick enough to execute the application in real-time.
  • Each entry in the event trigger table points, in turn, to an action.
  • an action is comprised of one or more frames.
  • the event trigger entry 276 is shown to point to the action 300.
  • the action frame 300 comprises a plurality of frames 302.
  • Each frame can be one of three different types.
  • the three types of frames include: a program logic frame, an operation frame or a condition frame.
  • a program logic frame includes such program logic as jumps, both conditional and unconditional, etc.
  • a frame may assign a value to a timer, a variable or a digital or analog I/O port.
  • FIG. 16 A high level block diagram illustrating an illustrative example of a frame implementing an action is shown in Figure 16.
  • the action 310 comprises six frames with the first frame 312 being an operation type frame.
  • Frame 312 assigns the value 10 to the variable entity 'A'.
  • Frame 314 assigns the value of variable 'C to 'B'.
  • the next frame 316 is a conditional type frame. If the value of variable 'A' is greater than that of 'B' control passes to frame 318 which outputs the value of variable 'E' to an output port.
  • control passes straight to frame 320 which is an operation type frame which assigns the value 2 to the variable 'D'.
  • the last frame 322 is a program logic type frame which performs a return function.
  • a high level flow diagram illustrating the execution sequence of a frame is shown in Figure 17.
  • the method of processing a frame begins with reading the p-code for the next frame to be executed (step 330).
  • the frame is then analyzed in accordance with the instructions contained within the p-code (step 332). Any values of extemal input signals or intemal entities, e.g., variables, timers, etc., that are needed to properly analyze the frame are then read (step 334).
  • the command within the frame is then performed and the appropriate output signals or entity value changes are then generated in accordance with the command (step 336).
  • the action taken by a frame may generate a digital or analog output signal, a motion control output, e.g., closed loop motion control, a change to a database entry, a message to be transmitted over the network, data to be displayed on the operator's console, etc.
  • a motion control output e.g., closed loop motion control
  • the following is a list of commands that make up the frames of an action. These commands are executed by the action execution unit 216 ( Figure 11) in the real-time- kernel.
  • TRACE ⁇ entity> trace command to show the values of entities, actions, formulas or subroutines
  • COUNTER RESET/START/UP/DOWN/NEXT counter function with options to start, reset, count up, down, etc.
  • DOSUB ⁇ sub name> perform subroutine having sub name
  • DIGITAL OUTPUT ON/OFF ⁇ port> set specified digital output port to either '0' or a '1 '
  • MOTION profile includes motion function supplied by the motion control board
  • action frames can be generated that implement the user's application 182 ( Figure 10). More particularly, the frames making up the actions implement the combination of event triggers, event actions and the logic of the user's application.
  • the real-time compiler 184 functions to generate the p-code that is utilized by the event triggers evaluation module 212 and the action execution unit 216.
  • FIG. 18 A block diagram illustrating the open bus node controller of the present invention incorporating a fuzzy logic subsystem coupled to the rule based expert system and to a network, sensors and I/O devices is shown in Figure 18.
  • the node controller 420 is similar to that of Figure 4 and comprises one or more interface circuitry boards 20 coupled to a bus.
  • the interface circuitry boards can be any widely available off the shelf third party automation control I/O board designed for either generic or specific applications.
  • the bus can be any commonly used generic conventional bus, such as any of the buses discussed below.
  • a network interface card (NIC) 24 provides the interface circuit boards connectivity to the network 18.
  • An embedded processor 56 controls and manages the node controller, functioning to control the communication between the interface circuitry boards and the NIC.
  • the embedded processor 56 comprises a rules based control expert system 342 and a fuzzy logic subsystem 340.
  • the fuzzy logic subsystem 340 utilizes the fuzzy rules and membership functions database 354 in performing fuzzy calculating and analysis.
  • the embedded processor is also capable of executing Java applets 50 and application p-code control applications 52 developed on the development system.
  • the local bus permits ⁇ certain portions of an application program to be implemented in the node controller as a form of distributed or cooperative automated control processing.
  • the NIC and the I/O boards permit the local attachment of various analog and digital sensors, thus creating an integrated smart sensor attached to the network.
  • the node controller 420 combines the flexibility of two methodologies: expert system rule based control with the intelligence of a fuzzy logic subsystem.
  • the capabilities of the expert rule based control system are extended to provide fuzzy intelligence.
  • the expert rule based control system is utilized to provide the control functionality of the application and the fuzzy logic subsystem is utilized to provide fuzzy intelligent capabilities.
  • the entire combined embedded processor can be implemented using available open system components such as commercially available microprocessors, e.g., Intel Pentium, PowerPC, Motorola 68000, etc.
  • the control system application can be developed and simulated utilizing a commercially available operating system such as Windows NT, UNIX, etc.
  • an executable boot program can be generated which, in turn, can be loaded and executed directly on the target microprocessor or embedded system. Described hereinbelow is a methodology that delivers an intelligent control system application that combines a rule based expert system with fuzzy logic inference capabilities. As shown in Figure 19, the expert system is coupled to the input sensors and output actuators while the fuzzy logic subsystem comprises its own separate fuzzy rules and membership functions. More detailed descriptions of fuzzy rules, linguistics and semantics can be found in A Course in Fuzzy Systems and Control, Wang, Li-Xin, Prentice Hall, 1997, chapters 5 and 6, incorporated herein by reference.
  • the embedded processor 56 comprises an expert rule based control system 342 which receives input signal from sensors and other input device 352 and generates output signals to actuators and other output devices 344.
  • the expert rule based control system 342 interfaces with the fuzzy logic subsystem 340.
  • the fuzzy logic subsystem 340 comprises a fuzzy logic processor 350, fuzzification module 346, defuzzification module 348 and a fuzzy rules and membership- function database 354.
  • the two subsystems i.e., expert rule based control subsystem and fuzzy logic subsystem, interface which each other to provide enhanced intelligent control.
  • the expert system 342 may, during its operation, assign a value to one or more fuzzy variables. This is denoted as crisp input which is applied to the fuzzification module 346 in the fuzzy logic subsystem 340.
  • the expert system may include as part of its rules and actions, an evaluation of one or more fuzzy variables. Once the expert system triggers an evaluation of a fuzzy variable, the fuzzy logic processor 350 performs a fuzzy evaluation of the variable. Once performed, a defuzzification process 348 is performed on the results of the evaluation. The defuzzification process generates crisp output which is passed back to the expert system.
  • FIG. 20 A flow diagram illustrating the fuzzy evaluation method performed in the embedded processor is shown in Figure 20.
  • the rale based expert system performs event processing on a continuous basis (step 360).
  • the expert system may request the evaluation of a fuzzy variable as they may be freely incorporated into the rales and actions associated with a control application.
  • it is continuously checked whether the evaluation of a fuzzy variable is required to be performed (step 362). If so, the crisp input that is output by the expert system is fuzzified into one or more fuzzy values by the fuzzification module 346 ( Figure 19) (step 364).
  • the fuzzy evaluation is then performed by the fuzzy logic processor 350 (step 366). After the evaluation is complete, the fuzzy results are defuzzified into crisp output before being transmitted back to the expert system (step 368).
  • VELOCITY is a fuzzy output variable that may have the values Slow or Fast
  • the fuzzy rules for the system are the following:
  • control rale for this example is the following: 1. When (MainTimer is DONE) AND (Evaluation ⁇ VELOCITY ⁇ >70) Then Turn On Actuator A Note that control rales may reference numerous types of elements such as digital and analog entities, timers, counters, etc. In the above example control rale, a deterministic timer 'MainTimer' and the fuzzy variable VELOCITY have been combined within the rule. The control rule above would be verified as follows: 1. Check whether timer MainTimer is finished 2. Evaluate the fuzzy variable VELOCITY utilizing inference from the four fuzzy rules shown above. The result is that only when both conditions are met will the associated action, i.e., turning on sensor A, be performed.
  • FIG. 21 A flow diagram illustrating the methodology to constructing an fuzzy expert system utilizing the OpenBus system of the present invention is shown in Figure 21.
  • the first step is to define the fuzzy rales, variables and associated membership functions which make up the fuzzy control system application (step 370).
  • the rules, variables and membership functions are compiled using a fuzzy logic compiler to generate real time executable code that can be loaded into memory for execution on a processor (step 372).
  • the executable code can be ran, for example, on a standard OS hosted PC or a boot program can be generated therefrom to permit an embedded processor to run the control application, i.e., a runtime version of the fuzzy logic, subsystem.
  • each control application can be considered a miniature OS, with all the requisite functionality contained therein, including the fuzzy logic subsystem and any necessary operating system components such as networking, file I/O, communications, memory management, process scheduler, etc.
  • the executable code is loaded into the program memory associated with a processor (step 374).
  • the fuzzy logic subsystem is activated and its operation is begun (step 376).
  • the compiler functions to translate the fuzzy rules, variables and membership functions defined in step 370 into machine code than can be executed on a processor.
  • fuzzy rules, variables and membership functions i.e., source data
  • one skilled in the compiler art could construct a compiler to transform the source data into machine code.
  • Standard commercially available compiler generators can also be utilized to construct a suitable compiler.
  • the compiler processes the fuzzy rales, variables and membership functions, which make up the input to the compiler, so as to generate executable code which effects the fuzzy logic subsystem, i.e., the fuzzy control application.
  • the executable code generated permits the fuzzy logic subsystem to perform fuzzy evaluations and related fuzzy processing substantially in real time, e.g., milliseconds.
  • FIG. 22 A diagram illustrating the various types of output generated by the fuzzy compiler is shown in Figure 22.
  • the fuzzy compiler 380 functions to generate four types of output: (1) optimized machine code 382 (2) math processing code for membership function calculations 384 (3) fuzzy evaluation trigger code 386 and (4) universe of discourse precalculation data 388.
  • the optimized machine code 382 is output by the compiler utilizing the same methodologies as the rule based expert system as discussed in connection with Figures 9 through 17.
  • the output comprises the fuzzy rules and control logic as optimized machine code ready to execute on the embedded processor. This method enables a high degree of efficiency for execution of real time applications.
  • the mathematical processing portion 384 of the output comprises machine code for performing membership function calculations. Input to the compiler, in addition to control rules and variables, are the membership functions associated with the variables.
  • the compiler is operative to process the fuzzy membership functions to generate _ appropriate machine code that executes on the embedded processor.
  • the compiler Preferably, the compiler generates code able to execute on the math coprocessor if the target embedded processor comprises one. This step improves the performance of the control application since the fuzzy membership function calculations represent a large part of the total fuzzy processing.
  • the compiler For each membership function, the compiler generates appropriate machine code which can be executed by the math coprocessor (if the embedded processor has one).
  • the fuzzy compiler functions to read the formulas or equations making up the membership function and generate machine code which can be executed on the moth coprocessor of the embedded processor.
  • control passes to the machine code associated with the formula.
  • the machine code generated by the compiler may correspond to any or all of the following:
  • motion control parameter values e.g., encoder position, velocity, etc.
  • the fuzzy membership function be evaluated as quickly as possible. It is thus preferable that the machine code generated by the compiler be able to execute on the math coprocessor of the embedded processor in order to reduce computation delays.
  • the following example illustrates the source code that is generated in response to a mathematical formula.
  • the execution steps performed to evaluate the formula are also illustrated.
  • the use of the stack structure within the math coprocessor of the embedded processor to evaluate the formula eliminates the need to move data within the memory during execution.
  • the example formula is as follows: + [£ - sin(C- E>)]
  • A represents the value read from an analog port associated with an analog sensor.
  • B represents the encoder value read from an attached servo motor.
  • C and D represent working variables within the system.
  • the compiler In response to Equation 1 , the compiler generates the following machine code which can be executed directly on the math coprocessor. The code generated is executed each time the formula needs to be calculated. FLD A push A onto the stack
  • FIGs 23A through 23F Diagrams illustrating the contents of the stack during the calculation of an example membership function are shown in Figures 23A through 23F.
  • the relevant frames 392 of the stack 390 are shown.
  • the results of the stack after execution of the FLD A instruction is shown in Figure 23 A.
  • the value A has been pushed onto the top of the stack 390.
  • the results of the stack after execution of the following three FLD instractions is shown in Figure 23B.
  • the first four stack location contain the values D, C, B, A.
  • the Fmul instraction performs a floating point multiplication on the top two stack locations.
  • the results of the Fmul instruction are shown in Figure 23C.
  • the next instraction Fsin calculates the sin function of the top of stack value.
  • the results of the Fsin instraction are shown in Figure 23D.
  • the Fsub instruction subtracts the top of stack value from the next to top of stack value.
  • the results of the Fsub instruction are shown in Figure 23E.
  • the Fadd instraction adds the values in the top two stack locations.
  • the results of the Fadd instraction are shown in Figure 23F.
  • the above example is presented to illustrate the principle of the present invention.
  • the third type of output generated by the compiler comprises code fir implementing the fuzzy evaluation triggers 386. Since the fuzzy evaluation process (including fuzzification and defuzzification processes) consumes large amounts of computational resources, it is preferable that the fuzzy evaluation occurs only when a change occurs since the previous evaluation.
  • the variable triggers serve to provide the information needed to determine whether a new fuzzy evaluation is required. If no changes have been detected, the application utilizes the previous evaluation. This insures that the fuzzy logic subsystem performs the evaluation only on an as needed basis.
  • the system utilizes a link list structure to determine which output variables are effected when an input values changes.
  • a diagram illustrating the linked structure created to update fuzzy output variables when related fuzzy input variables have changed is shown in Figure 24.
  • the system uses this linked list structure to determine whether a defuzzification process is required to be performed.
  • the fuzzy input variable 400 has associated with it all the output variables that would be affected by a change in the particular input variable.
  • four output variables 402, 404, 406,408 are shown linked by pointers to the input variable in a standard forward linked list fashion.
  • the compiler For each fuzzy input variable, the compiler maintains a link list structure of all the fuzzy output variables that need to be recalculated as a result of a change in the fuzzy input variable. During operation, the dependence of output variables on a particular input variable is already known since the dependencies were determined at compile time.
  • a flow diagram illustrating when fuzzy output variables are evaluated is shown in Figure 25.
  • the fuzzy calculation of a particular fuzzy output variable can be triggered when (1) a corresponding fuzzy input variable changes or (2) when the fuzzy output variable is part of an expert system rale.
  • a fuzzy output variable is evaluated when a fuzzy input variable is assigned a new value (step 410).
  • the control system detects a change in the value of a fuzzy input variable, it scans the appropriate linked chain of . fuzzy output variables that are affected by this change. For each of the fuzzy output variables in the linked chain, a defuzzification process is scheduled which functions to assign a new value to any affected fuzzy output variables (step 414).
  • a fuzzy calculation of an output variable occurs (step 414) when the fuzzy output variable is part of an expert system rale (step 412).
  • the fuzzy output variable VELOCITY part of the expert system rule below, would trigger an evaluation when the rale is checked. 1. When (MainTimer is DONE) AND (Evaluation ⁇ VELOCITY ⁇ >70) Then Turn On Actuator
  • the user has specifically requested to evaluate the value of the fuzzy output variable VELOCITY.
  • the forth type of output generated by the compiler is the universe of discourse precalculation data 388.
  • the precalculation of the universe of discourse quantitization is optional but it improves the performance of the control application if performed.
  • Part of the fuzzy evaluation process involves the computation of the fuzzy variable universe of discourse, i.e., the range of all possible values, utilizing the fuzzy membership functions.
  • the data is calculated in accordance with specified quantization of the particular range in combination with the fuzzy variable membership functions.
  • the precalculation data are performed by the compiler and the results are stored in memory assessable by the embedded processor.
  • the precalculation may also be stored in a database accessible to the embedded processor 354 ( Figure 18).
  • the fuzzy evaluation process uses the precalculated values of the fuzzy variables so as to save significant processing time. If the universe of discourse data is not precalculated, the embedded processor would be required to perform the calculations, with the possible results that real time response time, e.g., milliseconds, could not be provided.
  • fuzzy logic for control applications and methodologies including linear, nonlinear and adaptive systems, is described in more detail in A Course in Fuzzy Systems and Control, Wang, Li-Xin, Prentice Hall, 1997, chapters 16 and 26, incorporated herein by reference.
  • a key feature of the present invention is the ability of the embedded processors that execute the control application to communicate with each other via a communication network thus effecting a distributed control logic system.
  • a high level block diagram illustrating the use of agents to distribute both expert rule based system processing and fuzzy logic subsystem processing among other OpenBus controller nodes is shown in Figure 26.
  • Two or more OpenBus node controllers 420, each executing a control application and receiving input from sensors and generating output to actuators, can communicate via the network 18 which may comprise any suitable communication means such as a LAN, WAN or even the Internet.
  • the embedded processor within each node controller communicates with other node controllers using what are known as agents.
  • Each node controller comprises a communication transport layer which provides the communication and network services to the control application.
  • the communication transport layer may comprise any standard communication protocol or stack that is commercially available, such as TCP/IP, IPX/SPX, etc.
  • the physical and link layers may comprise any standard communications such as Ethernet, Token Ring, FDDI, etc.
  • each node controller enables, for example, a fuzzy evaluation to be performed on one networked embedded processor and the crisp output value to be sent to a second networked embedded processor.
  • a fuzzy control application can be establish over a cluster of standard embedded processors, with the connectivity of all embedded processors to each other provided via the communications network. Further, each embedded processor performs its localized tasks while communicating with other embedded processors to create a fully distributed control logic application.
  • FIG. 27 A flow diagram illustrating the agent handling method of the present invention is shown in Figure 27.
  • each node controller performs the tasks making up the control application (step 430).
  • Event handling is a major task performed by each node controller.
  • One of the events checked for includes scanning for agents that have arrived from other node controllers (step 432). If the arrival of agent is detected (step 434) the agent is immediately activated (step 436). Once activated, the contents of the agent are processed (step 438).
  • any of the embedded processors in a node controller can request another networked node controller to perform a fuzzy evaluation to send the crisp output results back to it over the communications network.
  • the requesting node controller sends a suitable agent to the node controller that is to perform the fuzzy evaluation.
  • the agent sent to the node controller contains the crisp input generating by the requesting node controller.
  • the node controller that performs the fuzzy evaluation functions to package the crisp output results of the fuzzy evaluation in an agent which is sent back to the requesting node controller over the
  • FIG. 28 A flow diagram illustrating the agent processing method performed when the arrival of an agent has been detected is shown in Figure 28.
  • the crisp input is extracted from the agent (step 440).
  • the fuzzy logic subsystem within the node controller fuzzifies the crisp input (442) to generate a fuzzy input before performing a fuzzy evaluation (step 444).
  • the results of the fuzzy evaluation are then defuzzified to yield crisp output (step 446).
  • the crisp output is placed in an agent and transmitted over the network to the requesting node controller (step 448).
  • FIG. 29 A block diagram illustrating the passing of agents from one node controller to another is shown in Figure 29. Two node controllers are shown: node controller #1, referenced 450, and node controller #2, referenced 454. Node controller #1 is coupled to one or more sensors and/or actuators 452 and node controller #2 is coupled to one or more sensors and/or actuators 456. Node controllers 450, 454 are constructed similarly to the node controller 420 shown in Figure 18. For clarity purposes, the node controllers shown in Figure 29 are shown simplified. In order to activate an agent, the agent must first be created in a node controller.
  • node controller #2 declares one or more agents 458, labeled agent #1, agent #2, agent #N.
  • agents 458 labeled agent #1, agent #2, agent #N.
  • One way of implementing agents within a node controller is as a stored procedure that is executed by the embedded processor when it is invoked.
  • An agent can be invoked from an extemal node controller located at a remote site. Both node controllers are coupled to a communications network (not shown for clarity sake) to permit communications therebetween.
  • node controller #1 When node controller #1 wants to invoke an agent located on node controller #2, it transmits over the network a request to node controller #2 to activate a particular agent. Along with the request, node controller #1 transmits one or more parameters (PI, P2, P3, for example) that originated at node controller #1. Upon receiving the request from node controller #1, node controller #2 activates the appropriate agent in accordance thereto. The agent, once activated, performs the specific tasks and functions it was designed to do and transmits an acknowledgment back to the requesting node controller, i.e., node controller #2. In this manner, the present invention provides distributed communications and processing between a plurality of node controllers making up a distributed control application.
  • PI PI, P2, P3, for example
  • FIG. 30 A block diagram illustrating an example distributed control application utilizing a control server and an I/O client is shown in Figure 30.
  • Two node controllers are shown: node controller #1, referenced 460, and node controller #2, referenced 462.
  • Node controllers 460, 462 are constracted similarly to the node controller 420 shown in Figure 18.
  • the node controllers shown in Figure 30 are shown simplified.
  • both node controllers are coupled to a communications network 464 to permit communications therebetween.
  • node controller #2 is connected to one or more servo motors 466, one or more encoders 468 and possibly other sensors and/or actuators 470.
  • a node controller can be implemented integral with a personal computer as described hereinabove.
  • node controller #1 is implemented on a PC which serves as a generic operating system.
  • Numerous different control applications can be executed on the node controller, for example, applications involving motion, such as machines and robots.
  • the PC permits full integration with other process control elements.
  • the system enables closed loop motion control via a network 464, wherein the network may comprise LAN/WAN/Intemet.
  • the network may also comprise a standard control bus such as Profibus, Interbus, etc.
  • Node controller #1 functions as the control application server, containing the motion and process control portion of the control application.
  • the motion and process control on the server are implemented by defining steps, rules and actions which are translated to p-code or machine code executed on the server (node controller #1).
  • the motors and/or servo motors 466 making up the machine or robot are connected to node controller #2 which functions as an I/O client.
  • the encoders 468 and other sensors and actuators 470 are connected to the I/O client.
  • the I/O client node controller #2 implements a high speed counter which counts the actual motion pulses.
  • the count data, encoder and other sensor data is input by the I/O client (node controller #2) and transmitted to the control application server (node controller #1) via one or more agents.
  • the input data received via the agents are processed and, in response, output commands for driving the servo motors are generated and transmitted back to the I/O client also via agents.
  • a motion trajectory can be executed over the control network between the control application server and servo motors connected to the I/O client.
  • the encoder position data, sent over the network is also utilized by the control application on the server to accurately control the motion of the machine or robot.
  • the compiler Utilizing relatively simple commands as expressed in the rules and actions, the compiler, generated code to implement dynamic trajectory tracking.

Abstract

A control system for enabling I/O boards to access communication networks for receiving and transmitting real time control information over a communication network (18) including a control bus, a node controller (10) and a development system (180). The node controller includes an expert rule based control system and a fuzzy logic subsystem. The fuzzy logic subsystem (340) is used to perform fuzzy evaluations of control data and variables. The fuzzy control system is defined by the user using fuzzy rules, variables and membership functions (354). A plurality of node controllers connected via a network can send and receive data via agents thus enabling a distributed control application. External hardware that connects to I/O devices (26) such as sensors, motors, monitors, machines, etc. can be connected to the node controller via I/O boards that receive and transmit digital signals, representing control information, to the bus. The bus allows any I/O control board (20) having a common interface, such as ISA, PCI, Compact PCI, etc., to connect to the bus by attachment to one of its slots.

Description

OPENBUS SYSTEM FOR CONTROL AUTOMATION NETWORKS INCORPORATING FUZZY LOGIC CONTROL
FIELD OF THE INVENTION The present invention relates generally to computer communication networks and more particularly relates to a system for implementing a control automation network utilizing rule based control in combination with fuzzy logic based decision making.
BACKGROUND OF THE INVENTION
Openness in the world of automation means being able to buy a variety of products from a variety of vendors and have everything work together seamlessly. To be truly open, however, means the network or platform is accessible to anyone and there is more than one source of enabling technology, i.e., microprocessors and application code. Openness promises significant savings in both time and money. However, recent attempts at openness have not lived up to the promise. The current market trend is to move to an open, modular architecture controller that will include a horizontal integration of the currently existing fragmented technologies. Currently, most computerized numerical control (CNC), motion and discrete control applications incorporate proprietary control technologies. There are numerous difficulties associated with using proprietary technologies. These include such things as vendor dictated pricing structures, non common interfaces, higher integration costs and the requirement of specific training for troubleshooting and operation. Separate controller elements, a modularity concept and higher level requirements for various elements of an open modular architecture controller are becoming a necessity in a growing number of industries. The expected benefits of having open and modular architecture controllers include reduced initial investments, low life cycle costs, maximized machine uptime, minimized machine downtime easy maintenance of machines and controllers, easy integration of commercial and user proprietary technologies, plug and play of various hardware and software components, efficient reconfiguration of controllers to support new processes, incorporation of new technologies and the integration of low cost, high speed communication in machining lines for transferring large amounts of data.
The technology that can enable the new trends and requirements supplied by the personal computer (PC) standards connectivity and communications, the 'Plug and Play' standard for PC cards is becoming a way of life. Within the control industry, the PC is becoming increasingly recognized as a viable technology that will enable the required flexibility and performance.
In today's large automation market, there is a growing number of PC board manufacturers that produce a variety of boards. These boards are targeted towards automation implementation that use the PC and the control platform. Since automation data networks implements a proprietary technology that are not very open for 'Intranet communication. '
Traditional Automation and Control Layer networks are typically medium sized and function to connect PLCs or PCs to related devices within cells or throughout the plant. These networks send small to medium sized packets of data repetitively and have millisecond response times
A high level block diagram illustrating an example prior art proprietary control network including proprietary programmable logic controllers, sensors and I/O devices is shown in Figure 1. A proprietary network 33 (e.g., Fieldbus) forms the core of the automation control system. Connected to this network are programmable logic controllers (PLCs) 34 which as also proprietary. Connected to the PLCs 34 are the sensors and other I/O devices 32. The proprietary PLCs implement the Automation and
Control Layer functionality and the sensors and I/O devices implement the Information and Device Layer. Traditionally, a single manufacturer was able to provide the necessary connectivity with its own network and PLC products and those of qualified third parties.
This is not a trivial task as the lead manufacturer must assist these third parties throughout the development process and even after products start to ship. The lead manufacturer, typically the one making the controllers, assumes network ownership by providing specifications, enablers, e.g., chips and software, and test suites for compliance and interoperability. Examples of previous attempts at openness in the field of industrial networking include the Fieldbus and manufacturing automation protocol (MAP). Both buses are open networks that are not currently meeting user expectations. The MAP bus is not in widespread use today and most vendors have dropped development of MAP products. One of the problems is that although the products have been designed in accordance to a standard specification, many versions of a specification are in use at any one time. In addition, many so called open products require unique configuration software which is only available from the manufacturer of the product. Thus, it becomes a difficult task to get products from different vendors, all built to different versions of a specification, to interoperate together correctly.
Fieldbuses are a special form of local area networks dedicated to applications in the field of data acquisition and the control of sensors and actuators in machines or on the factory floor. Fieldbuses typically operate on twisted pair cables and their performance are optimized for the exchange of short point to point status and command messages. Numerous other Fieldbuses are in existence such as Filbus, Bitbus, FIP, CAN and Profibus standard networks.
Traditional automation and control applications are based around classical binary logic which asserts that every proposition must be either true or false. Recently, however, the use of fuzzy logic has been steadily increasing. Fuzzy logic asserts that each proposition can be true or false as in classical logic but, in addition, asserts that each can also be somewhere in the middle. The use of fuzzy logic within various experts systems is increasing as a way to better model the ambiguousness or vagueness of the real world.
The crisp categories of traditional logic, i.e., 0 or 1, make it difficult when attempting to represent ambiguous events in the real world. Whether designing hardware or software, crisp logic, i.e., classical 0 or 1 logic, forces the user to quantize the world into a discrete set of categories that often do not quite fit the fuzziness of their application. Fuzzy logic overcomes this problem by allowing any shade of gray between 0 and 1 to be directly represented. Each fuzzy parameter has a range of values it can take on, such as slow to fast. In addition, each input has a unique mapping for its range called a membership function. As mentioned above, traditional logic permits only two truth values, 0 and 1 , true or false, yes or no. These crisp values provide only two levels of set membership: either an element is a member of the set or it is not a member. This is a the principle of traditional logic: the law of the excludable middle. Although the law of the excludable middle appears incontrovertible, it is routinely violated by real events in the real world. For example, a valve can often be almost off or the fluid passing through it slightly warm. Real world events can rarely be classified in distinct sets unambiguously.
Traditional logic precisely matches the problem, for example, in pure data processing applications where accuracy is desired when dealing with dollars and cents. However, when dealing with objects in the world, for controlling or modeling real-time events, when interfacing with real people and in numerous other situations, traditional logic is not a good fit. The real world is not packaged into crisp binary packets.
It would be desirable to combine fuzzy logic capability into a control automation system to better approximate the real world. Degrees of set membership, a concept inherent to fuzzy logic, is a conceptualization that allows natural objects in the real world to be directly represented as they exist, while being able to process data with general rules of logic. It permits ranges of membership, such as slow to fast, small to large and light to heavy, to be directly represented, rather than artificially quantizing them merely to be able to process their data. Previous attempts at incorporating artificial intelligence (Al) have failed in large part due to being forced to use tools that are too precise for the task. Typical Al expert systems use rule sets that grow very large as the application becomes more and more complex. Typical Al systems require hundreds to thousands of precise, crisp if-then rules to mirror the natural fuzziness of the real time world. Equivalent fuzzy logic system, however, typically have tens of rules, an order of magnitude less. This is because the fuzzy parameters in its rules vary so as to apply to a wide variety of cases. In addition, engineers are often requested to solve real world problems with tools of traditional logic that are too tedious and unwieldy. For many engineering problems, high precision is not needed, particularly when machines are to perform tasks previously performed by humans. Typical applications that are targeted by inference engines, such as real time control, often still require human to observe and react based on experience, e.g., subway train operators. A fuzzy logic inference engine can assist in cases such as these by utilizing a fuzzy rule based expert system. Fuzzy logic generalizes the Boolean rule 'if X implies Y and X is true, then Y is true.' By substituting infinitely variable parameters for true and false, fuzzy propositions enable different premises to arrive at different conclusions using the same implication rules. Instead of all or none comparisons, a fuzzy processor performs minimum and maximum comparisons. Rather than compare digital Is and Os, fuzzy controllers compare variable truth values using minimum and maximum comparison operations.
Fuzzy logic permits an engineer to design expert system like applications which rival the performance of far more complicated Al applications built by specially trained knowledge engineers. Fuzzy logic utilizes ordinary language concepts which are inherently fuzzy rather than any specialized vocabulary. Designing an application using fuzzy logic should be easier than with traditional techniques since the ordinary language concepts that described a problems solution do not have to translated into crisp digital programs to perform meaningful control functions. Further, fuzzy logic control systems are typically smoother due to their inherent intelligence.
Using fuzzy logic, a designer can use fuzzy concepts which apply to an entire range of performance and scale the system's actions to smooth out its operation. The designer does not need to define each situation explicitly, rather the whole range of the system's performance is represented by the membership function, that shows the appropriate response in every case. The fuzzy rules are derived from ordinary language under control of a membership function. For example, a rule in an Al expert system might be "If the pressure is X, then Y the feed valve." A separate rule would be needed for each particular X value considered in the system. In an equivalent fuzzy logic based system, the same rule can be used with X and Y replaced by appropriate membership functions. Thus, the same rule can replace tens or hundreds of crisp quantized rules in the Al system. Utilizing fuzzy rules such as these, a fuzzy knowledge base can be created for an application without requiring a knowledge engineer. SUMMARY OF THE INVENTION
The present invention comprises a novel control automation system for enabling I/O boards to access communication networks for receiving and transmitting real time control information over a communication network. The system combines a rule based expert system with a fuzzy logic subsystem which implements a fuzzy logic inference engine. The system includes a control bus, a node controller and a development system. External hardware that connects to I/O devices such as sensors, motors, monitors, machines, etc. can be connected to the invention via I/O boards that receives and transmit digital signals, representing control information, to the bus. The bus functions as the hub of operation, receiving network communications, processing cooperative logic and transmitting information over the communication network. The bus enables single or multiple controllers to access real time information generated by the attached hardware. The bus also enables the execution of I/O operations that originated in external controllers and transmitted over the communication network. The bus allows any I/O control board having a common interface, such as ISA, PCI, Compact PCI, etc., to connect to the bus by attachment to one of its slots. An intelligent embedded implementation process provides the logic necessary to enable the connectivity between the I/O boards and the communication network.
The development system includes a real-time compiler for generating p-code to be executed on the target system. The compiler also generates the code required to implement the fuzzy logic subsystem including the fuzzy rules, variables and membership functions as defined by the control application. The target system, e.g., the node controller, runs the real-time kernel. The target system can be a PC running a commercially available operating system such as Windows NT, VxWorks, Lynx, etc. The real-time compiler generates p-code from the combination of event triggers, event actions and program logic making up the user's application. External input signals and entities such as variables, timers, etc. are analyzed and used to trigger events in the real-time kernel. Based on the program logic as expressed in the p-code, various actions are taken in response to changes in the values of the external input signals and/or entities. The real-time kernel functions to implement a state machine that receives inputs and generates outputs. The actions taken by the system are represented as a sequence of frames with each frame representing a unit of action.
Changes in the value of external input signals and/or entities trigger one or more events. Each event points to an action, i.e., a set of frames. These actions are then analyzed and executed.
The present invention can be adapted to provide a comprehensive environment for development and execution of fuzzy control application. The system combines rule based control with a fuzzy expert subsystem. The deterministic rule based methodology of the present invention can be used to control an application and the fuzzy expert subsystem can be used to provide fuzzy expert capabilities.
The system is comprised of two subsystems (1) an expert rule based control subsystem and (2) a fuzzy logic subsystem. Both can interface to each other to provide enhanced intelligent control. The expert system can assign a value to one or more fuzzy variables. The crisp input is fuzzified before being processed by the fuzzy logic processor. The expert system may include as part of its rules and actions, an evaluation of one or more fuzzy variables. Once the expert system triggers an evaluation of a fuzzy variable, the fuzzy logic processor performs a fuzzy evaluation of the variable. After processing, a defuzzification process generates crisp output which is passed back to the expert system. For more information on the theory of fuzzy logic control systems, the reader is directed to A Course in Fuzzy Systems and Control, Wang, Li-Xin, Prentice Hall, 1997, chapters 1 through 4, incorporated herein by reference.
There is therefore provided in accordance with the present invention a control automation system for controlling a plurality of input and output (I/O) devices in accordance with a control application, the system connected to a network for communicating control automation information, the system comprising a development system optionally coupled to the network, the development system generating p-code embodying event triggers, event actions, program logic and fuzzy rules, variables and membership functions implementing the control application and at least one node controller coupled to the network for executing in real-time the p-code generated by the development system and for implementing a fuzzy logic inference engine. The node controller comprises processor means for managing and controlling the operation of the node controller. The processor means for executing a real-time kernel, - the kernel implementing the control application embodied in p-code and implementing the fuzzy logic inference engine. Also included are network interface means for connecting the node controller to the network, I/O device interface means for connecting the node controller to the plurality of I/O devices and bus means for interconnecting together the real-time kernel, the network interface means and the I/O interface means.
The node controller comprises means for implementing an expert rule based control system and means for implementing the fuzzy logic inference engine. Further, the development system comprises a compiler for generating p-code, machine code, code adapted to be executed on math coprocessor means, code realizing one or more fuzzy evaluation triggers and code including precalculated data of the fuzzy universe of discourse, all in accordance with the event triggers, event actions, fuzzy rules, fuzzy variables, fuzzy membership functions and program logic of the control application. The kernel means comprises an external input signal scanner for reading, storing and determining changes to external input signals received from the plurality of I/O devices, an event triggers evaluation module for detecting changes to the external input signals and internal entities, the event triggers evaluation module for determining and resolving all event triggers corresponding to the detected changes, a scheduler for marking all actions corresponding to the event triggers that resolve true, an action execution unit for executing and implementing the actions marked for execution by the scheduler, an entity processor for determining any changes to values assigned to an entity, the entity processor notifying the event triggers evaluation module of the entity value changes and means for determining when a fuzzy evaluation is required to be performed.
There is also provided in accordance with the present invention a node controller apparatus for use in a control automation system, the system for controlling a plurality of input and output (I/O) devices in accordance with a control application, the system including a network for communicating control automation information, the apparatus comprising processor means for managing and controlling the operation of the node controller, the processor means for executing a real-time kernel, the kernel implementing the control application embodied in p-code and for implementing a fuzzy logic subsystem, network interface means for connecting the node controller to the network so - as to enable the transfer of one or more agents between node controller connected to the network, I/O interface means for connecting the node controller to the plurality of I/O devices and bus means for interconnecting together the processor means, the kernel means, the network interface means and the I/O interface means.
The processor means comprises means for implementing an expert rule based control system and means for implementing the fuzzy logic inference engine. The processor means may also comprise an expert rule based control system adapted to receive a plurality of input sensor signals from one or more input sensors and adapted to output a plurality of output sensor signals to one or more actuators and a fuzzy logic subsystem for implementing a fuzzy logic inference engine, the fuzzy logic subsystem adapted to receive crisp input data from the expert rule based control system, perform fuzzy processing on the input data to yield crisp output data. In addition, the fuzzy logic subsystem comprises fuzzification means for transforming the crisp input to fuzzy input, fuzzy logic processing means for performing fuzzy calculations and processing of the fuzzy input and generating fuzzy output in response thereto, defuzzification means for transforming the fuzzy output into crisp output and means for operating the fuzzy logic processing means in accordance with the fuzzy rules, fuzzy variables and associated fuzzy membership functions contained within the control application.
There is further provided in accordance with the present invention a control automation system for implementing a distributed control application, the system connected to a communication network, the system comprising a plurality of node controllers, each node controller comprising expert rule based control system means for implementing the control application in accordance with one or more control rules, fuzzy logic subsystem means for implementing a fuzzy logic inference engine, the fuzzy logic inference engine for evaluating fuzzy variables, expressions and formulas in accordance with one or more fuzzy rules, fuzzy variables and associated membership functions, network interface means for connecting the node controller to the network so as to enable the transfer of one or more agents between node controllers connected to the network, I/O interface means for connecting the node controller to a plurality of I/O devices and bus means for interconnecting together the expert rule based control system means, the network interface means and the I/O interface means.
The fuzzy logic subsystem comprises fuzzification means for transforming the crisp input to fuzzy input, fuzzy logic processing means for performing fuzzy calculations and processing of the fuzzy input and generating fuzzy output in response thereto, defuzzification means for transforming the fuzzy output into crisp output and means for operating the fuzzy logic processing means in accordance with the fuzzy rules, fuzzy variables and associated fuzzy membership functions contained within the control application.
In addition, there is provided in accordance with the present invention, in a control automation system connected to a communication network, a method of implementing a distributed control application, the method comprising the steps of providing a plurality of node controllers wherein each node controller includes expert rule based control system means for implementing the control application in accordance with one or more control rules and fuzzy logic subsystem means for implementing a fuzzy logic inference engine, evaluating fuzzy variables, expressions and formulas in accordance with one or more fuzzy rules, fuzzy variables and associated membership functions making up the control application, connecting the node controller to the network so as to enable the transfer of one or more agents between node controllers connected to the network, connecting the node controller to a plurality of I/O devices and interconnecting together the expert rule based control system means, the network interface means and the I/O interface means.
The step of evaluating comprises the steps of detecting, in accordance with the control rules, that a fuzzy evaluation is to be performed, fuzzifying crisp input output by the expert rule based control system means to yield a fuzzy input, performing a fuzzy evaluation of the fuzzy input in accordance with the fuzzy rules, fuzzy variables and associated membership functions making up the control application to yield a fuzzy output, defuzzifying the fuzzy output to yield crisp output and sending the crisp output results to the expert rule based control system. Further, there is provided in accordance with the present invention, in a computer system, a method of generating p-code for execution on a node controller as part of a control automation system for controlling a plurality of input and output (I/O) devices in accordance with a user's application, the application including event triggers, event actions and program logic, the method comprising the steps of generating a plurality of pointer tables, each pointer table associated with either an external input signal or an entity, each pointer table comprising a plurality of pointer entries, each pointer entry pointing to an event trigger, generating an event trigger table, the event trigger table comprising a plurality of event trigger entries, each event trigger entry corresponding to an action that references the particular external input signal or entity that points thereto, generating a plurality of actions, each of the actions comprising at least one frame, the actions, the actions representing the generation of output signals and/or the modification of the internal entities and wherein the plurality of pointer tables, the event trigger table and the plurality of actions generated in accordance with the event triggers, event actions and program logic making up the user's application.
There is also provided in accordance with the present invention a kernel for implementation on a computing means, the computing means part of a control automation system for controlling a plurality of input and output (I/O) devices in accordance with a control application, the computing means including an expert rule based control system and a fuzzy logic subsystem, the kernel comprising an external input signal scanner for reading, storing and determining changes to external input signals received from the plurality of I/O devices, an event triggers evaluation module for detecting changes to the external input signals and internal entities, the event triggers evaluation module for determining and resolving all event triggers corresponding to the detected changes, a scheduler for marking all actions corresponding to the event triggers that resolve true, an action execution unit for executing and implementing the actions marked for execution by the scheduler, an entity processor for determining any changes to values assigned to an entity, the entity processor notifying the event triggers evaluation module of the entity value changes, means for determining when a fuzzy evaluation is required to be performed and means for sending crisp input to the fuzzy logic subsystem and receiving crisp output in response thereto. BRIEF DESCRIPTION OF THE DRAWINGS
The invention is herein described, by way of example only, with reference to the accompanying drawings, wherein:
Fig. 1 is a high level block diagram illustrating an example prior art proprietary control network including proprietary programmable logic controllers, sensors and I/O devices;
Fig. 2 is a diagram illustrating the various layers of the OpenBus control automation network of the present invention;
Fig. 3 is a high level block diagram illustrating a control automation network constructed in accordance with an embodiment of the present invention;
Fig. 4 is a block diagram illustrating the open bus node controller of the present invention connected to a network, sensors and I/O devices;
Fig. 5 is a flow diagram illustrating the embedded open bus control process of the present invention; Fig. 6 is a flow diagram illustrating the embedded system dispatch process of the present invention;
Fig. 7 is a diagram illustrating the bus width versus throughput for some of the buses in common use today;
Fig. 8 is a diagram illustrating the modular portions of the software making up the OpenBus automation system of the present invention;
Fig. 9 is a high level block diagram illustrating the development system environment of the present invention;
Fig. 10 is a block diagram illustrating, in more detail, the development system environment and the target system of the present invention; Fig. 11 is a block diagram illustrating the real time kernel of the target system in more detail;
Fig. 12 is a flow diagram illustrating the input signal scanner portion of the real time kernel of the target system;
Fig. 13 is a flow diagram illustrating the entity value change processing portion of the real time kernel of the target system; Fig. 14 is a flow diagram illustrating the event trigger scheduler portion of the real time kernel of the target system;
Fig. 15 is a block diagram illustrating the internal memory representation of the pointer tables used to implement event triggers and internal/external actions; Fig. 16 is a block diagram illustrating an example of a frame constructed to implement an action;
Fig. 17 is a flow diagram illustrating the execution sequence of a frame;
Fig. 18 is a block diagram illustrating the open bus node controller of the present invention incorporating a fuzzy logic subsystem coupled to the rule based expert system and to a network, sensors and I/O devices;
Fig. 19 is a block diagram illustrating the fuzzy logic subsystem portion of the embedded processor in more detail;
Fig. 20 is a flow diagram illustrating the fuzzy evaluation method performed in the embedded processor; Fig. 21 is a flow diagram illustrating the methodology to constructing an fuzzy expert system utilizing the OpenBus system of the present invention;
Fig. 22 is a diagram illustrating the various types of output generated by the fuzzy compiler;
Figs. 23 A through 23F are diagrams illustrating the contents of the stack during the calculation of an example membership function;
Fig. 24 is a diagram illustrating the linked structure created to update fuzzy output variables when related fuzzy input variables have changed;
Fig. 25 is a flow diagram illustrating when fuzzy output variables are evaluated;
Fig. 26 is a high level block diagram illustrating the use of agents to distribute both expert rule based system processing and fuzzy logic subsystem processing among other OpenBus controller nodes;
Fig. 27 is a flow diagram illustrating the agent handling method of the present invention;
Fig. 28 is a flow diagram illustrating the agent processing method performed when the arrival of an agent has been detected; Fig. 29 is a block diagram illustrating the passing of agents from one node controller to another; and
Fig. 30 is a block diagram illustrating an example distributed control application utilizing a control server and an I/O client.
DETAILED DESCRIPTION OF THE INVENTION
The present invention is a system for providing computer operated real-time process control with the means for interacting with an external system. The system combines an expert system ruled based control with a fuzzy logic inference engine. The present invention also provides a development system comprising a computer compiler for generating real-time code executable on a real-time kernel that resides in a target system. In addition, the present invention provides automation control over standard communication networks such as Ethernet and ATM. The system comprises an intelligent network I/O node controller for automation control that has a common interface with external processors and compilers. In addition, the network I/O node controller implements local logic to create an intelligent controller. A key aspect of the present invention is that automation control information can be transmitted on a conventional backbone network using a conventional connectivity protocol without the need for dual networks, i.e., one for standard data and one for automation control information. Further, a control bus in the intelligent network I/O node controller permits the use of off the shelf I/O cards for interfacing the node controller to input and output devices.
As stated previously, since conventional automation networks implement proprietary technologies they are not well suited for open Intranet communications. The OpenBus system of the present invention functions to fill the void to provide the infrastructure or 'infranet' for communications within a control environment, sensor and actuator level data is managed locally within the infranet but can be shared with higher level data networks through Intranets or other networking platforms. Using open APIs, devices within the infranet share process data and device status information with other nodes via the Intranet or the Internet. The OpenBus system of the present invention enables communication from sensors and actuators on the plant floor to the plant manager's desk anywhere in the world via the Internet, for example, resulting in a seamless network from I/O to the Internet.
OpenBus connectivity can be combined with Java applets in industrial applications making it possible for a plant manager, for example, to monitor, change or control any element of the industrial control system from the sensor all the way to a high level information system. Plant maintenance personnel can access devices at any point . in the network, gather data and make modifications. Service technicians can download new software to devices in the field using Java applets received through an Intranet or Internet connection. If technical support is required, a direct line can be established with a customer support representative to diagnose and repair devices remotely.
Utilization of OpenBus
Today, with the advent of more economical and more powerful microprocessors, the world has flattened and broadened. The factory floor, mirroring the organization in general, has seen the number of levels decrease and the span of control increase. With reference to Figures 1 and 2, this flatter, broader view of the world necessities fewer layers, namely: Information Layer 64, Automation and Control Layer 62 and a Device Layer 60 of Figure 2 rather than the two layers of Figure 1.
The Information Layer 64 comprises computers and associated software derived from a variety of suppliers on a variety of computing platforms. The Information Layer is the link between the automation and information environments via manufacturing information systems (MIS) and manufacturing execution systems (MES). Users choose the computing platform, software and operating system for their particular application.
Openness is required here because no one vendor offers the entire scope of host computers, software and communication interfaces, such as computer cards, bridges, routers and media. Considering industrial automation, Ethernet, primarily TCP/IP, has become a de facto standard for the Information Layer. Users purchase products from multiple vendors expecting openness. Control vendors therefor support Ethernet in their controllers, supervisory software and drivers. The Automation and Control Layer 62 comprises DCS controllers, programmable logic controllers (PLCs), I/O chassis, dedicated human interfaces, motor drives and PCs. This layer is the core of the architecture that bridges the Information and Device Layers, enabling communication throughout the enterprise. Responses here must be in the order of milliseconds to be considered real time. For the Automation and Control Layer the driving force is the need for deterministic data delivery between controllers and I/O devices.
These devices, however, are specific in nature and are typically proprietary. Control manufactures have traditionally licensed their architecture to other vendors but only in a guaranteed and controlled manner. Only if a limited number of partners work closely together can performance and interoperability be maintained.
In the Device Layer 60, low end devices that are traditionally hardwired into I/O cards are now networked. Devices are either discrete, e.g., sensors, starters, drives, I/O blocks, etc., or process oriented, e.g., transmitters, transducers, valves, single loop controllers, etc. The wide range of devices requires openness in device layer systems. At this level, no single vendor can possible fill all potential product and application needs. The present invention enables verifiable adherence to an accepted standard in order to ensure product compliance and interoperability.
Devices are less complex at the Device Layer than they are at the Information Layer but they are more diverse. The size and cost to imbed connections in a device are critical at this layer. For example, consider adding a network connection to a $ 70 photoeye. In addition, no single vendor can offer all the possible devices, e.g., sensors and actuators, a user could need. For a true device network, the actual devices must be interoperable from manufacture to manufacturer. An I/O device can be taken from one network and be replaced with an I/O device from another network while the operation of the system behaves the same. The present invention provides this level of interoperability by using standard communication control networks such as Ethernet or FDDI on the one hand and by permitting third party connectivity via standard PC I/O boards using standard PC buses such as PCI, EISA or VME.
OpenBus of the Present Invention
Networks in an automation control system require varying degrees of openness by virtue of the devices they connect and the functions they perform. As previously discussed, difference architecture layers and devices dictate different degrees of openness. Networks must therefore offer a level of openness compatible with the architecture layer and the devices they connect. Users, however, purchase control products at the device level, e.g., sensors, actuators, pushbuttons, etc., from a number of different manufactures. For this reason, most vendors develop products that adhere to emerging device level networking standards. The OpenBus system of the present invention of connecting PC bus architectures to area network buses using an embedded application brings the high speed and high throughput capabilities of the area network buses, e.g., Ethernet, FDDI, ATM, etc., as well as the openness of PC buses, e.g., PCI, ISA, EISA, VME, etc., to the large number of third party I/O control board manufacturers. In addition, numerous control functions are implemented locally on the OpenBus using a distributed and cooperative architecture.
Control functions include, but are not limited to, high speed counters, axis control, continuous analog output, fixed analog output, etc. These control functions are implemented via software executing on the OpenBus on board processor thus obviating the conventional method of installing special hardware for each desired function.
A high level block diagram illustrating an automation control network constructed in accordance with an embodiment of the present invention is shown in Figure 3. At the core of the system, termed OpenBus, is the OpenBus node controller 10. Each OpenBus node controller is connected to the network 18 which may be, for example, a LAN, WAN, the Internet, Intranet or any other suitable data, control or area network. Personal computers 14 are also connected to the network. The PCs function to execute various application programs constituting the Information Layer. In addition, the p-code control application can be executed on PCs as well. A gateway 42 provides connectivity to external networks such as the Internet 40. Coupled to each OpenBus node 10 are sensors and I/O devices 16. For example, a factory floor 12 may contain one to many hundreds of OpenBus node controllers. Using the system of the present invention, a plant manager 15 located anywhere in the world can monitor and control sensors and I/O devices on the floor of a factory located around the world. As stated previously, the OpenBus system also comprises a development system
180 that may optionally be coupled to the network 18. The development system can be hosted by a conventional personal computer or equivalent device. The development system enables a user to generate pseudo-code or p-code that can be loaded onto and executed by a real-time kernel that resides in the OpenBus node controller 10. In addition, the p-code can be executed on a standard PC running any commercial operating system. A more detailed description of the development system is presented later in this document.
As stated previously, openness in an industrial control automation network is very desirable. More specifically, within the network, openness is very important at the Control Layer. In the past, this layer was designed by committees which is difficult resulting in a lack of sufficient openness. The system of the present invention functions to open the Device Layer, e.g., sensors, starters, I/O blocks, etc., and to allow third parties to supply I/O control devices that would be able to connect to the network via the OpenBus system using PC boards built according to standards such as PCI, ISA, EISA, VME, etc. Conventional area networks such as Ethernet, ATM, FDDI, etc., under the present invention, comprise independent intelligent network nodes. Each OpenBus intelligent node comprises an imbedded processor that functions to intermediate between the I/O boards and the area network. A set of high level APIs can be written that allow each processor, controller or computer connected to the area network or the Internet to access sensor information at the application connectivity layer. In addition, the intelligent nodes participate in a distributed processing control environment by implementing independent local functionality that was previously programmed using the development system.
A high level block diagram illustrating the open bus node controller 10 of the present invention connected to a network, sensors and I/O devices is shown in Figure 4. The node controller 10 comprises one or more interface circuitry boards 20 coupled to a bus. These interface circuitry boards can be any widely available off the shelf third party automation control I/O board designed for either generic or specific applications. The bus can be any commonly used generic conventional bus, such as any of the buses discussed below. A network interface card (NIC) 24 provides the interface circuit boards connectivity to the network 18. An embedded processor 22 controls and manages the node controller, functioning to control the communication between the interface circuitry boards and the NIC. The embedded processor is capable of executing Java applets 50 and application p-code control applications 52 developed on the development system. The local bus permits certain portions of an application program to be implemented in the node controller as a form of distributed or cooperative automated control processing. Further, the NIC and the I/O boards permit the local attachment of various analog and digital sensors, thus creating an integrated smart sensor attached to the network.
The development system 180 is shown in Figure 4 to illustrate that the p-code it generates forms the intelligent software control means for the embedded processor 22. The process control algorithms and logic flow input by the user using the development system is represented in the p-code that is executed in the OpenBus node controller.
The OpenBus system of Figures 3 and 4 enables I/O boards to access conventional communication networks for the receipt and transmission of real-time control information over the network. Hardware that includes I/O attachment (e.g., sensors, motors, monitors, machines, etc.) are connected to the OpenBus via I/O boards that receive/transmit signals representing control information over the bus.
The OpenBus node controller 10 functions as the hub of operation of the system. It receives network communications, processes cooperative logic and transmits information over the network. The system permits multiple controllers, such as PCs 14 or node controllers 10, to access real time information generated by attached hardware 26 located anywhere in the network. A node controller 10 can execute I/O operations that originated in PCs 14 or other controllers 10 and transmitted over the network 18 and/or the Internet 40 communication networks. The 'open control' approach implemented in the OpenBus architecture of the present invention provide third party vendors with the required variety and the critical mass of products to satisfy user application needs. An OpenBus control network functions to deliver tested and certified multi-vendor performance from competing third parties, which can only benefit users. The OpenBus of the present invention satisfies the demand today for more open automation systems in both networks and supporting devices. There is a trend towards open protocols, e.g., Ethernet, ATM, etc., at the Information Layer. The present invention provides a system able to offer accepted and supported networks at the Device _ Layer as well. The Automation and Control Layer will remain controlled-open due to the unique performance requirements. As shown in Figure 7, the advancement in speed and throughput within the open network architecture is much advanced in comparison with conventional existing proprietary control networks supplied by a relatively few individual vendors. The OpenBus of the present invention enables the delivery of the latest high speed area network capabilities to the automation control field.
A key feature of the OpenBus system is that it is completely open at the Information and the Device Layers and controlled open at the Automation and Control Layer. A key advantage of this feature is that it offers numerous benefits to users. A user can choose the low end devices and host platforms that best meet application requirements. This provides users with an open architecture whereby the devices are the most variable yet maintain stability over the real time control system. The Automation and Control Layer functions to effectively bridge the Information and Device Layers while maintaining time critical communications between controllers and I/O devices.
OpenBus Control Processes
A high level logic flow diagram illustrating the embedded open bus control process of the present invention is shown in Figure 5. With reference to Figures 3 and 4, the first action performed by the embedded processor 22 upon power up is to initialize the node controller (step 70). Once initialized, the processor loads the embedded program into memory (step 72). The embedded program comprises control programs developed by the development system written and compiled into p-code. In addition, the development system can generate Java scripts or applets. Then, the processor goes out on the bus and identifies each of the I/O boards 20 installed on the bus (step 74). Once the I/O boards are identified, the processor attempts to establish communications with the attached network 18 via NIC 24 (step 76).
At this point two separate processes are began which execute is parallel with each other. One process manages the communications over the network and the other process executes the real-time p-code control application that was previously developed using the development system.
The first step of the network communication management process is to wait for a network communication (step 78). Once a network communication is received, the processor checks if it is a network message (step 80). If it is not a network message control returns to step 78. If it is a network message, the message is then analyzed (step 82) and the dispatcher is activated (step 84). Note that optionally, the network communication management process can be implemented in Java code. The dispatcher is described in more detail below. The first step of the control application is to load the p-code from an external storage device (step 86). Once the p-code is loaded, it is executed in order to enable and perform the control application logic (step 88).
Note that the node controller can operate as a hub only, tying the sensors and I/O devices 26 (Figure 4) to the network 18 via one or more off the shelf interface circuitry boards 20 without the functionality of executing user's application code (i.e., p-code) and/or Java scripts. Likewise, the node controller can operate to only execute user's application code and/or Java scripts without interfacing sensors and I/O devices to the network.
The dispatcher process of the present invention will now be described in more detail. A high level logic flow diagram illustrating the embedded system dispatch process is shown in Figure 6. The first step performed is to analyze the network request contained in the message (step 90). If the network request is a cooperative processing requires, the processing parameters of the request are parsed (step 102). In accordance with the parameters parsed, an embedded intelligent process is than activated (step 104). This embedded intelligent process then performs reads and/or writes to the I/O boards (steps 106, 108).
If the network request is not a cooperative processing request, it is checked whether the request is an input status request (step 94). If it is, the corresponding data is retrieved from the I/O boards and sent to the requester over the network via the NIC (step 96). If the request is not an input status request, it is checked whether the request is an output I/O request (step 98). If it is not, control returns to step 90. If it is an output I/O request, the I/O data sent over the network is written to the appropriate I/O board(s) (steps 100, 108).
Conventional Open Buses
The level of openness required for an application varies with and is dependent upon the functionality of the communication layer and the types of devices found at that layer. Openness is usually achieved by the use of standards. These standards are either sanctioned by an official body, e.g., IEC/ISA SP50 Fieldbus, or is commonly accepted enough to become a de facto standard, e.g., Ethernet TCP/IP. Many vendors and end users prefer de facto standards over official standards because they result in a shorter time to market and have a singular customer and application focus.
Communications in a signal processing system is performed by buses of various types: direct point to point, shared multi-drop or network (i.e., being made up of links, buses pr switches), control buses, data buses, test and maintenance buses, area network buses, etc. These buses can be implemented in serial fashion (i.e., one data line or fiber) or parallel fashion (i.e., multiple data lines or fibers). They can be slow (e.g., kilobits per second) or fast (e.g., gigabits per second). They may also have protocols varying from simple clocking to elaborate access, validation and acknowledgment schemes. The interface point of either is a computational element or a bus. Examples of conventional open system bus standards available today are illustrated in Figure 7 and described in more detail below. The bus width versus throughput for many buses in common use today are presented. The broad downward sloping arrow indicates the preferred path of bus development, i.e., to faster and narrower buses. These buses can be used to perform different functions, such as system control, data transfer, test and maintenance, input/output (I/O) and area networking. The area networking buses, e.g., Ethernet, 100Base Ethernet, FDDI and ATM, are non proprietary in nature and have an order of magnitude higher throughput when compared with the Fieldbus technology which exists today within automation control bus technology. Some examples of conventional open system bus standards in common use today will now be described in further detail.
Control Buses
Control buses are typically used to allow multiple processors to interoperate in a system through the exchange of commands and some data. In small systems, where data traffic is minimal, this single type of bus may be the only bus employed. Some currently available control buses are described briefly below. Filbus The Filbus is based on distributed intelligence and peer to peer communication. Firmware functions are built into each Filbus I/O module and enable basic capabilities such as pulse count, delay before action and sending/receiving messages to/from other modules on the network. The Filbus runs at 375 Kbps, permits a maximum of 250 nodes, uses master/slave arbitration, uses twisted pair cable and has application in data acquisition. Bitbus
The Bitbus was originally introduced by Intel Corporation as a way to add remote I/O capability to Multibus systems. This original Fieldbus is one of the most mature and most broadly used networks today. Bitbus permits programs to be downloaded and executed in a remote node providing for distributed system configuration. The Bitbus runs at 375 Kbps, permits a maximum of 250 nodes, uses master/slave arbitration, uses twisted pair cable and has application in process control. Worldfip
The Worldfip provides a deterministic scheme for communicating process variables. Worldfip uses an original mechanism whereby the bus arbitrator broadcasts a variable identifier to all nodes on the network, triggering the node producing that variable to place its value into the network. This feature eliminates the notion of node address and makes it possible to design distributed process control systems. The Worldfip runs at 1 Mbps, permits a maximum of 250 nodes, uses a bus arbiter for arbitration, uses twisted pair cable and has application in real time control. Profibus
The Profibus is a Fieldbus network designed for deterministic communication between _ computers and PLCs. It is based on a real time capable asynchronous token bus principle. Profibus defines multi-master and master slave communication relations, with cyclic or a cyclic access, permitting transfer rates of up to 500 Kbps. The physical layer 1 (2-wire RS-485), the data link layer 2 and the application layer are standardized. Profibus distinguishes between confirmed and unconfirmed services, allowing process communication, broadcast and multitasking. The Profibus runs at 500 Kbps, permits a maximum of 127 nodes, uses token passing for bus arbitration, uses twisted pair cable and has application in inter-PLC communication. CAN
The controller area network (CAN) is a serial bus that is designed to provide an efficient, reliable and very economical link between sensors and actuators. CAN uses a twisted pair cable to communicate at speed of up to 1 Mbps with up to 40 devices. It was originally developed to simplify the wiring in automobiles but its use has spread to machines and factory automation products because of its useful features. Some of its features include the ability of any node to access the bus when the bus is quiet, non destructive bit wise arbitration to allow 100% use of bus bandwidth without loss of data, multimaster, peer to peer and multicast reception, automatic error detection, signaling and retries and data packets of 8 bit length. CAN is the basis of several sensor buses such as DeviceNET from Allen Bradley, CAN Application Layer from CAN in Automation or Honeywell's SDS. The CAN runs at 1 Mbps, uses CSMA for bus arbitration, uses twisted pair cable and has application in sensors and actuators. Futurebus+ The Futurebus+ operates at speeds of 3.2 GBps using 256 parallel lines or 100 MBps using 32 parallel lines. It was designed primarily as a cache-coherent shared memory bus and also supports large block transfers and message passing. Its intended application was as a migration path for the VMEbus. Besides the increased throughput, Futurebus+ features centralized or distributed mastership arbitration, compelled or packet transfer mode, priority or fairness resource sharing, cache coherence for shared memory multiprocessing, module live insertion and a Control and Status Register standard software interface.
Pi-bus
The Parallel Intermodule (PI) bus uses the same basic structure as VMEbus but is adapted for real time, fault tolerant applications such as military mission critical systems. Pi-bus is a synchronous, loosely coupled, message passing bus. A node may be master and slave capable or only slave capable. Pi-bus uses the same backplane transceiver logic (BTL) interface as Futurebus+. Pi-bus emphasizes fault tolerance and is inherently supportive of module level fault containment since it is a loosely coupled bus. It also contains features such as hardware supported intermodule communication containment boundaries, an error management protocol that supports determination of contaminated memory, the ability for software to control access to its memory and explicit software control of intermodule communication. Pl-bus has no centralized control, the protocol uses a distributed vie for gaining bus mastership. The Pi-bus is a 50 MBps bus using 32 parallel lines. Designers of PI -bus intended the bus operation to be a send and forget interface making it inappropriate as a real time interface in a tightly coupled architecture. VME
The VersaModule Europa (VME) bus is one of the most successful high end commercial buses in use and has become a de facto standard in high performance industrial automation. The VMEbus is a shared mulitdrop bus with each node on the bus plugging into the rack backplane such that its address and data lines connect onto the Data Transfer Bus in parallel with those of all other nodes. Tri-state logic is used such that only one node at a time actively drives the bus, with all other nodes passively monitoring its activity. The VMEbus operates at speeds of 40 MBps using 32 parallel lines. Its intended application is as a commercial backplane control bus for high performance systems. VME64
The VME64 bus operates at speeds of 80 MBps using 64 parallel lines. Its intended application is as an upgrade for the VME bus. Data Buses
Data buses are typically used to augment a control bus with a higher throughput . path for transfer of data between processors. To achieve high speed a data bus is usually implemented as a network of point to point unidirectional links. This avoids the various transmission line problems associated with a shared multidrop bus. Some data buses currently available are described briefly below. SCI
The Scaleable Coherent Interface (SCI) bus specification define a network in which nodes are interconnected with a set of unidirectional point to point links. SCI provides scaleable network bandwidth because data transfers between nodes may occur concurrently rather than sequentially via a shared bus. SCI operates at speeds of 1 GBps using 16 parallel lines and 250 MBps using a serial line. The basic SCI network is a unidirectional ring where each node receives data from its predecessor node and sends data to its successor node. A mesh network is implemented by equipping each node with two SCI ring interfaces: one in the horizontal direction and one in the vertical direction. A crossbar switch network can be implemented where each node interfaces to the switch via a minimal two node ringlet. SCI uses cache coherent protocols to guarantee consistent data even when data is locally cached and modified by multiple processors. SCI uses a distributed directory based protocol where each line of memory is associated with a list of processor sharing that line. Each memory line maintains a pointer to the processor at the head of the list. Use of the SCI bus is intended with heterogeneous parallel processors. SCX SCX is an offshoot of SCI that is being developed for use with heterogeneous high performance parallel processors. The SCX bus operates at speeds of 1 GBps using 32 parallel lines. SCX also requires two counter rotating rings with a bypass switch at each node, similar to FDDI, for fault tolerance whereby neighbor nodes can bypass a failed link, reforming the two rings into a single double length ring. QuickRing QuickRing is an offshoot of SCI developed for low cost applications such as PCs, workstations and parallel processors. The QuickRing bus is a SCI like bus that operates at speeds of 200 MBps using 6 parallel lines. QuickRing uses a voucher/ticket protocol, which is from the SCI, to reserve space in the target node queue before transmitting a packet. HIC The Heterogeneous Interconnect (HIC) bus defines a low cost, scaleable, serial interconnect for parallel system construction. An HIC link is a bi-directional connection between two nodes, composed of a pair of unidirectional connections. The HIC bus operates at speeds of 10 Mbps to 1 Gbps using copper wire, differential twisted pair, fiberoptic and coax cable. Multiple HIC links per node can be used to build a variety of network architectures, including both hierarchical networks and flat or mesh networks. HIC supports self routed systems using wormhole routing where the packet is read on the fly and the packet is forwarded without being stored in the intervening node. RACEway The RACEway bus is a proprietary bus uses the VME 'P2' connector to access a crossbar switch to provide high speed concurrent data paths between boards in a VME chassis. It operates at speeds of 1280 Mbps using 32 parallel lines. The basic element of the RACEway is the RACE crossbar chip which has six I/O channels. A single crossbar chip can interconnect six nodes and provide up to three concurrent 1280 Mbps communication paths between node pairs. Topologies that can be created include fat-tree, switch ring and mesh. The RACEway is a preemtable circuit switched network. The RACEway uses a compelled protocol in that the receiving node can enforce flow control through the use of the 8-wire control and clocking signals. Data flow is bi-directional but can only go in one direction or the other at a time.
Test and Maintenance Buses Test and maintenance buses are typically used to provide a minimally intrusive path to every hardware module in the system to isolate and debug failures and to possibly reconfigure data flows and computational elements to avoid failed elements. It is usually implemented as a serial, low speed interconnection. This bus can be included as a single bus for non critical systems or as a double redundant bus for mission critical systems. Proper use of a test and maintenance bus often requires the cooperation of the data and control buses, necessitating some type of controller element. A brief description of a few test and maintenance buses currently available is presented below. Serial Bus/Fire Wire The High Performance Serial Bus (HPSB) is similar in function to TM-bus. The HPSB operates at speeds of 6 MBps over a backplane or 40 MBps using two differential signal pairs. Its intended application is as a general purpose interface that can replace a variety of I/O types such as RS-232, RS-422 and SCSI. FireWire, one implementation of HPSB, can carry both synchronous data and isochronous mulitmedia communications. TM bus The Test and Maintenance bus is a linear, synchronous, multi-drop communication bus which transfers data between a master node and one or more slave nodes residing on a single backplane. It is used to communicate diagnostic control and status information between nodes. The TM-bus protocol supports up to 251 separate addresses plus the broadcast and multicast addresses. The TM-bus operates at speeds of 0.8 MBps using a serial line. Its intended application is for use with PI bus in military applications. MTM
The Module Test and Maintenance (MTM) bus is a parallel multi-drop bus containing five signal lines: Clock, Control, master Data, Slave Data and Pause Request. The MTM bus is intended to provide connectivity between modules within a box, e.g., interconnect JTAG modules. The bus operates at speeds of 1.2 MBps using a serial line. JTAG
The JTAG bus is a widely used bus for on-module testing. JTAG is a serial bus containing four signal lines: Test Clock, Test Mode Select, Test Data Input and Test Data Output. JTAG defines a Test access Port (TAP) and boundary scan architecture for digital integrated circuitry. The JTAG bus provides a solution to the problem of testing assembled printed circuit boards containing highly complex digital integrated circuits and high density surface mounting assembly techniques. It also provides a means of accessing and controlling design-for-test features built into the digital integrated circuits themselves. JTAG is used internally in most new large IC designs to confirm that each intemal component performs its required function, that the components are interconnected in the correct manner, that the components interact correctly and that the IC performs its intended function. The JTAG bus operating at speeds of 3 MBps using a serial line.
Input/Output Buses
Input/Output buses are typically used to collect raw data from sensors and distribute processed data to embedded computer displays. These buses are optimized to transfer large blocks or continuous streams of data with minimal concern for error checking and flow control. Some Input/Output buses currently available are described briefly below. Fibre Channel The Fibre Channel (FC) bus is a universal interface for data channels that is optimized for the predictable transfer of large blocks of data such as those used in file transfers, disk and tape storage systems, communications and imaging devices. Fibre Channel provides bi-directional point-to-point connections and support for connected and connectionless operations. Fibre Channel transfers asynchronous information in variable length frames, consisting of a 24 byte header followed by up to a 2048 byte payload of data. Fibre Channel can be implemented in a ring network, but is intended primarily for a switched network. One node may be connected to another node but is typically connected to a fabric node. The fabric node is an entry into a switch that provides transparent connection to other system nodes. Fibre Channel can operate on coax, twisted copper pair and both single and multimode fiber. It operates at speeds of 100 MBps over a serial line. SCSI
The Small Computer System Interface (SCSI) bus is widely used in workstations to connect the processor to various peripheral devices such as a disk controller. SCSI device are daisy chained together and obtain access to the bus via distributed arbitration. Standard SCSI used an 8 bit bus and a 4 MHz clock to achieve a 4 MBps data transfer rate. Fast SCSI increases throughput to 10 MBps and Fast Wide SCSI uses 16 bits to achieve 20 MBps. SCSI-2 achieves 40 MBps using 32 bits. 1553B
The Mil-Std-1553B Digital Time Division Command/Response Multiplex Data Bus has a long-standing history in military avionics applications where independent boxes need to be interconnected. It operates at speeds of 0.1 MBps and uses a single coax with transfer coupling to reduce the chance of damage when connecting separate boxes. It is usually implemented in a dual or triple standby mode to prevent the bus from becoming a single point of failure in a mission critical application. The 1553 bus uses a 1 MHz clock and Manchester biphase encoding to convert each 16 bit work into a 20 bit serial stream. RS-232
The El A RS-232 bus is a widely used bus providing for a point-to-point interface between a single driver and a single receiver at speeds up to 20 Kbps over distance up to 50 feet. An improved version, RS-423, increases the speed to 100 Kbps, increases the number of receivers to ten and reduces the voltage swing to +/- 4 volts. Its intended application is to interconnect terminal and modem equipment. RS 422
The RS-422 is the Electronic Industries Association (El A) EIA-485 bus which operates at speeds of 1 MBps using a serial line. It is similar to RS-423 but uses differential driver signals to increase the transmission speed to 10 Mbps. RS-485 is similar to RS-422 but uses tristate drivers to allow multiple drivers form a shared multi-drop bus.
Area Network Buses
Area network buses are typically used to interconnect processing systems located in separate physical boxes. These buses have been optimized in the past for bursty traffic, but in the future will handle isochronous traffic for mulitmedia application as well. Some Area network buses currently available are described briefly below. ATM
The Asynchronous Transfer Mode (ATM) bus was originally conceived as the switching technology for the telephone industry to handle multimedia data. ATM is a logical layer protocol based on bandwidth partitioning for the transmission of large amounts of data, e.g., real-time audio, computer data, images and video, on shared media, point-to-point, switched networks. ATM transfers digital information in consecutive cells (packets) of constant length consisting of a 5 byte header following by a 48 byte payload of data. The header defines a virtual path and a virtual channel as well as other network management functions. The ATM protocols allow a node to establish static or dynamic connections with many other nodes. Although ATM is optimized for virtual connection oriented services, it can be used for connectionless services as well. ATM can be mapped on top of various existing physical layers such as SONET, Fibre Channel or FDDI. ATM operates at speeds of 155 Mbps to 2.5 Gbps over a serial line. Its intended application is for use in telecommunications and as a LAN for workstations. FDDI
The Fiber Distributed Data Interface (FDDI) bus is a standard for a local area network with a transmission rate of 100 Mbps using a fiber optic cable as the transmission medium. FDDI implements a dual counter rotating ring topology and uses a token access method for packet transmission. FDDI is sometimes used as a higher speed backbone to interconnect several lower speed Ethernet networks. FDDI consists of three layers: Physical Layer, Medium Dependent (PMD), Physical Layer Protocol (PHY) and Media Access Control (MAC). The PMD layer specifies the digital baseboard point-to-point communication between two nodes in the FDDI ring. A ring consists of a set of nodes and unidirectional transmission medium segments connected in a serial closed loop configuration. The dual ring option consists of two identical ring configurations, where the secondary ring transmits in the reverse direction of the primary ring. The PHY Layer specifies the remaining aspects of the physical layer protocols. These protocols include decoding incoming data, encoding outgoing data and clock synchronization. The MAC Layer specifies fair and deterministic access to the medium, address recognition and generation and verification of frames. Access to the ring is controlled by passing a token around the ring. If a node wants to transmit, it strips the token from the ring, transmits frames and then reinserts the token. Ethernet Ethernet has become the de facto LAN standard for PCs, workstations and their peripherals. Ethernet uses Carrier Sense Multiple Access with Collision Detection (CSMA/CD) protocol that allows nodes connected in parallel to transmit data without the normal bus mastership arbitration. A node that wants to transmit data first listens to see if any other node is currently transmitting data on the cable, if not, it proceeds to transmit. The node then listens to see if its intended transmission is garbled on the cable and if so aborts transmission and waits a small time before trying again. This protocol is popular because it is cheap and easy to manage. The Ethernet bus is limited, however, to a bandwidth of 10 Mbps using a serial line. 100Base Ethernet
The 100Base Ethernet bus is a higher speed version of Ethernet which retains the original Ethernet protocol for backward compatibility with existing Ethernet. 1 OOBase Ethernet operates at speeds of 100 Mbps using a serial line. Its intended application is as a migration path for 10 Mbps Ethernet. Myrinet
The Myrinet bus is a low cost, high speed hierarchical switched network that uses a point-to-point bi-directional link, with a clock rate of 40 MHz and a bandwidth of eight lines to achieve a 40 MBps throughput in each direction. Links can connect to nodes or mulitport switches, allowing the formation of various network topologies. Data is transmitted in variable length packets, with cut through routing and reverse flow control.
PC Buses
PC buses is a category of buses that is of high commercial significance. PC buses are typically used to interconnect peripherals to a desktop or laptop computer.
These buses are optimized for the low cost PC environment and perform several functions such as control, data and input/output. They are important because of their high commercial usage. Some PC buses currently available are described briefly below.
PCI The Peripheral Component Interconnect (PCI) is an Intel proprietary standard bus designed to handle faster peripherals such as high resolution video boards, disk controllers and LAN devices. PCI defines a low latency path between the microprocessor local bus and other system components. It uses a 33 MHz, 32 bit data path to achieve a data throughput speed of 800 Mbps in burst transfer mode. PCI also defines multiple bus master arbitration and configuration space for automatic software setup. The PCI specification also covers the software architecture needed to guarantee plug-and-play compatibility of modules within a system. The intent is to allow a system to automatically configure itself when a new module is plugged into the PCI backplane connector. VL Bus
The VESA's Local (VL) Bus is a Video Electronics Standards Association (VESA) standard operating at speeds of 100 MBps using 32 parallel lines. Its intended application is as a migration path for the EISA bus.
V-Bus The V-Bus is intended for high performance symmetric multiprocessing systems. V-Bus is a 64 bit bus that operates at up to 66 MHz to provide a sustained peak rate of 4 Gbps.
The bus is controlled by central arbiter, with a parking mode to increase throughput on a lightly loaded bus.
ISA The Industry Standard Architecture (ISA) bus enjoys huge sales volume due to its use in the PC since the introduction of the 80286 processor chip. The ISA local bus uses an 8
MHz, 16 bit data path to achieve a data throughput speed of 64 Mbps. In newer PC that are based on fast chips such as the Pentium, the ISA is still used for slow peripherals such as fax modems. EISA
The Extended ISA (EISA) bus operates at speeds of 16 MBps using 32 parallel lines. Its intended application is as a migration path for ISA to interconnect 80386 peripherals.
The OpenBus system of the present invention enables a cost effective solution that provides openness and interoperability. Users can choose the network or the bus based on which offers the greatest connectivity for the devices they value the most.
Modular Implementation
As stated previously, the present invention is a system for providing computer operated real-time process control with the means for interacting with an external system while also providing a development system comprising a computer compiler for generating real-time code executable on a real-time kernel that resides in the target system. As stated previously, the target system can be a standard PC. An illustration of the modular portions of the software making up the OpenBus automation system of the . present invention is shown in Figure 8. The real-time kemel 154 is the heart of the OpenBus system in that the control algorithms and logic flow that the user desires to implement is executed by the real-time kemel in the target system. At the core of the real-time kernel are p-code frames 150. A p-code frame or simply frame represents a unit of action or operation in the system. For example, frames specify operations to be performed on internal entities such as variables or timers, for example.
Surrounding the p-code frames are event triggers and event actions 152. Complex control operations as specified by the user are broken down by the development system into one or more frames to be executed by the real-time kemel. One or more frames combine to constitute event triggers and event actions.
Surrounding the real-time kemel 154 is the operating system (OS) 155. The real-time kernel comprises the necessary operating system interface to allow it to execute on any desired operating system. The layer surrounding the OS includes various functional modules that perform various roles in the OpenBus system. These functional elements comprise a module for interfacing to sensors 158, I/O devices 160, motion related devices 162, computerized numerical control (CNC) devices 164, devices requiring motor control 166 and discrete I/O 168. In addition, functionality is provided to communicate with one or more networks 170. Further, a database module 172 provides the connectivity to a database that is used by the real-time kemel and application programs. A graphic module 74 provides graphics and drawing related functionality and an operator interface 156 provides the user interface for used by an operator of the system.
Development System and Target System
A high level block diagram illustrating the development system environment of the present invention is shown in Figure 9. At the core of the development system 180 is a real-time compiler 184. The real-time compiler functions to take as input an application 182 as input by a user and generate p-code 186 that is executable on the real-time kemel 192 in the target system 190. The real-time kemel in the target system (embodied in the embedded processor 22 in Figure 4) dynamically changes in response to the structures and parameters defined^ by the user and represented in her/his application program 182.
With reference to Figure 10 the development system environment of the present invention will now be described in more detail. As stated previously, the development system 180 comprises an application 182 provided by the user and a real-time compiler 184. The application comprises one or more event triggers 200, one or more event actions 202 and logic 204. These various elements combine to define the user's control program application. The target system 190 comprises the real-time kemel 192 which functions to execute the p-code generated by the compiler. The real-time kemel 192 comprises an external input signal scanner 210, an event triggers evaluation module 212, a scheduler 214, an action execution unit 216 and an entity processor 218. The external input signal scanner receives external input signals from sensors and I/O devices. The action execution unit generates the signals that are output to the external world.
The event triggers 200, event actions 202 and logic 204 provide the logic and the mechanism required to characterize the behavior of any real-time process the user desires to implement. The behavior of any real-time system which interfaces with external signals and real world processes can be defined using a process state change methodology. In this methodology, when a process transitions to a new state, an action comprising a particular logic and operation sequence is performed. In more complex control processes which include multiple simultaneous activities, the action which must be performed is based upon a combination of processes rather than simply one.
The real-time kemel schedules the execution of event actions in accordance with the process state changes as reflected by the change entity value changes. Entities include but are not limited to variables, timers, counters and external input signals. These various entities are part of the program control logic making up the user's application. Any change to the value of an entity or any external signal triggers an immediate evaluation of the event trigger that incorporates that particular entity. The programming logic functions as the basis for the event actions. The programming logic comprises pure logic, calculations, mathematical formulas, interfacing with sensors, discrete I/O, motion control, database operation, communication i.e., over networks and operator interface graphics.
All of the extemal information and programming logic defined by the user and embodied in her/his application comprises various elements such as event triggers, event actions, program variables, timers, counters, program logic, sensor information, motion trajectory planning, motion control, etc. All these elements are broken down, defined and represented via the frame p-code generated by the real-time compiler.
The p-code making up a frame is the smallest building block that enables the real-time compiler to generate code that executes with a response time required of a real-time system. The p-code making up frames comprises a precompiled, one step direct pointer to any piece of information or element which is required in order to perform the logic or operation of the frame. The logic or operation is performed on entities which include variables, timers, I/O port information, I/O values, etc. The precompiled direct pointer to the memory location of the particular entity permits rapid access to the values and references of the entities associated with a frame. These memory pointer references can be performed extremely rapidly with minimal delay thus providing the real-time response needed by the application control program. This is in direct contrast to conventional compiled programming systems that typically involve run time memory address calculations, hash table calculations, heap and stack addressing, etc. in order to resolve memory references thus creating a huge overhead not present in the real-time kemel of the present invention.
Real-Time Kernel
The real-time kemel will now be described in more detail. A high level block diagram illustrating the real time kemel of the target system in more detail is shown in Figure 11. The real-time kemel 192 comprises an extemal input signal scanner 210, event trigger evaluation module 212, scheduler 214, action execution unit 216 and an entity processor 218. The system under control 220 received outputs from the action execution unit and generates the extemal input signals input to the extemal input signal scanner. The p-code 186 generated by the real-time compiler is utilized by the event trigger evaluation module and the action execution unit. The event trigger evaluation unit 212 receives extemal input signals from the system under control 220 via extemal input signal scanner 210 and various entities, e.g.,_ variables, counters, timers, motion vectors, motion loop data, etc., from the entity processor 218. The event trigger evaluation module determines the next state of the system based on the current state and the values of all input entities. The event trigger evaluation module, in combination with the rest of the real-time kemel, serve to implement a state machine. The evaluation module functions to test conditions using a set of rules derived from the user's application.
During a change of state one or more action frames are generated. These action frames are passed to the scheduler 214. The scheduler determines the order of execution for each action frame and passes frames ready for execution to the action execution unit 216.
The action execution unit processes each frame and implements the action contained therein. Depending on the type of action, one or more entities may be modified. The entity processor performs the modification on the entities in accordance with the output of the action execution unit. The action execution unit also generates various output signals such as, but not limited to, motion control signals, digital signals and analog signals. These output signals effect various components of the system under control and serve to modify the state of the system. In addition, the execution unit outputs data for controlling the computer graphics used in the operator interface. The commands and data are output to the GUI 222 that makes up part of the operating system host the real-time kemel operates in, when the target system is a standard PC.
Further, the execution unit also outputs command and data for controlling a database that are directed to the database handler 224. The database is used to store various data about the system such as attributes, states, entity related data, etc.
The input signal scanner method performed by the extemal input signal scanner of the real-time kemel will now be described in more detail. A high level flow diagram illustrating the input signal scanner portion of the real time kemel is shown in Figure 12. The first step of the method is to read the values of the extemal input signals from the various sensors, I/O devices that are monitored by the system (step 230). The values read in are then stored for future reference (step 232). All the input values and then scanned or examined and all values that have changed since the previous read are^ flagged (step 234). In any input signals have changed value, a message is generated and sent to the event trigger evaluation module identifying the input signal and its new value (step 236). This method is repeated over and over in an endless loop. Thus, as the values of the signals input to the system change, these changes are immediately detected and reported to the event trigger evaluation module.
The entity value change method will now be described in more detail. A high level flow diagram illustrating the entity value change processing portion of the real time kemel of the target system is shown in Figure 13. The step of interpreting and executing the 'assign entity' commands contained in frames is performed by the action execution unit (step 240). The entity processor receives the values to be assigned to the entities and determines whether any new values have been assigned to an entity (step 242). If there are new values to be assigned to an entity, the event trigger evaluation module is notified accordingly with the entity and it new value (step 244).
The event trigger scheduler method performed by the event trigger evaluation module and the scheduler unit of the real-time kemel will now be described in more detail. A high level flow diagram illustrating the event trigger scheduler is shown in Figure 14. The first step of the method is to get the values of all extemal input signals and intemal entities in the system (step 250). It is then determined whether any values have changed since the previous reading (step 252). For any values that have changed, the event triggers associated with the value change is determined (step 254). This process is described in more detail later.
Once the event triggers are determined, each trigger is resolved to either true or false (step 256). If an event trigger resolves tme, its associated action, as represented by its frame, is scheduled by the scheduler for execution by the action execution unit (step 258).
The event trigger handling of the real-time kemel will now be described in more detail. A high level block diagram illustrating the intemal memory representation of the pointer tables used to implement event triggers and intemal/extemal actions is shown in Figure 15. Illustrated in the left portion of the Figure are examples of various the internal pointer representations for internal entities such as variables 280 and timers 282 and for extemal input signals 284. Every entity and extemal input signal in the system is^ represented by a pointer in memory. The pointers are grouped into tables according to entity type. For example, the pointers 260, 262 associated with two variables are shown grouped in the variables pointer table 280. The pointers 264, 266 associated with two timers are shown grouped in the timers pointer table 282. Similarly, three pointers 268, 270, 272 are shown grouped in the extemal input signal table 284. The pointer tables for variables, timers and extemal input signals are shown for illustration purposes only. The pointers maintained for a system depends on the input signals and various entities that the application uses.
All the entities and extemal input signals that make up an action frame have their corresponding pointers point to the event trigger pointer for that particular action frame. Every entity and input signal pointer points to a particular event trigger entry in the event trigger table 278. Each entity or input signal may point to multiple event trigger entries and multiple entity and input signal pointers may point to the same event trigger entry. For example, variable pointers 260, 262 both point to event trigger entry 274. Variable pointer 262 points to event trigger entries 274, 276. Timer pointer 264 points to event triggers 276, 286. Extemal input signal pointer 268 points to event trigger entry 290.
It is important to note that all the entity and extemal input signal pointers used by the system are determined and resolved during compile and load time rather than during run time. In addition, the configuration or input and output devices is known a priori at compile time. Thus, entity or input signal addresses do not need to be computed during execution of the application as is the case in conventional systems. This is performed by conventional system using hash tables, pointer lists, variable lists, etc. The present invention requires only a pointer for each entity or input signal directly to point to all the event trigger entries associated with that entity or input signal. This helps enable the control system automation system of the present invention to operate quick enough to execute the application in real-time.
Each entry in the event trigger table points, in turn, to an action. As stated previously, an action is comprised of one or more frames. For example, the event trigger entry 276 is shown to point to the action 300. In the example illustrated in Figure 15, the action frame 300 comprises a plurality of frames 302. Each frame can be one of three different types. The three types of frames include: a program logic frame, an operation frame or a condition frame. A program logic frame includes such program logic as jumps, both conditional and unconditional, etc. Operation frames perform an action such as A = B * D, or assign a value to an entity or output signal. For example, a frame may assign a value to a timer, a variable or a digital or analog I/O port. A condition frame tests the given entities to be true or false, e.g., IF A = B + C THEN set an output signal.
A high level block diagram illustrating an illustrative example of a frame implementing an action is shown in Figure 16. The action 310 comprises six frames with the first frame 312 being an operation type frame. Frame 312 assigns the value 10 to the variable entity 'A'. Frame 314 assigns the value of variable 'C to 'B'. The next frame 316 is a conditional type frame. If the value of variable 'A' is greater than that of 'B' control passes to frame 318 which outputs the value of variable 'E' to an output port. Altematively, control passes straight to frame 320 which is an operation type frame which assigns the value 2 to the variable 'D'. The last frame 322 is a program logic type frame which performs a return function.
A high level flow diagram illustrating the execution sequence of a frame is shown in Figure 17. The method of processing a frame begins with reading the p-code for the next frame to be executed (step 330). The frame is then analyzed in accordance with the instructions contained within the p-code (step 332). Any values of extemal input signals or intemal entities, e.g., variables, timers, etc., that are needed to properly analyze the frame are then read (step 334). The command within the frame is then performed and the appropriate output signals or entity value changes are then generated in accordance with the command (step 336).
For example, the action taken by a frame may generate a digital or analog output signal, a motion control output, e.g., closed loop motion control, a change to a database entry, a message to be transmitted over the network, data to be displayed on the operator's console, etc. The following is a list of commands that make up the frames of an action. These commands are executed by the action execution unit 216 (Figure 11) in the real-time- kernel.
Frame Commands
Command Description
IF <condition> THEN conditional type frame command
<statements> ELSE
<statements> END
CASE <entity> switch statement for choosing <value> <statements> different action based on the value <value> <statements> of a variable <value> <statements>
END
FOR <var> = <value> TO <value> BY <value> constmct for implementing loops
<statements> END
TRACE <entity> trace command to show the values of entities, actions, formulas or subroutines
ASSIGN <entity> = Calculation formula> assignment command for setting values to entities or ports
TIMER START/STOP timer command with start and stop options
COUNTER RESET/START/UP/DOWN/NEXT counter function with options to start, reset, count up, down, etc.
DELAY <value> delays by specified amount of time
LABEL <identifier> assigns a label to a command
JUMP <label> jump to statement having specified label
DOSUB <sub name> perform subroutine having sub name
BREAK <type> stop execution according to break type
RETURN <value> return from subroutine with specified value
DIGITAL OUTPUT ON/OFF <port> set specified digital output port to either '0' or a '1 '
ANALOG OUTPUT <port><value> set specified analog output port to specified value
MOTION profile includes motion function supplied by the motion control board
START MOTION <motion-name> start a motion profile
STOP MOTION <motion-name> stop a motion profile
EVENT <value=Stop/Abort/recovery> return the axis event
MOTION STATUS return the motion status
SET POSITION <axis> <position> dynamic axis position 2 GET POSITION <axis> <position> dynamic axis position
23 GET ERROR <axis> <error> dynamic axis position error planned as compared to actual
24 SET VELOCITY <axis> <velocity> dynamic velocity
25 GET VELOCITY <axis> <velocity> dynamic velocity
26 SET ACCEL <axis> <velocity> dynamic acceleration
27 GET ACCEL <axis> <velocity> dynamic acceleration
28 SET JERK <axis> <velocity> dynamic jerk
29 GET JERK <axis> <velocity> dynamic jerk
Using the above listed commands, action frames can be generated that implement the user's application 182 (Figure 10). More particularly, the frames making up the actions implement the combination of event triggers, event actions and the logic of the user's application. The real-time compiler 184 functions to generate the p-code that is utilized by the event triggers evaluation module 212 and the action execution unit 216.
Expert Rule Based Control System With Fuzzy Logic Subsystem
In a second embodiment of the present invention, the rule based control expert system described hereinabove can be combined with a fuzzy logic inference engine to enhance the performance and modeling accuracy of the system. A block diagram illustrating the open bus node controller of the present invention incorporating a fuzzy logic subsystem coupled to the rule based expert system and to a network, sensors and I/O devices is shown in Figure 18. The node controller 420 is similar to that of Figure 4 and comprises one or more interface circuitry boards 20 coupled to a bus. The interface circuitry boards can be any widely available off the shelf third party automation control I/O board designed for either generic or specific applications. The bus can be any commonly used generic conventional bus, such as any of the buses discussed below. A network interface card (NIC) 24 provides the interface circuit boards connectivity to the network 18. An embedded processor 56 controls and manages the node controller, functioning to control the communication between the interface circuitry boards and the NIC. The embedded processor 56 comprises a rules based control expert system 342 and a fuzzy logic subsystem 340. The fuzzy logic subsystem 340 utilizes the fuzzy rules and membership functions database 354 in performing fuzzy calculating and analysis. The embedded processor is also capable of executing Java applets 50 and application p-code control applications 52 developed on the development system. The local bus permits^ certain portions of an application program to be implemented in the node controller as a form of distributed or cooperative automated control processing. Further, the NIC and the I/O boards permit the local attachment of various analog and digital sensors, thus creating an integrated smart sensor attached to the network.
The node controller 420 combines the flexibility of two methodologies: expert system rule based control with the intelligence of a fuzzy logic subsystem. Thus, the capabilities of the expert rule based control system are extended to provide fuzzy intelligence. During operation, the expert rule based control system is utilized to provide the control functionality of the application and the fuzzy logic subsystem is utilized to provide fuzzy intelligent capabilities.
The entire combined embedded processor can be implemented using available open system components such as commercially available microprocessors, e.g., Intel Pentium, PowerPC, Motorola 68000, etc. The control system application can be developed and simulated utilizing a commercially available operating system such as Windows NT, UNIX, etc. Once the control application has been developed and debugged, an executable boot program can be generated which, in turn, can be loaded and executed directly on the target microprocessor or embedded system. Described hereinbelow is a methodology that delivers an intelligent control system application that combines a rule based expert system with fuzzy logic inference capabilities. As shown in Figure 19, the expert system is coupled to the input sensors and output actuators while the fuzzy logic subsystem comprises its own separate fuzzy rules and membership functions. More detailed descriptions of fuzzy rules, linguistics and semantics can be found in A Course in Fuzzy Systems and Control, Wang, Li-Xin, Prentice Hall, 1997, chapters 5 and 6, incorporated herein by reference.
A block diagram illustrating the fuzzy logic subsystem portion of the embedded processor in more detail is shown in Figure 19. The embedded processor 56 comprises an expert rule based control system 342 which receives input signal from sensors and other input device 352 and generates output signals to actuators and other output devices 344. The expert rule based control system 342 interfaces with the fuzzy logic subsystem 340. The fuzzy logic subsystem 340 comprises a fuzzy logic processor 350, fuzzification module 346, defuzzification module 348 and a fuzzy rules and membership- function database 354.
The operation of the expert rule based control system 342, including the real-time kernel, has been previously described in connection with Figure 1 through 17 and will not be repeated here. The fuzzy logic subsystem and its interface to the expert rale based control system is described hereinbelow.
During operation of the system, the two subsystems, i.e., expert rule based control subsystem and fuzzy logic subsystem, interface which each other to provide enhanced intelligent control. The expert system 342 may, during its operation, assign a value to one or more fuzzy variables. This is denoted as crisp input which is applied to the fuzzification module 346 in the fuzzy logic subsystem 340. The expert system may include as part of its rules and actions, an evaluation of one or more fuzzy variables. Once the expert system triggers an evaluation of a fuzzy variable, the fuzzy logic processor 350 performs a fuzzy evaluation of the variable. Once performed, a defuzzification process 348 is performed on the results of the evaluation. The defuzzification process generates crisp output which is passed back to the expert system. A more detailed description on how to implement a fuzzy inference engine and on the fuzzification and defuzzification process can be found in A Course in Fuzzy Systems and Control, Wang, Li-Xin, Prentice Hall, 1997, chapters 7 through 15, incorporated herein by reference.
A flow diagram illustrating the fuzzy evaluation method performed in the embedded processor is shown in Figure 20. As mentioned previously, the rale based expert system performs event processing on a continuous basis (step 360). During the course of its operation, the expert system may request the evaluation of a fuzzy variable as they may be freely incorporated into the rales and actions associated with a control application. Thus, it is continuously checked whether the evaluation of a fuzzy variable is required to be performed (step 362). If so, the crisp input that is output by the expert system is fuzzified into one or more fuzzy values by the fuzzification module 346 (Figure 19) (step 364). The fuzzy evaluation is then performed by the fuzzy logic processor 350 (step 366). After the evaluation is complete, the fuzzy results are defuzzified into crisp output before being transmitted back to the expert system (step 368).
To help illustrate the principles of the present invention, an example fuzzy logic subsystem is presented. The following two assumptions are made: • X and Y are fuzzy input variables that can have the values Low or High
• VELOCITY is a fuzzy output variable that may have the values Slow or Fast The fuzzy rules for the system are the following:
1. If (X is Low) AND (Y is Low) Then set VELOCITY to Slow
2. If (X is Low) AND (Y is High) Then set VELOCITY to Slow 3. If (X is High) AND (Y is Low) Then set VELOCITY to Slow
4. If (X is High) AND (Y is High) Then set VELOCITY to Fast The sole control rale for this example is the following: 1. When (MainTimer is DONE) AND (Evaluation {VELOCITY }>70) Then Turn On Actuator A Note that control rales may reference numerous types of elements such as digital and analog entities, timers, counters, etc. In the above example control rale, a deterministic timer 'MainTimer' and the fuzzy variable VELOCITY have been combined within the rule. The control rule above would be verified as follows: 1. Check whether timer MainTimer is finished 2. Evaluate the fuzzy variable VELOCITY utilizing inference from the four fuzzy rules shown above. The result is that only when both conditions are met will the associated action, i.e., turning on sensor A, be performed.
The methodology of the fuzzy logic subsystem will now be described in more detail. A flow diagram illustrating the methodology to constructing an fuzzy expert system utilizing the OpenBus system of the present invention is shown in Figure 21. The first step is to define the fuzzy rales, variables and associated membership functions which make up the fuzzy control system application (step 370). Once defined, the rules, variables and membership functions are compiled using a fuzzy logic compiler to generate real time executable code that can be loaded into memory for execution on a processor (step 372). The executable code can be ran, for example, on a standard OS hosted PC or a boot program can be generated therefrom to permit an embedded processor to run the control application, i.e., a runtime version of the fuzzy logic, subsystem. Thus, each control application can be considered a miniature OS, with all the requisite functionality contained therein, including the fuzzy logic subsystem and any necessary operating system components such as networking, file I/O, communications, memory management, process scheduler, etc. Once generated, the executable code is loaded into the program memory associated with a processor (step 374). Finally, the fuzzy logic subsystem is activated and its operation is begun (step 376).
Note that the compiler functions to translate the fuzzy rules, variables and membership functions defined in step 370 into machine code than can be executed on a processor. Given the fuzzy rules, variables and membership functions, i.e., source data, one skilled in the compiler art could construct a compiler to transform the source data into machine code. Standard commercially available compiler generators can also be utilized to construct a suitable compiler. The compiler processes the fuzzy rales, variables and membership functions, which make up the input to the compiler, so as to generate executable code which effects the fuzzy logic subsystem, i.e., the fuzzy control application. In addition, the executable code generated permits the fuzzy logic subsystem to perform fuzzy evaluations and related fuzzy processing substantially in real time, e.g., milliseconds. A diagram illustrating the various types of output generated by the fuzzy compiler is shown in Figure 22. The fuzzy compiler 380 functions to generate four types of output: (1) optimized machine code 382 (2) math processing code for membership function calculations 384 (3) fuzzy evaluation trigger code 386 and (4) universe of discourse precalculation data 388. The optimized machine code 382 is output by the compiler utilizing the same methodologies as the rule based expert system as discussed in connection with Figures 9 through 17. The output comprises the fuzzy rules and control logic as optimized machine code ready to execute on the embedded processor. This method enables a high degree of efficiency for execution of real time applications. The mathematical processing portion 384 of the output comprises machine code for performing membership function calculations. Input to the compiler, in addition to control rules and variables, are the membership functions associated with the variables. The compiler is operative to process the fuzzy membership functions to generate _ appropriate machine code that executes on the embedded processor. Preferably, the compiler generates code able to execute on the math coprocessor if the target embedded processor comprises one. This step improves the performance of the control application since the fuzzy membership function calculations represent a large part of the total fuzzy processing. For each membership function, the compiler generates appropriate machine code which can be executed by the math coprocessor (if the embedded processor has one). The method for code generation of membership function calculations will now be described in more detail. As described previously, the fuzzy compiler functions to read the formulas or equations making up the membership function and generate machine code which can be executed on the moth coprocessor of the embedded processor. During operation of the control application, when a formula or function must be calculated, control passes to the machine code associated with the formula. The machine code generated by the compiler may correspond to any or all of the following:
• mathematical formulas, e.g., sin, exp, etc.
• numbers
• program variables • digital and/or analog port values
• motion control parameter values, e.g., encoder position, velocity, etc.
In typical control applications, fuzzy membership functions are calculated frequently.
Thus, it is preferable that the fuzzy membership function be evaluated as quickly as possible. It is thus preferable that the machine code generated by the compiler be able to execute on the math coprocessor of the embedded processor in order to reduce computation delays.
The following example illustrates the source code that is generated in response to a mathematical formula. In addition, the execution steps performed to evaluate the formula are also illustrated. The use of the stack structure within the math coprocessor of the embedded processor to evaluate the formula eliminates the need to move data within the memory during execution. The example formula is as follows: + [£ - sin(C- E>)]
0) where
A represents the value read from an analog port associated with an analog sensor. B represents the encoder value read from an attached servo motor.
C and D represent working variables within the system. In response to Equation 1 , the compiler generates the following machine code which can be executed directly on the math coprocessor. The code generated is executed each time the formula needs to be calculated. FLD A push A onto the stack
FLD B push B onto the stack
FLD C push C onto the stack
FLD D push D onto the stack
Fmul st(0), st(l) multiply the two upper frames on the stack Fsin take the sin function of the top of stack frame
Fsub st(0), st(l) subtract the two upper frames on the stack
Fadd add the two upper frames on the stack
The step by step execution of the above machine code will now be described. Diagrams illustrating the contents of the stack during the calculation of an example membership function are shown in Figures 23A through 23F. In each Figure, the relevant frames 392 of the stack 390 are shown. The results of the stack after execution of the FLD A instruction is shown in Figure 23 A. The value A has been pushed onto the top of the stack 390. The results of the stack after execution of the following three FLD instractions is shown in Figure 23B. The first four stack location contain the values D, C, B, A.
The Fmul instraction performs a floating point multiplication on the top two stack locations. The results of the Fmul instruction are shown in Figure 23C. The next instraction Fsin calculates the sin function of the top of stack value. The results of the Fsin instraction are shown in Figure 23D. The Fsub instruction subtracts the top of stack value from the next to top of stack value. The results of the Fsub instruction are shown in Figure 23E. Finally, the Fadd instraction adds the values in the top two stack locations. The results of the Fadd instraction are shown in Figure 23F. The above example is presented to illustrate the principle of the present invention. One skilled in the electrical arts would appreciate that the actual instractions - will vary in accordance with the particular processor (including any on chip math coprocessor) used to construct the control application. With reference to Figure 22, the third type of output generated by the compiler comprises code fir implementing the fuzzy evaluation triggers 386. Since the fuzzy evaluation process (including fuzzification and defuzzification processes) consumes large amounts of computational resources, it is preferable that the fuzzy evaluation occurs only when a change occurs since the previous evaluation. The variable triggers serve to provide the information needed to determine whether a new fuzzy evaluation is required. If no changes have been detected, the application utilizes the previous evaluation. This insures that the fuzzy logic subsystem performs the evaluation only on an as needed basis.
The mechanism of determining whether a new fuzzy evaluation is required will now be described in more detail. The system utilizes a link list structure to determine which output variables are effected when an input values changes. A diagram illustrating the linked structure created to update fuzzy output variables when related fuzzy input variables have changed is shown in Figure 24. The system uses this linked list structure to determine whether a defuzzification process is required to be performed. The fuzzy input variable 400 has associated with it all the output variables that would be affected by a change in the particular input variable. In this example, four output variables 402, 404, 406,408 are shown linked by pointers to the input variable in a standard forward linked list fashion.
For each fuzzy input variable, the compiler maintains a link list structure of all the fuzzy output variables that need to be recalculated as a result of a change in the fuzzy input variable. During operation, the dependence of output variables on a particular input variable is already known since the dependencies were determined at compile time.
A flow diagram illustrating when fuzzy output variables are evaluated is shown in Figure 25. The fuzzy calculation of a particular fuzzy output variable can be triggered when (1) a corresponding fuzzy input variable changes or (2) when the fuzzy output variable is part of an expert system rale. A fuzzy output variable is evaluated when a fuzzy input variable is assigned a new value (step 410). Once the control system detects a change in the value of a fuzzy input variable, it scans the appropriate linked chain of . fuzzy output variables that are affected by this change. For each of the fuzzy output variables in the linked chain, a defuzzification process is scheduled which functions to assign a new value to any affected fuzzy output variables (step 414).
In addition, a fuzzy calculation of an output variable occurs (step 414) when the fuzzy output variable is part of an expert system rale (step 412). For example the fuzzy output variable VELOCITY, part of the expert system rule below, would trigger an evaluation when the rale is checked. 1. When (MainTimer is DONE) AND (Evaluation {VELOCITY}>70) Then Turn On Actuator
A In this case, the user has specifically requested to evaluate the value of the fuzzy output variable VELOCITY.
With reference to Figure 22, the forth type of output generated by the compiler is the universe of discourse precalculation data 388. The precalculation of the universe of discourse quantitization is optional but it improves the performance of the control application if performed. Part of the fuzzy evaluation process involves the computation of the fuzzy variable universe of discourse, i.e., the range of all possible values, utilizing the fuzzy membership functions. The data is calculated in accordance with specified quantization of the particular range in combination with the fuzzy variable membership functions. The precalculation data are performed by the compiler and the results are stored in memory assessable by the embedded processor. The precalculation may also be stored in a database accessible to the embedded processor 354 (Figure 18).
The fuzzy evaluation process uses the precalculated values of the fuzzy variables so as to save significant processing time. If the universe of discourse data is not precalculated, the embedded processor would be required to perform the calculations, with the possible results that real time response time, e.g., milliseconds, could not be provided.
The fuzzy logic for control applications and methodologies, including linear, nonlinear and adaptive systems, is described in more detail in A Course in Fuzzy Systems and Control, Wang, Li-Xin, Prentice Hall, 1997, chapters 16 and 26, incorporated herein by reference.
A key feature of the present invention is the ability of the embedded processors that execute the control application to communicate with each other via a communication network thus effecting a distributed control logic system. A high level block diagram illustrating the use of agents to distribute both expert rule based system processing and fuzzy logic subsystem processing among other OpenBus controller nodes is shown in Figure 26. Two or more OpenBus node controllers 420, each executing a control application and receiving input from sensors and generating output to actuators, can communicate via the network 18 which may comprise any suitable communication means such as a LAN, WAN or even the Internet. The embedded processor within each node controller communicates with other node controllers using what are known as agents.
The passing of agents between node controllers enables the control application logic to be distributed over a plurality of node controllers. Each node controller comprises a communication transport layer which provides the communication and network services to the control application. The communication transport layer may comprise any standard communication protocol or stack that is commercially available, such as TCP/IP, IPX/SPX, etc. The physical and link layers may comprise any standard communications such as Ethernet, Token Ring, FDDI, etc.
The ability to send and receive agents to and from each node controller, enables, for example, a fuzzy evaluation to be performed on one networked embedded processor and the crisp output value to be sent to a second networked embedded processor. In this fashion, a fuzzy control application can be establish over a cluster of standard embedded processors, with the connectivity of all embedded processors to each other provided via the communications network. Further, each embedded processor performs its localized tasks while communicating with other embedded processors to create a fully distributed control logic application.
A flow diagram illustrating the agent handling method of the present invention is shown in Figure 27. During normal operation of the system, each node controller performs the tasks making up the control application (step 430). Event handling is a major task performed by each node controller. One of the events checked for includes scanning for agents that have arrived from other node controllers (step 432). If the arrival of agent is detected (step 434) the agent is immediately activated (step 436). Once activated, the contents of the agent are processed (step 438). Further, any of the embedded processors in a node controller can request another networked node controller to perform a fuzzy evaluation to send the crisp output results back to it over the communications network. To accomplish this, the requesting node controller sends a suitable agent to the node controller that is to perform the fuzzy evaluation. The agent sent to the node controller contains the crisp input generating by the requesting node controller. The node controller that performs the fuzzy evaluation functions to package the crisp output results of the fuzzy evaluation in an agent which is sent back to the requesting node controller over the communications network.
A flow diagram illustrating the agent processing method performed when the arrival of an agent has been detected is shown in Figure 28. After the arrival of an agent has been detected by the receiving node controller, the crisp input is extracted from the agent (step 440). The fuzzy logic subsystem within the node controller fuzzifies the crisp input (442) to generate a fuzzy input before performing a fuzzy evaluation (step 444). The results of the fuzzy evaluation are then defuzzified to yield crisp output (step 446). Finally, the crisp output is placed in an agent and transmitted over the network to the requesting node controller (step 448).
As discussed in connection with Figure 27, after an agent is received at a node controller, it is activated (step 436). The agent activation process will now be described in more detail. A block diagram illustrating the passing of agents from one node controller to another is shown in Figure 29. Two node controllers are shown: node controller #1, referenced 450, and node controller #2, referenced 454. Node controller #1 is coupled to one or more sensors and/or actuators 452 and node controller #2 is coupled to one or more sensors and/or actuators 456. Node controllers 450, 454 are constructed similarly to the node controller 420 shown in Figure 18. For clarity purposes, the node controllers shown in Figure 29 are shown simplified. In order to activate an agent, the agent must first be created in a node controller.
In the example shown in Figure 29, node controller #2 declares one or more agents 458, labeled agent #1, agent #2, agent #N. One way of implementing agents within a node controller is as a stored procedure that is executed by the embedded processor when it is invoked. An agent can be invoked from an extemal node controller located at a remote site. Both node controllers are coupled to a communications network (not shown for clarity sake) to permit communications therebetween.
When node controller #1 wants to invoke an agent located on node controller #2, it transmits over the network a request to node controller #2 to activate a particular agent. Along with the request, node controller #1 transmits one or more parameters (PI, P2, P3, for example) that originated at node controller #1. Upon receiving the request from node controller #1, node controller #2 activates the appropriate agent in accordance thereto. The agent, once activated, performs the specific tasks and functions it was designed to do and transmits an acknowledgment back to the requesting node controller, i.e., node controller #2. In this manner, the present invention provides distributed communications and processing between a plurality of node controllers making up a distributed control application.
An example of the use of agents to implement a distributed control application will now be presented. A block diagram illustrating an example distributed control application utilizing a control server and an I/O client is shown in Figure 30. Two node controllers are shown: node controller #1, referenced 460, and node controller #2, referenced 462. Node controllers 460, 462 are constracted similarly to the node controller 420 shown in Figure 18. For clarity purposes, the node controllers shown in Figure 30 are shown simplified. In addition, both node controllers are coupled to a communications network 464 to permit communications therebetween. Further, node controller #2 is connected to one or more servo motors 466, one or more encoders 468 and possibly other sensors and/or actuators 470.
Using the present invention, a node controller can be implemented integral with a personal computer as described hereinabove. In this example, node controller #1 is implemented on a PC which serves as a generic operating system. Numerous different control applications can be executed on the node controller, for example, applications involving motion, such as machines and robots. At the same time, the PC permits full integration with other process control elements. The system enables closed loop motion control via a network 464, wherein the network may comprise LAN/WAN/Intemet. The network may also comprise a standard control bus such as Profibus, Interbus, etc.
A system such as shown in Figure 30, enables closed loop motion control via a network, e.g., control bus, without the need for specialized and expensive motion control PC boards. Node controller #1 functions as the control application server, containing the motion and process control portion of the control application. The motion and process control on the server are implemented by defining steps, rules and actions which are translated to p-code or machine code executed on the server (node controller #1). The motors and/or servo motors 466 making up the machine or robot are connected to node controller #2 which functions as an I/O client. In addition, the encoders 468 and other sensors and actuators 470 are connected to the I/O client.
To facilitate complex motion, the I/O client node controller #2 implements a high speed counter which counts the actual motion pulses. The count data, encoder and other sensor data is input by the I/O client (node controller #2) and transmitted to the control application server (node controller #1) via one or more agents. The input data received via the agents are processed and, in response, output commands for driving the servo motors are generated and transmitted back to the I/O client also via agents.
In this fashion, a motion trajectory can be executed over the control network between the control application server and servo motors connected to the I/O client. The encoder position data, sent over the network, is also utilized by the control application on the server to accurately control the motion of the machine or robot. Utilizing relatively simple commands as expressed in the rules and actions, the compiler, generated code to implement dynamic trajectory tracking.
While the invention has been described with respect to a limited number of embodiments, it will be appreciated that many variations, modifications and other applications of the invention may be made.

Claims

What is claimed is:
1. A control automation system for controlling a plurality of input and output (I/O) devices in accordance with a control application, said system connected to a network for communicating control automation information, said system comprising: a development system optionally coupled to said network, said development system generating p-code embodying event triggers, event actions, program logic and fuzzy rales, variables and membership functions implementing said control application; and at least one node controller coupled to said network for executing in real-time said p-code generated by said development system and for implementing a fuzzy logic inference engine.
2. The system according to claim 1, wherein said node controller comprises: processor means for managing and controlling the operation of said node controller, said processor means for executing a real-time kemel, said kemel implementing said control application embodied in p-code and implementing said fuzzy logic inference engine; network interface means for connecting said node controller to said network; I/O device interface means for connecting said node controller to said plurality of I/O devices; and bus means for interconnecting together said real-time kemel, said network interface means and said I/O interface means.
3. The system according to claim 1, wherein said node controller comprises: means for implementing an expert rale based control system; and means for implementing said fuzzy logic inference engine.
4. The system according to claim 1, wherein said development system comprises a compiler for generating p-code in accordance with the event triggers, event actions, fuzzy rales, fuzzy variables, fuzzy membership functions and program logic of said control application.
5. The system according to claim 1, wherein said development system comprises a compiler for generating machine code in accordance with the event triggers, event . actions, fuzzy rules, fuzzy variables, fuzzy membership functions and program logic of said control application.
6. The system according to claim 1, wherein said development system comprises a compiler for generating code adapted to be executed on math coprocessor means in accordance with the event triggers, event actions, fuzzy rules, fuzzy variables, fuzzy membership functions and program logic of said control application.
7. The system according to claim 1, wherein said development system comprises a compiler for generating code realizing one or more fuzzy evaluation triggers in accordance with the event triggers, event actions, fuzzy rales, fuzzy variables, fuzzy membership functions and program logic of said control application.
8. The system according to claim 1, wherein said development system comprises a compiler for generating code including precalculated data of the fuzzy universe of discourse in accordance with the event triggers, event actions, fuzzy rales, fuzzy variables, fuzzy membership functions and program logic of said control application.
9. The system according to claim 1, wherein said kemel means comprises: an extemal input signal scanner for reading, storing and determining changes to extemal input signals received from said plurality of I/O devices; an event triggers evaluation module for detecting changes to said extemal input signals and intemal entities, said event triggers evaluation module for determining and resolving all event triggers corresponding to said detected changes; a scheduler for marking all actions corresponding to said event triggers that resolve true; an action execution unit for executing and implementing said actions marked for execution by said scheduler; an entity processor for determining any changes to values assigned to an entity, said entity processor notifying said event triggers evaluation module of said entity value changes; and means for determining when a fuzzy evaluation is required to be performed.
10. The system according to claim 1, wherein said I/O device interface means comprises a third party I/O interface control board.
11. The system according to claim 1, wherein said bus means comprises a bus contained in but not limited to the group comprising Peripheral Component Interconnect (PCI) bus, VESA Local (VL) bus, V-bus, Industry Standard Architecture (ISA) bus, VersaModule Europa (VME) bus and Extended Industry Standard Architecture (EISA) bus.
12. A node controller apparatus for use in a control automation system, said system for controlling a plurality of input and output (I/O) devices in accordance with a control application, said system including a network for communicating control automation information, said apparatus comprising: processor means for managing and controlling the operation of said node controller, said processor means for executing a real-time kemel, said kemel implementing said control application embodied in p-code and for implementing a fuzzy logic subsystem; network interface means for connecting said node controller to said network so as to enable the transfer of one or more agents between node controller connected to said network; I/O interface means for connecting said node controller to said plurality of I/O devices; and bus means for interconnecting together said processor means, said kernel means, said network interface means and said I/O interface means.
13. The system according to claim 12, wherein said processor means comprises: means for implementing an expert rale based control system; and means for implementing said fuzzy logic inference engine.
14. The system according to claim 12, wherein said processor means comprises: an expert rule based control system adapted to receive a plurality of input sensor signals from one or more input sensors and adapted to output a plurality of output sensor signals to one or more actuators; and a fuzzy logic subsystem for implementing a fuzzy logic inference engine, said fuzzy logic subsystem adapted to receive crisp input data from said expert rule based control system, perform fuzzy processing on said input data to yield crisp output data.
15. The system according to claim 14, wherein said fuzzy logic subsystem comprises: fuzzification means for transforming said crisp input to fuzzy input; fuzzy logic processing means for performing fuzzy calculations and processing of said fuzzy input and generating fuzzy output in response thereto; defuzzification means for transforming said fuzzy output into crisp output; and means for operating said fuzzy logic processing means in accordance with the fuzzy rules, fuzzy variables and associated fuzzy membership functions contained within said control application.
16. The system according to claim 12, wherein said I/O device interface means comprises a third party I/O interface control board.
17. The system according to claim 12, wherein said bus means comprises a bus contained in but not limited to the group comprising Peripheral Component Interconnect (PCI) bus, VESA Local (VL) bus, V-bus, Industry Standard Architecture (ISA) bus, VersaModule Europa (VME) bus and Extended Industry Standard Architecture (EISA) bus.
18. A control automation system for implementing a distributed control application, said system connected to a communication network, said system comprising: a plurality of node controllers, each node controller comprising: expert rule based control system means for implementing said control application in accordance with one or more control rules; fuzzy logic subsystem means for implementing a fuzzy logic inference engine, said fuzzy logic inference engine for evaluating fuzzy variables, expressions and formulas in accordance with one or more fuzzy rales, fuzzy variables and associated membership functions; network interface means for connecting said node controller to said network so as to enable the transfer of one or more agents between node controllers connected to said network;
I/O interface means for connecting said node controller to a plurality of I/O devices; and bus means for interconnecting together said expert rule based control system means, said network interface means and said I/O interface means.
19. The system according to claim 18, wherein said fuzzy logic subsystem comprises: fuzzification means for transforming said crisp input to fuzzy input; fuzzy logic processing means for performing fuzzy calculations and processing of said fuzzy input and generating fuzzy output in response thereto; defuzzification means for transforming said fuzzy output into crisp output; and means for operating said fuzzy logic processing means in accordance with the fuzzy rales, fuzzy variables and associated fuzzy membership functions contained within said control application.
20. In a control automation system connected to a communication network, a method of implementing a distributed control application, said method comprising the steps of: providing a plurality of node controllers wherein each node controller includes expert rale based control system means for implementing said control application in accordance with one or more control rules and fuzzy logic subsystem means for implementing a fuzzy logic inference engine; evaluating fuzzy variables, expressions and formulas in accordance with one or more fuzzy rales, fuzzy variables and associated membership functions - making up said control application; connecting said node controller to said network so as to enable the transfer of one or more agents between node controllers connected to said network; connecting said node controller to a plurality of I/O devices; and interconnecting together said expert rule based control system means, said network interface means and said I/O interface means.
21. The method according to claim 20, wherein said step of evaluating comprises the steps of: detecting, in accordance with said control rales, that a fuzzy evaluation is to be performed; fuzzifying crisp input output by said expert rule based control system means to yield a fuzzy input; performing a fuzzy evaluation of said fuzzy input in accordance with said fuzzy rules, fuzzy variables and associated membership functions making up said control application to yield a fuzzy output; defuzzifying said fuzzy output to yield crisp output; and sending said crisp output results to said expert rule based control system.
22. In a computer system, a method of generating p-code for execution on a node controller as part of a control automation system for controlling a plurality of input and output (I/O) devices in accordance with a user's application, said application including event triggers, event actions and program logic, said method comprising the steps of: generating a plurality of pointer tables, each pointer table associated with either an extemal input signal or an entity, each pointer table comprising a plurality of pointer entries, each pointer entry pointing to an event trigger; generating an event trigger table, said event trigger table comprising a plurality of event trigger entries, each event trigger entry corresponding to an action that references the particular extemal input signal or entity that points thereto; generating a plurality of actions, each of said actions comprising at least one frame, said actions, said actions representing the generation of output signals and/or the modification of said intemal entities; and wherein said plurality of pointer tables, said event trigger table and said plurality of actions generated in accordance with said event triggers, event actions and program logic making up said user's application.
23. A kernel for implementation on a computing means, said computing means part of a control automation system for controlling a plurality of input and output (I/O) devices in accordance with a control application, said computing means including an expert rule based control system and a fuzzy logic subsystem, said kemel comprising: an extemal input signal scanner for reading, storing and determining changes to extemal input signals received from said plurality of I/O devices; an event triggers evaluation module for detecting changes to said extemal input signals and intemal entities, said event triggers evaluation module for determining and resolving all event triggers corresponding to said detected changes; a scheduler for marking all actions corresponding to said event triggers that resolve true; an action execution unit for executing and implementing said actions marked for execution by said scheduler; an entity processor for determining any changes to values assigned to an entity, said entity processor notifying said event triggers evaluation module of said entity value changes; means for determining when a fuzzy evaluation is required to be performed; and means for sending crisp input to said fuzzy logic subsystem and receiving crisp output in response thereto.
24. The kemel according to claim 23, wherein said action execution unit performs a method comprising the steps of: reading the p-code contents of a frame; analyzing said p-code; reading the values of extemal input signals and/or intemal entities; and performing the command embodied in said p-code; generating any output signals in accordance with said command; and modifying any entity values in accordance with said command.
PCT/IL1998/000043 1997-01-30 1998-01-29 Openbus system for control automation networks incorporating fuzzy logic control WO1998036518A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU57781/98A AU5778198A (en) 1997-01-30 1998-01-29 Openbus system for control automation networks incorporating fuzzy logic control

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/790,974 US5978578A (en) 1997-01-30 1997-01-30 Openbus system for control automation networks
US08/790,974 1997-01-30

Publications (2)

Publication Number Publication Date
WO1998036518A2 true WO1998036518A2 (en) 1998-08-20
WO1998036518A3 WO1998036518A3 (en) 1998-11-12

Family

ID=25152294

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IL1998/000043 WO1998036518A2 (en) 1997-01-30 1998-01-29 Openbus system for control automation networks incorporating fuzzy logic control

Country Status (3)

Country Link
US (1) US5978578A (en)
AU (1) AU5778198A (en)
WO (1) WO1998036518A2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000064099A2 (en) * 1999-04-16 2000-10-26 Invensys Systems, Inc. Powered ethernet for instrumentation and control
EP1810138A2 (en) * 2004-09-08 2007-07-25 Fisher-Rosemount Systems, Inc. Management of event order of occurrence on a network
EP1916578A1 (en) 2006-10-24 2008-04-30 Triphase NV A system for real-time process control
US7565211B2 (en) 2004-11-18 2009-07-21 Panduit Corp. Ethernet-to-analog controller
US7614083B2 (en) 2004-03-01 2009-11-03 Invensys Systems, Inc. Process control methods and apparatus for intrusion detection, protection and network hardening
US8145966B2 (en) 2007-06-05 2012-03-27 Astrium Limited Remote testing system and method
CN104330993A (en) * 2014-10-27 2015-02-04 中国北车集团大连机车研究所有限公司 Electric locomotive microcomputer control system serial communication plate and achievement method thereof
CN110658724A (en) * 2019-11-20 2020-01-07 电子科技大学 Self-adaptive fuzzy fault-tolerant control method for nonlinear system
CN113238937A (en) * 2021-05-11 2021-08-10 西北大学 Compiler fuzzy test method based on code compaction and false alarm filtering

Families Citing this family (172)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8352400B2 (en) 1991-12-23 2013-01-08 Hoffberg Steven M Adaptive pattern recognition based controller apparatus and method and human-factored interface therefore
US10361802B1 (en) 1999-02-01 2019-07-23 Blanding Hovenweep, Llc Adaptive pattern recognition based control system and method
EP0825506B1 (en) 1996-08-20 2013-03-06 Invensys Systems, Inc. Methods and apparatus for remote process control
US6826590B1 (en) * 1996-08-23 2004-11-30 Fieldbus Foundation Block-oriented control system on high speed ethernet
US6424872B1 (en) * 1996-08-23 2002-07-23 Fieldbus Foundation Block oriented control system
US20040194101A1 (en) * 1997-08-21 2004-09-30 Glanzer David A. Flexible function blocks
US7146230B2 (en) * 1996-08-23 2006-12-05 Fieldbus Foundation Integrated fieldbus data server architecture
US8982856B2 (en) 1996-12-06 2015-03-17 Ipco, Llc Systems and methods for facilitating wireless network communication, satellite-based wireless network systems, and aircraft-based wireless network systems, and related methods
US7054271B2 (en) 1996-12-06 2006-05-30 Ipco, Llc Wireless network system and method for providing same
US20080002735A1 (en) * 1997-04-01 2008-01-03 Paradox Security Systems Ltd. Device network
US6999824B2 (en) 1997-08-21 2006-02-14 Fieldbus Foundation System and method for implementing safety instrumented systems in a fieldbus architecture
US7058693B1 (en) * 1997-09-10 2006-06-06 Schneider Automation Inc. System for programming a programmable logic controller using a web browser
US6339838B1 (en) * 1998-01-02 2002-01-15 At&T Corp. Control of commercial processes
JP3171241B2 (en) * 1998-03-06 2001-05-28 日本電気株式会社 Communication method
US6891849B1 (en) * 1998-06-12 2005-05-10 Phoenix Contact Gmbh & Co. Fieldbus components, communication system and process for the transmission of data over a high speed transmission medium
US8108508B1 (en) * 1998-06-22 2012-01-31 Hewlett-Packard Development Company, L.P. Web server chip for network manageability
US6437692B1 (en) 1998-06-22 2002-08-20 Statsignal Systems, Inc. System and method for monitoring and controlling remote devices
US6914893B2 (en) 1998-06-22 2005-07-05 Statsignal Ipc, Llc System and method for monitoring and controlling remote devices
US6891838B1 (en) 1998-06-22 2005-05-10 Statsignal Ipc, Llc System and method for monitoring and controlling residential devices
US8410931B2 (en) 1998-06-22 2013-04-02 Sipco, Llc Mobile inventory unit monitoring systems and methods
US6167568A (en) * 1998-06-30 2000-12-26 Sun Microsystems, Inc. Method and apparatus for implementing electronic software distribution
US6505228B1 (en) 1998-07-22 2003-01-07 Cisco Technology, Inc. Dynamic determination of execution sequence
US6226788B1 (en) * 1998-07-22 2001-05-01 Cisco Technology, Inc. Extensible network management system
US6349341B1 (en) * 1998-07-30 2002-02-19 Advanced Micro Devices, Inc. Method and system for providing inter-tier application control in a multi-tiered computing environment
US6317415B1 (en) 1998-09-28 2001-11-13 Raytheon Company Method and system for communicating information in a network
US6266702B1 (en) 1998-09-28 2001-07-24 Raytheon Company Method and apparatus to insert and extract data from a plurality of slots of data frames by using access table to identify network nodes and their slots for insertion and extraction data
US6374314B1 (en) * 1998-09-28 2002-04-16 Raytheon Company Method for managing storage of data by storing buffer pointers of data comprising a sequence of frames in a memory location different from a memory location for pointers of data not comprising a sequence of frames
US6381647B1 (en) 1998-09-28 2002-04-30 Raytheon Company Method and system for scheduling network communication
US6275741B1 (en) * 1998-10-05 2001-08-14 Husky Injection Molding Systems Ltd. Integrated control platform for injection molding system
US6493750B1 (en) * 1998-10-30 2002-12-10 Agilent Technologies, Inc. Command forwarding: a method for optimizing I/O latency and throughput in fibre channel client/server/target mass storage architectures
US6345212B1 (en) * 1998-11-20 2002-02-05 Manufacturing Data Systems, Inc. Automatic variable linkage mechanism for integrating third party software components
US6266540B1 (en) * 1998-11-30 2001-07-24 Qualcomm Inc Control interface protocol for telephone sets for a satellite telephone system
US7966078B2 (en) 1999-02-01 2011-06-21 Steven Hoffberg Network media appliance system and method
JP2000270384A (en) * 1999-03-12 2000-09-29 Omron Corp Sensor, controller and sensor system
US7650425B2 (en) 1999-03-18 2010-01-19 Sipco, Llc System and method for controlling communication between a host computer and communication devices associated with remote devices in an automated monitoring system
EP1052581A1 (en) * 1999-05-08 2000-11-15 PHOENIX CONTACT GmbH & Co. Kg Apparatus and method for the planning of bussystems
WO2000070417A1 (en) 1999-05-17 2000-11-23 The Foxboro Company Process control configuration system with parameterized objects
US7089530B1 (en) 1999-05-17 2006-08-08 Invensys Systems, Inc. Process control configuration system with connection validation and configuration
US6591316B1 (en) * 1999-05-20 2003-07-08 Marconi Communications, Inc. Avoiding fragmentation loss in high speed burst oriented packet memory interface
AU5870100A (en) * 1999-06-11 2001-01-02 Foxboro Company, The Methods and apparatus for control using control devices that provide a virtual machine environment and that communicate via an ip network
US6788980B1 (en) 1999-06-11 2004-09-07 Invensys Systems, Inc. Methods and apparatus for control using control devices that provide a virtual machine environment and that communicate via an IP network
US6571136B1 (en) * 1999-06-19 2003-05-27 International Business Machines Corporation Virtual network adapter
DE19930660A1 (en) * 1999-07-02 2001-01-11 Siemens Ag Process for monitoring or installing new program codes in an industrial plant
US6708244B2 (en) * 1999-07-22 2004-03-16 Cypress Semiconductor Corp. Optimized I2O messaging unit
US6389383B1 (en) * 1999-08-13 2002-05-14 Texas Instruments Incorporated System and method for interfacing software and hardware
IL148130A0 (en) * 1999-08-16 2002-09-12 Force Corp Z System of reusable software parts and methods of use
JP2001147515A (en) * 1999-09-07 2001-05-29 Ricoh Co Ltd Method for designing photomask, apparatus for designing photomask, memory medium readable with computer, photomask, photoresist, photosensitive resin, substrate, microlens and optical element
US6751698B1 (en) * 1999-09-29 2004-06-15 Silicon Graphics, Inc. Multiprocessor node controller circuit and method
US7020701B1 (en) * 1999-10-06 2006-03-28 Sensoria Corporation Method for collecting and processing data using internetworked wireless integrated network sensors (WINS)
US7891004B1 (en) 1999-10-06 2011-02-15 Gelvin David C Method for vehicle internetworks
JP4383626B2 (en) * 2000-04-13 2009-12-16 キヤノン株式会社 Positioning apparatus and exposure apparatus
US6970942B1 (en) * 2000-05-08 2005-11-29 Crossroads Systems, Inc. Method of routing HTTP and FTP services across heterogeneous networks
US6658652B1 (en) 2000-06-08 2003-12-02 International Business Machines Corporation Method and system for shadow heap memory leak detection and other heap analysis in an object-oriented environment during real-time trace processing
US6592354B2 (en) 2000-12-01 2003-07-15 Avalon Vision Solutions, Llc Part-forming machine having an infrared vision inspection system and method for verifying the presence, absence and quality of molded parts therein
US20030211188A1 (en) * 2000-06-19 2003-11-13 Kachnic Edward F. Wireless image processing method and device therefor
CA2413363A1 (en) * 2000-06-19 2001-12-27 Edward Kachnic Part forming machine integrated controller
US6592355B2 (en) 2000-12-16 2003-07-15 Ovalon Vision Solutions, Llc Part-forming machine having an in-mold integrated vision system and method therefor
US20050240286A1 (en) * 2000-06-21 2005-10-27 Glanzer David A Block-oriented control system on high speed ethernet
US6904594B1 (en) 2000-07-06 2005-06-07 International Business Machines Corporation Method and system for apportioning changes in metric variables in an symmetric multiprocessor (SMP) environment
US7389497B1 (en) 2000-07-06 2008-06-17 International Business Machines Corporation Method and system for tracing profiling information using per thread metric variables with reused kernel threads
US6735758B1 (en) 2000-07-06 2004-05-11 International Business Machines Corporation Method and system for SMP profiling using synchronized or nonsynchronized metric variables with support across multiple systems
US6662359B1 (en) 2000-07-20 2003-12-09 International Business Machines Corporation System and method for injecting hooks into Java classes to handle exception and finalization processing
US6742178B1 (en) 2000-07-20 2004-05-25 International Business Machines Corporation System and method for instrumenting application class files with correlation information to the instrumentation
US6826619B1 (en) 2000-08-21 2004-11-30 Intel Corporation Method and apparatus for preventing starvation in a multi-node architecture
US20040059452A1 (en) * 2000-08-23 2004-03-25 Edward Kachnic Sensory inspection system and method thereof
EP1314070A2 (en) * 2000-08-28 2003-05-28 Markus Gillich Device and method for the integrated monitoring, control and regulation of complex technical process flows
DE10047925A1 (en) * 2000-09-27 2002-05-02 Siemens Ag Process for real-time communication between several network participants in a communication system with ethernet physics and corresponding communication system with ethernet physics
US6487643B1 (en) 2000-09-29 2002-11-26 Intel Corporation Method and apparatus for preventing starvation in a multi-node architecture
ITBO20000577A1 (en) * 2000-10-03 2002-04-03 Gd Spa AUTOMATIC MACHINE
EP1340128B1 (en) * 2000-12-05 2007-01-31 Hirschmann Electronics GmbH & Co. KG Distribution of data
US6772298B2 (en) 2000-12-20 2004-08-03 Intel Corporation Method and apparatus for invalidating a cache line without data return in a multi-node architecture
US6791412B2 (en) 2000-12-28 2004-09-14 Intel Corporation Differential amplifier output stage
US6721918B2 (en) 2000-12-29 2004-04-13 Intel Corporation Method and apparatus for encoding a bus to minimize simultaneous switching outputs effect
US7346911B2 (en) * 2001-01-05 2008-03-18 International Business Machines Corporation Method, system, and program for communication among nodes in a system
US6925634B2 (en) * 2001-01-24 2005-08-02 Texas Instruments Incorporated Method for maintaining cache coherency in software in a shared memory system
US20020124199A1 (en) * 2001-02-16 2002-09-05 Fernando John Susantha Method and apparatus for transferring multi-source/multi-sink control signals using a differential signaling technique
JP4739556B2 (en) * 2001-03-27 2011-08-03 株式会社安川電機 Remote adjustment and abnormality judgment device for control target
US20020143969A1 (en) * 2001-03-30 2002-10-03 Dietmar Loy System with multiple network protocol support
JP2002321056A (en) * 2001-04-25 2002-11-05 Obara Corp Welding control device
US20020199179A1 (en) * 2001-06-21 2002-12-26 Lavery Daniel M. Method and apparatus for compiler-generated triggering of auxiliary codes
US7051143B2 (en) * 2001-06-25 2006-05-23 Schneider Automation Inc. Method, system and program for the transmission of modbus messages between networks
US6975913B2 (en) 2001-07-13 2005-12-13 Siemens Aktiengesellschaft Database system and method for industrial automation services
DE10152765B4 (en) * 2001-07-13 2015-11-12 Siemens Aktiengesellschaft A method for electronically providing services to machines via a data communication link
US7395122B2 (en) * 2001-07-13 2008-07-01 Siemens Aktiengesellschaft Data capture for electronically delivered automation services
US20060085091A9 (en) * 2001-07-13 2006-04-20 Martin Kiesel Electronic fingerprints for machine control and production machines
US7603289B2 (en) * 2001-07-13 2009-10-13 Siemens Aktiengesellschaft System and method for electronic delivery of content for industrial automation systems
US7292900B2 (en) * 2001-07-13 2007-11-06 Siemens Aktiengesellschaft Power distribution expert system
US6819960B1 (en) 2001-08-13 2004-11-16 Rockwell Software Inc. Industrial controller automation interface
US7788381B2 (en) * 2001-09-17 2010-08-31 Foundry Networks, Inc. System and method for router keep-alive control
US8489063B2 (en) 2001-10-24 2013-07-16 Sipco, Llc Systems and methods for providing emergency messages to a mobile device
US7480501B2 (en) 2001-10-24 2009-01-20 Statsignal Ipc, Llc System and method for transmitting an emergency message over an integrated wireless network
US7424527B2 (en) 2001-10-30 2008-09-09 Sipco, Llc System and method for transmitting pollution information over an integrated wireless network
FR2831969B1 (en) * 2001-11-08 2004-01-16 Schneider Automation ELECTRONIC CARD DOWNLOAD AND REMOTE MAINTENANCE SYSTEM
US20030093581A1 (en) * 2001-11-09 2003-05-15 Adc Dsl Systems, Inc. Telecommunications system architecture
FR2832523A1 (en) * 2001-11-16 2003-05-23 Alstom Method for compensating data propagation time differences in distributed system, e.g. for static converter control, comprising phases of module calibration to determine synchronization times and delaying module executions accordingly
GB2384866A (en) * 2001-12-19 2003-08-06 Cognition Ltd Cambridge Control system using a network
US7734716B2 (en) * 2002-01-24 2010-06-08 Ge Fanuc Automation North America, Inc. Methods and systems for management and control of an automation control module
US20040003154A1 (en) * 2002-06-28 2004-01-01 Harris Jeffrey M. Computer system and method of communicating
US7185045B2 (en) * 2002-07-15 2007-02-27 Sixnet, Llc Ethernet interface device for reporting status via common industrial protocols
US7016759B2 (en) * 2002-08-23 2006-03-21 Siemens Aktiengesellschaft Active resource control system method & apparatus
DE10242004B4 (en) * 2002-09-11 2018-01-04 Siemens Aktiengesellschaft automation equipment
DE10242916A1 (en) * 2002-09-16 2004-03-25 Siemens Ag Automated control software writing system for loading device-independent functionality for automation devices uses properties and functions of different automation systems and a runtime framework
US20040059973A1 (en) * 2002-09-24 2004-03-25 Sherman Brent M. Apparatus for testing a device under test using a high speed bus and method therefor
US7061485B2 (en) * 2002-10-31 2006-06-13 Hewlett-Packard Development Company, Lp. Method and system for producing a model from optical images
US7383168B2 (en) * 2003-01-06 2008-06-03 Fujitsu Limited Method and system for design verification and debugging of a complex computing system
US20040187090A1 (en) * 2003-03-21 2004-09-23 Meacham Randal P. Method and system for creating interactive software
DE10314025B4 (en) * 2003-03-28 2010-04-01 Kuka Roboter Gmbh Method and device for controlling a plurality of handling devices
US7857761B2 (en) 2003-04-16 2010-12-28 Drexel University Acoustic blood analyzer for assessing blood properties
US7904583B2 (en) * 2003-07-11 2011-03-08 Ge Fanuc Automation North America, Inc. Methods and systems for managing and controlling an automation control module system
US7117048B2 (en) * 2003-09-30 2006-10-03 Rockwell Automation Technologies, Inc. Safety controller with safety response time monitoring
DE10345883A1 (en) * 2003-09-30 2005-05-12 Siemens Ag Fabricating device with automatic remote monitoring e.g. for main spindle unit of milling machines and lathes, has data processing device joined via remote data link to server
GB0323178D0 (en) * 2003-10-03 2003-11-05 Rogoll Gunther Physical layer diagnostics
US7093080B2 (en) * 2003-10-09 2006-08-15 International Business Machines Corporation Method and apparatus for coherent memory structure of heterogeneous processor systems
WO2005052525A2 (en) * 2003-11-20 2005-06-09 Nicol William A Sensory system and method thereof
US7930053B2 (en) * 2003-12-23 2011-04-19 Beacons Pharmaceuticals Pte Ltd Virtual platform to facilitate automated production
US8031650B2 (en) 2004-03-03 2011-10-04 Sipco, Llc System and method for monitoring remote devices with a dual-mode wireless communication protocol
US7756086B2 (en) 2004-03-03 2010-07-13 Sipco, Llc Method for communicating in dual-modes
US7516029B2 (en) 2004-06-09 2009-04-07 Rambus, Inc. Communication channel calibration using feedback
CN101040231A (en) * 2004-08-31 2007-09-19 沃特洛电气制造公司 Distributed operations system diagnostic system
WO2006039711A1 (en) * 2004-10-01 2006-04-13 Lockheed Martin Corporation Service layer architecture for memory access system and method
US7693592B2 (en) * 2004-10-04 2010-04-06 Siemens Aktiengesellschaft Interface unit for automation systems and method of providing and installing such an interface
US9439126B2 (en) 2005-01-25 2016-09-06 Sipco, Llc Wireless network protocol system and methods
DE102005006458A1 (en) * 2005-02-12 2006-08-24 Hirschmann Electronics Gmbh Method for detecting and transmitting a network infrastructure
CN101133597A (en) * 2005-03-04 2008-02-27 皇家飞利浦电子股份有限公司 Electronic device and a method for arbitrating shared resources
DE102005017594A1 (en) * 2005-04-16 2006-10-19 Abb Patent Gmbh Decentralized automation system, has programming software with tool distributing automation function to filed devices and tool producing and transmitting communication relations between field devices
US8854980B2 (en) 2005-05-06 2014-10-07 Lockheed Martin Corporation Switching module
US8112637B2 (en) * 2005-07-12 2012-02-07 Hewlett-Packard Development Company, L.P. System and method for programming a data storage device with a password
DE102005054202B3 (en) * 2005-11-14 2007-04-19 Siemens Ag Serial bus system has bus address associated with each connected input/output card and no bus address is retained for non-connected input/output cards
US8676357B2 (en) 2005-12-20 2014-03-18 Fieldbus Foundation System and method for implementing an extended safety instrumented system
US7489977B2 (en) * 2005-12-20 2009-02-10 Fieldbus Foundation System and method for implementing time synchronization monitoring and detection in a safety instrumented system
DE102007003196A1 (en) * 2006-01-23 2007-07-26 Abb Patent Gmbh communication system
US7860857B2 (en) 2006-03-30 2010-12-28 Invensys Systems, Inc. Digital data processing apparatus and methods for improving plant performance
US20070233821A1 (en) * 2006-03-31 2007-10-04 Douglas Sullivan Managing system availability
US7716536B2 (en) * 2006-06-29 2010-05-11 Intel Corporation Techniques for entering a low-power link state
US20090043408A1 (en) * 2007-08-08 2009-02-12 Rockwell Automation Technologies, Inc. Integrated drive management and configuration using instantiated objects
DE102008019287B4 (en) * 2008-04-16 2010-07-22 Eads Deutschland Gmbh A method for automatically generating a time scheme for distributed applications or processes of a digital network communicating over a timed common data bus
US20090271728A1 (en) * 2008-04-29 2009-10-29 Rockwell Automation Technologies, Inc. Visual representation manipulation
US20090271721A1 (en) * 2008-04-29 2009-10-29 Rockwell Automation Technologies, Inc. Organizational roll-up/down
US8239339B2 (en) 2008-04-29 2012-08-07 Rockwell Automation Technologies, Inc. Library synchronization between definitions and instances
RU2495476C2 (en) 2008-06-20 2013-10-10 Инвенсис Системз, Инк. Systems and methods for immersive interaction with actual and/or simulated facilities for process, environmental and industrial control
US8127060B2 (en) 2009-05-29 2012-02-28 Invensys Systems, Inc Methods and apparatus for control configuration with control objects that are fieldbus protocol-aware
US8463964B2 (en) 2009-05-29 2013-06-11 Invensys Systems, Inc. Methods and apparatus for control configuration with enhanced change-tracking
US8271784B2 (en) * 2009-10-15 2012-09-18 International Business Machines Corporation Communication between key manager and storage subsystem kernel via management console
US9274851B2 (en) 2009-11-25 2016-03-01 Brocade Communications Systems, Inc. Core-trunking across cores on physically separated processors allocated to a virtual machine based on configuration information including context information for virtual machines
US8769155B2 (en) * 2010-03-19 2014-07-01 Brocade Communications Systems, Inc. Techniques for synchronizing application object instances
US20110228772A1 (en) 2010-03-19 2011-09-22 Brocade Communications Systems, Inc. Providing multicast services without interruption upon a switchover
US8495418B2 (en) 2010-07-23 2013-07-23 Brocade Communications Systems, Inc. Achieving ultra-high availability using a single CPU
US9104619B2 (en) 2010-07-23 2015-08-11 Brocade Communications Systems, Inc. Persisting data across warm boots
US9143335B2 (en) 2011-09-16 2015-09-22 Brocade Communications Systems, Inc. Multicast route cache system
US10581763B2 (en) 2012-09-21 2020-03-03 Avago Technologies International Sales Pte. Limited High availability application messaging layer
US9203690B2 (en) 2012-09-24 2015-12-01 Brocade Communications Systems, Inc. Role based multicast messaging infrastructure
US9967106B2 (en) 2012-09-24 2018-05-08 Brocade Communications Systems LLC Role based multicast messaging infrastructure
FR3001553B1 (en) * 2013-01-31 2018-11-02 Wesby Sarl CONTROL DEVICE FOR AN AUTOMATION SYSTEM
US9477519B2 (en) * 2014-09-18 2016-10-25 Robert D. Pedersen Distributed activity control systems and methods
US9619349B2 (en) 2014-10-14 2017-04-11 Brocade Communications Systems, Inc. Biasing active-standby determination
DE102015202503A1 (en) * 2015-02-12 2016-08-18 Siemens Aktiengesellschaft Method for starting up an assembly with at least one electronic device
EP3133451A1 (en) * 2015-08-20 2017-02-22 Siemens Aktiengesellschaft System for controlling, monitoring and regulating a method for operating such a system
CN109634203B (en) * 2018-12-19 2021-12-17 上海维宏电子科技股份有限公司 Control system for controlling IO terminal based on numerical control controller and corresponding method
CN109698837B (en) * 2019-02-01 2021-06-18 重庆邮电大学 Internal and external network isolation and data exchange device and method based on unidirectional transmission physical medium
US11102030B2 (en) * 2019-06-27 2021-08-24 Rockwell Automation Technologies, Inc. Daisy chaining point-to-point link sensors
US11689386B2 (en) 2019-08-01 2023-06-27 Vulcan Technologies International Inc. Intelligent controller and sensor network bus, system and method for controlling and operating an automated machine including a failover mechanism for multi-core architectures
US11086810B2 (en) 2019-08-01 2021-08-10 Vulcan Technologies Shanghai Co., Ltd. Intelligent controller and sensor network bus, system and method including multi-layer platform security architecture
US11269795B2 (en) 2019-08-01 2022-03-08 Vulcan Technologies Shanghai Co., Ltd. Intelligent controller and sensor network bus, system and method including a link media expansion and conversion mechanism
US11089140B2 (en) 2019-08-01 2021-08-10 Vulcan Technologies Shanghai Co., Ltd. Intelligent controller and sensor network bus, system and method including generic encapsulation mode
US11263157B2 (en) 2019-08-01 2022-03-01 Vulcan Technologies Shanghai Co., Ltd. Intelligent controller and sensor network bus, system and method including a dynamic bandwidth allocation mechanism
US10841230B1 (en) * 2019-08-01 2020-11-17 Vulcan Technologies Shanghai Co., Ltd. Intelligent controller and sensor network bus, system and method
US11269316B2 (en) 2019-08-01 2022-03-08 Vulcan Technologies Shanghai Co., Ltd. Intelligent controller and sensor network bus, system and method including smart compliant actuator module
US11809163B2 (en) 2019-08-01 2023-11-07 Vulcan Technologies Shanghai Co., Ltd. Intelligent controller and sensor network bus, system and method including a message retransmission mechanism
US11156987B2 (en) 2019-08-01 2021-10-26 Vulcan Technologies Shanghai Co., Ltd. Intelligent controller and sensor network bus, system and method including a message retransmission mechanism
US11258538B2 (en) 2019-08-01 2022-02-22 Vulcan Technologies Shanghai Co., Ltd. Intelligent controller and sensor network bus, system and method including an error avoidance and correction mechanism
US20210065559A1 (en) * 2019-08-29 2021-03-04 New Bedford Panoramex Corp. Updatable Integrated Control and Monitoring System
CN110920935A (en) * 2019-12-18 2020-03-27 哈尔滨工业大学 Plug-and-play intelligent core system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5043929A (en) * 1989-06-13 1991-08-27 Schlumberger Technologies, Inc. Closed-form kinematics
US5412757A (en) * 1990-11-28 1995-05-02 Kabushiki Kaisha Toshiba Fuzzy control system
US5428525A (en) * 1992-07-01 1995-06-27 Cappelaere; Patrice G. Computer system and method for signal control prioritizing and scheduling
US5757640A (en) * 1996-01-24 1998-05-26 Ag-Chem Equipment Co., Inc. Product application control with distributed process manager for use on vehicles

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5623652A (en) * 1994-07-25 1997-04-22 Apple Computer, Inc. Method and apparatus for searching for information in a network and for controlling the display of searchable information on display devices in the network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5043929A (en) * 1989-06-13 1991-08-27 Schlumberger Technologies, Inc. Closed-form kinematics
US5412757A (en) * 1990-11-28 1995-05-02 Kabushiki Kaisha Toshiba Fuzzy control system
US5428525A (en) * 1992-07-01 1995-06-27 Cappelaere; Patrice G. Computer system and method for signal control prioritizing and scheduling
US5757640A (en) * 1996-01-24 1998-05-26 Ag-Chem Equipment Co., Inc. Product application control with distributed process manager for use on vehicles

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000064099A3 (en) * 1999-04-16 2001-07-26 Invensys Plc Powered ethernet for instrumentation and control
US6640308B1 (en) 1999-04-16 2003-10-28 Invensys Systems, Inc. System and method of powering and communicating field ethernet device for an instrumentation and control using a single pair of powered ethernet wire
WO2000064099A2 (en) * 1999-04-16 2000-10-26 Invensys Systems, Inc. Powered ethernet for instrumentation and control
US7614083B2 (en) 2004-03-01 2009-11-03 Invensys Systems, Inc. Process control methods and apparatus for intrusion detection, protection and network hardening
EP1810138A4 (en) * 2004-09-08 2011-01-12 Fisher Rosemount Systems Inc Management of event order of occurrence on a network
EP1810138A2 (en) * 2004-09-08 2007-07-25 Fisher-Rosemount Systems, Inc. Management of event order of occurrence on a network
US7565211B2 (en) 2004-11-18 2009-07-21 Panduit Corp. Ethernet-to-analog controller
WO2008049863A1 (en) * 2006-10-24 2008-05-02 Triphase Nv A system for real-time process control
EP2101232A1 (en) 2006-10-24 2009-09-16 Triphase NV A reliable system for real-time process control
EP1916578A1 (en) 2006-10-24 2008-04-30 Triphase NV A system for real-time process control
US8145966B2 (en) 2007-06-05 2012-03-27 Astrium Limited Remote testing system and method
CN104330993A (en) * 2014-10-27 2015-02-04 中国北车集团大连机车研究所有限公司 Electric locomotive microcomputer control system serial communication plate and achievement method thereof
CN110658724A (en) * 2019-11-20 2020-01-07 电子科技大学 Self-adaptive fuzzy fault-tolerant control method for nonlinear system
CN113238937A (en) * 2021-05-11 2021-08-10 西北大学 Compiler fuzzy test method based on code compaction and false alarm filtering
CN113238937B (en) * 2021-05-11 2023-02-03 西北大学 Compiler fuzzy test method based on code compaction and false alarm filtering

Also Published As

Publication number Publication date
US5978578A (en) 1999-11-02
AU5778198A (en) 1998-09-08
WO1998036518A3 (en) 1998-11-12

Similar Documents

Publication Publication Date Title
WO1998036518A2 (en) Openbus system for control automation networks incorporating fuzzy logic control
Zurawski Embedded Systems Handbook 2-Volume Set
KR100563291B1 (en) System and methods for object-oriented control of diverse electromechanical systems using a computer network
Wang et al. Constructing reconfigurable software for machine control systems
Cavalieri et al. Impact of fieldbus on communication in robotic systems
Quirós et al. Dispersed automation for industrial Internet of Things
Kubitz et al. Client-server-based mobile robot control
Zhou et al. Self-organization of reconfigurable protocol stack for networked control systems
Dadji et al. A communication architecture for distributed real-time robot control
Balasubramanian A metamorphic control architecture for holonic systems.
Elmenreich et al. TTP/A smart transducer programming—a beginner’s guide
Mahalik et al. Fieldbus technology based, distributed control in process industries: a case study with LonWorks technology
Elmenreich et al. A standardized smart transducer interface
Armstrong et al. A distributed control architecture for intelligent crane automation
Mahalik et al. Flexible distributed control of production line with the LON fieldbus technology: a laboratory study
Sastry et al. A taxonomy of distributed sensor networks
Stothert et al. Using intelligent agent templates for dynamic structuring of distributed computer control systems
Schmidtmann et al. ems-drd-a new open platform for distributed real-time programming
Muskinja et al. Use of TCP/IP protocol in industrial environment
Critoph Remote Communication and Remote Diagnostics
Pérez et al. An intelligent sensor architecture for mobile robots
García-Nocetti et al. Reconfigurable Distributed Control
Keere et al. Embedded real-time intelligence in the physical layer of telecommunication networks
Bruno et al. Communication and programming issues in robotic manufacturing cells
Drago et al. Estimation of bus performance for a tuplespace in an embedded architecture [factory automation application]

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GE GH GM GW HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT UA UG US UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

AK Designated states

Kind code of ref document: A3

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GE GH GM GW HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT UA UG US UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

NENP Non-entry into the national phase

Ref country code: JP

Ref document number: 1998535521

Format of ref document f/p: F

122 Ep: pct application non-entry in european phase