Methods, devices and equipment for diagnosing the control state of complex control loops

By analyzing historical data of complex control loops, identifying correlations and determining states, the problem of state diagnosis of complex control loops was solved, and the level of automation control of refining and chemical plants was improved.

CN117452904BActive Publication Date: 2026-11-17CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210843214.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-18
Publication Date
2026-11-17
Estimated Expiration
2042-07-18

AI Technical Summary

Technical Problem

Existing technologies struggle to effectively distinguish and diagnose the various states of complex control loops, leading to a decline in the performance of some control loops and impacting the automation control effectiveness of refining and chemical plants.

Method used

By acquiring historical process data of associated control loop groups, the state of the control loops is determined using similarity relationships, including setpoints, measured values, output values, and time information. Deviation sequences and similarity rates are calculated to identify associated control loops and determine their states.

Benefits of technology

It enables automated identification and status diagnosis of complex control loops, improving the control loop optimization and stable operation capabilities of refining and chemical plants.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117452904B_ABST
    Figure CN117452904B_ABST
Patent Text Reader

Abstract

This invention relates to the field of modeling, and its embodiments provide a method, apparatus, and device for diagnosing the control state of complex control loops. One method for diagnosing the control state of complex control loops includes: acquiring a group of associated control loops whose control states are to be identified, wherein the group of associated control loops includes several control loops determined based on similarity relationships between process history data of the control loops; and determining the control state of the control loops in the group of associated control loops based on similarity relationships between dimensions of the process history data of the control loops in the group of associated control loops. The embodiments provided by this invention facilitate the automatic identification of the control state of control loops in refining and chemical plants, improving the stable operation of refining and chemical plants.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information security, and specifically to a method for diagnosing the control state of a complex control loop, a device for diagnosing the control state of a complex control loop, a device for diagnosing the control state of a complex control loop, and a computer-readable storage medium. Background Technology

[0002] The DCS control system of refining and chemical plants has established numerous control loops to achieve automated control. With the development of production and technological innovation, the requirements for operating conditions have become more stringent, and the correlations between variables have become more complex. To adapt to the needs of production development, more complex control systems are used. Under specific conditions, the use of complex control systems plays a crucial role in improving control quality and expanding the scope of automation applications. Roughly estimated, complex control systems typically account for about 10% of all control systems, but their contribution to the production process can reach 80%. Commonly used complex control systems include cascade control systems, ratio control systems, uniform control systems, split-range control systems, selective control systems, feedforward control systems, and so on.

[0003] However, in actual production, due to equipment aging and process adjustments, the performance of some control loops deteriorates, resulting in complex control loops not being fully operational. For example, cascade control loops may be in master control mode or slave control loop in master control mode. To monitor the performance of each control loop, numerous performance evaluation methods have been developed, such as: a single control loop control system performance evaluation method based on the ARMA model, and a control loop performance monitoring method and system based on coupling analysis.

[0004] However, the methods described above focus on performance evaluation or fault source diagnosis and analysis of single control loops. Complex control loops, on the other hand, exist in multiple states such as standby and control failure, and these states should be distinguished during performance evaluation. Identification of complex control loops requires personnel to perform the identification based on the DCS configuration of all control loops. Summary of the Invention

[0005] The purpose of this invention is to provide a method, apparatus, and device for diagnosing the control state of complex control loops, in order to solve some of the above-mentioned problems.

[0006] To achieve the above objectives, a first aspect of the present invention provides a method for diagnosing the control state of a complex control loop, the method comprising: acquiring a group of associated control loops whose control states are to be identified, the group of associated control loops including a plurality of control loops determined based on similarity relationships between process history data of the control loops; and determining the control state of the control loops in the group of associated control loops based on similarity relationships between dimensions of process history data of the control loops in the group of associated control loops.

[0007] Preferably, the control loop determined based on the similarity relationship between process history data of the control loop includes: extracting a historical value sequence and a time series of each value from the process history data; obtaining a deviation sequence between the process history data based on the historical value sequence and the time series of each value; and determining whether the control loop corresponding to the process history data belongs to an associated control loop based on the similarity rate between the deviation sequences.

[0008] Preferably, determining whether the control loop corresponding to the process history data belongs to an associated control loop based on the similarity rate between the deviation sequences includes: obtaining the similarity rate between the combinations of set values, measured values, and output values ​​in the deviation sequences; obtaining the maximum correlation coefficient and the position corresponding to the maximum correlation coefficient from the similarity rate; and determining that if the maximum correlation coefficient is greater than a preset threshold, then the control loop corresponding to the process history data belongs to an associated control loop.

[0009] Preferably, determining the control state of a control loop in the associated control loop group based on the similarity relationship between the dimensions of the process history data of the control loops in the associated control loop group includes: determining the control state based on the similarity relationship between the first dimension of the process history data; if determining the control state based on the similarity relationship between the first dimension of the process history data is unsuccessful, then determining the control state based on the control loops in other associated control loop groups and / or determining the control state based on the similarity relationship between the second dimension of the process history data.

[0010] Preferably, the dimensions of the process history data of the control loop include: setpoint, measured value, output value, control mode, and time information; the combination of the first dimension and the second dimension includes: measured value and output value.

[0011] Preferably, determining the control state based on the similarity relationship between the first dimension of the process history data includes: determining whether the control state of the control loop is valid based on the control mode of the control loop; if the control state is invalid, determining whether the control state is a standby state; if the control state is valid, determining the control state as an active or disruptive state.

[0012] In a second aspect of the invention, a control state diagnostic device for complex control loops is also provided. The device includes: a grouping determination module for acquiring a group of associated control loops whose control states are to be identified, wherein the group of associated control loops includes a plurality of control loops determined based on similarity relationships between process history data of the control loops; and a control state determination module for determining the control state of the control loops in the group of associated control loops based on similarity relationships between dimensions of process history data of the control loops in the group of associated control loops.

[0013] Preferably, the control loop determined based on the similarity relationship between process history data of the control loop includes: extracting a historical value sequence and a time series of each value from the process history data; obtaining a deviation sequence between the process history data based on the historical value sequence and the time series of each value; and determining whether the control loop corresponding to the process history data belongs to an associated control loop based on the similarity rate between the deviation sequences.

[0014] Preferably, determining whether the control loop corresponding to the process history data belongs to an associated control loop based on the similarity rate between the deviation sequences includes: obtaining the similarity rate between the combinations of set values, measured values, and output values ​​in the deviation sequences; obtaining the maximum correlation coefficient and the position corresponding to the maximum correlation coefficient from the similarity rate; and determining that if the maximum correlation coefficient is greater than a preset threshold, then the control loop corresponding to the process history data belongs to an associated control loop.

[0015] Preferably, determining the control state of a control loop in the associated control loop group based on the similarity relationship between the dimensions of the process history data of the control loops in the associated control loop group includes: determining the control state based on the similarity relationship between the first dimension of the process history data; if determining the control state based on the similarity relationship between the first dimension of the process history data is unsuccessful, then determining the control state based on the control loops in other associated control loop groups and / or determining the control state based on the similarity relationship between the second dimension of the process history data.

[0016] Preferably, the dimensions of the process history data of the control loop include: setpoint, measured value, output value, control mode, and time information; the combination of the first dimension and the second dimension includes: measured value and output value.

[0017] Preferably, determining the control state based on the similarity relationship between the first dimension of the process history data includes: determining whether the control state of the control loop is valid based on the control mode of the control loop; if the control state is invalid, determining whether the control state is a standby state; if the control state is valid, determining the control state as an active or disruptive state.

[0018] In a third aspect of the invention, a control state diagnostic device for a complex control loop is also provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the aforementioned control state diagnostic method for a complex control loop.

[0019] In a fourth aspect of the invention, a computer-readable storage medium is also provided, the storage medium storing instructions that, when executed on a computer, cause the computer to perform the steps of the aforementioned control state diagnosis method for complex control loops.

[0020] A fifth aspect of the present invention provides a computer program product, including a computer program that, when executed by a processor, implements the aforementioned method for diagnosing the control state of a complex control loop.

[0021] The above technical solution has at least the following beneficial effects:

[0022] (1) The technical method proposed in this patent can effectively identify the correlation relationship in the actual operation state of complex control loops, and perform diagnostic analysis of control backup, failure, and associated control loops based on control state and performance, providing support for the diagnosis, analysis and optimization of complex control loops.

[0023] (2) Automatic identification and grouping of complex control loops applied to the control loops of refining and chemical plants, and diagnostic analysis of control standby, failure, and associated control loops based on control status and performance. Its implementation provides technical methods for optimizing complex control loops, which is conducive to optimizing and improving the control loops of refining and chemical plants and improving the stable operation of the plants.

[0024] Other features and advantages of the embodiments of the present invention will be described in detail in the following detailed description section. Attached Figure Description

[0025] The accompanying drawings are provided to further illustrate embodiments of the present invention and form part of the specification. They are used together with the following detailed description to explain the embodiments of the present invention, but do not constitute a limitation thereof. In the drawings:

[0026] Figure 1 The illustration shows a schematic diagram of an implementation of a control state diagnosis method for complex control loops according to an embodiment of the present invention;

[0027] Figure 2 The schematic diagram illustrates the structure of a control state diagnostic device for a complex control loop according to an embodiment of the present invention. Detailed Implementation

[0028] The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit the scope of the present invention.

[0029] Figure 1 A schematic diagram illustrating an implementation of a control state diagnosis method for complex control loops according to an embodiment of the present invention is shown. Figure 1 As shown, a control state diagnosis method for complex control loops includes:

[0030] S01. Obtain the associated control loop grouping of the control state to be identified, wherein the associated control loop grouping includes several control loops determined based on the similarity relationship between the process history data of the control loops;

[0031] S02. Determine the control state of the control loop in the associated control loop group based on the similarity relationship between the dimensions of the process history data of the control loop in the associated control loop group.

[0032] Through the above implementation methods, correlation evaluation is performed using the process history data of the control loop, thereby obtaining the associated control loops and their grouping. Based on the different similarities between the process history data, the control state of the control loop is automatically identified. This automates the identification of the control state of complex control loops, improves the level of automated control loop identification, and provides a technical foundation for the optimization and improvement of control loops and the stable operation of the device.

[0033] In some optional embodiments provided by the present invention, the control loop determined based on the similarity relationship between the process history data of the control loop includes: extracting historical value sequences and time sequences of each value from the process history data; obtaining a deviation sequence between the process history data based on the historical value sequences and time sequences of each value; and determining whether the control loop corresponding to the process history data belongs to an associated control loop based on the similarity rate between the deviation sequences. The process history data includes, but is not limited to: setpoint (SP), measured value (PV), output value (OP), control mode (MODE), and time information (Time). The current control loop is represented by N, and the target control loop is represented by O. The historical value sequence of the PV, SP, or OP values ​​of the current control loop N is pNValue(n), and the time sequence of each value is pNTime(n), where n is the number of sequences. Correspondingly, the historical value sequence of the PV, SP, or OP values ​​of the target control loop O is pOValue(m), and the time sequence of each value is pOTime(m), where m is the number of sequences. Before calculating the similarity rate, the following judgment needs to be made:

[0034] (1) If any of the following has no data: the value sequence pNValue of the current control loop N, the time sequence pNTime of the current control loop N, the value sequence pOValue of the target control loop O, or the time sequence pOTime of the target control loop O, then the correlation releteRate = 0;

[0035] (2) If the value sequence pNValue of the current control loop N or the value sequence pOValue of the target control loop O remains unchanged, then the correlation releteRate = 0;

[0036] (3) Obtain pNValue and pOValue at the moments when pNTime and pOTime are equal, and add them to the new value sequence pNs(z) of the current control loop N and the new value sequence pOs(z) of the target control loop O, respectively, so that the new historical value sequence pNs(z) of the parameters of the current control loop N and the new historical value sequence pOs(z) of the parameters of the target control loop have the same time and data volume. Where z is the number of times they are the same.

[0037] After the above preliminary judgment, the deviation sequence of parameters between the current control loop and the target control loop is obtained:

[0038] pDNs(i)=pNs(i+1)-pNs(i), i=0,1,2...,z-1;

[0039] pDOs(i)=pOs(i+1)-pOs(i), i=0,1,2...,z-1;

[0040] The similarity rate (releteRate) is calculated through the following steps:

[0041] (1) Count the number of identical values ​​of pNs(z) and pOs(z) eQcount and the similarity rate eQRate; eQRate = eQcount / z * 100%;

[0042] (2) Count the number of times pDNs(z) and pDOs(z) change to the same value, pNChangeCount and pOChangeCount, and the rate of change, pNChangeRate and pOChangeRate;

[0043] pNChangeRate=pNChangeCount / z*100%;

[0044] pOChangeRate=pOChangeCount / z*100%;

[0045] (3) If the changes are few, they are considered unrelated, and `releteRate = 0`. That is:

[0046] pNChangeRate*pOChangeRate<=0.2

[0047] (4) If there are many changes and a high rate of similarity, then it is considered the same, and `releteRate = 1`. That is:

[0048] pNChangeRate*pOChangeRate>0.2 and eQRate*pNChangeRate>leveleq;

[0049] (5) If there are many changes and the similarity rate is not high, calculate the similarity rate releteRate between pNs(z) and pOs(z), and the similarity rate releteRated between pDNs(z) and pDOs(z). If releteRated is too small, then releteRate = 0. The calculation formula is as follows:

[0050]

[0051]

[0052] In some optional embodiments provided by the present invention, determining whether the control loop corresponding to the process history data belongs to an associated control loop based on the similarity rate between the deviation sequences includes: obtaining the similarity rate between the combinations of set values, measured values, and output values ​​in the deviation sequences respectively; obtaining the maximum correlation coefficient and the position corresponding to the maximum correlation coefficient from the similarity rate; and determining that if the maximum correlation coefficient is greater than a preset threshold, then the control loop corresponding to the process history data belongs to an associated control loop.

[0053] Specifically, it includes:

[0054] 1. Calculate the correlation coefficients of each parameter between the current control loop and a certain control loop (i.e., the target control loop) according to the steps in the previous embodiment, including:

[0055] (1) Based on the aforementioned steps, calculate the similarity rate rlPVPVs between the current control loop PV value and the target control loop PV value, and mark the sequence number as 1;

[0056] (2) Based on the aforementioned steps, calculate the similarity rate rlOPOPs between the current control loop OP value and the target control loop OP value, and mark the sequence number as 2;

[0057] (3) Based on the aforementioned steps, calculate the similarity rate rlSPs between the current control loop SP value and the target control loop SP value, and mark the sequence number as 3;

[0058] (4) Based on the aforementioned steps, calculate the similarity rate rlOPSPs between the current control loop OP value and the target control loop SP value, and mark the sequence number as 4;

[0059] (5) Based on the aforementioned steps, calculate the similarity rate rlSPOPs between the current control loop SP value and the target control loop OP value, and mark the sequence number as 5;

[0060] 2. Then obtain the maximum correlation coefficient and its position, including: determining the maximum correlation coefficient rlmax between the current control loop and a certain control loop and the index of the maximum correlation coefficient.

[0061] rlmax=max(rlPVPVs,rlOPOPs,rlSPSPs,rlOPSPs,rlSPOPs);

[0062] index = the position of the maximum value of rlPVPVs,rlOPOPs,rlSPSPs,rlOPSPs,rlSPOPs;

[0063] 3. Determine if it is a related control loop. If the maximum correlation coefficient rlmax is greater than the correlation coefficient limit of 95%, the current control loop is considered to be related to the target control loop in the index sequence, and the target control loop is a related control loop.

[0064] 4. Store related control loops. Record the similarity distribution matrix between the associated control loops and the current control loop under different parameter relationship types, and store the associated control loop group ATags (control loop 1...control loop r), and the control loop groups ApvEqpvs, AopEqops, AspEqsps, AopEqsps, and AspEqops for each relationship type. The similarity distribution matrix is ​​illustrated below:

[0065]

[0066] In some optional embodiments provided by the present invention, determining the control state of the control loops in the associated control loop group based on the similarity relationship between the dimensions of the process history data of the control loops in the associated control loop group includes: determining the control state based on the similarity relationship between the first dimension of the process history data; if determining the control state based on the similarity relationship between the first dimension of the process history data fails, then determining the control state based on the control loops in other associated control loop groups and / or determining the control state based on the similarity relationship between the second dimension of the process history data. For example: traversing the associated control loop B in ApvEqpvs of the current control loop A, if the associated control loop B is effectively controlled (state>0) and the PV value of the current control loop A is approximately equal to the PV value of the target control loop B, then control loop A is in a standby state, and the same parameter B of the current control loop A is in a controlled state. The approximate equality is determined in the following way:

[0067] and

[0068] In the above formula, PVA represents the historical PV value of the current control loop A, PVB represents the historical PV value of the current control loop B, and the margin is aqRate = 90%. If the above formula is satisfied, it is considered that the PV values ​​of the current control loop A and the target control loop B are the same. However, the above situation is an ideal case, and there are also situations where the above method cannot identify the control loop. In this case, at least one of the following methods needs to be used to continue the judgment: determine the control state based on the control loops in other associated control loop groups, and determine the control state based on the similarity relationship between the second dimension of the process historical data. Continuing the previous example, if the state is not identified according to the above steps, then traverse the control loops in AopEqsps of the current control loop A to identify the releteTagB of the sub-control loop B; traverse the control loops in AspEqops of the sub-control loop B to identify other main control loops C. If the main control loop C is in effective control (state > 0), then the sub-control loop B is in standby state, and the sub-control loop of the current control loop A is in the state occupied by the controlled loop C. In the actual implementation process, the above steps may need to be repeated multiple times until the control state is identified and determined.

[0069] In some optional embodiments provided by this invention, the dimensions of the process history data of the control loop include: setpoint, measured value, output value, control mode, and time information; the combination of the first dimension and the second dimension includes: measured value and output value. Similarly, following the previous example, when the similarity relationship between PV values ​​cannot be used for identification, the OP value can also be used for identification. Likewise, if the aforementioned steps fail to identify the state, the associated control loop B in the ApvEqpvs of the current control loop A is traversed, and the control loops in the AopEqops of control loop B are traversed to identify the output-related control loop C. If the output-related control loop C is effectively controlled (state>0) and the OP value of the current control loop B is approximately equal to the OP value of the target control loop C, then it is in a standby state, and the output of the current control loop A is occupied by the controlled loop C. The approximate equality is also determined by the following formula:

[0070] and

[0071] In the above formula, OPB is the historical data of the OP value of the current control loop B, OPC is the historical data of the OP value of the current control loop C, and the margin is aqRate = 90%. If the above formula is satisfied, it is considered that the OP values ​​of the current control loop B and the target control loop C are the same.

[0072] In some optional embodiments provided by this invention, determining the control state based on the similarity relationship between the first dimension of the process history data includes: determining whether the control state of the control loop is valid based on the control mode of the control loop; if the control state is invalid, determining whether the control state is a standby state; if the control state is valid, determining whether the control state is in operation or in a disturbance state. The state diagnosis of complex control loops has various rules. These rules mainly deduce the control states of other control loops in the associated control loop group based on the control state of a certain control loop, thereby obtaining the control state of each control loop in the entire system. When the control state of control loop A is determined to be either valid or invalid, it is necessary to further determine its sub-state. For example, when the control state of control loop A is invalid, it is further determined whether it is in a standby state under an invalid state. When the control state of control loop A is valid, it is necessary to determine whether it belongs to an operation state or a disturbance state under a valid state.

[0073] The following describes the process of determining the control state using a more complete implementation method. For example, when the control state is in failure (state = 0), the analysis of standby and invalid states is as follows:

[0074] (1) Traverse the associated control loop B in ApvEqpvs of the current control loop A. If the associated control loop B is under effective control (state>0) and the PV value of the current control loop A is approximately equal to the PV value of the target control loop B, then the current control loop A is in standby state and the same parameter B of the current control loop A is in control state.

[0075] and

[0076] In the above formula, PVA is the historical data of the PV value of the current control loop A, PVB is the historical data of the PV value of the current control loop B, and the margin is aqRate = 90%. If the above formula is satisfied, it is considered that the PV values ​​of the current control loop A and the target control loop B are the same.

[0077] (2) If (1) no state is identified, traverse the control loops in AopEqsps of the current control loop A and identify the releteTagB of the secondary control loop B; traverse the control loops in AspEqops of the secondary control loop B and identify other main control loops C. If the main control loop C is in effective control (state>0), then it is in standby state, and the secondary control loop of the current control loop A is in the state occupied by the controlled loop C.

[0078] (3) If (2) does not identify the state, traverse the control loops in AopEqsps of the current control loop A and identify the releteTagB of the secondary control loop B; traverse the control loops in AopEqops of the secondary control loop B and identify the output-related control loop C. If the output-related control loop C is in effective control (state>0) and the OP value of the current control loop B is approximately equal to the OP value of the target control loop C, then it is in standby state, and the secondary control loop of the current control loop A is in the state occupied by the controlled loop C.

[0079] and

[0080] In the above formula, OPB represents the historical OP value of the current control loop B, OPC represents the historical OP value of the current control loop C, and the margin is aqRate = 90%.

[0081] If the above formula is satisfied, then the OP value of the current control loop B and the target control loop C are considered to be the same.

[0082] (4) If the state is not identified in (3), traverse the associated control loop B in ApvEqpvs of the current control loop A, traverse the control loops in AopEqops of the secondary control loop B, and identify the output-related control loop C. If the output-related control loop C is in effective control (state>0) and the OP value of the current control loop B is approximately equal to the OP value of the target control loop C, then the state is in standby, and the output of the current control loop A is occupied by the control loop C.

[0083] and

[0084] In the above formula, OPB is the historical data of the OP value of the current control loop B, OPC is the historical data of the OP value of the current control loop C, and the margin is aqRate = 90%. If the above formula is satisfied, it is considered that the OP values ​​of the current control loop B and the target control loop C are the same.

[0085] (5) If (4) does not identify the state, traverse the associated control loop B in the AopEqops of the current control loop A. If the output related control loop B is effectively controlled (state>0) and the OP value of the current control loop A is approximately equal to the OP value of the target control loop B, then the state is in standby mode and the output of the current control loop A is occupied by the control loop B.

[0086] and

[0087] In the above formula, OPA represents the historical OP value of the current control loop A, OPB represents the historical OP value of the current control loop B, and the margin is aqRate = 90%.

[0088] If the above formula is satisfied, then the OP value of the current control loop A and the target control loop B are considered to be the same.

[0089] If there is an output value OP that is the same as the effective control parameter of OP and is not a secondary control loop, then it is in standby state, and the output is occupied.

[0090] (6) If (5) does not identify the state, traverse the main control loop B in the AspEqops of the current control loop A, traverse the associated control loop C in the ApvEqpvs of the main control loop B, and if the associated control loop C is effectively controlled (state>0) and the PV value of the main control loop B is approximately equal to the PV value of the target control loop C, then the standby state is established, and the same parameters of the main control loop B of the current control loop A are in the control state.

[0091] and

[0092] In the above formula, PVB is the historical data of the PV value of the current control loop B, PVC is the historical data of the PV value of the current control loop C, and the margin is aqRate = 90%. If the above formula is satisfied, it is considered that the PV values ​​of the current control loop B and the target control loop C are the same.

[0093] (7) If the state is not identified in (6), traverse the control loops in AopEqsps of the current control loop A and identify the releteTagB of the secondary control loop B. If the secondary control loop B is in an effective control state (state>0), then it is in an invalid state, the main control loop of the current control loop A is invalid, and the secondary control loop B is in a dominant control state.

[0094] (8) If the state is not identified in (7), traverse the control loops in the AspEqops of the current control loop A and identify the releteTagB of the main control loop B. If the main control loop B is in effective control (state>0), then it is in an invalid state, the main control loop B of the current control loop A is in master control state, and the secondary control loop is invalid.

[0095] (9) If the state is not identified in (8), traverse the control loops in AopEqops of the current control loop A and identify the output-related control loop B. If the main control loop B is in effective control (state>0), then it is in an invalid state, the main control loop B of the current control loop A is in master control state, and the secondary control loop is invalid.

[0096] (10) If (9) fails to identify the state, traverse the control loops in AopEqsps of the current control loop A and identify the output-related control loop B. Then the state is invalid, the current control loop A is invalid, and the secondary control loop B is invalid.

[0097] (11) If (10) does not identify the state, traverse the control loops in the AspEqops of the current control loop A and identify the main control loop B. Then the state is invalid, the current control loop A is invalid, and the main control loop B is invalid.

[0098] (12) If (11) does not identify the state, then the state is invalid and the current control loop A is invalid.

[0099] For example, when the control state is active (state > 0), the control state analysis is as follows:

[0100] (1) Traverse the control loops in AspEqops of the current control loop A and identify the main control loop B. If the main control loop B is in active control (state>0), then the current control loop A is in cascade control and the main control loop B is in master control state.

[0101] (2) If the state is not identified in (1), traverse the control loops in AopEqsps of the current control loop A and identify the secondary control loop B. If the secondary control loop B is in effective control (state>0), then the state is activated, the current control loop A is in master control, and the secondary control loop B is in cascade state.

[0102] (3) If the state is not identified in (2), traverse the control loops in AopEqops of the current control loop A and identify the relevant control loop B. If the relevant control loop B is a secondary control loop level=1 and is in an invalid state, then the state is activated, the current control loop A is in master control, and the secondary control loop B is in an invalid state.

[0103] (4) If (3) does not identify the state, then the state is activated: the current control loop A is in automatic control.

[0104] And: The correlation analysis for when the control state is valid (state>0) is as follows:

[0105] (1) Traverse the control loops in AopEqops of the current control loop A and identify the relevant control loop B. If the relevant control loop B is under effective control (state>0) and the OP value of the current control loop A is approximately equal to the OP value of the target control loop B, then it is a disturbance state, and the output data of the current control loop A and the control loop B are the same.

[0106] and

[0107] In the above formula, OPA is the historical data of the OP value of the current control loop A, OPB is the historical data of the OP value of the current control loop B, and the margin is aqRate = 90%. If the above formula is satisfied, it is considered that the OP values ​​of the current control loop A and the target control loop B are the same.

[0108] (2) If the state is not identified in (1), traverse the control loops in ApvEqpvs of the current control loop A and identify the relevant control loop B. If the relevant control loop B is effectively controlled (state>0) and the PV value of the current control loop A is approximately equal to the PV value of the target control loop B, then it is a disturbance state, and the parameter data of the current control loop A and the same parameter B are the same.

[0109] and

[0110] In the above formula, PVA is the historical data of the PV value of the current control loop A, PVB is the historical data of the PV value of the current control loop B, and the margin is aqRate = 90%. If the above formula is satisfied, it is considered that the PV values ​​of the current control loop A and the target control loop B are the same.

[0111] (3) If the state is not identified in (2), traverse the control loops in AopEqops of the current control loop A and identify the relevant control loop B. If the relevant control loop B is under effective control (state>0), then the disturbance state is such that the output data of the current control loop A and the control loop B are similar.

[0112] (4) If the state is not identified in (3), traverse the control loops in ApvEqpvs of the current control loop A and identify the relevant control loop B. If the relevant control loop B is under effective control (state>0), then the disturbance state is similar to the parameter data of the current control loop A and the same parameter B.

[0113] Based on the same inventive concept, the present invention also provides a control state diagnostic device for complex control loops. Figure 2 A schematic diagram of the structure of a control state diagnostic device for a complex control loop according to an embodiment of the present invention is shown, such as... Figure 2 As shown. A control state diagnostic device for complex control loops, the method comprising: a grouping determination module for acquiring a group of associated control loops whose control states are to be identified, the group of associated control loops including a plurality of control loops determined based on similarity relationships between process history data of the control loops; and a control state determination module for determining the control state of the control loops in the group of associated control loops based on similarity relationships between dimensions of process history data of the control loops in the group of associated control loops.

[0114] In some optional embodiments provided by the present invention, the control loop determined based on the similarity relationship between process history data of the control loop includes: extracting a historical value sequence and a time sequence of each value from the process history data; obtaining a deviation sequence between the process history data based on the historical value sequence and the time sequence of each value; and determining whether the control loop corresponding to the process history data belongs to an associated control loop based on the similarity rate between the deviation sequences.

[0115] In some optional embodiments provided by the present invention, determining whether the control loop corresponding to the process history data belongs to an associated control loop based on the similarity rate between the deviation sequences includes: obtaining the similarity rate between the combinations of set values, measured values, and output values ​​in the deviation sequences respectively; obtaining the maximum correlation coefficient and the position corresponding to the maximum correlation coefficient from the similarity rate; and determining that if the maximum correlation coefficient is greater than a preset threshold, then the control loop corresponding to the process history data belongs to an associated control loop.

[0116] In some optional embodiments provided by the present invention, determining the control state of the control loop in the associated control loop group based on the similarity relationship between the dimensions of the process history data of the control loop in the associated control loop group includes: determining the control state based on the similarity relationship between the first dimension of the process history data; if determining the control state based on the similarity relationship between the first dimension of the process history data is unsuccessful, then determining the control state based on the control loop in other associated control loop groups and / or determining the control state based on the similarity relationship between the second dimension of the process history data.

[0117] In some optional embodiments provided by the present invention, the dimensions of the process history data of the control loop include: set value, measured value, output value, control mode and time information; the combination of the first dimension and the second dimension includes: measured value and output value.

[0118] In some optional embodiments provided by the present invention, determining the control state based on the similarity relationship between the first dimension of the process history data includes: determining whether the control state of the control loop is valid based on the control mode of the control loop; if the control state is invalid, determining whether the control state is a standby state; if the control state is valid, determining the control state as an active or disruptive state.

[0119] The specific limitations of each functional module in the control state diagnostic device for the aforementioned complex control loop can be found in the limitations of the control state diagnostic method for complex control loops described above, and will not be repeated here. Each module in the aforementioned device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0120] In some embodiments of the present invention, a control state diagnostic device for complex control loops is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the aforementioned control state diagnostic method for complex control loops. The processor here has numerical calculation and logical operation capabilities, and at least includes a central processing unit (CPU) with data processing capabilities, random access memory (RAM), read-only memory (ROM), multiple I / O ports, and an interrupt system. The processor contains a kernel that retrieves corresponding program units from the memory. One or more kernels can be configured, and the aforementioned method can be implemented by adjusting kernel parameters. The memory may include non-permanent memory in computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. The memory includes at least one memory chip.

[0121] In one embodiment of the present invention, a computer-readable storage medium is also provided, wherein the storage medium stores instructions that, when executed on a computer, cause the processor to be configured to perform the control state diagnosis method for the complex control loop described above.

[0122] In one embodiment of the present invention, a computer program product is provided, including a computer program that, when executed by a processor, implements the control state diagnosis of the aforementioned complex control loop.

[0123] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0124] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1A device that provides the functions specified in one or more boxes.

[0125] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0126] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0127] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0128] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0129] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0130] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0131] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for diagnosing the control state of a complex control loop, characterized in that, The method includes: Obtain the associated control loop grouping of the control state to be identified, wherein the associated control loop grouping includes several control loops determined based on the similarity relationship between the process history data of the control loops; Determining the control state of a control loop within a group of associated control loops based on the similarity relationships between dimensions of the process history data of the control loops in that group includes: determining the control state based on the similarity relationships between first dimensions of the process history data; if the control state cannot be successfully determined based on the similarity relationships between the first dimensions of the process history data, then determining the control state based on control loops in other associated control loop groups and / or determining the control state based on the similarity relationships between second dimensions of the process history data; the combination of the first dimension and the second dimension includes: measured values ​​and output values; the first dimension is a measured value, and the second dimension is an output value; The dimensions of the process history data of the control loop include: setpoint, measured value, output value, control mode, and time information; Determining the control state based on the similarity relationship between the first dimension of the process history data includes: Determine whether the control state of the control loop is valid based on the control mode of the control loop; If the control state is invalid, then determine whether the control state is a standby state; If the control state is valid, then the control state is determined to be either active or disruptive.

2. The method according to claim 1, characterized in that, Control loops determined based on the similarity between process history data of control loops include: Extract historical value sequences and corresponding time series from the historical data of the process; Based on the historical value sequence and time series, the deviation sequence between the historical data of the process is obtained, including: pDNs(i)=pNs(i+1)-pNs(i),i=1,2,...,z-1; pDOs(i)=pOs(i+1)-pOs(i),i=1,2...,z-1; Where pNs is the new value sequence of the current loop N, pOs is the new value sequence of the target loop O, pDNs is the deviation sequence of the current loop N, pDOs is the deviation sequence of the target loop O, and z is the number of times the same. The similarity rate between the deviation sequences determines whether the control loop corresponding to the historical process data belongs to an associated control loop.

3. The method according to claim 2, characterized in that, Determining whether the control loop corresponding to the process historical data belongs to an associated control loop based on the similarity rate between the deviation sequences includes: Obtain the similarity rate of the deviation sequences between the combinations of set values, measured values, and output values ​​respectively; The maximum value from the similarity rates is taken as the maximum correlation coefficient and the position corresponding to the maximum correlation coefficient; If the maximum correlation coefficient is determined to be greater than a preset threshold, then the control loop corresponding to the historical process data belongs to the associated control loop.

4. A control state diagnostic device for a complex control loop, characterized in that, The device includes: The grouping determination module acquires associated control loop groups of the control state to be identified, wherein the associated control loop groups include several control loops determined based on the similarity relationships between process history data of the control loops; and A control state determination module is used to determine the control state of a control loop in the associated control loop group based on the similarity relationship between dimensions of process history data of the control loops in the associated control loop group. This includes: determining the control state based on the similarity relationship between first dimensions of the process history data; if the control state is not successfully determined based on the similarity relationship between first dimensions of the process history data, then determining the control state based on control loops in other associated control loop groups and / or determining the control state based on the similarity relationship between second dimensions of the process history data; the combination of the first dimension and the second dimension includes: a measured value and an output value; the first dimension is a measured value, and the second dimension is an output value. The dimensions of the process history data of the control loop include: setpoint, measured value, output value, control mode, and time information; Determining the control state based on the similarity relationship between the first dimension of the process history data includes: Determine whether the control state of the control loop is valid based on the control mode of the control loop; If the control state is invalid, then determine whether the control state is a standby state; If the control state is valid, then the control state is determined to be either active or disruptive.

5. The apparatus according to claim 4, characterized in that, Control loops determined based on the similarity between process history data of control loops include: Extract historical value sequences and corresponding time series from the historical data of the process; Based on the historical value sequence and the time series, a deviation sequence between the historical process data is obtained, including: pDNs(i)=pNs(i+1)-pNs(i),i=1,2...,z-1; pDOs(i)=pOs(i+1)-pOs(i),i=1,2...,z-1; Where pNs is the new value sequence of the current loop N, pOs is the new value sequence of the target loop O, pDNs is the deviation sequence of the current loop N, pDOs is the deviation sequence of the target loop O, and z is the number of times the same. The similarity rate between the deviation sequences determines whether the control loop corresponding to the historical process data belongs to an associated control loop.

6. The apparatus according to claim 5, characterized in that, Determining whether the control loop corresponding to the process historical data belongs to an associated control loop based on the similarity rate between the deviation sequences includes: Obtain the similarity rate of the deviation sequences between the combinations of set values, measured values, and output values ​​respectively; The maximum value from the similarity rates is taken as the maximum correlation coefficient and the position corresponding to the maximum correlation coefficient; If the maximum correlation coefficient is determined to be greater than a preset threshold, then the control loop corresponding to the historical process data belongs to the associated control loop.

7. A control state diagnostic device for a complex control loop, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the control state diagnosis method for complex control loops as described in any one of claims 1 to 3.

8. A computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the steps of the control state diagnosis method for a complex control loop as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Control loop performance monitoring method and system based on coupling analysis

    CN111983997A

  • Fault diagnosis method and device for control loop of refining device

    CN114661020A