Methods, devices and equipment for complex control loop identification and graphical modeling
By acquiring historical process data of complex control loops and establishing correlation diagrams, the problems of low identification efficiency and low accuracy of complex control loops were solved, enabling automatic identification and grouping, and improving the operational stability of refining and chemical plants.
Patent Information
- Application Number
- CN202210841702.7
- 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
Existing technologies are insufficient for efficiently identifying and evaluating the state of complex control loops, resulting in low identification efficiency and accuracy, and hindering the comprehensive and effective application of complex loops.
By acquiring the process history data of the loops, the associated loop groups are determined, and a graphical relationship diagram is established based on the connection relationship to identify and group complex control loops.
It enables automatic identification and grouping of complex control loops, improves the identification level, provides support for fault diagnosis and optimization, and enhances the stable operation of refining and chemical plants.
Smart Images

Figure CN117452903B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of information security, specifically to a method for identifying and graphically modeling complex control loops, a device for identifying and graphically modeling complex control loops, an equipment for identifying and graphically modeling complex control loops, 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 loops deteriorates, resulting in complex loops not being fully operational. For example, cascade loops may be in master control mode or slave control mode. To monitor the performance of each control loop, numerous performance evaluation methods have been developed, such as: a single-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 mentioned above focus on single-loop performance evaluation or fault source diagnosis and analysis. Complex loops, on the other hand, exist in multiple states such as standby and control failure, and these states should be distinguished during performance evaluation. Complex loop identification requires personnel to identify all loops based on their DCS configurations, resulting in low identification efficiency and accuracy. Existing control loop performance evaluation technologies primarily assess single loops or identify related loops, failing to adequately analyze complex loops. Furthermore, in actual production processes, the utilization rate of complex loops is not consistently high. Summary of the Invention
[0005] The purpose of this invention is to provide a method, apparatus, and device for identifying and graphically modeling complex control loops 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 identifying and graphically modeling complex control loops. The method includes: acquiring process history data of the loops; determining a corresponding associated loop group for each loop, wherein the associated loop group includes several associated loops determined based on the similarity relationship between the process history data of the loops; determining the connection relationship between each loop based on the associated loop group to which the loop belongs; determining the graphical parameters of the loop in the model based on the connection relationship; and establishing a graphical association diagram based on the graphical parameters.
[0007] Preferably, the process history data of the loop includes: loop setpoints, measured values, output values, control modes, and time information.
[0008] Preferably, the associated loop determined based on the similarity relationship between the process history data of the 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 loop corresponding to the process history data belongs to an associated loop based on the similarity rate between the deviation sequences.
[0009] Preferably, determining whether the loop corresponding to the process history data belongs to an associated 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 loop corresponding to the process history data belongs to an associated loop.
[0010] Preferably, determining the corresponding associated loop group for each loop includes: querying the number of loops that have been grouped in the associated loop group of a loop; and performing add, add, or merge operations on the queried loop groups according to the number of loop groups obtained from the query.
[0011] Preferably, determining the connection relationship between each loop based on the associated loop group to which the loop belongs includes: obtaining the associated group number of the associated loop group to which the loop belongs, and the loop number in the associated loop group; copying the information of the associated loop of the loop to the associated loop group; and determining whether the level of the loop is a secondary loop based on whether there is a specific type of associated loop.
[0012] Preferably, determining the graphical parameters of the loop in the model based on the connection relationship includes: determining whether the loop belongs to an associated loop group based on the connection relationship, and classifying the loop into a first type of loop or a second type of loop; if the loop is a first type of loop, determining the number of primitives, primitive color, primitive position, and primitive direction corresponding to the loop; if the loop is a second type of loop, determining the number of primitives, primitive color, primitive position, primitive direction, and primitive connection relationship corresponding to the loop.
[0013] A second aspect of the present invention provides a complex control loop identification and graphical modeling apparatus, the method comprising: a data acquisition module for acquiring process history data of the loop; a grouping determination module for determining a corresponding associated loop group for each loop, wherein the associated loop group includes a plurality of associated loops determined based on the similarity relationship between the process history data of the loops; a connection determination module for determining the connection relationship between each loop based on the associated loop group to which the loop belongs; and a graphical modeling module for determining the graphical parameters of the loop in the model based on the connection relationship, and establishing a graphical association diagram based on the graphical parameters.
[0014] Preferably, the process history data of the loop includes: loop setpoints, measured values, output values, control modes, and time information.
[0015] Preferably, the associated loop determined based on the similarity relationship between the process history data of the 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 loop corresponding to the process history data belongs to an associated loop based on the similarity rate between the deviation sequences.
[0016] Preferably, determining whether the loop corresponding to the process history data belongs to an associated 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 loop corresponding to the process history data belongs to an associated loop.
[0017] Preferably, determining the corresponding associated loop group for each loop includes: querying the number of loops that have been grouped in the associated loop group of a loop; and performing add, add, or merge operations on the queried loop groups according to the number of loop groups obtained from the query.
[0018] Preferably, determining the connection relationship between each loop based on the associated loop group to which the loop belongs includes: obtaining the associated group number of the associated loop group to which the loop belongs, and the loop number in the associated loop group; copying the information of the associated loop of the loop to the associated loop group; and determining whether the level of the loop is a secondary loop based on whether there are associated loops of a specific type according to the set value and the output value.
[0019] Preferably, determining the graphical parameters of the loop in the model based on the connection relationship includes: classifying the loop into a first type of loop or a second type of loop based on whether the loop belongs to an associated loop group; if the loop is a first type of loop, determining the number of graphic elements, color of graphic elements, position of graphic elements, and orientation of graphic elements corresponding to the loop; if the loop is a second type of loop, determining the number of graphic elements, color of graphic elements, position of graphic elements, orientation of graphic elements, and connection relationship of graphic elements corresponding to the loop.
[0020] In a third aspect of the invention, a complex control loop identification and graphical modeling device is also provided, including 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 complex control loop identification and graphical modeling method.
[0021] In a fourth aspect of the invention, a computer-readable storage medium is also provided, wherein instructions are stored therein, which, when executed on a computer, cause the computer to perform the steps of the aforementioned complex control loop identification and graphical modeling method.
[0022] 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 complex control loop identification and graphical modeling.
[0023] The above technical solution has at least the following beneficial effects:
[0024] (1) It can effectively identify the correlation between complex control loops under actual operating conditions and display them graphically, providing support for the diagnosis, analysis and optimization of complex loops.
[0025] (2) Automatic identification and grouping of complex circuits in the control loop of refining and chemical plants, and establishment of a correlation diagram based on the operating status. The implementation method provides a technical approach for optimizing complex circuits, which is beneficial to the optimization and improvement of the control loop of refining and chemical plants and improves the stable operation of the plants.
[0026] 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
[0027] 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:
[0028] Figure 1 The illustration shows a schematic diagram of the implementation of the complex control loop identification and graphical modeling method according to an embodiment of the present invention;
[0029] Figure 2 The schematic diagram illustrates the structure of a complex control loop identification and graphical modeling device according to an embodiment of the present invention. Detailed Implementation
[0030] 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.
[0031] Figure 1 The illustration shows a schematic diagram of an implementation of a complex control loop identification and graphical modeling method according to an embodiment of the present invention. Figure 1 As shown, a method for identifying and graphically modeling complex control loops includes:
[0032] S01. Obtain the historical process data of the loop;
[0033] S02. Determine a corresponding associated loop group for each loop, wherein the associated loop group includes several associated loops determined based on the similarity relationship between the process history data of the loops;
[0034] S03. Determine the connection relationship between each loop based on the associated loop group to which the loop belongs;
[0035] S04. Determine the graphical parameters of the loop in the model based on the connection relationship, and establish a graphical relationship diagram based on the graphical parameters.
[0036] Through the above implementation methods, correlation evaluation is performed using the process history data of the loop, thereby obtaining the associated loops and their groups. A graphical correlation diagram is then generated from the obtained associated loops and their groups. This enables the automatic identification and grouping of complex control loops, improving the level of automated control loop identification and providing a technical foundation for the optimization and improvement of control loops and the stable operation of the device.
[0037] In some optional embodiments provided by this invention, the process history data of the loop includes: the loop's setpoint (SP), measured value (PV), output value (OP), control mode (MODE), and time information (Time). By comparing the above parameters in the process history data, the correlation between loops can be accurately identified.
[0038] In some optional embodiments provided by the present invention, the associated loop determined based on the similarity relationship between the process history data of the 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 loop corresponding to the process history data belongs to an associated loop based on the similarity rate between the deviation sequences. Specifically, the current loop is represented by N, and the target loop is represented by O. Then, the historical value sequence of the PV value SP value or OP value of the current 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 value SP value or OP value of the target 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:
[0039] (1) If any of the following has no data: the value sequence pNValue of the current loop N, the time sequence pNTime of the current loop N, the value sequence pOValue of the target loop O, or the time sequence pOTime of the target loop O, then the correlation releteRate = 0;
[0040] (2) If the value sequence pNValue of the current loop N or the value sequence pOValue of the target loop O remains unchanged, then the correlation releteRate = 0;
[0041] (3) Obtain pNValue and pOValue at the times when pNTime and pOTime are equal, and add them to the new value sequence pNs(z) of the current loop N and the new value sequence pOs(z) of the target loop O, respectively, so that the time and data volume of the new historical value sequence pNs(z) of the parameters of the current loop N and the new historical value sequence pOs(z) of the parameters of the target loop are the same. Where z is the number of times they are the same.
[0042] After the above preliminary judgment, the deviation sequence of parameters between the current loop and the target loop is obtained:
[0043] pDNs(i)=pNs(i+1)-pNs(i), i=0,1,2...,z-1;
[0044] pDOs(i)=pOs(i+1)-pOs(i), i=0,1,2...,z-1;
[0045] The similarity rate (releteRate) is calculated through the following steps:
[0046] (1) Count the number of identical values of pNs(z) and pOs(z) eQcount and the similarity rate eQRate; eQRate = eQcount / z * 100%;
[0047] (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;
[0048] pNChangeRate=pNChangeCount / z*100%;
[0049] pOChangeRate=pOChangeCount / z*100%;
[0050] (3) If the changes are few, they are considered unrelated, and `releteRate = 0`. That is:
[0051] pNChangeRate*pOChangeRate<=0.2
[0052] (4) If there are many changes and a high rate of similarity, then it is considered the same, and `releteRate = 1`. That is:
[0053] pNChangeRate*pOChangeRate>0.2 and eQRate*pNChangeRate>leveleq;
[0054] (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:
[0055]
[0056]
[0057] In some optional embodiments provided by the present invention, determining whether a loop corresponding to historical process data belongs to an associated loop based on the similarity rate between the deviation sequences includes: obtaining the similarity rate between 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 rates; and determining that if the maximum correlation coefficient is greater than a preset threshold, then the loop corresponding to the historical process data belongs to an associated loop. Specifically, this includes:
[0058] 1. Calculate the correlation coefficients of various parameters between the current loop and a certain loop (i.e., the target loop) according to the steps in the previous embodiment, including:
[0059] (1) Based on the aforementioned steps, calculate the similarity rate rlPVPVs between the current loop PV value and the target loop PV value, and mark the sequence number as 1;
[0060] (2) Based on the aforementioned steps, calculate the similarity rate rlOPOPs between the current loop OP value and the target loop OP value, and mark the sequence number as 2;
[0061] (3) Based on the aforementioned steps, calculate the similarity rate rlSPs between the current loop SP value and the target loop SP value, and mark the sequence number as 3;
[0062] (4) Based on the aforementioned steps, calculate the similarity rate rlOPSPs between the current loop OP value and the target loop SP value, and mark the sequence number as 4;
[0063] (5) Based on the aforementioned steps, calculate the similarity rate rlSPOPs between the current loop SP value and the target loop OP value, and mark the sequence number as 5;
[0064] 2. Then obtain the maximum correlation coefficient and its position, including: determining the maximum correlation coefficient rlmax between the current loop and a certain loop and the index of the maximum correlation coefficient.
[0065] rlmax=max(rlPVPVs,rlOPOPs,rlSPSPs,rlOPSPs,rlSPOPs);
[0066] index = the position of the maximum value of rlPVPVs,rlOPOPs,rlSPSPs,rlOPSPs,rlSPOPs;
[0067] 3. Determine if it is a related loop. If the maximum correlation coefficient rlmax is greater than the correlation coefficient limit of 95%, then the current loop is considered to be related to the target loop in the index sequence, and the target loop is a related loop.
[0068] 4. Store related loops. Record the similarity distribution matrix between the associated loop and the current loop under different parameter relationship types, and store the associated loop group ATags (loop 1...loop r), and the loop groups ApvEqpvs, AopEqops, AspEqsps, AopEqsps, and AspEqops for each relationship type. The similarity distribution matrix is illustrated below:
[0069] Relationship type Circuit Summary loop 1 ... loop r PV and PV(ApvEqpvs) OP and OP (AopEqops) loop 1 Similarity rate SP and SP (AspEqsps) SP and OP (AspEqops) loop r Similarity rate OP and SP (AopEqsps)
[0070] In some optional embodiments provided by this invention, determining the corresponding associated loop group for each loop includes: querying the number of loops that have been grouped with a loop in the associated loop group of the loop; and performing add, add, or merge operations on the queried loop groups according to the number of loop groups obtained from the query. Specifically, each loop group in AllTagGroups should include: loop name (LoopCode), level, running state, and the loop's related loop sequence (ApvEqpvs, AopEqops, AspEqsps, AopEqsps, AspEqops), and is implemented through the following steps:
[0071] 1. Query whether a loop in the current loop and its associated loops has been grouped into groups(g), where g is the number of loop groups. Iterate through all identified loop groups. If the current loop or its associated loop group ATags(r) already exists in a loop group, add the current loop group to groups.
[0072] 2. If multiple different groups are found (g>2), combine the multiple loops into one loop group.
[0073] (1) Copy all loop information from loop groups sorted 2 to g to loop group sorted 1.
[0074] (2) Delete the loop groups sorted from 2 to g in all loop groups AllTagGroups.
[0075] (3) Identify the current loop and a certain loop of the associated loop and group the loops into groups(g), where g = 1.
[0076] 3. When a loop group is identified (g=1), add the loop that is not currently added or the related loop is not in the loop group.
[0077] 4. If there is no loop group (g=0), add the current loop and related loops to the new loop group and store them in all loop groups AllTagGroups, including:
[0078] (1) Create a new loop group ATtemp;
[0079] (2) Add the current loop and its associated loops to the newly created loop group ATtemp.
[0080] (3) The newly created loop group ATtemp is added to the total loop group AllTagGroups.
[0081] In some optional embodiments provided by the present invention, determining the connection relationship between each loop according to the associated loop group to which the loop belongs includes: obtaining the associated group number of the associated loop group to which the loop belongs, and the loop number in the associated loop group; copying the associated loop information of the loop to the associated loop group, where the associated loop information includes the aforementioned ApvEqpvs, AopEqops, AspEqsps, AopEqsps, AspEqops, etc.; determining whether the level of the loop is a secondary loop based on whether there are related loops of a specific type, for example: if there are related loops of SP and OP types (AspEqops), then the level of the current loop is a secondary loop, Level=1, otherwise Level=0.
[0082] In some optional embodiments provided by this invention, determining the graphical parameters of the loop in the model based on the connection relationship includes: classifying the loop into a first type of loop or a second type of loop based on whether the loop belongs to an associated loop group; if the loop is a first type of loop, determining the number of graphical elements, color of graphical elements, position of graphical elements, and orientation of graphical elements corresponding to the loop; if the loop is a second type of loop, determining the number of graphical elements, color of graphical elements, position of graphical elements, orientation of graphical elements, and connection relationship of graphical elements corresponding to the loop. In actual scenarios, the first type of loop is a single loop, and the second type of loop is a complex loop. The main operating parameters of a single loop include: measured value (PV value), setpoint value (SP value), output value (OP value), and control mode (MODE value). The control mode can be represented by the color of the control state and performance of the control loop, for example, gray for manual or invalid state, red for poor, orange for average, blue for good, and green for excellent. The PV value, SP value, and OP value of the current loop are associated with the associated loop, so they need to be displayed separately and a connection relationship established.
[0083] The graphical elements of a single loop are modeled using the following steps: Four graphical elements are drawn: PV, SP, OP, and loop name. The PV element points to the loop name element, the SP element points to the loop name element, and the loop name element points to the OP element. The color of each element in a single loop is determined by the control state. For example, manual or inactive states are gray, poor is red, average is orange, good is blue, and excellent is green. Since the PV, SP, and OP values of the current loop are related to associated loops, they need to be displayed separately and their connections established.
[0084] The position of a single loop element is determined by the following steps: when level=0, the single loop element is drawn on the left; when level=1, the single loop element is drawn on the right.
[0085] The primitives of each loop in a complex loop are drawn through the following steps: based on the modeling and position of the primitives of an individual loop, all loops in the complex loop group are drawn sequentially.
[0086] The relationships between the elements of a complex loop are drawn through the following steps: connecting the PV elements of each control loop to the PV elements of the loop where ApvEqpvs exists; connecting the OP elements of each control loop to the OP elements of the loop where AopEqops exists; connecting the SP elements of each control loop to the SP elements of the loop where AspEqsps exists; connecting the SP elements of each control loop to the OP elements of the loop where AspEqops exists; and connecting the OP elements of each control loop to the SP elements of the loop where AopEqsps exists.
[0087] As can be seen from the above implementation methods, by analyzing the historical process data between loops, the correlation between loops can be obtained, thereby achieving automatic loop identification. Furthermore, through graphical modeling, the representation of complex control loops is made more intuitive, thus providing convenient conditions for fault diagnosis and performance optimization.
[0088] Based on the same inventive concept, the present invention also provides a device for identifying and graphically modeling complex control loops. Figure 2 The schematic diagram illustrates the structure of a complex control loop identification and graphical modeling device according to an embodiment of the present invention, such as... Figure 2As shown. A complex control loop identification and graphical modeling device, the method includes: a data acquisition module for acquiring process history data of the loop; a grouping determination module for determining a corresponding associated loop group for each loop, wherein the associated loop group includes several associated loops determined based on the similarity relationship between the process history data of the loops; a connection determination module for determining the connection relationship between each loop based on the associated loop group to which the loop belongs; and a graphical modeling module for determining the graphical parameters of the loop in the model based on the connection relationship, and establishing a graphical association diagram based on the graphical parameters.
[0089] In some alternative implementations, the process history data of the loop includes: loop setpoints, measured values, output values, control modes, and time information.
[0090] In some optional implementations, the associated loop determined based on the similarity between the process history data of the 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 loop corresponding to the process history data belongs to an associated loop based on the similarity rate between the deviation sequences.
[0091] In some optional implementations, determining whether the loop corresponding to the process history data belongs to an associated 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 loop corresponding to the process history data belongs to an associated loop.
[0092] In some alternative implementations, determining a corresponding associated loop group for each loop includes: querying the number of loops that have been grouped with a loop in the associated loop group of the loop; and performing add, add, or merge operations on the queried loop groups according to the number of loop groups obtained from the query.
[0093] In some optional implementations, the connection relationship between each loop is determined according to the associated loop group to which the loop belongs, including: obtaining the associated group number of the associated loop group to which the loop belongs, and the loop number in the associated loop group; copying the information of the associated loop of the loop to the associated loop group; and determining whether the level of the loop is a sub-loop based on whether there are associated loops of a specific type according to the set value and the output value.
[0094] In some optional implementations, determining the graphical parameters of the loop in the model based on the connection relationship includes: classifying the loop into a first type of loop or a second type of loop based on whether the loop belongs to an associated loop group; if the loop is a first type of loop, determining the number of graphic elements, color of graphic elements, position of graphic elements, and orientation of graphic elements corresponding to the loop; if the loop is a second type of loop, determining the number of graphic elements, color of graphic elements, position of graphic elements, orientation of graphic elements, and connection relationship of graphic elements corresponding to the loop.
[0095] The specific limitations of each functional module in the aforementioned complex control loop identification and graphical modeling device can be found in the limitations of the complex control loop identification and graphical modeling method 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.
[0096] In some embodiments of the present invention, a complex control loop identification and graphical modeling device 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 complex control loop identification and graphical modeling method. 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 the 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.
[0097] 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 above-described complex control loop identification and graphical modeling method when executed by the processor.
[0098] In one embodiment of the present invention, a computer program product is provided, including a computer program that, when executed by a processor, performs the aforementioned complex control loop identification and graphical modeling.
[0099] 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.
[0100] 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 1 A device that provides the functions specified in one or more boxes.
[0101] 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.
[0102] 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.
[0103] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0104] 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.
[0105] 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.
[0106] 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.
[0107] 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 identifying and graphically modeling complex control loops, characterized in that, The method includes: Acquire historical data of the loop process; For each loop, a corresponding associated loop group is determined, and the associated loop group includes several associated loops determined based on the similarity relationship between the process history data of the loops; Determine the connection relationships between each loop based on the associated loop group to which the loop belongs; The graphical parameters of the loop in the model are determined based on the connection relationship, and a graphical relationship diagram is established based on the graphical parameters. The associated loops in the associated loop group are determined in the following way: Extract historical value sequences and corresponding time series from the process history data of the loop; Based on the historical value sequence and 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. Determining whether the loop corresponding to the historical process data belongs to an associated loop based on the similarity rate between the deviation sequences includes: The similarity rates between the combinations of set values, measured values, and output values in the deviation sequence are obtained 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 loop corresponding to the historical process data belongs to an associated loop. For each loop, determine the corresponding associated loop grouping, including: Query the number of loop groups that a loop has been grouped, and query the number of loop groups that a specific loop in the associated loop groups of that loop has been grouped; based on the number of loop groups obtained from the query, perform add, add, or merge operations on the queried loop groups respectively. The connection relationships between loops are determined based on the associated loop group to which the loop belongs, including: Get the associated group number of the associated loop group, and the loop number in the associated loop group; Copy the information of the associated circuits of the circuit to the associated circuit group; Determine whether the level of the circuit is a secondary circuit based on whether there is a specific type of related circuit, including: if there are related circuits of SP and OP types, then the level of the current circuit is a secondary circuit; Determine the graphical parameters of the loop in the model based on the connection relationship, including: Determine whether the loop belongs to an associated loop group based on the connection relationship; Based on whether the loop belongs to an associated loop group, the loop is divided into a first type of loop or a second type of loop; the first type of loop is a single loop, and the second type of loop is a complex loop; If the loop is a first type loop, then determine the number of graphic elements, color of graphic elements, position of graphic elements and direction of graphic elements corresponding to the loop; If the loop is a second type of loop, then determine the number of graphic elements, color of graphic elements, position of graphic elements, direction of graphic elements, and connection relationship of graphic elements corresponding to the loop.
2. The method according to claim 1, characterized in that, The process history data of the circuit includes: The circuit's setpoints, measured values, output values, control modes, and timing information.
3. A device for identifying and graphically modeling complex control loops, characterized in that, The device includes: The data acquisition module is used to acquire historical process data of the loop; The grouping determination module is used to determine the corresponding associated loop group for each loop, wherein the associated loop group includes several associated loops determined based on the similarity relationship between the process history data of the loops; The connection determination module is used to determine the connection relationships between loops based on the associated loop groups to which the loops belong; and The graphical modeling module is used to determine the graphical parameters of the loop in the model based on the connection relationship, and to establish a graphical relationship diagram based on the graphical parameters; The associated loops in the associated loop group are determined in the following way: Extract historical value sequences and corresponding time series from the process history data of the loop; Based on the historical value sequence and 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. Determining whether the loop corresponding to the historical process data belongs to an associated loop based on the similarity rate between the deviation sequences includes: The similarity rates between the combinations of set values, measured values, and output values in the deviation sequence are obtained 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 loop corresponding to the historical process data belongs to an associated loop. For each loop, determine the corresponding associated loop grouping, including: Query the number of loop groups that a loop has been grouped with, and query the number of loop groups that a specific loop in the associated loop groups of that loop has been grouped with. Based on the number of loop groups obtained from the query, perform add, add, or merge operations on the obtained loop groups respectively; The connection relationships between loops are determined based on the associated loop group to which the loop belongs, including: Get the associated group number of the associated loop group, and the loop number in the associated loop group; Copy the information of the associated circuits of the circuit to the associated circuit group; Based on whether there are related loops of a specific type in the set value and output value, determine whether the level of the loop is a secondary loop, including: if there are related loops of SP and OP types, then the level of the current loop is a secondary loop; Determine the graphical parameters of the loop in the model based on the connection relationship, including: Determine whether the loop belongs to an associated loop group based on the connection relationship; Based on whether the loop belongs to an associated loop group, the loop is divided into a first type of loop or a second type of loop; the first type of loop is a single loop, and the second type of loop is a complex loop; If the loop is a first type loop, then determine the number of graphic elements, color of graphic elements, position of graphic elements and direction of graphic elements corresponding to the loop; If the loop is a second type of loop, then determine the number of graphic elements, color of graphic elements, position of graphic elements, direction of graphic elements, and connection relationship of graphic elements corresponding to the loop.
4. The apparatus according to claim 3, characterized in that, The process history data of the circuit includes: The circuit's setpoints, measured values, output values, control modes, and timing information.
5. A complex control loop identification and graphical modeling device, 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 complex control loop identification and graphical modeling method according to any one of claims 1 to 2.
6. A computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the steps of the complex control loop identification and graphical modeling method according to any one of claims 1 to 2.
Citation Information
Patent Citations
Fluctuation source localization method of multi-loop oscillation of novel process industry
CN102520708A
Control loop performance monitoring method and system based on coupling analysis
CN111983997A
