The present invention relates to a method for automatic configuration of a process control system and a process control system adapted to carry out the method.
With respect to measurement and control technology, and also with respect to process control systems, frequently sensors have to be connected to a control unit or to an analyzing system. Besides the physical connection of the components involved, usually also it is required to adapt the apparatus configuration of the processing system, i.e. the control unit, to the origin of the input data, i.e. the sensors. The arrangement of process control systems can basically be described as follows: on one hand, there is a field apparatus. This can for example be a sensor like a pressure measuring transducer, a level switch, a flow meter, and so on. Or this can also be an actuator like a valve, a slide valve, and so on.
Typically, the sensor provides measurement values via a bus system to the control unit, whereby respective measurement values have a different relevance according to the measuring method used. Thus, pressure sensors provide for example measurement values which are calibrated in pressure units as bar, Pascal or mmH2O, whereas distance measuring sensors provide values, being calibrated in m, mm, or ft. Flow rates are usually measured by the systems in l/s, m3/h, or cftps, and so on.
On the other hand, there are control units, being termed as analyzing systems in the following. The control units typically are connected to a field apparatus via the above mentioned bus system. The task of analyzing systems is based on reading the input measurement values (of the field apparatus), to process them adequately, and then generate output control signals (switching signals, current signals, digital values, and so on) from the derived results.
Configuration of the analyzing system typically results via an input unit (keys and display) on the apparatus side, however, it can also result via a configuration interface by means of a PC. Where applicable, the processed data can also be transmitted via bus systems through gateways or further process control systems.
To comply with the tasks of the analyzing apparatus, different software blocks are provided. Each software block represents a black box. The black box comprises inputs for receiving input signals, and outputs for providing the processed signals. These software blocks respectively represent an object, classifying associated tasks such that the respective result values can be used as virtually calibrated for arbitrary subsequent blocks.
In this manner, a basis is established to divide a measuring task into individual single tasks. Usually, a subdivision is employed, using the following basic functions (basic components):
Function components provide their resulting values for use in output components.
To solve a complete measurement task in a control unit, in a most simple case a basic component of each type is required: input component, function component, and output component. The thus generated component structure for solution of a complete measurement task is termed as “measurement loop” in the following.
Within a control, a plurality of measurement loop can be processed. Therefore, if a control is connected to a plurality of field apparatuses via a bus system, then, by adequate configuring of the control unit, a corresponding set of measurement loops can be composed in the control unit from the pool of components. According to prior art, the configuration either results from an operating desk connected to the control or alternatively via a configuration computer via a bus connection. By this procedure, it is necessary for a user operating the system, to not only take account of the installation of the apparatus and its wiring, but rather to also carry out complicated configurations at the apparatus.
It would be desirable to reduce the operating complexity when starting these systems. Thus, it would be meaningful to improve the control units of such systems. The installation would be much easier, if the standard configuration profiles are set up automatically depending on the connected sensor.
Therefore, the control should be able to identify a sensor connected to its output and matching to a certain sensor profile, and then automatically set up the corresponding measurement loop profile. An immediately functioning measurement can be thus provided. Moreover, this process should be applicable via different bus systems (as HART, Profibus, Fieldbus Foundation, and so on), containing the necessary information for the sensors in form of parameters via the respective bus per definition.
It would be desirable that a plurality of sensor profiles can be identified automatically. A preferably exact profile should be determined for digitally communicating systems.
Implementations of the invention can include one or more of the following features. According to an aspect of the invention, a method for automatic configuration of a process control system is provided, comprising a master and at least one slave, whereby the master controls the at least one slave, which is connected to and communicates with the master via a bus system, and processes data received from the at least one slave, whereby the master automatically identifies the at least one slave via the bus system, and subsequently automatically generates an apparatus configuration for setting up the slave according to its identification such that the slave is ready to be operated in the process control system.
In another aspect of the invention, the master is an analyzing apparatus, in particular a control unit, comprising allocation tables, from which the master selects the adequate apparatus configuration for the slave identified.
According to a further aspect of the invention, the slave is a field apparatus, in particular a sensor or an actuator. The identification of the connected slave is carried out by means of the functionality of the master. Upon starting the process control system, communication towards the bus system is initiated by the master.
Yet another aspect of the invention is that for identifying the field apparatus, the master retrieves information concerning manufacturer, type, apparatus TAG by means of standardized commands. The master compares the identification data of the slave to apparatus profiles, contained in the allocation tables, to find the adequate apparatus profile to set up the slave for operation in the process control system.
Moreover, the master generates a measurement loop comprising an input component, an output component, and a function component for the apparatus configuration. The allocation table can also be supplemented by reloadable adapted apparatus profiles.
In a further aspect of the invention, the automatically generated measurement loops are corrected interactively. During the correction of the measurement loops, the automatic generation of measurement loops is deactivated until new slaves are connected to the master or until the automatic measurement loop generation is reactivated.
According to yet another aspect, the automatic adaptation of already present measurement loops is carried out when an already connected slave is replaced by another type of slave.
According to an aspect of the present invention, a method for automatic configuration of a process control system is provided, comprising at least one field apparatus, which is connected via a bus system to an analyzing apparatus, whereby upon starting the analyzing apparatus, the latter verifies the presence of the field apparatus at the bus system at a certain bus address, and, upon response of the bus system, for identification of the field apparatus, requests information concerning manufacturer, type, and apparatus TAG of the field apparatus via the bus system, and subsequent to the identification, the analyzing system compares data retrieved during the identification process to field apparatus profiles stored in allocation tables of the analyzing apparatus, and, upon an coincidence, generates an apparatus configuration in form of a measurement loop, comprising an input component, a function component, and an output component, by means of which the field apparatus is ready for operation.
A further aspect of the present invention is a process control system, comprising a master and at least one slave, whereby the master is adapted to control the slave and to process data received from the slave, and the slave is adapted to be connected to and to communicate with the master via a bus system, whereby the master is adapted to automatically identify the slave via the bus system, and to subsequently generate an apparatus configuration for setting up the slave according to its identification such that the slave is ready to be operated in the process control system.
In the process control system, the master is an analyzing apparatus and the slave is a field apparatus according to an aspect of the invention. According to another aspect, the master is a control unit and the slave is a sensor or an actuator.
According to still another aspect, the master comprises allocation tables, which contain a number of predefined apparatus configurations suitable for a number of the field apparatuses. The allocation tables are supplementable via an input device.
Moreover, the bus system is a HART-bus system according to a further aspect of the invention. The bus system comprises commands for the master for requesting the presence of a slave at the bus system.
According to yet another aspect of the present invention, the allocation tables are supplementable by reloadable adapted apparatus profiles.
It is another aspect of the invention that the master is adapted to generate a measurement loop for a specific identified slave. The measurement loop comprises at least one input component, at least one output component, and at least one function component.
Further, the allocation tables comprise fixed measurement loop profiles for each apparatus profile.
For further explanation and better understanding, several exemplary embodiments of the present invention will be described below in more detail with reference to the attached drawings, of which:
In
According to
Moreover, a PC 10 is connected to the control unit 4. The components, namely input components 11, function components 12, and output components 13 for establishing a measurement loop 23 are still in the unconfigured state. For automatic configuration, and thus automatic generation of a measurement loop 23, the control unit 4 comprises the allocation tables 42, comprising sensor profiles and type of measurement loop fitting thereto.
With respect to the sensors connected to the control unit 4, in case HART sensors are used having certain characteristics, these can be verified at HART input terminals; otherwise used PA sensors can e.g. be verified at Profibus inputs and so on.
In case of HART sensors, instead of smart sensors, pure 4-20 mA sensors can also be identified. This assumption is made, if the connection of a sensor is detected (by means of current consumption within certain limits), but, however, no reaction to the digital signal results.
The identification of the connected sensor is carried out by means of the functionality 41, the data flow of which is shown in
Upon starting the process control system, the automatic measurement loop operation is started. That means that the control unit 4 automatically takes up communication towards the bus system 5.
The control unit requests—as master of the system—by means of “trial and error”—to a certain bus address, whether a slave 14, 15 is connected to the bus system 5 or not. For this procedure, the already mentioned bus systems provide special commands (e.g. according to HART, Universal Commands are used).
In case the analyzing apparatus receives a response after such a trial, then information with respect to manufacturer and type of apparatus is selectively inquired. This information can also be requested by means of standardized commands with respect to the already mentioned bus systems (excerpt of the definitions, see tables 1-3).
Further, the slaves provide information over fixedly defined commands for the stored apparatus TAG. According to information received concerning the type of apparatus, an advanced analysis for the sensor connected thereto can be carried out. Thus, for example it can be determined, in which measurement range and according to which physical measurement category the sensor is operated.
If the control unit, i.e. the analyzing apparatus, has identified a type of apparatus (sensor, actuator), then it carries out a comparison of the input data with sensor profiles fixedly stored in the control unit 4 in allocation tables 42. When a matching sensor profile is found, then the control automatically generates adequate measurement loop configurations. It also generates a complete measurement loop 23 according to
An example by means of a bus system “HART” is:
The control unit 4 receives a response under HART address 2 from a slave 14 (see
In
Also adequate for the identified sensor profile, the control unit generates a function component for level measurement comprising the calibration unit “meter” (see
Because the output components are independent of the input component and the selected measuring value processing block (function component), the control unit selects for this purpose the output component type most frequently required, namely a switching output, configured for the switching function “overfill protection” (
When starting the process control system, the user receives—without any further assistance—an adequate measurement loop for the sensor connected, comprising an input component, a function component, and an output component, rendering the system ready to be operated. Besides the fixedly predetermined sensor profiles/measurement loop type, the allocation table 42 can also be adapted to be supplementable by reloadable profiles. According to this, the allocation table contains two types of data set entries:
Moreover, automatically generated measurement loop profiles can be interactively corrected by the user. In case interactive correction has been carried out, then the automatic generation of measurement units 23 is deactivated until either new slaves (having different identification characteristics) are connected to the control unit/analyzing apparatus, or the control unit is reactivated by means of a function defined for this purpose (for example a reset key or a function initiated by software) for carrying out the automatic measurement loop generation.
In case, the already existing measurement loop sensors are replaced by other sensor types, also the automatic adaptation of already present measurement loop can be carried out. Should the actual measuring task be maintained in this case, it is adequate to request for the desired procedure via a dialogue:
The invention can be applied to simple one-channel analyzing systems as well as to complex systems.
This application claims the benefit of U.S. Provisional Patent Application Ser. No. 60/568,203 filed on May 5, 2004 which is expressly incorporated herein, in its entirety, by reference.
Number | Date | Country | |
---|---|---|---|
60568203 | May 2004 | US |