The present invention relates generally to the field of industrial automation and control systems. More particularly, the invention relates to a data logging module that can be incorporated into such systems for enhancing distributed and local control and monitoring by storing event logs and similar support data.
A wide range of applications exist for automation and control systems, particularly in industrial settings. Such applications may include the powering of a wide range of actuators, such as valves, electric motors, and so forth, and the collection of data via sensors. Traditional approaches to factory automation, for example, have included relatively centralized switch gear and controllers that may be networked to provide automation functions. These functions may be programmed into the controllers and command signals applied to the actuators, and feedback signals from the sensors can be stored for processing and analysis. In traditional systems, such processing and analysis, including the creation of error logs and event logs has taken place at a centralized location. Such centralized locations may, for example, in motor drives consist of large enclosures or cabinets in which various protective devices, switch gear, controllers and the like are disposed. Conduits typically extend considerable distances between these locations and the various machine points at which actuators and sensors are located.
There is increasing interest in automation technologies for more localized control and monitoring. Such approaches tend to form distributed systems in which certain protected circuits, switch gear and controllers are located fairly close to the loads that they command or monitor. In complex machine systems, for example, there is an increasing interest in locating motor drives and their associated circuitry quite close to the locations of the motors themselves. Because many such motors and actuators may be located in a complex process, many individual and distributed controllers may be positioned in various locations around the process machinery.
One advantage in the provision of distributed systems, which may be referred to as “on-machine” systems, is their ability to localize certain control decisions without reverting to command and control from a centralized location. Depending upon the system design, the distributed on-machine systems may function more or less autonomously, reporting only certain events and accepting only certain commands from a centralized location. At one extreme, such distributed systems work completely autonomously, and may not even be networked to a central system. In all of the various solutions of this type, one weakness is the inability or difficulty in centralizing logging of events, errors, malfunctions, or even normal operating parameters. Indeed, it would be advantageous to provide an automation control and monitoring system that has little or no need to maintain centralized logs of events, errors and operating parameters, but that can do so more locally and in a distributed manner, similar to the topology of the distributed control or monitoring systems themselves. To date, however, such on-machine systems do not incorporate logging circuitry of this type.
The invention provides a novel approach to logging of events, errors, and operating parameter data designed to respond to such needs. The invention provides, for example, what may be thought of as a “black box” for maintaining such data, but located locally at a distributed control or monitoring station in an automation setting. The distributed stations or controllers may be linked to one another by a network, and may be linked to centralized stations, computers, and so forth. In general, however, the distributed stations and controllers will be physically dispersed from one another and may conveniently be located proximate to points at which automation is controlled or monitored.
The logging circuitry provided in the distributed stations or controllers may be linked to the controllers themselves, and may also monitor traffic over a network linking such controllers, where desired. The logging circuitry may also be tied to sensors directly, so as to detect sensed parameters independent of their application to a network. The logging devices can log raw data or process the data to extract relationships that could be indicative of certain events, malfunctions, and so forth. Moreover, among the data logged in the devices, various events and errors that are flagged by the control systems themselves can be monitored, acquired and stored. The logging devices may then output such information either remotely, such as via a network link, or via a separate access port. Ideally, the data logging devices operate virtually independently of the controllers, such that the data logging functions do not rely upon the controllers directly, but may even serve to evaluate the operative state of the controllers themselves.
These and other features, aspects, and advantages of the present invention will become better understood when the following detailed description is read with reference to the accompanying drawings in which like characters represent like parts throughout the drawings, wherein:
Turning now to the drawings, and referring first to
The control and monitoring system 10, as illustrated, includes a range of local controllers 14 and 16 that are located in the general vicinity of points where power is applied to the machine system 12 or where data is collected. The local controllers 14 and 16 may carryout a wide range of functions, such as for starting and stopping loads, such as electric motors, regulating application of power to the loads, sensing application of power to the loads, sensing parameters of the process to which the loads are applied, and so forth. In the illustrated example, local controller 14 controls a motor 18, and interfaces with a pair of sensors 20. The sensors may, for example, sense the performance of the motor 18 or may sense other machine parameters, such as elevations, speeds, vibration, the presence of a work piece, and so forth, to name only a few. Similarly, local controller 16 controls application and power to a motor 22, and interfaces with a sensor 24. As will be appreciated by those skilled in the art, many such controllers may be provided in a typical large machine system or process, and each local controller may be interfaces with a range of actuators and sensors. The system also includes stand-alone I/O modules as illustrated at reference numeral 26 that may be used to interface with other actuators and sensors, such as sensor 28.
The controllers 14 and 16, and I/O module 26 are coupled to power and data busses that provide for application of power to the loads, provision of control power, and exchange of network data. In the illustrated embodiment, a data bus 30 is coupled to each of the controllers and I/O module to exchange sensed and control data in accordance with a suitable protocol. By way of example, in an industrial setting, known protocols might include the DeviceNet protocol. A control power bus 32 is provided and coupled to the controllers for providing control power. As will be appreciated by those skilled in the art, control power generally is either ac or dc power (e.g., 110 vac or 24 vdc) that enables switching devices, actuators, and sensors to perform their tasks.
In general, in many applications it is desired to provide control power that can be independently switched from the power applied to the loads, permitting testing and servicing of the controllers without power actually being applied to the loads. Similarly, a power bus 34 is provided for distribution of the power to be applied to the loads. In a typical industrial setting, the power bus will include four conductors for three-phase power and a ground. A neutral conductor may also be provided in the bus, were desired. The invention is not, however, limited to the application of three-phase power, but is equally applicable to systems distributing single-phase power.
In certain settings, a supplementary bus which may be referred to as an E-stop bus, represented by the dashed line capital S may also be provided. As will be appreciated by those skilled in the industrial arts, E-stop circuits (a term coined to refer to “emergency stop” circuits) are provided for interrupting power to certain loads in the event of the need for a rapid removal of power. In many settings, an E-stop bus will be interfaced with conspicuous push buttons to allow personnel to positively stop a process when needed.
While the local controllers may generally function virtually completely independently, in many settings it may be desirable to convey control and monitoring signals between these controllers and remote control and monitoring equipment. For example, in an industrial setting, such equipment may include programmable logic controllers, remote computer systems, various associated controllers in control rooms or control locations, and so forth. One such remote control and monitoring system 36 is illustrated in
Exemplary components of a local controller 14 or 16 that includes a data logging system in accordance with the present invention are illustrated in
The controller 14 is also coupled to the network bus 30 to exchange signals with the bus in accordance with any appropriate protocol, in a presently contemplated embodiment a DeviceNet protocol, an industry standard for open industrial data exchange networks. The network interface 46 will typically include hardware and software for converting memory or register values to appropriate messages, applying such messages to the network, receiving similar messages from the network and translating them for use in the controller. Such messages are applied to and may originate from control circuitry 48. Control circuitry 48 may typically include a motor drive, a motor starter, a programmable logic controller, or any other programmable or programmed logic devices. The control circuitry will also typically include memory for storing a program to be carried out by the controller, and for storing values either used as a basis for control, or sensed values used in control or monitoring functions. The control circuitry 48 may command operation of the contactor 42, for example, used to supply power to the motor 44.
Various sensing and feedback devices will also typically be included in controller 14. For example, in the illustrated embodiment, current sensors 50 sense current through conductors providing power to the motor. Signals from such sensors are applied to the control circuitry 48 and may be used for control and monitoring functions. For example, control circuitry 48 may implement a particular control regime for torque or speed control of the motor, and use feedback from sensors 54 for implementation of the algorithms that form the basis of such control. Moreover, feedback from the sensors may be used to detect errors, such as a loss of phase, phase-to-phase shorts, phase-to-ground faults, and so forth. The control circuitry 48 may, in turn, interpret such sensed parameters and create or store event data, error logs, and so forth based upon the evaluation.
Similarly, other sensed data may be applied to the control circuitry 48. For example, contactor 42 may have an auxiliary contact 52 associated with it. The auxiliary contact will typically provide a low level logic signal to indicate that the contactor is either opened or closed, depending on whether the contactor and the auxiliary contact are wired as normally-opened or normally-closed devices. As will be appreciated by those skilled in the art, the auxiliary signal may be interpreted by the control circuitry as an indication of the operative state of the contactor 42. That is, if a control signal is being applied to energize the contactor, or the signal has been removed so as to de-energize the contactor, the auxiliary signal from the contact 52 provides an indication of whether the contactor has actually responded to the application or removal or the control signal.
Moreover, certain input signals can be received through an I/O module 54, such as coupled to sensors 20. The I/O module typically converts these signals to a useful format, such as for application to the data network bus 30.
As illustrated in
The logging system may monitor, receive or request certain controller monitored signals from a range of sources, process these or store them in a raw form for later access and evaluation. For example, as illustrated in
As described in greater detail below, the logging system 56 may process such signals, such as to evaluate conditions such as faults, alarm conditions, errors, or simply to store parameters of interest. As also described below, the logging system 56 may periodically apply certain signals detected and stored therein to the network for remote monitoring and evaluation. Such signals may result, for example, in an alarm, a notification, or the like. The logging system may also be available for interrogation either remotely or locally. As illustrated in
The processor 68 may receive signals, event logs, error logs, and other data and processes data to identify certain error or fault conditions. For example, as will be appreciated by those skilled in the art, programming within the logging system may provide for comparing certain signals for identifiable fault sequences, comparison of signals values to fault values, error values, acceptable ranges, and so forth for generation of fault and error signals. Various other processing functions may be carried out by processor 68. Ultimately, then, the logged parameter, event and error data is stored in memory circuitry 70. The memory circuitry is preferably non-volatile memory such that in the event of a loss of power, the logged data can be recovered and evaluated.
Finally, as noted above, the logging system 56 preferably provides for local access to logged data. Accordingly, a local access interface 72 is provided to interface with processor 68 to pass data requests to the processor for extraction from memory, to load information into the logging system, where appropriate, and to convert any signals to a protocol needed for output to a local access device, such as a personal computer, hand-held computer, human machine interface, and so forth.
While only certain features of the invention have been illustrated and described herein, many modifications and changes will occur to those skilled in the art. It is, therefore, to be understood that the appended claims are intended to cover all such modifications and changes as fall within the true spirit of the invention.