Abstract:
This invention relates to a system for generating a sequence of an industrial process by combining in a required sequence a plural number of processes each realized by operating an assembly of a plurality of apparatuses (solenoid valve, mixer, flow rate controller, etc.). Operation of the system comprises a first step of storing, in first memory, a sequence command containing apparatus data relating to the apparatuses and operation data relating to the operations of the apparatuses for preparing a command file for realizing the industrial process, a second step of storing in second memory a command file containing the sequence command read from the first memory, which simulates the industrial process and a third step of reading symbols, stored previously by the third memory, which corresponds to the apparatus data of the sequence command stored by the second memory. The operation of the system further comprises a fourth step of displaying a schema of a device for realizing the industrial process using the symbols read in the third step, and a fifth step of reading from the second memory the operation data of the sequence command, and simulating the operational procedure of the industrial process by the device in accordance with the operation data.

Description:
BACKGROUND OF THE INVENTION 
     Field of the Invention 
     This invention relates to an apparatus and a method for generating a sequence of an industrial process by combining in a set sequence a plural number of processes each constituted by operating an assembly of a plurality of apparatuses in a set manner. 
     Description of Related Art 
     DCS (Distributed Control System) is used in industrial processes in which a plural number of processes each constituted by operating in a preset manner an assembly of a plurality of apparatuses with computers are combined in a set sequence, the apparatuses of the industrial process. The case requires sequences, such as table sequences or others, which show the step-by-step operational procedure of the processes. A process for preparing a table sequence for these cases will be explained below. 
     First, engineers who are familiar with the operational procedure of a process prepare an engineering flow diagram (EFD) or Piping &amp; Instrumentation Diagram (P&amp;ID), and based on this EFD or others, a flow sequence of timing chart is prepared. Then, based on this flow sequence, a table sequence is prepared by the engineers and newly participating engineers who are familiar with apparatuses used in this industrial process. The table sequence shows the operations of the apparatuses of each step along the operational procedure, and usually one process takes hundreds of pages. 
     To prepare this table sequence, the knowledge of at least operational procedure and the used apparatuses are needed. And different makers have different descriptions of sequence tables. Under the present circumstances where there is a shortage of development and design engineers, a plurality of engineers have to cooperate. 
     A sequence needs additions and changes. It is inefficient and disturbing to rewrite the associated sequences (flow sequence, table sequence, etc.) every time an addition or a change is made so as to maintain the sequence. 
     Furthermore, for the same reason as described above, it needs multiple engineers&#39; work to collate some hundred pages of a prepared table sequence. 
     SUMMARY OF THE INVENTION 
     An object of this invention is to provide a process for generating a sequence which is applicable to every type of apparatuses, and can generate sequences accurately at high speed. 
     In order to achieve the above-described object, this invention relates to a system (method, apparatus) for generating a sequence of an industrial process by combining in a required sequence a plural number of processes each realized by operating an assembly of a plurality of apparatuses (solenoid valve, mixer, flow rate controller, etc.), the system comprising the first step of storing in first memory means (such as a flexible disk) a sequence command containing apparatus information of the apparatuses (such as data specifying a solenoid valve) and operation information of the operations of the apparatuses (such as data showing opening and closing a solenoid valve) for preparing a command file for realizing the industrial process; the second step of storing in second memory means (such as RAM) a command file containing the sequence command read from the first memory means in simulating the industrial process; the third step of reading symbols (such as one to discriminate a solenoid valve on display) which have been stored beforehand by the third memory means (such as ROM) corresponding to the apparatus information (such as solenoid valve) of the sequence command stored by the second memory means; the fourth step of displaying a schema of a device for realizing the industrial process, using the symbols read in the third step; and the fifth step of reading from the second memory means the operation information of the sequence command, and simulating the operational procedure of the industrial process by the device, based on the operation information. 
     Characters corresponding to the sequence command are read from the third memory means, and using these characters, a table sequence of the operational procedure of the industrial process may be generated (displayed on a screen or printed), based on the operation information of the sequence command. 
     Furthermore, flow elements corresponding to the sequence command are read from the third memory means, and using these flow elements, a flow sequence of the operational procedure of the industrial process may be generated (displayed on a screen or printed). 
     In the thus-arranged process according to this invention, it is shown how the operations of respective apparatuses involved in an industrial process work in the industrial process. 
     Furthermore, the operations of the apparatuses involved in the industrial process are shown by tables step by step. In addition, the operational procedure of the industrial process is shown in flowcharts. 
     The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not to be considered as limiting the present invention. 
     Further scope of applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram of a device for realizing the process for generating a sequence of an industrial process according to one embodiment of this invention; 
     FIG. 2 is a block diagram of a device for realizing the process for generating a sequence (table sequence) of an industrial process according to one embodiment of this invention; 
     FIG. 3 is a block diagram of a device for realizing the process for generating a sequence (flow sequence) of an industrial process according to one embodiment of this invention; 
     FIG. 4 is a block diagram of a device for realizing the process for generating a sequence of an industrial process according to another embodiment of this invention; 
     FIG. 5 is a flowchart of a process for realizing the raw material charge involved in one embodiment of this invention; 
     FIG. 6 is a view of one example of the command file in FIG. 4; 
     FIG. 7 is a view of one example of the standard pattern displayed on the simulator screen in FIG. 4; 
     FIG. 8 is a view of a processed state of the standard pattern of FIG. 7 to a system device; 
     FIG. 9 is a view of one example of a table sequence generated by the table generator in FIG. 4; and 
     FIGS. 10A to 10J are views of flow sequences printed by the flowchart printing means in FIG. 4. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The device for realizing the process for generating a sequence for an industrial process according to embodiments of this invention will be explained with reference to the drawings attached hereto. A common element among the embodiments has the same reference numeral throughout the following description not to repeat its explanation. 
     This device according to the first embodiment of the present invention as shown in FIG. 1 comprises first input means 1, first memory means 2, second memory means 3, read means 4, third memory means 5, a simulator 6, and display means 7. The input means 1 is provided by a personal computer with a keyboard or the like and the first memory means 2 is connected to the personal computer by Floppy Disk Drive device, so that a sequence command inputted by operating the keyboard is stored by the first memory means 2 in the form of a floppy disk or the like. The second memory means 3 is provided by a RAM or the like and is connected to the first memory means 2, the simulator 6 and the read means 4 so as to allow writing and reading of the sequence command. The apparatus information contained in the sequence command is read by the read means 4 and the operation information is sent to the simulator 6. The read means 4 is connected to the third memory means 5 provided by a ROM, RAM or others and to the display means 7, and reads marks such as signs or symbols corresponding to the apparatus information from the third memory means 5 and supplies the apparatus information to the display means 7. Based on the marks, the display means 7 displays in schema the system apparatuses for realizing the industrial process. The simulator 6 is connected to the second memory means 3 and the display means 7 for obtaining the operation information contained in the sequence command from the second memory means 3 to simulate the system apparatuses on the display screen in accordance with the operational procedure. 
     FIG. 2 is a block diagram of the device for generating a sequence including table generating means according to the second embodiment of this invention. This device comprises input means 1, first memory means 2, second memory means 3, read means 4, third memory means 8 and table generating means 9. The input means 1 is provided by a personal computer with a keyboard or the like and first memory means 2 provided by a floppy disk or the like is connected to the personal computer by Floppy Disk Drive device, so that a sequence command inputted by operating the keyboard is stored by the first memory means. The second memory means 3 is provided by, e.g., a RAM is connected to the first memory means 2 and the read means 4 so as to allow writing and reading of the sequence command. The sequence command is read by the read means 4. The read means 4 is connected to the third memory means 8 provided by a ROM, RAM or others and to table generating means 9. The read means 4 reads characters such as letters corresponding to the apparatus information from the third memory means 8 and supplies the information to the table generating means 9. Based on the characters, the table generating means 9 generates a table sequence for the industrial process (displays on the screen or prints the table sequence). 
     FIG. 3 is a block diagram of a device for generating a sequence including flow generating means according to the third embodiment of this invention. This device comprises input means 1, first memory means 2, second memory means 3, read means 4, third memory means 10 and flow generating means 11. The input means 1 is provided by a personal computer with a keyboard or the like and the first memory means 2 provided by a floppy disk or the like is connected to the personal computer by Floppy Disk Drive device, so that a sequence command inputted by operating the keyboard is stored by the first memory means 2. The second memory means 3 provided by a RAM or the like is connected to the first memory means 2 and the read means 4, and the sequence command is read by the read means 4. The read means 4 is connected to the third memory means 10 provided by a ROM, RAM or the like, and the flow generating means 11. The read means 4 reads flow elements corresponding to the sequence command from the third memory means 10 and supplies the information to the flow generating means 11, 
     FIG. 4 is a block diagram of a device for generating a sequence including a simulator, table generating means and flow generating means according to the fourth embodiment of this invention. This device comprises a command editor (input means) 12, a macro processor 13, data base generator 14, simulator 15, a table generator (table generating means) 16, flowchart display means (flow generating means) 17, flowchart printing means, (flow generating means) 18, and a converter 19. The macro processor 13 can read from a system macro library 20 or a user macro library 21 which stores in a hard disk, etc. a plurality of steps in one module can read the steps in the unit of module. The converter 19 can convert, e.g., MS-DOS data into UNIX data. The simulator 15 is connected to display means 15a such as CRT. 
     A sequence command is supplied by the command editor 12 to prepare a source file. Module information is built in this source file to prepare a command file. Information necessary to prepare a table sequence can be obtained also from an apparatus database 22. 
     Next, one procedure according to above embodiment will be explained with reference to FIGS. 5 to 10. In the industrial process used in this example, a raw material A is charged into a reaction vessel R101 by a batch process, using a universal equipment. The execution condition (initial condition) is that solenoid valves XV102, XV103, XV301 are closed, and a mixer K101 is stopped, and when the execution condition is not met, a warning &#34;abnormal initial condition&#34; is given, and an operation is interrupted. 
     The charging operation will be explained below. First, the solenoid valve XV101 is opened to start charging material A into the reaction vessel R101, and a flow rate per unit time is set by flow rate controllers FIC101, FQC101. After five seconds, an indication of the flow rate controller FIC101 is checked, and when the flow rate is below a set amount, the charging line is judged abnormal, and the charging operation is interrupted, a warning of an abnormal charging line being given. The charging operation ends when the charged amount has reached a value set in the flow controller FQC 101. During a charging operation, when a liquid level alarm LAH 101 becomes ON, or when the upper limit alarm of a temperature alarm TIA101 becomes ON, the charging operation is interrupted, and a warning of &#34;an abnormal level&#34; or a warning of &#34;an abnormal temperature&#34; is given. When the charging operation has ended, the mixer K101 is run, and when its running state is confirmed, a message of &#34;R101 has been charged with raw material&#34; is given, and the charging operation finishes. At the time of an interruption or an emergency stop of a charging operation, a required treatment is made, a message of &#34;an interruption&#34; or &#34;an emergency stop&#34; being given. 
     FIG. 6 shows one example of command files prepared by inputting a sequence command using the command editor 12 or the macro processor 13 to show above operation. This command file includes an initial condition check unit 23, a charge start unit 24, an initial flow rate check unit 25, an abnormal initial condition unit 26, an abnormal temperature unit 27, an abnormal level unit 28, an abnormal initial flow rate unit 29, a charge interruption treatment unit 30, and an emergency stop treatment unit 31. For example, the initial condition check unit 23 checks if the solenoid valve XV102, XV103 and XV301 is open and the mixer K101 is in operation. If at least one of the solenoid valve XV102, XV103 and XV301 is open or the mixer K101 is in operation, the abnormal initial condition unit 26 works. Based on these sequence commands, a simulation, a table sequence and a flow sequence of the operational procedure of the industrial process are prepared. 
     FIG. 7 shows a standard display of the display means 15a (FIG. 4). This standard display shows some necessary apparatuses used to realize the operation in symbol beforehand on a screen such as a reaction vessel, and a plurality of pipes, and the respective pipes are numbered to show their locations. That is, kinds of apparatuses (e.g., solenoid valves, pumps, and mixers) are shown numbered, so that a system device for realizing an industrial process can be displayed in symbol on the screen. FIG. 8 shows an intermediate state of making the system for realizing the operation of the process on the screen in use of the standard display. The simulator 15 simulates the operational procedure of the raw material charge process of the device based on the operation information included in the command file (sequence commands). Specifically, the process is executed step by step, e.g., the opening and closing operations of the solenoid valves are displayed by changing colors of the symbols representing the solenoid valves on the screen. Thus, according to the above-described system device displayed on the screen in symbols, the raw material charge process can be easily simulated, and errors (error, inconsistency, inconvenience, rationality, efficiency, etc. in the system) can be visually judged. 
     FIG. 9 shows one example of table sequence prepared by the table generator 16 (See FIG. 4). In this table sequence, the names of the apparatuses used in the raw material charge process are shown in the column, and the rule numbers (the second row) and the step numbers (the fourth row) are shown in the rows. In this table, open state of the solenoid valve is indicated by &#34;Y&#34; and close state thereof is indicated by &#34;N&#34;. The upper area shows all conditions and the lower area shows actions when the conditions are met. The seventh rule (the third step), for example, shows the operational procedure that the solenoid valves XV102, XV103, XV301 are closed with the mixer K101 stopped, and the solenoid valve XV101 is opened. Specifically, when a sequence command is read from the second memory means 3 (See FIG. 2), proper characters such as letters showing an apparatus name (XV102, K101, etc.) and an operation (Y, N) corresponding to the sequence command according to step or rule are sent to the table generating means to display the table in use of software method. According to this embodiment, a table sequence showing the operational procedure of the raw material charge can be simply prepared, with a result of improved operational efficiency. In addition, it becomes easier to follow additions to and changes of the process. 
     FIG. 10 shows a flow sequence printed by the flowchart printing means 18 (see FIG. 4). Flow elements (boxes, decision boxes, or others) are read from a third memory means (not shown), based on a sequence command. Specifically, when a sequence command is read from the second memory means 3 (see FIG. 3), proper flow elements showing the initial condition check procedure (see FIG. 10B), the initial flow check procedure (see FIG. 10D), etc. corresponding to the sequence command are sent to the flow generating means 11 to generate a complete flow sequence in use of software method. According to this embodiment, a sequence flow showing the operational procedure of the raw material charge process can be easily prepared, and additions to and changes of the industrial process can be easily made. 
     This invention is not limited to the above-described embodiments. This invention is applicable to batch processes and continuous processes. 
     This invention, which is arranged as described above, enables a sequence generating operation for industrial processes to be performed efficiently. 
     From the invention thus described, it will be obvious that the invention may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims.