Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
TESTING DEVICE FOR INDUSTRIAL CONTROL SYSTEMS
Document Type and Number:
WIPO Patent Application WO/2000/041050
Kind Code:
A1
Abstract:
A testing device for industrial control systems, comprising: editing means (2) which allow to compose a software test bench for a control system of an industrial plant; storage means (4), suitable to provide the editing interface means with predefined models which describe a physical process being controlled; modeling means (3), suitable to guide and facilitate the testing engineer in testing standard control loops; simulation means (5) which comprise a simulation engine suitable to process the models generated by the editing interface means; and hardware means which are suitable to interface the testing system with a control system to be tested.

Inventors:
CEINER GUIDO (IT)
DANIELI MASSIMO (IT)
FERRARINI LUCA (IT)
MAFFEZZONI CLAUDIO (IT)
CATALDO ANDREA (IT)
Application Number:
PCT/EP1999/007793
Publication Date:
July 13, 2000
Filing Date:
October 05, 1999
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ABB RESEARCH LTD (IT)
CEINER GUIDO (IT)
DANIELI MASSIMO (IT)
FERRARINI LUCA (IT)
MAFFEZZONI CLAUDIO (IT)
CATALDO ANDREA (IT)
International Classes:
G05B17/02; G05B23/02; (IPC1-7): G05B23/02; G05B17/02
Foreign References:
US5758123A1998-05-26
US5371851A1994-12-06
EP0283382A11988-09-21
GB2293886A1996-04-10
US5663900A1997-09-02
DE19523483A11997-01-02
US5812394A1998-09-22
Other References:
R.ISERMANN ET AL: "HARDWARE-IN-THE-LOOP SIMULATION FOR THE DESIGN AND TESTING OF ENGINE-CONTROL SYSTEMSW", PROCEEDINGS OF THE 5TH IFAC WORKSHOP ALGORITHMS AND ARCHITECTURES FORREAL TIME CONTROL, 15 April 1998 (1998-04-15), MEXICO, pages 1 - 10, XP000870020
Attorney, Agent or Firm:
Giavarini, Francesco (50 Sesto San Giovanni, IT)
Download PDF:
Claims:
CLAIMS
1. testing device for industrial control systems, comprising: editing means which allow to compose a software test bench for a control system of an industrial plant; and storage means, suitable to provide said editing interface means with predefined models which describe a physical process being controlled; and modeling means, suitable to facilitate the composition of a portion of said test bench related to the testing of said control loops; and simulation means which comprise a simulation engine suitable to process the models generated by said editing interface means; and hardware means suitable to interface said testing system with a control system to be tested.
2. The testing device according to claim 1, characterized in that said editing means provide the following functions: preparing a new plant model; setting the parameters of the plant model; col ectillo a plant model and said control system; the coiiditioninand forcing of signals of said control system ; cieletliil, signals and connections; shaving said plant model thus created: printiny said model. The testino device according to claim 1.
3. characterized in that said modeling means provide the following functions: single loop modeling; cascade loop modeling; modelin1 of driving device commands.
4. The testing device according to claim 1. characterized in that said hardware means exchange input and output signals of said control system rerouted on a control bus of said control system.
5. The testing device according to claim 1, characterized in that said storage means comprise one or more libraries of models constituted by inputoutput fonctions. algebraic relations, pure delays and the like.
6. The testing device according to claim 1, characterized in that it provides by said editing means, through said model library means and said modeling means, feedback signals to said control system, by means of said hardware mens, in response to commands given by said control system.
Description:
TESTING DEV1CE FOR INDUSTRIAL CONTROL SYSTEMS DESCRIPTION The present invention relates to a bench-testing device for industrial control systems. More particularly, the present invention relates to a testing device to be used during the factory-testing of industrial control systems.

It is known that the configuration software of industrial control systems (control and interlock logic systems, graphic pages, structures for analog regulation, startup and placing the plant in safe mode) usually uses a testing panel of the hardware type. This panel, after being set up, is physically connected to the input and output boards of the control system to be tested and allows closing the control and regulation loops to be tested.

The hardware panel is generally constituted by: --potentiometers, for replicating the analog signals (e. g. 4-20 mA signals) from the plant (for example level, pressure, position, flow-rate, temperature transducers); <BR> <BR> <BR> <BR> --a simulator for simulating the heat probes and thermocouples connected to the control system; --switches for replicating the digital signals (e. g. 0-24 V), for example limit switches on valve positioners, status indicators from users such as pumps and motors, pressure switches, level switches and the like; --amperometers for replicating the actions of the analog actuators provided in the plant (for example valve regulations, motor rpm-rate adjustments and the like); -indicators in order to replicate the actions of the digital actuators provided in the plant (for example stop and start actuators for pumps, for closing two-state valves and the like); --terminal devices for interfacing with the control system --power supplies to be used for all the components that require a power

supply. <BR> <BR> <P> Accordingly, each one of the devices provided on the hardware panel is assigne with a specific function among those provided in the plant portion to be tested (valve, switch, transducer, actuator, etcetera). Each one of these devices is then connected, by means of dedicated cables, to the specific channel of a given acquisition (input) or control (output) board of the control system, so as to close the control loops provided by the designer of the control system.

In this way the control system is tested before physically implementing it in the field.

The operators involved in the control system testing work check on the hardware panel that the commands issued by the controller are correct (lighting of lampe and indication of amperometers) and provide the controller with the appropriate signals which, during normal operation, would arrive from the plant (potentiometers and switches).

In some cases, and for particular boundary conditions, preference is given to the use of software programs instead of the hardware panel. Such programs must be written in the specific language of the particular control system platform and must be executed by the controller during testing.

The purpose of these programs is the same as for the hardware panel. They are aimed to having, during testing, an instrument, which can provide the controller with the signals normally provided by the plant (when the controller is implemented in the plant) and receive from the controller the commands that are normaHy sent to the plant (plant control commands).

The hardware panels commonly used are characterized by the following drawbacks.

First of all. in order to have a panel, which exactly reproduces the plant portion to be tested. it is necessary for the devices included therein to fully correspond, in terms of number and type, to the instruments connected to the control system

and contained in the same plant section. This entails an onerous preparation of the hardware panel.

Moreover, the connection between the control system to be tested and the conventional testing panel is provided by means of electrical cables. This entails the need for considerable time in order to provide and check the connection of any input and/or output channel of the control system to the various elements of said panel, in addition to requiring bulky wiring.

Another drawback is due the fact that the testing of control systems is always performed by individual plant portions for complexity reasons. Any time the testing of a new plant portion begins it is necessary to reassemble and reconnect the hardware panel, which is accordingly scarcely flexible in relation to the continuous modifications that are required when testing a plurality of plant sections in succession.

Errors are unavoidably made during the preparation of the testing panel and during its subsequent connection to the control system and are added to the errors already present in the configuration software of the controller. The presence of these errors increases the complexity of system testing and reduces its effectiveness and efficiency.

One of the main problems encountered during the testing of control systems is the fact that, once the presence of an error has been detected, it is necessary to determine whether the error is due to a physical (hardware) problem or to a configuration (software) problem. Using an hardware testing panel considerably increases the amount of electronic components (potentiometers, switches, lamps) and cables (cable discontinuity problems, poorlv executed soldering between cables and their terminals) that can be affected by defects and in any case constitute a weak link in control system testing. <BR> <BR> <BR> <BR> <P>Moreover, providing inputs to the control system by means of hardware (for<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> exs ple a potentiometer set to a given value) is neither easy nor stable, since

the measure can oscillate in the neighborhood of the intended value. This fact considerably complicates testing operations and reduces the consequent level of precision and reliability.

It often occurs that the testing engineers must reproduce certain very complex operating sequences. The conventional testing bench does not facilitate the execution of all the necessary operations. For example, the action of stopping a pump. with the consequent closure of the intake and delivery valves and with an interlocking action with respect to other plant portions, results quite complicated. In fact, it entails that one or more operators must operate various devices of the panel and constantly monitor both the indications of the panel and the information from the control system.

Also the use of software programs, written specifically in the proprietary langage of the control platform used in each instance, is not free from drawbacks. <BR> <BR> <BR> <BR> <BR> <BR> <BR> <P>Fi rst of al l, as mentioned, these testing programs must be written in the particular language of the specific control system used for a certain plant. This of course entails the need for the programmer to acquire specific skills regarding the control being used.

Moreover, this drawback is worsened by the fact that when the programmer changes plant he otten finds himself usine a different control system having a new lancuale and therefore the previously written testing software can no longer be used for the new situation.

The need to write ad-hoc software programs in the specific langage of the control system. and especially software programs which very likely will have to be written in the presence of a different type of plant, entails considerable efforts and costs.

Additionally, the functional correctness of software programs for testing plant control systems is difficult to be checked promptly.

Therefore, the aim of the present invention is to provide a testing device, for i nciustrial control systems, which allows eliminating conventional hardware test benches and control system-specific software programs. It must allow, at the same ! editino a model of the components of the plant to be tested and therefore perform its factory testing.

Within the scope of this aim, an object of the present invention is to provide a testing device, for industrial control systems, which allows preparing, in an assiste and reusable manner, a software bench. The software bench is aimed to test industrial control systems and allows defining the structure of the plant portion being controlled independently of the hardware/software platform used.

Another object of the present invention is to provide a testing device, for industrial control systems, which allows reducing the time and cost entailed by factory testing, which is compulsory before the field installation of an industrial control system. <BR> <BR> <P>Another object of the present invention is to provide a testing device, for industrial control systems, which allows eliminating the operations for wiring <BR> <BR> and assembly a conventional hardware panel to the control system to be tested,<BR> <BR> and therefore the costs arising from the construction of said hardware panel.

Another object of the present invention is to provide a testing device for industria) contro) systems which allows reusing the software bench prepared with the device according to the invention, accordingly offering high flexibility in use.

Another object of the present invention is to provide a testing device for industrial control systems, which allows to evaluating much more complex control logic svstems than allowed by a conventional testing panel.

Thus the present invention provides a testing device for industrial control <BR> <BR> systems. comprising :<BR> <BR> <BR> -editing means which allow to compose a software test bench for a control

system of an industrial plant ; and -stora (le naeans suitable to provide said editing interface means with predefined models which describe a physical process being controlled; and modeling means, suitable to facilitate the composition a portion of said test bench related to the testing of said adjustment loops; and -simulation means which comprise a simulation engine suitable to process the models generated by said editing interface means ; and hardware means suitable to interface said testing system with a control system to be tested.

Further characteristics and advantages of the present invention will become apparent from the following detailed description of preferred but not exclusive embodiments of the device according to the invention, illustrated only by way ot non-limitative example in the accompanying drawings, wherein: Figure 1 is a block diagram of the testing device according to the present invention; and <BR> <BR> Figure 2 is a block diagram of the use of the testing device according to the invention, connected to a plant control system.

With reference to the above figures, the testing device according to the present <BR> <BR> invention consists of a device which is suitable to create a model of the components ot an industrial plant, which exchanges information with a control system (prepared for the industrial plant). The testing device according to the present invention is also suitable to execute the resulting model in order to dil-ectly factory-test said control system.

The testing device according to the invention, designated by the reference numeral 1. comprises, as shown in Figure 1, editing means 2* which allow <BR> <BR> composing a software test bench by assembling various models taken from storage means 4. By way of said editing means 2, it is also possible to connect all the input and output signals exchanged between the control system and the

plant rerouting them onto the bus of the control system, with the inputs and the outputs of the models used.

Preferably, the editing interface means allow performing the following functions: -- preparing a new plant model (20); -- settin (T the parallleters of the plant model (21); -- connecting a plant model and the control system 10 of said plant (22); -- managing the conditioning and forcing of the signals (23); --deleting signals and connections (24); -shaving the plant model thus defined (25); I) rlntin2 the model (26).

The testing device according to the invention is further provided with modeling means 3, which provide functions suitable to guide and facilitate the testing engineer in synthesizing a simplified model to be used for testing particular control loops. If the loops to be tested are standard (for example pump control, simple adjustment loops, etcetera), modeling means allow advantageously the testing engineer to simply input few parameters that characterize the individual loop and to compose semi-automatically the software test bench part related to the testing ot said loops. The modeling means 3 therefore comprise functions 27 for individua) loops, functions 28 for cascaded loops and functions 29 for modeling driving devices such as valves or motors or the like.

The testing device according to the invention further comprises, as mentioned, stop. means 4 which are meant to provide the testing engineer with a plurality of pre-wirecl models for closing the loops to be tested.

The storage means 4 can be represented, for example, by libraries of plant <BR> <BR> models. These models allow, for example, emulating plant responses. For example, when testing the drive of a pump, time delays might be used to obtain plant response emulation. The models contained in the storage means 4 are

therefore constituted bv input-output functions with 1-2 poles, or in algebraic relationships, or by pure delays, so as to give the feedback signal from the plant a minimum of dynamic range.

The models available can be, for example, regulation and/or on/off valves 30, pumps and/or motors 31, analog indications (for example levels, flow-rates, positions) and/or digital indications (for example pressure switches, level switches, limit switches) 32. The device according to the invention further <BR> <BR> inclues a simulation engine 5, which is meant to process the simplified models. It constitutes the feedback to the control system 10 and is connected to the inputs and outputs of the control system, appropriately re-routed on the bus ! 2 of the controller 13.

The simulation sentine 5 accordingly receives in input the structure of the plant components, produced by the testing engineer by using the models of the storage means 4. made available within the testing device 1.

Finally, the hardware means 6* suitable to interface the testing device to a specific industrial control system 10, are meant to exchange the input and output signals of the control system 10 rerouted on the control bus 12 of the cntrol system) (). Said means 6 must be designed specifically for the control bus t2 to which the test bench provided by the device according to the invention connects and specifically for the data exchange protocol used by the specific control system 10 that is used.

In i Figure 2. the reference numeral 10 designates the control system of a plant, <BR> <BR> which is generally designated by the reference numeral 11. The reference numeral 12 designates the control bus, which carries signals to controllers 13 and to 1/0 cards 14 of the control system 10. The control bus is connected to <BR> <BR> interface means 6 which allow to connect the testing device 1 to the control<BR> <BR> system 10.<BR> <BR> lii this case. the testing device 1 shown in Figure 2 is understood to include the

editing interface means 2 and the means 3-5 described hereafter in detail and shown in Figure !.

The testing device according to the invention therefore can be, in practice, implemented by means of a computerized system, which can be connected to the control bus 12 of the industrial control system 10 through the interface means d. The monitor, the keyboard and the mouse of the computerized constitute the tools that can help the basic editing and modeling functions available. The testing engineer receives via monitor all the indications related to the signals sent by the testing device according to the invention (commands to pumps, regulator control actions, etcetera). Monitoring of the feedback signals, that the software test bench supplies to the control system 10 through the interface means 6, can be performed.

This is achieved by means of the simulation engine 5, which runs on the electronic computer and is capable of executing the model defined by the testing engineer.

In practice it has been observed that the testing device according to the invention lully achieves the intended aim and objects, since it allows to etiminate the hardware test bench and software test benches designed specifically for a particular control system to be tested.

The test bench created by the testing device according to the invention allows high sensitivity in use and a high level of simplicity for the testing engineer.

The test herches thus created can also be easily used for different control systems, since they are not dependent on a specific programming langage.

The testing device thus conceived is susceptible of numerous modifications and variations, all of which are within the scope of the inventive concept; all the details may also be replaced with other technically equivalent elements.