Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD FOR DEBUGGING OF PROCESS OR MANUFACTURING PLANT SOLUTIONS COMPRISING MULTIPLE SUB-SYSTEMS
Document Type and Number:
WIPO Patent Application WO/2012/028161
Kind Code:
A1
Abstract:
The invention relates to a method and a system for debugging the control system of an industrial plant or parts of it, e.g. a factory cell, a factory line, a mechatronical unit, a machine, a process plant or parts of it, comprising at least two different control subsystems, of the same or different control equipment type, on plant or sub-system level, comprising specific programmable controller units in devices like PLCs, DCSs, robots, drives, instruments and/or other process specific components whereas all required parameters and signals of the control system across its sub-systems, devices, and technologies are extracted and visualized on a single sight and are utilized for the definition of system wide breakpoints, utilizing a subset of those signals or parameters, and related conditions, e.g. logical combinations of the signals or parameters.

Inventors:
HOEMICKE MARIO (DE)
DRATH RAINER (DE)
SCHROETER BEN (DE)
LANGER KURT (DE)
LALU JARKKO (FI)
Application Number:
PCT/EP2010/005343
Publication Date:
March 08, 2012
Filing Date:
August 31, 2010
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ABB TECHNOLOGY AG (CH)
HOEMICKE MARIO (DE)
DRATH RAINER (DE)
SCHROETER BEN (DE)
LANGER KURT (DE)
LALU JARKKO (FI)
International Classes:
G05B17/02; G05B23/02; G05B19/042; G05B19/05; G06F11/36
Foreign References:
US6044305A2000-03-28
US5485620A1996-01-16
Other References:
None
Attorney, Agent or Firm:
MILLER, Toivo et al. (Gf-ipWallstadter Str. 59, Ladenburg, DE)
Download PDF:
Claims:
Claims

1. Method for debugging the control system of an industrial plant or parts of it, e.g. a factory cell, a factory line, a mechatronical unit, a machine, a process plant or parts of it, comprising at least two different control sub-systems, of the same or different control equipment type, on plant or sub-system level, comprising specific programmable controller units in devices like PLCs, DCSs, robots, drives, instruments and/or other process specific components

characterized in that

all required parameters and signals of the control system across its subsystems, devices, and technologies are extracted and visualized on a single sight and are utilized for the definition of system wide breakpoints, utilizing a subset of those signals or parameters, and related conditions, e.g. logical combinations of the signals or parameters.

2. Method according to claim 1 whereas the control system or its simulation is

started or stopped for testing, debugging and commissioning tasks from a single point of access according to the breakpoint, or according to given time based events, variable based events, parameter events, changes of parameters, changes of signals, or combinations of those.

3. Method according to one of the previous claims whereas the industrial«process or its simulation is started or stopped for testing, debugging, and commissioning tasks from a single point of access according to the breakpoint, or according to given time based events, variable based events, parameter events, changes of parameters, changes of signals, or combinations of those.

4. Method according to at least one of the preceding claims whereas several different control systems are started, stopped, frozen, or restarted at a single point of access in a synchronized and/or non-synchronized mode.

5. Method according to at least one of the preceding claims whereas the state of related control systems is saved for later restoring the same state. 6. Method according to at least one of the preceding claims whereas signal values or default signal values can be changed directly by the plant debugger and by which those changes automatically are documented.

7. Method according to at least one of the preceding claims whereas changed signals, parameters, process parts, plant parts, domain parts or other related parts and/or their impact are posted and highlighted in a display and/or automatically documented by tracking online values and/or engineering changes.

8. Method according to at least one of the preceding claims whereas dependencies and/or links between signals and/or parameters automatically are gathered and visualized to the user by means of a color scheme or filter functionality.

9. Method according to at least one of the preceding claims whereas separated plant parts as well as their dependencies and links and their application domains are visualized to the user whereas breakpoints are enabled according to application domain conditions, which also interrupt the other application domains.

10. Method according to at least one of the preceding claims whereas plant parts are automatically locked for debugging and after debugging are automatically unlocked.

11. Method according to claim 10, whereas the plant parts being reserved for engineering are automatically locked for debugging and only those reserved parts are affected by breakpoints. «

12. Method according to at least one of the preceding claims, whereas values and states of the technical process as well as of the control system are read out continuously, e.g. in a circular or ring buffer, which is synchronized offline for the purpose of later reconstruction of a certain state of the controlled system or a simulation of it.

13. Method according to claim 12, whereas the buffer is automatically emptied when a certain condition is reached or a previously buffered state is reached again where the state for restoring is not affected. 14. Method according to claim 12, whereas the physical process is driven into a predefined state without user interaction.

15. System for debugging on plant or sub-system level, in particular debugging a control system including the corresponding process, e.g. a factory cell, a factory line, a process plant, a mechatronical unit, a machine or a complete plant which extracts and visualizes all required parameters and signals of a plant control systems for different application domains consisting of sub-systems and comprising specific programmable controller units in devices like PLCs, robots, drives, instruments and other process specific components.

16. System according to claim 15 which provides the possibility to start and stop the whole process control system for test, debugging and commissioning tasks from a single point of access, according to given time based events, variable based events, parameter events, changes to parameters, changes to signals, or combinations of these.

17. System according to at least one of the preceding claims 15 or 16 which is highlighting changed signals, parameters, process parts, plant parts, domain parts or other related part and automatically documenting the change impact of those by tracking online values and/or engineering changes.

18. System according to at least one of the preceding claims 15 to 17 which automatically gathers dependencies and/or links between signals, parameters, and visualizes them to the user by means of a color scheme or filter functionality.

«

19. System according to at least one of the preceding claims 15 to 18 which visualizes separated plant parts, their dependencies and links, their application domains to the user and enables breakpoints according to application domain conditions, which also interrupt the other application domains.

20. System according to at least one of the preceding claims 15 to 19 which starts and stops several different control systems from a single point of access in a synchronized and/or non-synchronized mode.

System according to at least one of the preceding claims 15 to 20 which is changing any signal values directly from the plant debugger, without using sys- tern controls from the application domains and which is automatically documenting those changes.

22. System according to at least one of the preceding claims 15 to 21 which is changing signal values directly from the plant debugger, without using engineering tools from the application domains and which is automatically documenting those changes.

23. System according to at least one of the preceding claims 15 to 22 which is automatically locking plant parts for debugging and which is automatically unlocking plant parts after debugging

24. System according to claim 23, whereas the system is driving the physical process into a predefined state without user interaction.

Description:
Method for debugging of process or manufacturing plant solutions

comprising multiple sub-systems

Description

The invention relates to a method and system for debugging on plant or sub-system level, in particular debugging a control system including the corresponding process, e.g. a factory cell, a factory line, a process plant, a mechatronical unit, a machine or a complete plant.

Control systems of the state of the art are largely used with the purpose of controlling industrial processes. However, there is no system or method known for debugging a complex control system across different control systems, different domains, different field buses, different field devices and different distributed control systems (DCS), programmable logic controller (PLC) or supervisory control and data acquisition (SCADA) systems, even in combination with plant simulators, device simulators or control simulators.

Control systems are largely used in the state of the art with the purpose of controlling industrial processes. By means of a control system, a technical process is influenced by means of actuators, whereas process parameters are measured by means of sensors. In this way, the control system retrieves knowledge about the technical process, calculates corresponding control actions, and influences the technical process actively.

In Fig. 1 a scheme of basic control system architecture according to the state of the art for a controlled technical process is illustrated. The technical process. as well as the control system needs to be engineered in order to fulfill the required process be- havior. Since industrial plants are rather complex and perform different industrial processes, the entire control system of Fig. 1 is typically divided into sub-systems, which may consist of hardware and software components from different suppliers as shown in Fig. 2.

Due to this divided system structure the engineering is also divided in separate subsystem specific workflows supported by provider specific engineering tools. In Fig. 2 an example of the result of the subdivision process for the control system and engineering tool level is being depicted, which for example may represent a robot, a conveyor and a cell PLC in the manufacturing domain, or a number of continuous sub- processes in the process domain.

The implementation and testing of control systems are usually done for each part of the system separately. The overall solution is tested and debugged earliest during the factory acceptance test (FAT hereafter) or even in the commissioning phase. Debugging is a process of stepwise execution of software with the possibility of a conditional stop depending on certain conditions. It is a common technique in the software development for PC applications as well as for robot, PLC or DCS control applications.

But since the engineering data is distributed to different engineering tools, there is no known method or system for a system wide debugging across different control subsystems, which usually contain different types of control equipment. Once the process is started during FAT or commissioning, the sub-system specific engineering tools cannot proof conditions about parameters, signals, actuators or sensors, which are out of their scope.

Additionally, there isn't any technical method or system known, which allows stopping control code execution of multiple control devices, which may be of different types of control equipment, neither in a virtual test environment nor in the real plant, at the same time in conjunction with the process including a number of devices which provide control functionalities. Resulting, it is hard to get test and debugging results at a glance.

At present there is no method or system known which provides a single sight on all relevant process values and which allows the definition of break points or stop condi- tions across different control sub-systems, which may be of the same or different types of control equipment. For each engineering or application domain, a separate system is provided which has to be used. There does not exist a system having a single access point for all plant control sub-systems' signals, parameters, or other global variables.

Additional to the mentioned state of the art, it is known that most technical processes can be simulated in order to test the process and/or control behavior. Combinations with the control system and a simulated process are commonly used in order to verify the functionality of the control system. Although a simulation enables immediate halt of the process simulation, there is still no known method or system, which allows a control system wide debugging and halting across different sub-systems, neither using real hardware nor using virtual test beds or equipment emulators.

Known drawbacks of the state of the art are described in the following. As known, today's debugging of plant solutions during FAT and commissioning has a variety of drawbacks:

1. Testing and debugging of a control system composed of different subsystems or even different types of sub-systems is not available.

2. Testing of the composed control system is an expensive time-consuming process in the FAT and commissioning phases of the engineering. Errors found in these phases require additional engineering work across subsystems.

3. It is difficult to achieve correct functionality of the plant according to all specified test cases, because the engineer just sees the debugging and test results of a single sub-system. «

4. The debugging of large technical processes requires today synchronized manual debugging in several engineering tools that are used to define the behavior of different types of control sub-systems responsible for different parts of the overall technical process. This task is very complicated, time consuming, error prone, and requires the presence of several engineers responsible for different types of control equipment. There is no known method or system available to perform this within engineering tools.

5. Test results of all parts are not automatically assembled in one tool or document.

6. Consistent changes of parameters are hard to realize and have to be documented manually. 7. Impacts of changes in a sub-system to depending sub-systems are difficult to detect.

Objective of the invention

Based on these facts, the main objective of this invention is a system and method providing a plant debugger for the control system and the corresponding industrial process at hand, according to the initial part of this specification which overcomes the mentioned issues and deficiencies and provides a domain independent plant debugger across multiple sub-systems and different sub-system types.

Said plant debugger can start and stop multiple control systems and/or the corresponding process or simulation models of them from a single point of access in a synchronized and/or non-synchronized mode.

Hence, the invention is characterized in that said plant debugger system, which can be a software tool or a device or a device running software, provides all available signals of all corresponding control sub-systems, of different or same control equipment types, within a single sight. This sight provides the signals to the user, which are publicly available during engineering, commissioning and FAT.

Furthermore said plant debugger additionally integrates functionality to control the underlying engineering tools of the sub control systems from a single point of access. This includes interrupting the control system and the technical process, restarting the process, freezing the process, or only freezing the public signal states, updating and tracking parameters in runtime/online and engineering/offline mode or showing differences between parameters and parameter values with different time stamps.

For this purpose related control and orchestration information about of the underlying variety of sub-systems is required for the plant debugger. The information is being retrieved by means of data interfaces to these control sub-systems and all related control and orchestration information is combined in a single common view.

Said plant debugger can also be used for "virtual plants" - simulation models of the plant or parts of it. This comprises virtual control systems - simulations and/or emulation of the control system including its sub-systems. The prerequisite for debugging a virtual system is the availability of virtual controllers and/or simulators or emulators for other types of control equipment that provide the required interfaces for data and signal exchange.

Said plant debugger provides functionality for the engineer to browse through the signals across different controllers and sub-systems and allows definition of "plant wide complex break points" (PWCBP). A break point is a known technology from the state of the art in software development which allows stopping software on a certain line of code in combination with predefined conditions. A "plant wide complex break point" is a set of input or output variables (sensor and actuator signals or internal variables) across multiple control sub-systems in combination with programmable logical conditions. Once all items of a PWCBP fulfil predefined conditions, all underlying control engineering tools are forced to stop the control equipment and/or the virtual representation of those synchronously.

According to the invention, mentioned required parameters and signals of a plant control system are extracted and visualized across different application domains consisting of sub-systems and comprising specific programmable devices like PLCs, robots, drives, instruments, and/or other process specific components, and the corresponding process, e.g. a factory cell, a factory line, a process plant, a mechatronical unit, or a machine.

According to a preferred embodiment of the invention all sub-system control signals are accessible from this single sight. The common view is accessible for the test and/or commissioning engineer(s) and integrates debugging functionality for the entire plant solution, including all control sub-systems, whereas the whole prqpess control system can be started or stopped for testing, debugging, and commissioning tasks from a single point of access according to given time based events, variable based events, parameter events, changes to parameters, changes to signals, or combinations of these.

According to the invention, said plant debugger allows definition of at least one breakpoint (PWCBP) comprising signals across the sub-systems and conditions.

As a preferred embodiment, said plant debugger stops the connected control system once a PWCBP-condition is fulfilled. The control system can be either the real control system controlling the real industrial process, or the virtual control system controlling a simulated industrial process. Hence, the control system can be systematically tested starting from the provided state valid at the plant break point.

According to a further embodiment of this invention, the plant debugger stops the corresponding real technical process at the same time as the control system. This is technically possible for many manufacturing processes, especially in the area of discrete manufacturing.

In another advantageous embodiment of this invention it is provided that the plant debugger stops the corresponding plant simulator which represents the behaviour of the real technical process. This allows debugging of both the control system and the process simulation at the same time. This is possible for each kind of technical processes, even for complex physical or chemical processes.

Beyond that the invention comprises an advantageous embodiment whereas several different control systems are started and stopped from a single point of access in a synchronized and/or non-synchronized mode.

In another embodiment of this invention, the state of concerning control systems is saved, which allows to restore and restart a real system or a simulation of it from a certain point, e.g. for testing different strategies in a certain state or error. Thus, the present invention allows running a controlled technical process or a complete plant into a predefined state multiple times in order to proof correct functional behaviour or to simulate the behaviour in this state.

A preferred embodiment of the invention is changing any signal values anoVor default signal values directly from the plant debugger, which is advantageously automatically documenting those changes.

Another embodiment of the invention according to the invention preferably is highlighting changed signals, parameters, process parts, plant parts, domain parts or other related parts, and/or their impact, whereas affected signals, parameters, process parts, plant parts, domain parts, states or other impacted parts are posted and highlighted to the user, e.g. in a display, and advantageously documenting the changes and the impact automatically by tracking online values and/or engineering changes. Likewise a preferred embodiment according to the invention is characterized in that dependencies and/or links between signals or parameters are automatically gathered and visualized to the user by means of a color scheme or filter functionality.

Furthermore one embodiment according to the invention is characterized in that separated plant parts as well as their dependencies and links and their application domains are visualized to the user whereas breakpoints are enabled according to application domain conditions, which interrupt multiple application domains together.

A further advantageous embodiment of the invention is characterized in that plant parts are automatically locked for debugging and automatically unlocked after debugging.

A further advantageous embodiment of the invention is characterized in that only those plant parts are affected by breakpoints - started and stopped - that are reserved by the user for debugging. Additionally, only the plant parts that are reserved for engineering are automatically locked for debugging and only those reserved parts are affected by breakpoints.

A further preferred embodiment provides that the states of the technical process as well as of the control system are read out continuously, e.g. by a circular or ring buffer that is continuously read and synchronized offline. The read values and states allow reconstructing the current situation in a real or simulated test environment, e.g. including a simulation of the process and the control system. Additionally, the buffer is automatically emptied when a certain condition is reached, or a previously buffered state is reached again where advantageously the state for restoring is not afVected.

A further preferred embodiment drives the physical process automatically into a predefined state with minimal or no user interaction.

Advantages

In the following some advantages of the invention shall be illustrated.

One advantage is characterized in that complete plant solutions can be debugged from a single point of access and that the overall engineering costs including quality assuring tests are reduced, because the test and commissioning engineer finally is able to debug the plant or parts of it in its entirety.

Another advantage arises from the fact that the documentation of the tests can be done across application domains, with reduced or even without limitations whereas the impact of changes of the system can be easily discovered.

A further advantage consists of the possibility of stopping the entire process from a single access point and that online values can be tracked and documented automatically whereas comparing of different control scenarios is easily and automatically possible.

Furthermore the automated starting and stopping of debug sessions is possible by using event driven breakpoints whereas the debugging can be done for real systems and virtual systems using the same software tool.

Likewise the restarting of the debugging session of a virtual control system at a PWCBP will reduce the time needed for the evaluation of different system behaviors.

Finally, the possibility of automating the testing of different system behaviors on a virtual control system allows a much more comprehensive testing without extra costs before starting the onsite commissioning.

These features and further advantageous embodiments are contained in the claims and shall be illustrated by means of an example in the figures contained in a drawing attached to this specification.

The attached drawing shows in

Fig. 1 a basic control system architecture according to the state of the art;

Fig. 2 an example of distributed control system architecture according to the state of the art;

Fig. 3 a plant wide signal tree across different control subsystems according to the present invention. In Fig. 1 a scheme of basic control system architecture 10 for controlling a technical process according to the state of the art is illustrated. The technical process as well as the control system needs to be engineered in order to fulfill the required process behavior/specification. Since industrial plants are rather complex and perform different industrial processes, the whole control system of Fig. 1 is divided into subsystems 10a, 10b, 10c which may consist of hardware and software components from different suppliers as shown in Fig. 2.

Due to this divided system structure the engineering workflow is also divided in separate sub-system specific workflows supported by provider specific engineering tools.

In Fig. 2 an example of a distributed control system architecture as the result of the subdivision process on the control system and engineering tool level is being depicted, which for example may represent a robot, a conveyor and a cell PLC in the manufacturing domain, or a number of continuous sub-processes in the process domain.

The implementation and testing of control systems are usually done for each part of the system separately. The overall solution is tested and debugged earliest during the FAT and/or commissioning phase. Debugging is a process of stepwise execution of software with the possibility of a conditional stop depending on certain conditions. It is a common technique in the software development for PC applications as well as for robot, PLC or DCS control applications.

Fig. 3 depicts the invented plant wide debugging system, presenting a signal tree across different control sub-systems in a hierarchical view on the plant solution. Each relevant signal is visible to the engineer and available for debugging. For each signal, a list of parameters with online values is shown. As presented, process signal of different domains (PLC, robot etc.) are shown.

As an example, a factory cell is considered comprising a robot surrounded by a safety fence and a safety door. The control system of this factory cell consists of three sub control systems: a cell PLC (Programmable Logic Controller), a robot controller and a safety PLC for the safety functions. During the commissioning and test phase, the factory cell shall be tested if all components safely reach a safe state once the safety door is opened manually. Corresponding to this invention, the depicted signal tree allows determination of signals, which are part of the PWCBP: the signal of the safety door (door open at the safety PLC) and the overall plant state (plant_running at the cell PLC) and the robot state (robotjnwork at the robot control). For each of these signals, the breakpoint conditions are defined (door_open = true AND plant_running = true AND

robotjnwork = true). Once these three signals reach the defined conditions the control system stops.

According to a preferred embodiment of the invention mentioned above, the connected control system, either the real control system controlling the real factory cell or the virtual control system controlling a cell simulation, stops at this point. Now, the control system can be systematically tested starting from the provided state being valid at the plant break point.