This application claims priority on Finnish App. No. 20040624, filed Apr. 30, 2004, the disclosure of which is incorporated by reference herein.
Not applicable.
The invention concerns a method and system for editing logical programs for a trouble diagnostic system, which trouble diagnostic system is used to determine and locate trouble in industrial processes and/or equipment, and which trouble diagnostic system comprises a logical program/logical programs comprising logical circuits, which consist of a set of circuit components arranged at several different processing levels.
Industrial processes and equipment are usually controlled by Programmable Logic Controllers, PLC, whose operation is based on algorithms based on Boolean algebra. Boolean algebra is based on processing of binary signals by logical operators, which are, for example, AND-, OR- and NOT-operations. By combining binary signals and these operations it is possible by using logical circuits to bring about the desired control signals.
Programmable logical programs are used to bring about displays, which are used, for example, in diagnostic systems of industrial processes and which show the locking functions preventing the desired motion in the monitored system. In such displays, OR circuits, for example, can be displayed in such a way that locking functions of the OR circuit are not shown, if some of the OR circuit's signals is in the OK state.
For editing logical circuits and logical programs various methods have been developed to find out why a signal is in a certain state. Even very complicated chains of operations are often needed in practice. These chains of operations cannot be presented by the display programs in use today, because these allow a simple presentation only, which can be understood by a user not profoundly knowledgeable about logical programs.
As regards the state of the art to do with the invention, reference is made to printed public specification EP-0 753 168, which presents an automatic method for diagnosing trouble. According to said method, processes or equipment are monitored by a logical program's sequence control in such a way that the contact plan or function plan of the trouble diagnostic system is converted into a list of instructions, which is analyzed mechanically by phase chain analysis. In the phase chain analysis, the phase chains used in the program code are identified and they are localized automatically. The phase chains are then prepared in knowledge base form and the topmost decision level of the trouble tree is deduced from it. Those signals, which have led to stopping of the process or equipment, are determined by the trouble diagnostic program.
The objective of the invention is to present a method and a system in trouble diagnostics, by which method and system it is possible to present signals processed by multi-level logical circuits in a user-friendly and easily interpreted form in the display unit of a trouble diagnostic system.
The method according to the invention is mainly characterized in that logical circuits are edited into such a reduced form, that the resulting logical circuit can be presented in a simple form in a trouble diagnostic system.
The system according to the invention is mainly characterized in that the system comprises means for editing logical circuits, whereby the resulting reduced logical circuit can be presented in a simple form in a trouble diagnostic system.
According to the invention, multi-level logical circuits can be presented in a simple display window in such a way that the multi-level logical circuit is edited by using algorithms based on Boolean algebra into no more than two-level form. When edited in this manner, the logical circuit remaining for presentation is either an AND circuit comprising individual signals and simple/single-level OR circuits or an OR circuit comprising individual signals and simple/single-level AND circuits. The functioning of such a logical circuit can be presented in a simple display window in such a manner that no profound knowledge of complicated logical circuits is required for its interpretation. This feature of the invention improves considerably the usability of the trouble diagnostic software in a complicated production system.
According to an advantageous application example of the invention, the multi-level logical circuit is analyzed step by step, and as the outcome of the analysis the logical circuit is reduced by combining logical operations. The number of levels is hereby reduced after each step. The steps of analysis and combination are repeated, until no more than a two-level logical circuit remains as the result. A logical circuit of this kind can be presented in state-of-the-art simple display windows of trouble diagnostic systems.
The invention is suitable for use in any industrial process or equipment systems, wherein trouble diagnostic systems are used, and preferably in equipment of the paper industry, in mineral-treatment systems of the process industry as well as in automation applications of various kinds. The invention allows better utilization for trouble diagnostic programs using multi-level logical circuits.
The invention can easily be applied to already existing trouble diagnostic systems of the industries. By utilizing the invention it is possible automatically and quickly to analyze complicated logical circuits, whose analyzing used to require a considerable manual input of labor. In addition, the trouble diagnostic system becomes considerably more covering than before, because better knowledge is obtained of the functioning of complicated logical circuits.
In the following, the invention will be described in greater detail by referring to the figures in the appended drawings, but it is not an intention to limit the invention narrowly to any details of these figures.
Locking states can also be shown, for example, in colors or in some other distinct visual manner, from which the user can easily see the state of the system. A simple manner of presentation of this kind provides the user with information on the functioning of the system without any need for the user to have profound knowledge of the structure of the system.
The logical circuits CN, DN shown in
With the aid of
With the aid of the algorithm of
In advantageous alternatives of carrying out the invention, the logical circuits to be edited are converted into a conjunctive or a disjunctive normal form. In addition, according to the invention, the final form may be a disjunctive normal form DNF comprising an OR circuit comprising either individual signals and/or simple/single-level AND circuits, or a conjunctive normal form CNF comprising an AND circuit comprising either individual signals and/or simple/single-level OR circuits.
The system according to the invention comprises means for implementation of the method according to the invention, that is, means for editing a logical circuit, whereby the resulting reduced logical circuit can be presented in a simple display window of a trouble diagnostic system. The logical circuit obtained as the result of the editing method may also be presented to the user as a printout, a speech message, in written form or in some other suitable form of presentation.
The system according to the invention preferably comprises means for editing, reducing, minimizing, storing and presenting a logical circuit. In an additional advantageous embodiment of the invention, the system also comprises means for converting the resulting logical circuits into a disjunctive or a conjunctive normal form.
According to the additional embodiment of the invention, the system also comprises means for converting the resulting logical circuits into a disjunctive normal form, which comprises an OR circuit comprising either individual signals and/or simple/single-level AND circuits or, alternatively, into a conjunctive normal form, which comprises an AND circuit comprising either individual signals and/or simple/single-level OR circuits.
In the foregoing, an advantageous embodiment was described for converting a logical circuit into said two-level form of presentation. A conversion in accordance with steps 42-48 of
In the foregoing, the invention was described by referring only to some advantageous application examples of it, but it is not an intention to restrict the invention narrowly to the details of these. Many modifications and variations are possible within the scope of the inventive idea defined by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
20040624 | Apr 2004 | FI | national |