Embodiments of the present application relate to the field of process control, in particular to an anomaly detection method, apparatus and system for a process instrument, and a storage medium.
A process instrument is generally an instrument used to measure, monitor or check on-site signals such as temperature, pressure, flow rate, liquid level or valve positioning in an industrial (e.g. chemical industrial) process on a mass production operating line. Examples of process instruments include temperature sensors, pressure sensors, liquid level meters and flow meters, etc.
Process instruments generally always have certain basic self-diagnostic abilities for identifying abnormal operating situations, e.g. high electronic temperature, power supply voltage loss, etc. However, process instruments cannot diagnose certain other anomalies, such as pressure sensor pulse line blockage, sensor drift, and measurement errors caused by gas being entrained in process fluid; thus, measurement values of the process instruments will no longer be able accurately reflect process changes, and the abnormal measurement results outputted will affect future analysis results when used as historical data.
For the diagnosis of these anomalies, various anomaly diagnosis algorithms for process instruments are already in existence, e.g. statistical analysis, expert systems, etc. However, most anomaly diagnosis algorithms are data intensive and/or computationally intensive algorithms, and are difficult to use in low-power or low-cost process control apparatuses having limited resources; thus, at present, these anomaly diagnosis algorithms are generally used as independent applications.
In view of this, embodiments of the present application propose an anomaly detection method for a process instrument, and also propose an anomaly detection apparatus and system for a process instrument, and a storage medium, for the purpose of enhancing the functionality of a programmable logic controller (PLC), to realize anomaly diagnosis for process instruments.
An anomaly detection method for a process instrument proposed in an embodiment of the present invention comprises: integrating at least one virtual function module on a programmable logic controller PLC, and for each virtual function module, establishing a mapping between at least one input channel of the virtual function module and an output of at least one anomaly diagnosis algorithm arranged on a service provision system, each anomaly diagnosis algorithm being used to diagnose whether an anomaly exists in a process instrument; a PLC receiving measurement data of a process instrument, the measurement data being periodically stored in a historical database, and wherein at least one virtual function module is integrated on the programmable logic controller PLC, wherein a mapping is set between at least one input channel of each virtual function module and an output of at least one anomaly diagnosis algorithm arranged on a service provision system, each anomaly diagnosis algorithm being used to diagnose whether an anomaly exists in a process instrument; upon receiving, via an input channel of the virtual function module, an anomaly indication outputted by the service provision system, the PLC determines that an anomaly exists in the process instrument corresponding to the anomaly diagnosis algorithm mapped to the input channel, wherein the anomaly indication is an indication outputted when the service provision system determines that an anomaly has occurred in the process instrument after acquiring the measurement data from the historical database and using the corresponding anomaly diagnosis algorithm to diagnose the measurement data.
Another anomaly detection method for a process instrument proposed in an embodiment of the present invention comprises: the service provision system acquiring measurement data of a process instrument from a historical database; the measurement data being measurement data which is received by the PLC from the process instrument and periodically stored in the historical database; wherein at least one anomaly diagnosis algorithm is arranged on the service provision system (130), and a mapping is set between an output of the at least one anomaly diagnosis algorithm and at least one input channel of at least one virtual function module (111) integrated on the programmable logic controller PLC (110); the service provision system using the corresponding anomaly diagnosis algorithm to diagnose the measurement data, and upon diagnosing that an anomaly has occurred in the process instrument, outputting an anomaly indication to the corresponding input channel of the virtual function module mapped to the anomaly diagnosis algorithm.
The anomaly detection apparatus for a process instrument proposed in an embodiment of the present invention may be a PLC and a service provision system.
The PLC may comprise a virtual function module, an analog quantity input/output module, a central processor module, a function module and a power supply module, wherein a mapping is set between at least one input channel of the virtual function module and an output of at least one anomaly diagnosis algorithm arranged on a service provision system, and when an input channel receives an anomaly indication outputted by the service provision system, the virtual function module provides the anomaly indication to the function module as an input variable of the function module; wherein the input variable is used to indicate that an anomaly exists in a process instrument corresponding to the anomaly diagnosis algorithm mapped to the input channel; the analog quantity input/output module receives measurement data of a process instrument, converts the measurement data from an analog quantity to a digital quantity and then provides same to the function module; and receives a first control instruction or second control instruction from the function module, converts the first control instruction or second control instruction from a digital quantity to an analog quantity and then outputs same to a process execution mechanism; the central processor module caches and transfers the measurement data; the function module, upon receiving the input variable, determines that an anomaly exists in the corresponding process instrument, and outputs a first control instruction to the analog quantity input/output module according to a preset default value; and otherwise outputs a second control instruction to the analog quantity input/output module according to the measurement data; the power supply module supplies power to the central processor module, the analog quantity input/output module and the function module.
The service provision system of an embodiment may comprise an algorithm module, a first communication module, a data processing module and a second communication module; wherein the algorithm module comprises at least one anomaly diagnosis algorithm, each anomaly diagnosis algorithm being used to diagnose whether an anomaly exists in a process instrument; a mapping is established between an output of the at least one anomaly diagnosis algorithm and at least one input channel of at least one virtual function module integrated on a programmable logic controller PLC; the first communication module acquires measurement data of a process instrument from a historical database; the measurement data is measurement data which is received by the PLC from the process instrument and periodically collected in the historical database; the data processing module calls the corresponding anomaly diagnosis algorithm in the algorithm module to diagnose the measurement data, and outputs an anomaly indication to the second communication module upon diagnosing that an anomaly exists in the corresponding process instrument; the second communication module outputs the anomaly indication to the corresponding input channel of the virtual function module mapped to the anomaly diagnosis algorithm.
In one embodiment, the service provision system may also comprise: at least one memory and at least one processor, wherein: the at least one memory is configured to store a computer program; the at least one processor is configured to call the computer program stored in the at least one memory, and execute the anomaly detection method for a process instrument of an embodiment.
The computer-readable storage medium proposed in an embodiment of the present invention has a computer program stored thereon; the computer program is executable by a processor and realizes the anomaly detection method for a process instrument as described above.
Other features, characteristics and advantages of the present invention will become more obvious through the following detailed description in conjunction with the drawings.
The reference labels used in the drawings are as follows:
An anomaly detection method for a process instrument proposed in an embodiment of the present invention comprises: integrating at least one virtual function module on a programmable logic controller PLC, and for each virtual function module, establishing a mapping between at least one input channel of the virtual function module and an output of at least one anomaly diagnosis algorithm arranged on a service provision system, each anomaly diagnosis algorithm being used to diagnose whether an anomaly exists in a process instrument; a PLC receiving measurement data of a process instrument, the measurement data being periodically stored in a historical database, and wherein at least one virtual function module is integrated on the programmable logic controller PLC, wherein a mapping is set between at least one input channel of each virtual function module and an output of at least one anomaly diagnosis algorithm arranged on a service provision system, each anomaly diagnosis algorithm being used to diagnose whether an anomaly exists in a process instrument; upon receiving, via an input channel of the virtual function module, an anomaly indication outputted by the service provision system, the PLC determines that an anomaly exists in the process instrument corresponding to the anomaly diagnosis algorithm mapped to the input channel, wherein the anomaly indication is an indication outputted when the service provision system determines that an anomaly has occurred in the process instrument after acquiring the measurement data from the historical database and using the corresponding anomaly diagnosis algorithm to diagnose the measurement data.
As can be seen, in an embodiment of the present invention, due to the fact that a mapping is set between the output of each anomaly diagnosis algorithm arranged on a service provision system and each input channel of at least one virtual function module integrated on the PLC, each anomaly diagnosis algorithm may be disguised as an algorithm module of the PLC itself; thus, when each anomaly diagnosis algorithm on the service provision system is used to evaluate process instrument measurement data received by the PLC and determine that an anomaly has occurred in a particular process instrument, an anomaly indication will be outputted to the corresponding input channel of the PLC, and the anomaly indication participates in PLC control directly as an input parameter of the PLC, thereby enhancing the functionality of the PLC, and realizing anomaly diagnosis for the process instrument.
In one embodiment, the method further comprises: the PLC controlling a process execution mechanism according to the measurement data when the anomaly indication is not received; controlling the process execution mechanism according to a preset default datum when the anomaly indication is received. In this embodiment, when an anomaly indication occurs, this indicates that the measurement data of the process instrument received by the PLC directly is already inaccurate, and correspondingly, subsequent control performed using the measurement data will also be inaccurate; for this reason, by using a preset, relatively accurate default datum to replace the measurement data to perform subsequent control, it is possible to make PLC control more accurate, thereby improving PLC control accuracy.
Another anomaly detection method for a process instrument proposed in an embodiment of the present invention comprises: the service provision system acquiring measurement data of a process instrument from a historical database; the measurement data being measurement data which is received by the PLC from the process instrument and periodically stored in the historical database; wherein at least one anomaly diagnosis algorithm is arranged on the service provision system (130), and a mapping is set between an output of the at least one anomaly diagnosis algorithm and at least one input channel of at least one virtual function module (111) integrated on the programmable logic controller PLC (110); the service provision system using the corresponding anomaly diagnosis algorithm to diagnose the measurement data, and upon diagnosing that an anomaly has occurred in the process instrument, outputting an anomaly indication to the corresponding input channel of the virtual function module mapped to the anomaly diagnosis algorithm.
As can be seen, in an embodiment of the present invention, due to the fact that each anomaly diagnosis algorithm is arranged on a service provision system, while at least one virtual function module is integrated on the PLC, and a mapping is established between each input channel of each virtual function module and the output of each anomaly diagnosis algorithm arranged on the service provision system, each anomaly diagnosis algorithm may be disguised as an algorithm module of the PLC itself; thus, when each anomaly diagnosis algorithm on the service provision system is used to evaluate process instrument measurement data received by the PLC and determine that an anomaly has occurred in a particular process instrument, an anomaly indication will be outputted to the corresponding input channel of the PLC, and the anomaly indication participates in PLC control directly as an input parameter of the PLC, thereby enhancing the functionality of the PLC, and realizing anomaly diagnosis for the process instrument.
In one embodiment, the method further comprises: the service provision system replacing measurement data, corresponding to when an anomaly occurs in the process instrument, with a preset default datum; storing the default datum in the historical database instead of the measurement data corresponding to when an anomaly occurs in the process instrument. In this embodiment, by using a relatively accurate default datum to correct data in the historical database following the occurrence of an anomaly in a process instrument, it is possible to increase the accuracy of results when historical data is used to perform future analysis or statistical analysis.
The anomaly detection apparatus for a process instrument proposed in an embodiment of the present invention may be a PLC and a service provision system.
The PLC may comprise a virtual function module, an analog quantity input/output module, a central processor module, a function module and a power supply module, wherein a mapping is set between at least one input channel of the virtual function module and an output of at least one anomaly diagnosis algorithm arranged on a service provision system, and when an input channel receives an anomaly indication outputted by the service provision system, the virtual function module provides the anomaly indication to the function module as an input variable of the function module; wherein the input variable is used to indicate that an anomaly exists in a process instrument corresponding to the anomaly diagnosis algorithm mapped to the input channel; the analog quantity input/output module receives measurement data of a process instrument, converts the measurement data from an analog quantity to a digital quantity and then provides same to the function module; and receives a first control instruction or second control instruction from the function module, converts the first control instruction or second control instruction from a digital quantity to an analog quantity and then outputs same to a process execution mechanism; the central processor module caches and transfers the measurement data; the function module, upon receiving the input variable, determines that an anomaly exists in the corresponding process instrument, and outputs a first control instruction to the analog quantity input/output module according to a preset default value; and otherwise outputs a second control instruction to the analog quantity input/output module according to the measurement data; the power supply module supplies power to the central processor module, the analog quantity input/output module and the function module.
As can be seen, in an embodiment of the present invention, due to the fact that a mapping is set between the output of each anomaly diagnosis algorithm arranged on a service provision system and each input channel of at least one virtual function module integrated on the PLC, each anomaly diagnosis algorithm may be disguised as an algorithm module of the PLC itself; thus, when each anomaly diagnosis algorithm on the service provision system is used to evaluate process instrument measurement data received by the PLC and determine that an anomaly has occurred in a particular process instrument, an anomaly indication will be outputted to the corresponding input channel of the PLC, and the anomaly indication participates in PLC control directly as an input parameter of the PLC, thereby enhancing the functionality of the PLC, and realizing anomaly diagnosis for the process instrument. In addition, when it is diagnosed that an anomaly has occurred in a process instrument, by using a preset, relatively accurate default datum to replace the measurement data to perform subsequent control, it is possible to make PLC control more accurate, thereby improving PLC control accuracy.
The service provision system of an embodiment may comprise an algorithm module, a first communication module, a data processing module and a second communication module; wherein the algorithm module comprises at least one anomaly diagnosis algorithm, each anomaly diagnosis algorithm being used to diagnose whether an anomaly exists in a process instrument; a mapping is established between an output of the at least one anomaly diagnosis algorithm and at least one input channel of at least one virtual function module integrated on a programmable logic controller PLC; the first communication module acquires measurement data of a process instrument from a historical database; the measurement data is measurement data which is received by the PLC from the process instrument and periodically collected in the historical database; the data processing module calls the corresponding anomaly diagnosis algorithm in the algorithm module to diagnose the measurement data, and outputs an anomaly indication to the second communication module upon diagnosing that an anomaly exists in the corresponding process instrument; the second communication module outputs the anomaly indication to the corresponding input channel of the virtual function module mapped to the anomaly diagnosis algorithm.
As can be seen, in an embodiment of the present invention, due to the fact that a mapping is set between the output of each anomaly diagnosis algorithm arranged on a service provision system and each input channel of at least one virtual function module integrated on the PLC, each anomaly diagnosis algorithm may be disguised as an algorithm module of the PLC itself; thus, when each anomaly diagnosis algorithm on the service provision system is used to evaluate process instrument measurement data received by the PLC and determine that an anomaly has occurred in a particular process instrument, an anomaly indication will be outputted to the corresponding input channel of the PLC, and the anomaly indication participates in PLC control directly as an input parameter of the PLC, thereby enhancing the functionality of the PLC, and realizing anomaly diagnosis for the process instrument.
In one embodiment, the data processing module further replaces measurement data, corresponding to when an anomaly occurs in the process instrument, with a preset default datum; the first communication module further stores the default datum in the historical database instead of the measurement data corresponding to when an anomaly occurs in the process instrument. In this embodiment, by using a relatively accurate default datum to correct data in the historical database following the occurrence of an anomaly in a process instrument, it is possible to increase the accuracy of results when historical data is used to perform future analysis or statistical analysis.
In one embodiment, the service provision system is arranged on a PC, a server, or an industrial cloud. As can be seen, the service provision system can be flexibly arranged on a third party resource other than the PLC; in particular, as cloud technology develops, the efficiency of a service provision system arranged on a cloud resource is increased.
In one embodiment, the service provision system may also comprise: at least one memory and at least one processor, wherein: the at least one memory is configured to store a computer program; the at least one processor is configured to call the computer program stored in the at least one memory, and execute the anomaly detection method for a process instrument of an embodiment.
The anomaly diagnosis system for a process instrument proposed in an embodiment of the present invention may comprise the abovementioned PLC, service provision system and historical database; wherein the historical database is configured to store measurement data of at least one process instrument collected periodically from the PLC.
The computer-readable storage medium proposed in an embodiment of the present invention has a computer program stored thereon; the computer program is executable by a processor and realizes the anomaly detection method for a process instrument as described above.
In an embodiment of the present invention, in view of the fact that at present, many industrial control apparatuses are realized using a PLC, and existing anomaly diagnosis algorithms cannot be used in the PLC directly, each anomaly diagnosis algorithm is arranged on a service provision system such as a PC, server or industrial cloud; at the same time, at least one virtual function module is integrated on the PLC, and a mapping is established between each input channel of each virtual function module and an output of each anomaly diagnosis algorithm arranged on the service provision system. Thus, measurement data of each process instrument received by the PLC can be subjected to evaluation diagnosis using the corresponding anomaly diagnosis algorithm on the service provision system; subsequently, when an anomaly is detected in a particular process instrument, an anomaly indication is outputted to the corresponding input channel of the corresponding virtual function module, such that the anomaly indication can directly participate in a control process of the PLC as an input parameter of the control process of the PLC.
To clarify the object, technical solution and advantages of the present invention, the present invention is explained in further detail below, citing embodiments.
At least one virtual function module 111 is integrated on the PLC 110, and a mapping is provided between at least one input channel of each virtual function module 111 and an output of at least one anomaly diagnosis algorithm arranged on the service provision system 130. The PLC 110 can receive measurement data of each process instrument 140, and control a corresponding process execution mechanism 150 according to the measurement data; or, when an anomaly indication fed back by the service provision system 130 via the corresponding input channel of the virtual function module 111 is received, the anomaly indication indicating that an anomaly has occurred in a particular process instrument, the corresponding process execution mechanism 150 is controlled according to the anomaly indication.
The historical database 120 stores data related to various control processes collected periodically from the PLC, including measurement data of each process instrument 140.
At least one anomaly diagnosis algorithm is arranged on the service provision system 130, each anomaly diagnosis algorithm being used to diagnose whether an anomaly exists in a process instrument. The service provision system 130 can acquire measurement data of each process instrument 140 from the historical database 120, use the corresponding anomaly diagnosis algorithm to diagnose the measurement data, and if it is determined that an anomaly has occurred in a particular process instrument, output an anomaly indication to the input channel of the corresponding virtual function module 111 of the PLC 110, as an input parameter of the PLC 110, such that the PLC 110 can control the corresponding process execution mechanism 150 according to the anomaly indication. The service provision system 130 may be arranged on a PC/server 200 or any cloud resource such as an industrial cloud 300, etc.; in this embodiment, the case where it is arranged on the industrial cloud 300 is taken as an example.
A method for integrating the virtual function module 111 on the PLC 110 may comprise: creating a virtual function module description file comprising an input channel address of the virtual function module 111 to be created, installing the virtual function module description file in a programming tool of the PLC 110, creating the virtual function module in the PLC 110 via a module catalogue provided by the programming tool, allocating the input channel address of the virtual function module on the PLC 110, and creating a virtual function module configuration file comprising a mapping between the input channel of the virtual function module 111 and an output of the service provision system 130.
The mapping between the input channel of the virtual function module 111 and the output of the anomaly diagnosis algorithm arranged on the service provision system 130 may be set by the following method: establishing a communication connection between the PLC 110 and the service provision system 130, creating a virtual function module configuration file comprising a mapping between the input channel of the virtual function module 111 and the output of the service provision system 130, and providing the virtual function module configuration file to the service provision system 130; an output variable from the service provision system 130 can then be received via the corresponding input channel of the virtual function module 111, and the output variable can be used to update a control parameter of the PLC.
Step 201: the PLC 110 receives measurement data of a process instrument, the measurement data being periodically stored in a historical database 120. At least one virtual function module 111 is integrated on the PLC 110, and a mapping is set between at least one input channel of each virtual function module 111 and an output of at least one anomaly diagnosis algorithm arranged on a service provision system 130, each anomaly diagnosis algorithm being used to diagnose whether an anomaly exists in a process instrument.
Step 202: upon receiving, via an input channel of the virtual function module 111, an anomaly indication outputted by the service provision system 130, the PLC 110 determines that an anomaly exists in the process instrument corresponding to the anomaly diagnosis algorithm mapped to the input channel. The anomaly indication is an indication outputted when the service provision system determines that an anomaly has occurred in the process instrument after acquiring the measurement data from the historical database 120 and using the corresponding anomaly diagnosis algorithm to diagnose the measurement data.
In this embodiment, the PLC 110 can control a process execution mechanism 150 according to measurement data of the process instrument 140 when the anomaly indication is not received; and control the process execution mechanism 150 according to a preset default datum when the anomaly indication is received.
Step 401: the service provision system 130 acquires measurement data of a process instrument from a historical database 120; the measurement data is measurement data which is received by the PLC 110 from the process instrument and periodically stored in the historical database 120. At least one anomaly diagnosis algorithm is arranged on the service provision system 130, each anomaly diagnosis algorithm being used to diagnose whether an anomaly exists in a process instrument; a mapping is set between an output of the at least one anomaly diagnosis algorithm and at least one input channel of at least one virtual function module integrated on a PLC.
Step 402: the service provision system 130 uses the corresponding anomaly diagnosis algorithm to diagnose the measurement data, and upon diagnosing that an anomaly has occurred in the process instrument, outputs an anomaly indication to the corresponding input channel of the virtual function module 111 mapped to the anomaly diagnosis algorithm.
In this embodiment, the method may further comprise: step 403: the service provision system 130 replaces measurement data, corresponding to when an anomaly occurs in the process instrument, with a preset default datum; and stores the default datum in the historical database 120 instead of the measurement data corresponding to when an anomaly occurs in the process instrument.
A mapping is established between at least one input channel of the virtual function module 111 and an output of at least one anomaly diagnosis algorithm arranged on a service provision system 130; the virtual function module 111 is configured to, when an input channel receives an anomaly indication outputted by the service provision system 130, provide the anomaly indication to the function module 114 as an input variable of the function module 114; the input variable is used to indicate that an anomaly exists in the process instrument corresponding to the anomaly diagnosis algorithm mapped to the input channel.
The analog quantity input/output module 112 is configured to receive measurement data of a process instrument 140, convert the measurement data from an analog quantity to a digital quantity and then provide same to the function module 114; and receive a first control instruction or second control instruction from the function module 114, convert the first control instruction or second control instruction from a digital quantity to an analog quantity and then output same to a process execution mechanism 150.
The central processor module 113 is configured to cache and transfer measurement data of the process instrument 140. For example, after the analog quantity input/output module 112 has converted the measurement data from an analog quantity to a digital quantity, the measurement data can be stored in a cache, which may be internal memory of the central processor module 113, and the function module 114 can then acquire the measurement data from the cache. In addition, the measurement data of each process instrument 140 stored in the historical database 120 may be periodically read from the central processor module 113.
The function module 114 is configured to, upon receiving the input variable, determine that an anomaly exists in the corresponding process instrument, and output a first control instruction to the analog quantity input/output module 112 according to a preset default value; and otherwise output a second control instruction to the analog quantity input/output module 112 according to the measurement data.
The power supply module 115 is configured to supply power to the entire PLC, including the central processor module 113, the analog quantity input/output module 112 and the function module 114.
In this embodiment, the function module 114 may comprise a proportional-integral-derivative (PID) controller, etc.
The algorithm module 131 comprises at least one anomaly diagnosis algorithm, each anomaly diagnosis algorithm being used to diagnose whether an anomaly exists in a process instrument. A mapping is established between an output of the at least one anomaly diagnosis algorithm and at least one input channel of at least one virtual function module 111 integrated on a PLC 110.
The first communication module 132 is configured to acquire measurement data of a process instrument from a historical database 120; the measurement data is measurement data which is received by the PLC 110 from the process instrument and periodically stored in the historical database 120.
The data processing module 133 is configured to call the corresponding anomaly diagnosis algorithm in the algorithm module 131 to diagnose the measurement data acquired by the first communication module 132, and output an anomaly indication to the second communication module 134 upon diagnosing that an anomaly exists in the corresponding process instrument.
The second communication module 134 is configured to output the anomaly indication to the corresponding input channel of the virtual function module 111 mapped to the anomaly diagnosis algorithm.
In one embodiment, the data processing module 133 is further configured to replace measurement data, corresponding to when an anomaly occurs in the process instrument, with a preset default datum. Correspondingly, the first communication module 132 is further configured to store the default datum in the historical database 120 instead of the measurement data corresponding to when an anomaly occurs in the process instrument.
In an embodiment of the present invention, the service provision system 130 may be arranged on a PC, a server, or any cloud resource such as an industrial cloud.
The at least one memory 701 is configured to store a computer program. The computer program may be understood to comprise the various modules shown in
In addition, the at least one memory 701 may also store an operating system, etc. The operating system comprises but is not limited to: Android operating systems, Symbian operating systems, Windows operating systems, Linux operating systems, etc.
The at least one port 703 is configured to send and receive data.
The at least one processor 702 is configured to call a computer program stored in the at least one memory 701, in order to execute the anomaly detection method for a process instrument in an embodiment of the present invention on the basis of the function of sending and receiving data of the at least one port 703. The processor 702 may be a CPU, a processing unit/module, an ASIC, a logic module or a programmable gate array, etc.
The anomaly detection system for a process instrument in an embodiment of the present invention may comprise the abovementioned historical database 120, PLC 110 and service provision system 130.
In addition, also provided in an embodiment of the present invention is a computer-readable storage medium, having a computer program stored thereon; the computer program is executable by a processor and realizes the anomaly detection method for a process instrument in an embodiment of the present invention.
As can be seen, in the embodiments of the present invention, due to the fact that a mapping is set between the output of each anomaly diagnosis algorithm arranged on a service provision system and each input channel of at least one virtual function module integrated on the PLC, each anomaly diagnosis algorithm may be disguised as an algorithm module of the PLC itself; thus, when each anomaly diagnosis algorithm on the service provision system is used to evaluate process instrument measurement data received by the PLC and determine that an anomaly has occurred in a particular process instrument, an anomaly indication will be outputted to the corresponding input channel of the PLC, and the anomaly indication participates in PLC control directly as an input parameter of the PLC, thereby enhancing the functionality of the PLC, and realizing anomaly diagnosis for the process instrument. In addition, when it is diagnosed that an anomaly has occurred in a process instrument, by using a preset, relatively accurate default datum to replace the measurement data to perform subsequent control, it is possible to make PLC control more accurate, thereby improving PLC control accuracy.
In addition, when it is detected that an anomaly has occurred in a process instrument, the PLC uses a preset, relatively accurate default datum to replace the measurement data to perform subsequent control, such that PLC control is more accurate, and PLC control accuracy is thereby improved.
Further, by using a relatively accurate default datum to correct data in the historical database following the occurrence of an anomaly in a process instrument, it is possible to increase the accuracy of results when historical data is used to perform future analysis or statistical analysis.
The above are merely preferred embodiments of the present invention, which are not intended to limit the present invention; any amendments, equivalent substitutions or improvements, etc. which are made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
This application is the national phase under 35 U.S.C. § 371 of PCT International Application No. PCT/CN2017/120227 which has an International filing date of Dec. 29, 2017, which designated the United States of America, the entire contents of which are hereby incorporated herein by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2017/120227 | 12/29/2017 | WO | 00 |