A PID performance evaluation and fault diagnosis system, method, device, medium
By designing a PID performance evaluation and fault diagnosis system, and utilizing an index calculation module and multi-level web pages to display the performance and faults of PID loops, the system solves the problem of human resource dependence in existing technologies and achieves efficient fault diagnosis and reduced economic losses of PID loops.
Patent Information
- Application Number
- CN202310748668.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2043-06-21
AI Technical Summary
The evaluation system for existing PID control loops relies on a large amount of human resources, which makes it difficult to detect and maintain problems in a timely manner, resulting in economic losses. Furthermore, users find it difficult to extract effective information and correlations from the data.
A PID performance evaluation and fault diagnosis system was designed, including an index calculation module, a database, and a web page for multi-level PID loops. The system displays the performance indicators and fault diagnosis results of the PID loops through data acquisition, calculation, and mapping relationships, reducing reliance on human resources.
It enables a clear and intuitive display of the overall status of the PID control loop, reduces human resource costs, allows users to promptly identify specific problems, and improves fault diagnosis efficiency.
Smart Images

Figure CN116661421B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial controller technology, and in particular to a PID performance evaluation and fault diagnosis system, method, device, and medium. Background Technology
[0002] Because industrial production processes involve a large number of PID control loops, and there are insufficient control engineers to maintain them, most loops are only addressed after problems occur, resulting in significant economic losses. PID performance evaluation technology can assess the control performance of each PID loop to determine whether the current system is operating well, whether control performance has deteriorated, and whether parameter tuning is necessary. With the intervention of PID performance evaluation and fault diagnosis systems, loop problems can be identified earlier. Current PID evaluation systems often rely on simple data feedback based primarily on control rates, making it difficult for users to extract more effective information or understand the relationships between different pieces of information. Furthermore, because large-scale plants typically have frequently changing PID control loops, even with substantial manpower dedicated to maintaining them, situations still arise where timely detection and maintenance are not always possible.
[0003] In summary, how to intuitively display the overall status of the PID control loop in the industrial field to users, reduce human resource costs, and make users aware of specific PID loop problems are technical issues that need to be solved in this field. Summary of the Invention
[0004] In view of this, the purpose of this invention is to provide a PID performance evaluation and fault diagnosis system, method, device, and medium, which can intuitively display the overall status of the PID control loop in the industrial field to the user, reduce human resource costs, and also allow the user to be aware of specific PID loop problems. The specific solution is as follows:
[0005] In a first aspect, this application discloses a PID performance evaluation and fault diagnosis system, which includes: an index calculation module, a database, and a web page for multi-level PID loops, wherein...
[0006] The index calculation module is used to obtain loop data of PID loops in the industrial field from the database when a performance evaluation instruction is received, and to calculate the loop attribute index of the corresponding PID loop based on the loop data.
[0007] The multi-level PID loop web interface is used to return the loop attribute indicators calculated by the indicator calculation module to the web interface corresponding to the PID loop. Then, based on the mapping relationship between the PID loop and the preset level, the loop attribute indicators are returned to the corresponding level web interface in sequence, so as to display the various performance indicators and fault diagnosis results of the PID loop.
[0008] Optionally, the indicator calculation module includes:
[0009] The data acquisition unit is used to retrieve the valve position value time series, measured value time series, and set value time series of the PID loop in the industrial field from the database when a performance evaluation instruction is received.
[0010] The index calculation unit is used to calculate the loop attribute index of the corresponding PID loop based on the valve position value time series, the measured value time series, the set value time series, the upper and lower limits of the valve position value, the upper and lower limits of the measured value, the sampling period, and the PID loop attributes.
[0011] Optionally, the indicator calculation module includes:
[0012] The total score calculation submodule is used to calculate the effective self-control rate, sensor score, controller score and actuator score of the corresponding PID loop based on the loop data, and to calculate the total index score of the PID loop based on the effective self-control rate, the sensor score, the controller score and the actuator score;
[0013] The fault index calculation unit is used to cut the loop data of the target PID loop that meets the preset usage time to obtain the target loop data corresponding to the target usage time, and to perform fault index scoring on the target loop data, including correlation index scoring and oscillation index scoring.
[0014] Optionally, the total score calculation submodule includes:
[0015] The basic index calculation unit is used to calculate the effective automatic control rate based on the saturation rate and operational rate of loop data; to calculate the sensor score based on the bad value rate, data mutation rate, and data leveling rate of loop data; to determine the speed index score and stability index score based on the measured value time series and error; to determine the accuracy index score based on the measured value time series, set value time series, and error, so as to calculate the controller score based on the speed index score, the stability index score, and the accuracy index score; and to calculate the actuator score based on the nonlinearity index score.
[0016] Optionally, the PID performance evaluation and fault diagnosis system further includes:
[0017] The structure display unit is used to display the structural relationship between the total index score and fault index score, effective self-control rate, sensor score, controller score, and actuator score of the PID loop using a tree diagram. It also displays the structural relationship between the effective self-control rate, sensor score, controller score, actuator score of the PID loop and the saturation rate, uptime index, bad value rate index score, data mutation index score, data leveling index score, speed index score, stability index score, accuracy index score, and nonlinearity index score of the loop data.
[0018] Optionally, the PID performance evaluation and fault diagnosis system further includes:
[0019] The mapping relationship construction unit is used to construct hierarchical mapping relationships between PID loops and PID device layers, PID device layers and branch plant layers, and branch plant layers and group layers, respectively; wherein, the group layer corresponds to one or more branch plant layers, the branch plant layer corresponds to one or more PID device layers, and the PID device layer corresponds to one or more PID loops.
[0020] Optionally, the web interface for the multi-level PID loop includes:
[0021] The report export unit is used to select any level of web interface through the navigation bar and export the indicator report of the current level or export the indicator report of the next level below the current level based on the preset hierarchical mapping relationship.
[0022] Secondly, this application discloses a method for PID performance evaluation and fault diagnosis, including:
[0023] When a performance evaluation instruction is received, the loop data of the PID loop in the industrial field is retrieved from the database, and the loop attribute index of the corresponding PID loop is calculated based on the loop data.
[0024] The loop attribute indicators are returned to the web interface corresponding to the PID loop. Then, based on the mapping relationship between the PID loop and the preset level, the loop attribute indicators are returned to the corresponding level web interface in sequence, so as to display the various performance indicators and fault diagnosis results of the PID loop.
[0025] Thirdly, this application discloses an electronic device, including:
[0026] Memory, used to store computer programs;
[0027] A processor is used to execute the computer program to implement the steps of the aforementioned disclosed PID performance evaluation and fault diagnosis method.
[0028] Fourthly, this application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the steps of the aforementioned disclosed PID performance evaluation and fault diagnosis method.
[0029] Therefore, this application discloses a PID performance evaluation and fault diagnosis system, which includes: an index calculation module, a database, and a multi-level PID loop web page. The index calculation module is used to retrieve loop data of industrial field PID loops from the database when a performance evaluation command is received, and calculate the loop attribute indexes of the corresponding PID loops based on the loop data. The multi-level PID loop web page is used to return the loop attribute indexes calculated by the index calculation module to the web page corresponding to the PID loop, and then, based on the mapping relationship between the PID loops and preset levels, sequentially return the loop attribute indexes to the corresponding level web pages to display the various performance indexes and fault diagnosis results of the PID loops. As can be seen, by returning the calculated PID loop attribute indicators to the corresponding hierarchical web interface based on a preset hierarchical mapping relationship, the association between each PID loop and different levels can be realized. At the same time, the performance overview of the PID loop can be displayed to the user from both overall and partial perspectives. Furthermore, the multi-level web interface display method based on the preset hierarchical mapping relationship can intuitively express the logical relationship of insufficient PID performance of a certain PID loop. Then, based on the attribute indicators of each PID loop, it can also show whether there are fault problems, which facilitates fault diagnosis. Attached Figure Description
[0030] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0031] Figure 1 This is a schematic diagram of the structure of a PID performance evaluation and fault diagnosis system disclosed in this application;
[0032] Figure 2 This is a schematic diagram of a hierarchical structural relationship disclosed in this application;
[0033] Figure 3 This is a radar chart of one of the main indicators disclosed in this application;
[0034] Figure 4 This is a schematic diagram of a specific PID performance evaluation and fault diagnosis system disclosed in this application;
[0035] Figure 5 This application discloses a tree diagram of indicator relationships;
[0036] Figure 6 This application discloses a flowchart of a specific PID loop evaluation method.
[0037] Figure 7 This is a flowchart of a PID performance evaluation and fault diagnosis method disclosed in this application;
[0038] Figure 8 This is a structural diagram of an electronic device disclosed in this application. Detailed Implementation
[0039] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0040] Because industrial production processes involve a large number of PID control loops, and there are insufficient control engineers to maintain them, most loops are only addressed after problems occur, resulting in significant economic losses. PID performance evaluation technology can assess the control performance of each PID loop to determine whether the current system is operating well, whether control performance has deteriorated, and whether parameter tuning is necessary. With the intervention of PID performance evaluation and fault diagnosis systems, loop problems can be identified earlier. Current PID evaluation systems often rely on simple data feedback based primarily on control rates, making it difficult for users to extract more effective information or understand the relationships between different pieces of information. Furthermore, because large-scale plants typically have frequently changing PID control loops, even with substantial manpower dedicated to maintaining them, situations still arise where timely detection and maintenance are not always possible.
[0041] To this end, this application discloses a PID performance evaluation and fault diagnosis scheme, which can intuitively display the overall status of the PID control loop in the industrial field to the user, reduce human resource costs, and also make the user aware of the specific PID loop problems.
[0042] Reference Figure 1 As shown in the figure, this invention discloses a PID performance evaluation and fault diagnosis system, which includes: an index calculation module 11, a database 12, and a multi-level PID loop web page 13, wherein...
[0043] The index calculation module 11 is used to obtain the loop data of the PID loop in the industrial field from the database 12 when a performance evaluation instruction is received, and to calculate the loop attribute index of the corresponding PID loop based on the loop data.
[0044] The multi-level PID loop web interface 13 is used to return the loop attribute indicators calculated by the indicator calculation module 11 to the web interface corresponding to the PID loop. Then, based on the mapping relationship between the PID loop and the preset level, the loop attribute indicators are returned to the corresponding level web interface in sequence so as to display the various performance indicators and fault diagnosis results of the PID loop.
[0045] Understandably, when the indicator calculation module 11 receives a performance evaluation command, it retrieves the loop data of the PID loops in the industrial field from the database 12. The loop data in the database 12 consists of the tag number data of the PID loops collected from the industrial field via the DCS. The database 12 typically stores historical data from the previous 24 hours; the specific time frame for the loop data can be set according to the actual scenario, which will not be elaborated upon here. After the indicator calculation module 11 calls the loop data from the database 12 at the software level, it calculates the loop data using the corresponding data indicator calculation method to obtain the calculated loop attribute indicators. Then, the loop attribute indicators are sequentially fed back to the corresponding level of the web interface according to a preset hierarchical mapping relationship.
[0046] It is understood that the index calculation module 11 includes: a data acquisition unit 111, used to acquire the valve position value time series, measured value time series, and setpoint time series of the PID loop in the industrial field from the database when a performance evaluation instruction is received; and an index calculation unit 112, used to calculate the loop attribute index of the corresponding PID loop based on the valve position value time series, the measured value time series, the setpoint time series, the upper and lower limits of the valve position value, the upper and lower limits of the measured value, the sampling period, and the PID loop attributes. Specifically, the loop data required for calculation includes the valve position value time series, measured value time series, setpoint time series, upper and lower limits of the valve position value, the upper and lower limits of the measured value, the sampling period, and information on the loop-related attributes of a PID loop. Among them, the valve position value time series, measured value time series, and setpoint time series need to be read from the database 12. After the data acquisition unit 111 acquires the above loop data, it immediately performs corresponding calculations on the above data through the index calculation unit 112 to obtain the loop attribute index of the corresponding PID loop.
[0047] It is understood that the mapping relationship construction unit 14 is used to construct hierarchical mapping relationships between PID loops and PID device layers, PID device layers and branch plant layers, and branch plant layers and group layers, respectively. Specifically, each group layer corresponds to one or more branch plant layers, each branch plant layer corresponds to one or more PID device layers, and each PID device layer corresponds to one or more PID loops. Before the loop attribute indicators are returned to the web interfaces of each level, the mapping relationships for each level are constructed. Since a group layer has multiple branch plants, a branch plant layer has multiple PID devices, and a PID device layer can contain a large number of PID loops, the mapping relationships between PID loops and PID device layers, PID device layers and branch plant layers, and branch plant layers and group layers are constructed accordingly based on the management relationships between each level and the next level.
[0048] It is understood that the multi-level PID loop web interface 13 includes a report export unit 131, used to select any level of web interface through the navigation bar and export the indicator report of the current level or export the indicator report of the next level below the current level based on a preset hierarchical mapping relationship. Specifically, the PID evaluation and diagnosis web interface is divided into group-level web interface, branch plant-level web interface, PID device-level web interface, and PID loop-level web interface levels, which can be freely selected in the navigation bar. Each interface can export the corresponding indicator report, which can be in report form. A group can contain multiple branch plants, and a branch plant can contain multiple PID devices, each of which can contain multiple PID loops. The content of the group, branch plant, and PID device sections is a summary of the calculation results of all PID loops contained in their respective levels. Specifically, as shown in the example... Figure 2 As shown, the navigation bar provides access to the group interface, branch plant interface, and PID device interface. The main interfaces of these interfaces primarily include parameters such as overall score, overall score level (excellent, good, average, poor), and automation rate, along with trend charts displaying the changes of these parameters over a preset time period (default is one week). Users can configure settings to exclude certain PID loops from the statistical process. Reports can be exported from the group interface, branch plant interface, and PID device interface. These reports include the number of loops for each workshop and device, status evaluation parameters (automation rate and other indicators), control performance evaluation (performance score level, excellent, good, average, poor), and control performance diagnosis (fault categories and their numbers). Fault categories are categorized as instrument faults, controller faults, actuator faults, and external disturbances. The PID device interface allows users to query the PID loops included under a given PID device and click to enter the single-loop interface to view the single-loop report.
[0049] Reference Figure 3As shown, the single-loop report includes several sections: overall score, overall score level, radar chart of key indicators, tree diagram of indicator relationships, various basic indicators and charts, and fault diagnosis. It is understandable that the various dimensions of the radar chart of key indicators (overall score, effective automatic control rate, instrument score, actuator score, controller score) present key data intuitively in radar chart format.
[0050] Therefore, this application discloses a PID performance evaluation and fault diagnosis system, which includes: an index calculation module, a database, and a multi-level PID loop web page. The index calculation module is used to retrieve loop data of industrial field PID loops from the database when a performance evaluation command is received, and calculate the loop attribute indexes of the corresponding PID loops based on the loop data. The multi-level PID loop web page is used to return the loop attribute indexes calculated by the index calculation module to the web page corresponding to the PID loop, and then, based on the mapping relationship between the PID loops and preset levels, sequentially return the loop attribute indexes to the corresponding level web pages to display the various performance indexes and fault diagnosis results of the PID loops. As can be seen, by returning the calculated PID loop attribute indicators to the corresponding hierarchical web interface based on a preset hierarchical mapping relationship, the association between each PID loop and different levels can be realized. At the same time, the performance overview of the PID loop can be displayed to the user from both overall and partial perspectives. Furthermore, the multi-level web interface display method based on the preset hierarchical mapping relationship can intuitively express the logical relationship of insufficient PID performance of a certain PID loop. Then, based on the attribute indicators of each PID loop, it can also show whether there are fault problems, which facilitates fault diagnosis.
[0051] Reference Figure 4 As shown, this embodiment of the invention discloses a specific PID performance evaluation and fault diagnosis system. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution.
[0052] Specifically:
[0053] The index calculation module 11 includes: a total score calculation submodule 113, used to calculate the effective control rate, sensor score, controller score, and actuator score of the corresponding PID loop based on the loop data, and to calculate the total index score of the PID loop based on the effective control rate, sensor score, controller score, and actuator score; and a fault index calculation unit 114, used to cut the loop data of the target PID loop that meets the preset usage time to obtain the target loop data corresponding to the target usage time, and to perform a fault index score on the target loop data, including correlation index score and oscillation index score. It can be understood that by calculating the main indicators such as the effective control rate, instrument score, actuator score, and controller score of the PID loop, and then calculating the total score based on these main indicators, the performance of the current PID loop can be evaluated through the total score. Furthermore, for fault indicators, the fault index calculation unit 114 needs to perform corresponding calculations, specifically calculating fault indicators such as the measurement variance and oscillation index of the PID loop. Then, the above fault indicators and data charts are displayed through a multi-level PID loop web interface. The data charts may include, but are not limited to, historical trend charts, valve position value-measured value scatter plots, residual autocorrelation analysis charts, etc. This makes it easier for engineers to understand more detailed and specific data, and also facilitates fault diagnosis. Before calculating the fault index, the fault index calculation unit 114 selects the PID loops that have passed the data check, and then judges whether the maximum continuous use time of the PID loops has reached the preset time. If the judgment fails, the corresponding judgment result is directly output. If the judgment passes, the maximum continuous use data segment is cut, and then the instrument items are evaluated. If a sudden change in the instrument occurs, the sudden change data is smoothed out before evaluating other items.
[0054] The total score calculation submodule 113 includes: a basic index calculation unit 1131, used to calculate the effective automatic control rate based on the saturation rate and operation rate of loop data; calculate the sensor score based on the bad value rate index, data mutation index, and data leveling index score of loop data; determine the speed index score and stability index score based on the measured value time series and error; determine the accuracy index score based on the measured value time series, set value time series, and error, so as to calculate the controller score based on the speed index score, the stability index score, and the accuracy index score; and calculate the actuator score based on the nonlinearity index score. It is understood that, referring to... Figure 5As shown, based on historical data from the PID loop, basic indicators such as stability, speed, and nonlinearity are first calculated. Then, based on these indicators, key indicators such as effective control rate, instrument score, actuator score, and controller score are calculated. Finally, the total score is calculated based on these key indicators. The stability indicator is calculated based on the minimum variance of the measured values; the speed indicator is calculated based on the step impulse response sequence of the measured values; and the accuracy indicator is calculated based on the deviation between the measured value and the setpoint. Data leveling calculates the percentage of time the measured value remains unchanged; data mutation calculates the degree of excessive data change; the bad value rate calculates the percentage of time the data quality code transmitted by the DCS is not a good value; the saturation rate calculates the percentage of time the measured value approaches its upper or lower limits; and the operational rate calculates the percentage of time the PID loop is in automatic mode. The above calculation of basic indicators constitutes the first-level indicator calculation. After completing the first-level indicator calculation process, the corresponding calculations of the first-level indicators serve as the second-level and third-level indicators. The second-level indicators include: effective control rate, sensor score, controller score, and actuator score. The third-level indicator is the comprehensive score, which is also the total score. (Refer to...) Figure 6 As shown, Figure 6This is a processing flow for a complex PID loop. Specifically, before scoring the loop, a data check is performed to verify the format of the data transmitted to the system, checking for errors or omissions. For loops that pass the data check, OP data conversion is performed, supporting scoring of multi-input single-output loops such as selection loops and split-range loops. Selection loops are loops where multiple OPs (usually valves) can freely switch between each other, each OP controlled by an independent PID controller. When multiple OPs are used simultaneously in a complex loop, the selection loop is split into multiple OP-PV single-loops for evaluation based on the number of OPs. A signal tag indicating whether an OP is in use is added to each loop, recording whether the loop branch is used at each time point. For split-range loops, the data from two OPs is standardized, converted, and then merged into a new OP for calculation. If the OP, as a selection loop, is not used throughout the evaluation period, no further evaluation calculation is performed, and the result is directly output. If it is used, an operation calculation is performed, and then it is determined whether the maximum continuous usage time for the day reaches a certain duration. If the target is not met, no further evaluation calculations will be performed, and the result will be output directly. If the target is met, the largest continuously used data segment will be cut off, and this data segment will be evaluated. The instrument item will be evaluated first; if an instrument mutation occurs, the mutated data will be smoothed out before evaluating other items. The specific performance evaluation and fault diagnosis process for the PID loop is as follows: First, the basic indicators of the single loop are calculated, i.e., the first-level indicators. Based on the historical data of the single loop, stability indicators, speed indicators, accuracy indicators, data leveling, data mutation, bad value rate, saturation rate, and operational rate are calculated. Specifically, the speed indicator is calculated by using mathematical methods to solve for the autoregressive impulse response sequence of the measured value, satisfying…
[0055] Y t =f1Y t-1 +f2Y t-2 +...+f n Y t-n +E;
[0056] Where f is the solved impulse response sequence, Y is the measured value sequence, and E is the model error. The attenuation ratio of the second peak of the impulse response sequence f to the first peak is taken as an indicator of speed.
[0057]
[0058] Among them, V p1 V represents the first peak data in the sequence. p2 This is the second peak data in the sequence.
[0059] The specific stability index is calculated by determining the Harris minimum variance index sequence, as shown in the following formula:
[0060]
[0061] Where η is the Harris sequence and f is the impulse response sequence. Let Y be the mean. Let Y be the variance.
[0062] Given a stable time value T for a loop (the specific value of T varies depending on the type of loop), the Harris sequence value at that time is taken as the stability index.
[0063] Stability = η T
[0064] The specific method for calculating the accuracy index is as follows: the error between the measured value and the set value is calculated by taking the mean of the error exponent of the natural logarithm. The specific formula is as follows:
[0065]
[0066] Where PV and SP are the normalized sequence of measured values and setpoints, respectively, and n is the sequence length.
[0067] Then, based on the primary indicators calculated above, secondary and tertiary indicators are further calculated. Specifically, the instrument score is calculated based on three indicators: data flattening, data mutation, and bad value rate; the controller score is calculated based on three indicators: stability, speed, and accuracy; the actuator score is calculated based on nonlinearity; the effective operating rate is calculated based on saturation rate and operating rate; and the overall score is calculated based on the instrument score, controller score, actuator score, and effective operating rate score. The overall rating is a grade of excellent, good, average, or poor based on the overall score, and the rating criteria can be set by the user.
[0068] Effective self-control rate = Time in automatic mode without PV data saturation / Total time;
[0069] Controller score = (stability + speed + accuracy) / 3;
[0070] Actuator score = 1 - (nonlinearity + OP saturation rate) / 2;
[0071] Instrument score = 1 - (data bad value rate + max(data flattening rate, data mutation rate)) / 2;
[0072] Total score = Effective self-control rate × (Instrument score + Actuator score + Controller score) / 3;
[0073] After obtaining the first-level, second-level, and third-level indicators, single-loop fault diagnosis is performed accordingly. The specific diagnostic method is as follows: an expert diagnostic database is established to record the abnormal indicators corresponding to various faults, as well as the corresponding troubleshooting plans, and they are categorized into four main types (instrument faults, controller faults, actuator faults, and external disturbances). When some indicators calculated by the system become abnormal, the fault situation is obtained by comparing with the expert database, and the fault type, fault category, and troubleshooting plan are presented in the report.
[0074] The main indicators at the group level / branch plant level / PID device level are the total number of loops, the number of out-of-use loops, the number of faulty loops, and the number of different types of faulty loops at different levels. These are statistics on the status of each PID loop at that level. The total score, automatic control rate, and other parameters at different levels are the weighted average of the total score, automatic control rate, and other parameters for each PID loop at that level.
[0075] The structural display unit 15 is used to display the structural relationship between the overall performance score and fault performance score, effective control rate, sensor score, controller score, and actuator score of the PID loop using a tree diagram. It also displays the structural relationship between the effective control rate, sensor score, controller score, and actuator score of the PID loop and the saturation rate, operational rate, bad value rate, data mutation rate, data leveling rate, speed, stability, accuracy, and nonlinearity scores of the loop data. It can be understood that by visually displaying the above-mentioned primary, secondary, and tertiary data indicators in a tree diagram structure on a web interface, the logical relationship of insufficient performance of a certain PID loop can be intuitively expressed, providing fault diagnosis functionality. The overall score can quickly filter the loop status, the secondary primary indicators are geared towards maintenance personnel's repair targets, and the basic indicators show the specific problems of the loop. It should be noted that the relationships between indicators are displayed in a tree diagram, and the data of the higher level in the tree diagram is obtained from the data of the lower level. Each node is marked with a different color according to the health level of the data. When the score index is low, users can intuitively understand the problem in the loop by looking at the branching trend of the color alarm index.
[0076] Therefore, displaying multi-level data indicators in a tree diagram format allows users to intuitively see the performance evaluation and fault diagnosis of the PID loop. It enables comprehensive evaluation from higher levels, such as the group level, branch plant level, and PID device level, and facilitates users in extracting more effective information and the relationships between effective information.
[0077] Reference Figure 7 As shown, this embodiment of the invention also discloses a method for PID performance evaluation and fault diagnosis, including:
[0078] Step S11: When a performance evaluation instruction is received, retrieve the loop data of the PID loop in the industrial field from the database, and calculate the loop attribute index of the corresponding PID loop based on the loop data.
[0079] In this embodiment, when a performance evaluation instruction is received, the DCS obtains the tag number data of the PID loop in the industrial field and stores it in the database. The software calls the historical data in the database, generally selecting the historical data of the previous 24 hours, and uses the algorithm to calculate the results to obtain the loop attribute index of the corresponding PID loop.
[0080] Step S12: Return the loop attribute indicators to the web interface corresponding to the PID loop, and then return the loop attribute indicators to the corresponding level web interface in sequence based on the mapping relationship between the PID loop and the preset level, so as to display the various performance indicators and fault diagnosis results of the PID loop.
[0081] In this embodiment, the loop attribute indicators are returned to the corresponding web interface according to the preset hierarchical mapping relationship. This not only facilitates data management and control of lower levels by higher levels, but also allows users to intuitively evaluate and analyze the entire PID loop, PID device, branch plant, and group as a whole.
[0082] Therefore, this application discloses a method for retrieving loop data of industrial PID loops from a database upon receiving a performance evaluation instruction, and calculating loop attribute indicators for the corresponding PID loops based on the loop data. The loop attribute indicators calculated by the indicator calculation module are returned to the web interface corresponding to the PID loop. Then, based on the mapping relationship between the PID loop and a preset hierarchy, the loop attribute indicators are sequentially returned to the corresponding hierarchical web interfaces to display the various performance indicators and fault diagnosis results of the PID loop. It is evident that by sequentially returning the calculated loop attribute indicators of the PID loop to the corresponding hierarchical web interfaces based on a preset hierarchical mapping relationship, the association between each PID loop and different levels is achieved. Simultaneously, the performance overview of the PID loop can be presented to the user from both overall and partial perspectives. Furthermore, the multi-level web interface display method based on the preset hierarchical mapping relationship can intuitively express the logical relationship of insufficient PID performance in a certain PID loop. Finally, based on the attribute indicators of each PID loop, the presence of fault problems can be indicated, facilitating fault diagnosis.
[0083] Furthermore, embodiments of this application also disclose an electronic device, Figure 8 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application.
[0084] Figure 8 This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of this application. Specifically, the electronic device 20 may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the PID performance evaluation and fault diagnosis methods disclosed in any of the foregoing embodiments. Alternatively, the electronic device 20 in this embodiment may specifically be a computer.
[0085] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0086] The processor 21 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 21 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0087] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored thereon can include operating system 221, computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0088] The operating system 221 manages and controls the various hardware devices and computer programs 222 on the electronic device 20 to enable the processor 21 to perform calculations and processing on the massive amounts of data 223 in the memory 22. It can be Windows Server, Netware, Unix, Linux, etc. The computer program 222, in addition to including computer programs capable of performing the PID performance evaluation and fault diagnosis methods disclosed in any of the foregoing embodiments, may further include computer programs capable of performing other specific tasks. The data 223 may include data received by the electronic device from external devices, as well as data collected by its own input / output interface 25.
[0089] Furthermore, this application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned disclosed PID performance evaluation and fault diagnosis method. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.
[0090] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.
[0091] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can implement the described functions using different methods for each specific application, but such implementation should not be considered beyond the scope of this application. The steps of the methods or algorithms described in connection with the embodiments disclosed herein can be implemented directly in hardware, software modules executed by a processor, or a combination of both. Software modules can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the art.
[0092] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, 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 a process, method, article, or apparatus. Without further limitations, 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 said element.
[0093] The above provides a detailed description of the PID performance evaluation and fault diagnosis system, method, device, and medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A PID performance evaluation and fault diagnosis system, characterized by, The PID performance evaluation and fault diagnosis system comprises an index calculation module, a database, and a multi-level PID loop web page, wherein, The index calculation module is configured to obtain loop data of an industrial field PID loop from the database when a performance evaluation instruction is received, and calculate loop attribute indexes of the corresponding PID loop based on the loop data. The multi-level PID loop web interface is configured to return the loop attribute indexes calculated by the index calculation module to the web interface corresponding to the corresponding PID loop, and then return the loop attribute indexes to the corresponding level web interfaces in sequence based on a preset level mapping relationship of the PID loop, so as to display various performance indexes and fault diagnosis results of the PID loop. The index calculation module comprises: The total score calculation submodule is configured to calculate an effective automatic control rate, a sensor score, a controller score, and an actuator score of the corresponding PID loop based on the loop data, and calculate a total index score of the PID loop based on the effective automatic control rate, the sensor score, the controller score, and the actuator score. The fault index calculation unit is configured to cut the loop data of a target PID loop that meets a preset use duration to obtain target loop data corresponding to a target use duration, and perform fault index scoring including correlation index scoring and oscillation index scoring on the target loop data. The mapping relationship construction unit is configured to construct level mapping relationships between the PID loop and the PID device layer, the PID device layer and the subplant layer, and the subplant layer and the group layer, respectively; wherein the group layer corresponds to one or more subplant layers, the subplant layer corresponds to one or more PID device layers, and the PID device layer corresponds to one or more PID loops.
2. The PID performance evaluation and fault diagnosis system of claim 1, wherein, The index calculation module comprises: The data acquisition unit is configured to obtain a valve position value time sequence, a measured value time sequence, and a set value time sequence of an industrial field PID loop from the database when a performance evaluation instruction is received. The index calculation unit is configured to calculate loop attribute indexes of the corresponding PID loop based on the valve position value time sequence, the measured value time sequence, the set value time sequence, upper and lower limits of the valve position value, upper and lower limits of the measured value, a sampling period, and PID loop attributes.
3. The PID performance evaluation and fault diagnosis system of claim 1, wherein, The total score calculation submodule comprises: The basic index calculation unit is configured to calculate the effective automatic control rate based on a saturation rate and a commissioning rate of the loop data, calculate the sensor score based on a bad value rate index score, a data mutation index score, and a data flatness index score of the loop data, calculate the controller score based on a measured value time sequence and an error to determine a rapidity index score and a stability index score, and calculate the actuator score based on a nonlinearity index score.
4. The PID performance evaluation and fault diagnosis system according to any one of claims 1 to 3, characterized in that, Further comprising: The structure display unit is configured to display the structure relationship between the total index score and the fault index score, the effective automatic control rate, the sensor score, the controller score, and the actuator score of the PID loop by using a tree diagram, and display the structure relationship between the effective automatic control rate, the sensor score, the controller score, and the actuator score of the PID loop and the saturation rate, the operation rate index, the bad value rate index score, the data mutation index score, the data flatness index score, the rapidity index score, the stability index score, the accuracy index score, and the nonlinearity index score of the loop data.
5. The PID performance evaluation and fault diagnosis system of claim 1, wherein, The multi-level PID loop web interface comprises: The report export unit is configured to select any level web interface through a navigation bar, and export an index report of a current level or an index report of a next level lower than the current level based on a preset level mapping relationship.
6. A PID performance evaluation and fault diagnosis method, characterized by, The method comprises the following steps: When a performance evaluation instruction is received, the loop data of the PID loop in the industrial field is obtained from the database, and the loop attribute indexes of the corresponding PID loop are calculated based on the loop data; The loop attribute indexes are returned to the web interface corresponding to the PID loop, and then the loop attribute indexes are sequentially returned to the level web interfaces corresponding to the PID loop based on a preset level mapping relationship, so as to display the various performance indexes and fault diagnosis results of the PID loop; The calculation of the loop attribute indexes of the corresponding PID loop based on the loop data comprises: calculating the effective automatic control rate, the sensor score, the controller score, and the actuator score of the corresponding PID loop based on the loop data, and calculating the total index score of the PID loop based on the effective automatic control rate, the sensor score, the controller score, and the actuator score; The loop data of the target PID loop meeting the preset use duration is cut to obtain target loop data corresponding to the target use duration, and the fault index score including the correlation index score and the oscillation index score is calculated for the target loop data; Before the loop attribute indexes are sequentially returned to the level web interfaces corresponding to the PID loop based on the preset level mapping relationship, the method further comprises the following steps: the level mapping relationships between the PID loop and the PID device layer, the PID device layer and the sub-plant layer, and the sub-plant layer and the group layer are respectively constructed; wherein, the group layer corresponds to one or more sub-plant layers, the sub-plant layer corresponds to one or more PID device layers, and the PID device layer corresponds to one or more PID loops.
7. An electronic device, comprising: The memory is configured to save the computer program; The processor is configured to execute the computer program to realize the steps of the PID performance evaluation and fault diagnosis method according to claim 6. The computer program is stored in the memory and is executed by the processor to realize the steps of the PID performance evaluation and fault diagnosis method according to claim 6.
8. A computer-readable storage medium, characterized in that, The computer program is stored in the memory and is executed by the processor to realize the steps of the PID performance evaluation and fault diagnosis method according to claim 6.
Citation Information
Patent Citations
Whole-plant monitoring system and monitoring method for loop performance evaluation
CN112415989A