Compressor surge determination method, device, computer device and storage medium
Patent Information
- Application Number
- CN202510988414.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-17
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2045-07-17
AI Technical Summary
然而,这些方法往往依赖于操作人员的经验和判断,缺乏客观性和准确性
[0015] The aforementioned surge detection method, device, computer equipment, and storage medium first determine whether there are sudden changes in the compressor's power and corresponding speed data. If a sudden change occurs, it further determines whether there is a power fluctuation. If a power fluctuation occurs, it counts the number of power fluctuations. Based on the count of power fluctuations, it determines whether the compressor is experiencing surge. This improves the accuracy of compressor detection and is objective and accurate. Surge detection of the compressor can be performed through control software, reducing investment costs.
Smart Images

Figure CN120626536B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of compressor technology, and in particular to a compressor surge detection method, apparatus, computer equipment, and storage medium. Background Technology
[0002] Surge is a common fault in centrifugal compressors. When the compressor operates in the surge condition zone, periodic oscillations occur between the compressor and the piping network, generating strong noise and vibration, which can even cause serious damage to the compressor and piping network in severe cases. Therefore, timely and accurate determination of whether a centrifugal compressor is experiencing surge is of great significance for ensuring the safe and stable operation of the compressor and piping network.
[0003] Currently, the main methods for determining whether a centrifugal compressor is experiencing surge are by observing changes in parameters such as the compressor's operating sound, inlet pressure and flow rate, and vibration amplitude. However, these methods often rely on the operator's experience and judgment, lacking objectivity and accuracy. Additional sensors are required, and these sensors necessitate structural modifications to the centrifugal compressor, increasing costs. Therefore, it is necessary to develop a more accurate and reliable method for surge detection. Summary of the Invention
[0004] Based on this, a method, device, computer equipment, and storage medium for judging compressor surge are provided to solve the technical problem that the current judgment of whether a centrifugal compressor is experiencing surge relies on the experience and judgment of the operator, which lacks objectivity and accuracy. The method enables the judgment of compressor surge through control software without the addition of additional sensors.
[0005] On the one hand, a method for judging compressor surge is provided, the method comprising: Obtain the compressor's power and corresponding speed data at the first moment to obtain the first evaluation parameter; The power of the compressor and the corresponding speed data at the second moment are obtained to obtain the second evaluation parameter; Based on the difference between the second evaluation parameter and the first evaluation parameter, determine whether a data mutation has occurred; In response to a sudden data change, the power of the compressor and the speed data corresponding to the power are acquired within a first preset time period to obtain a third evaluation parameter; Based on the third evaluation parameter, determine whether power fluctuation occurs within the first preset time period. If power fluctuation occurs, count the number of power fluctuations within the second preset time period. If the number of fluctuations within the second preset time period exceeds the fluctuation threshold, it is determined that the compressor has experienced surge; otherwise, it is determined that the compressor has not experienced surge.
[0006] In one embodiment, the third evaluation parameter obtained in response to a data mutation, which acquires the compressor's power and corresponding rotational speed data within a first preset time period, includes: In response to a data mutation, the first preset time period is divided into multiple consecutive fluctuation confirmation time periods. According to the order of the fluctuation confirmation time period, the minimum power value MinPow and the maximum power value MaxPow are obtained in each fluctuation confirmation time period. The minimum speed MinPowSpd corresponding to the minimum power value MinPow is obtained, and the maximum speed MaxPowSpd corresponding to the maximum power value MaxPow is obtained. The minimum power value MinPow, the maximum power value MaxPow, the minimum rotational speed MinPowSpd, and the maximum rotational speed MaxPowSpd obtained within each fluctuation confirmation period are used as the third evaluation parameters.
[0007] In one embodiment, the step of determining whether power fluctuations occur within the first preset time period based on the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuations occur, includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation period is less than or equal to the power change ratio threshold, it is determined that the power did not fluctuate within the target fluctuation confirmation period. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation period is greater than the power change ratio threshold, it is determined whether |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold during the target fluctuation confirmation period. If so, it is determined that the power fluctuated once during the target fluctuation confirmation period; otherwise, it is determined that the power did not fluctuate once during the target fluctuation confirmation period. In response to the determination that no fluctuation occurred within the target fluctuation confirmation time period, a second fluctuation determination is performed within the fluctuation confirmation time period following the target fluctuation confirmation time period, and so on. If a fluctuation occurs within the first preset time period, the next step is executed; if no fluctuation occurs within the first preset time period, the process ends. In response to the determination that a fluctuation occurs within the target fluctuation confirmation time period, a power fluctuation judgment is performed within a second preset time period after the target fluctuation confirmation time period. The total fluctuation duration of the power fluctuations occurring within the second preset time period after the target fluctuation confirmation time period is counted. If the total fluctuation duration is greater than the duration threshold, the power fluctuation count is kept unchanged. Otherwise, it is determined whether a power fluctuation has occurred and the total fluctuation duration is recalculated. If a power fluctuation occurs, the power fluctuation count is incremented by one. Otherwise, it is determined that no power fluctuation has occurred within the second preset time period and the total fluctuation duration is recalculated. The number of power fluctuations occurring within the second preset time period is counted. If the number of power fluctuations occurring within the second preset time period is greater than the fluctuation count threshold, the surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recalculated.
[0008] In one embodiment, the step of determining that the compressor has experienced surge when the number of fluctuations within the second preset time period exceeds a fluctuation threshold number, and otherwise determining that the compressor has not experienced surge, includes: The surge level of the compressor is set to include high-risk, medium-risk, and low-risk levels; In response to the number of fluctuations exceeding the fluctuation threshold within the second preset time period, the number of consecutive power fluctuations within the second preset time period is counted. When the number of consecutive power fluctuations counted within the second preset time period exceeds the first threshold, the surge level of the compressor is determined to be high-risk. When the number of consecutive power fluctuations counted within the second preset time period is less than the second threshold, the surge level of the compressor is determined to be low-risk. When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, the surge level of the compressor is determined to be medium risk. A warning message is issued based on the surge level of the compressor.
[0009] In one embodiment, counting the number of consecutive power fluctuations within the second preset time period includes: The second preset time period is divided into multiple consecutive fluctuation statistical time periods. The cumulative fluctuation count is set to a default value of one. In each fluctuation statistics period, it is determined whether a power fluctuation occurs. If a power fluctuation occurs, the cumulative fluctuation count is incremented by one. If no power fluctuation occurs, the cumulative fluctuation count is decremented by one. The cumulative number of fluctuations is taken as the number of consecutive power fluctuations within the second preset time period.
[0010] In one embodiment, determining whether a power fluctuation occurs within each fluctuation statistical time period includes: Within the target fluctuation statistical period, obtain the minimum power value MinPow and the maximum power value MaxPow, obtain the minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtain the maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold within the target fluctuation statistical period, it is determined that power fluctuation has occurred within the target fluctuation statistical period; otherwise, it is determined that no power fluctuation has occurred within the target fluctuation statistical period.
[0011] In one embodiment, the compressor surge detection method further includes: A first evaluation weight is obtained based on the first evaluation parameter, and a first path health evaluation model is constructed based on the first evaluation weight. In response to the determination that the compressor has not experienced a data mutation, the first path health evaluation model is used to evaluate the health of the compressor. In response to the determination that the compressor has experienced a data mutation, the first evaluation weight is updated to form a second evaluation weight, and a second path health evaluation model is constructed based on the second evaluation weight. The health of the compressor is then evaluated using the second path health evaluation model. In response to the compressor's health status being greater than or equal to a first health threshold, the compressor is controlled according to a first control strategy; In response to the compressor's health level being less than a first health threshold, the compressor is controlled according to a second control strategy, an isolation flag is set for the compressor, and several consecutive risk assessments are performed. If the feedback results of the continuous risk assessment of the compressor are all normal, the health of the compressor is reassessed using the first path health evaluation model. If the health of the compressor is greater than or equal to the second health threshold, the isolation label is removed from the compressor.
[0012] On the other hand, a compressor surge detection device is provided, the device comprising: The first evaluation parameter acquisition module is used to acquire the compressor power and the corresponding speed data at the first moment to obtain the first evaluation parameters. The second evaluation parameter acquisition module is used to acquire the power of the compressor and the speed data corresponding to the power at the second moment, and obtain the second evaluation parameters. The data mutation judgment module is used to determine whether a data mutation has occurred based on the difference between the second evaluation parameter and the first evaluation parameter. The third evaluation parameter acquisition module is used to acquire the power and speed data corresponding to the power of the compressor within a first preset time period in response to a data mutation, and to obtain the third evaluation parameter. The power fluctuation identification module is used to determine whether a power fluctuation occurs within the first preset time period based on the third evaluation parameter, and if a power fluctuation occurs, to count the number of power fluctuations within the second preset time period. The surge detection module is used to determine that the compressor has experienced surge when the number of fluctuations exceeds the fluctuation threshold number within the second preset time period; otherwise, it determines that the compressor has not experienced surge.
[0013] In another aspect, a computer device is 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 perform the following steps: Obtain the compressor's power and corresponding speed data at the first moment to obtain the first evaluation parameter; The power of the compressor and the corresponding speed data at the second moment are obtained to obtain the second evaluation parameter; Based on the difference between the second evaluation parameter and the first evaluation parameter, determine whether a data mutation has occurred; In response to a sudden data change, the power of the compressor and the speed data corresponding to the power are acquired within a first preset time period to obtain a third evaluation parameter; Based on the third evaluation parameter, determine whether power fluctuation occurs within the first preset time period. If power fluctuation occurs, count the number of power fluctuations within the second preset time period. If the number of fluctuations within the second preset time period exceeds the fluctuation threshold, it is determined that the compressor has experienced surge; otherwise, it is determined that the compressor has not experienced surge.
[0014] In another aspect, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps: Obtain the compressor's power and corresponding speed data at the first moment to obtain the first evaluation parameter; The power of the compressor and the corresponding speed data at the second moment are obtained to obtain the second evaluation parameter; Based on the difference between the second evaluation parameter and the first evaluation parameter, determine whether a data mutation has occurred; In response to a sudden data change, the power of the compressor and the speed data corresponding to the power are acquired within a first preset time period to obtain a third evaluation parameter; Based on the third evaluation parameter, determine whether power fluctuation occurs within the first preset time period. If power fluctuation occurs, count the number of power fluctuations within the second preset time period. If the number of fluctuations within the second preset time period exceeds the fluctuation threshold, it is determined that the compressor has experienced surge; otherwise, it is determined that the compressor has not experienced surge.
[0015] The aforementioned surge detection method, device, computer equipment, and storage medium first determine whether there are sudden changes in the compressor's power and corresponding speed data. If a sudden change occurs, it further determines whether there is a power fluctuation. If a power fluctuation occurs, it counts the number of power fluctuations. Based on the count of power fluctuations, it determines whether the compressor is experiencing surge. This improves the accuracy of compressor detection and is objective and accurate. Surge detection of the compressor can be performed through control software, reducing investment costs. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a flowchart illustrating a surge detection method in one embodiment of this application; Figure 2 This is a schematic diagram of the power fluctuation judgment process in one embodiment of this application; Figure 3 This is a structural block diagram of a surge detection device in one embodiment of this application; Figure 4 This is an internal structural diagram of a computer device in one embodiment of this application. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0019] As described in the background section... To address the aforementioned issues, this invention presents a novel method for judging compressor surge. The overall approach to surge judgment is as follows: under steady-state speed conditions, if the percentage of continuous power fluctuation exceeds a certain value, it is judged as surge; surge judgment is not performed under dynamic speed regulation conditions; the distinction between steady-state speed and dynamic speed is defined by the rate of change of speed.
[0020] In one embodiment, such as Figure 1 As shown, a method for judging compressor surge is provided, including the following steps: Step S1: Obtain the compressor power and corresponding speed data at the first moment to obtain the first evaluation parameter; Step S2: Obtain the power of the compressor and the speed data corresponding to the power at the second moment to obtain the second evaluation parameter; Step S3: Determine whether a data mutation has occurred based on the difference between the second evaluation parameter and the first evaluation parameter; Step S4: In response to a data mutation, the power of the compressor and the speed data corresponding to the power are acquired within a first preset time period to obtain the third evaluation parameter; Step S5: Determine whether power fluctuation occurs within the first preset time period based on the third evaluation parameter; if power fluctuation occurs, count the number of power fluctuations within the second preset time period. Step S6: If the number of fluctuations within the second preset time period exceeds the fluctuation threshold number, it is determined that the compressor has experienced surge; otherwise, it is determined that the compressor has not experienced surge.
[0021] The first preset time period is preferably 1 minute, the second preset time period is preferably 3 minutes, and the number of fluctuation thresholds is preferably 6 times.
[0022] Specifically, by first determining whether there are sudden changes in the compressor's power and corresponding speed data, and then further determining whether there are power fluctuations when data changes occur, the number of power fluctuations is counted. Based on the count of power fluctuations, it is determined whether the compressor is experiencing surge. This improves the accuracy of compressor judgment and is objective and accurate. The surge of the compressor can be judged by the control software, reducing investment costs.
[0023] In this embodiment, the step of acquiring the compressor's power and corresponding rotational speed data within a first preset time period in response to a data mutation, and obtaining the third evaluation parameter, includes: In response to a data mutation, the first preset time period is divided into multiple consecutive fluctuation confirmation time periods. According to the order of the fluctuation confirmation time period, the minimum power value MinPow and the maximum power value MaxPow are obtained in each fluctuation confirmation time period. The minimum speed MinPowSpd corresponding to the minimum power value MinPow is obtained, and the maximum speed MaxPowSpd corresponding to the maximum power value MaxPow is obtained. The minimum power value MinPow, the maximum power value MaxPow, the minimum rotational speed MinPowSpd, and the maximum rotational speed MaxPowSpd obtained within each fluctuation confirmation period are used as the third evaluation parameters.
[0024] In this embodiment, the step of determining whether power fluctuations occur within the first preset time period based on the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuations occur, includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation period is less than or equal to the power change ratio threshold, it is determined that the power did not fluctuate within the target fluctuation confirmation period. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation period is greater than the power change ratio threshold, it is determined whether |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold during the target fluctuation confirmation period. If so, it is determined that the power fluctuated once during the target fluctuation confirmation period; otherwise, it is determined that the power did not fluctuate once during the target fluctuation confirmation period. In response to the determination that no fluctuation occurred within the target fluctuation confirmation time period, a second fluctuation determination is performed within the fluctuation confirmation time period following the target fluctuation confirmation time period, and so on. If a fluctuation occurs within the first preset time period, the next step is executed; if no fluctuation occurs within the first preset time period, the process ends. In response to the determination that a fluctuation occurs within the target fluctuation confirmation time period, a power fluctuation judgment is performed within a second preset time period after the target fluctuation confirmation time period. The total fluctuation duration of the power fluctuations occurring within the second preset time period after the target fluctuation confirmation time period is counted. If the total fluctuation duration is greater than the duration threshold, the power fluctuation count is kept unchanged. Otherwise, it is determined whether a power fluctuation has occurred and the total fluctuation duration is recalculated. If a power fluctuation occurs, the power fluctuation count is incremented by one. Otherwise, it is determined that no power fluctuation has occurred within the second preset time period and the total fluctuation duration is recalculated. The number of power fluctuations occurring within the second preset time period is counted. If the number of power fluctuations occurring within the second preset time period is greater than the fluctuation count threshold, the surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recalculated.
[0025] Understandably, within the fluctuation confirmation period (1 minute), the minimum and maximum values of power Pow (MinPow and MaxPow), as well as the corresponding engine speeds (MinPowSpd and MaxPowSpd), are detected. If the power change (MaxPow - MinPow) / (MaxPow + MinPow) > 10% (power change percentage threshold), and |MaxPowSpd - MinPowSpd| < 5000 rpm (engine speed threshold), then a power fluctuation is considered to have occurred. If |MaxPowSpd - MinPowSpd| > 5000 rpm (engine speed threshold), then dynamic speed regulation is considered, and no fluctuation judgment is made. Once a fluctuation is detected, a second fluctuation judgment is immediately performed; and so on.
[0026] like Figure 2 As shown, when judging power fluctuations within a second preset time period after the target fluctuation confirmation time period, the total fluctuation duration Timer of power fluctuations occurring within the second preset time period after the target fluctuation confirmation time period is counted. When the total fluctuation duration Timer is greater than the duration threshold Tfluct, the power fluctuation count FluctNum is kept unchanged; otherwise, it is determined whether a power fluctuation has occurred and the total fluctuation duration Timer is recalculated. When a power fluctuation occurs, the power fluctuation count FluctNum is incremented by one; otherwise, it is determined that no power fluctuation has occurred within the second preset time period and the total fluctuation duration Timer is recalculated. The power fluctuation count FluctNum occurring within the second preset time period is counted. When the power fluctuation count FluctNum occurring within the second preset time period is greater than the fluctuation count threshold FluctNumTh, the surge flag is set; otherwise, the surge flag is cleared and the total fluctuation duration Timer is recalculated.
[0027] In this embodiment, the step of determining that the compressor has experienced surge when the number of fluctuations within the second preset time period exceeds a fluctuation threshold, and otherwise determining that the compressor has not experienced surge, includes: The surge level of the compressor is set to include high-risk, medium-risk, and low-risk levels; In response to the number of fluctuations exceeding the fluctuation threshold within the second preset time period, the number of consecutive power fluctuations within the second preset time period is counted. When the number of consecutive power fluctuations counted within the second preset time period exceeds the first threshold, the surge level of the compressor is determined to be high-risk. When the number of consecutive power fluctuations counted within the second preset time period is less than the second threshold, the surge level of the compressor is determined to be low-risk. When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, the surge level of the compressor is determined to be medium risk. A warning message is issued based on the surge level of the compressor.
[0028] The compressor's condition can be reasonably determined based on different surge levels. Furthermore, judging the surge level based on the number of consecutive power fluctuations can reduce the impact of occasional surges. The surge level of the compressor can be accurately assessed based on the frequency of surge occurrences, providing accurate feedback on the compressor's condition.
[0029] In this embodiment, counting the number of consecutive power fluctuations within the second preset time period includes: The second preset time period is divided into multiple consecutive fluctuation statistical time periods. The cumulative fluctuation count is set to a default value of one. In each fluctuation statistics period, it is determined whether a power fluctuation occurs. If a power fluctuation occurs, the cumulative fluctuation count is incremented by one. If no power fluctuation occurs, the cumulative fluctuation count is decremented by one. The cumulative number of fluctuations is taken as the number of consecutive power fluctuations within the second preset time period.
[0030] Understandably, after a fluctuation occurs, a surge confirmation timer is started. Within a second preset time period (3 minutes), if the number of fluctuations exceeds the fluctuation threshold (6 times), a surge is considered to have occurred, and a surge warning flag is output from the CAN bus (fault frame bit 59). If the number of fluctuations does not reach the fluctuation threshold (6 times) within the second preset time period, then if no fluctuation occurs within each fluctuation statistics time (1 minute), the cumulative fluctuation count is decremented by 1. When the next fluctuation occurs, the surge confirmation timer is restarted, and the current cumulative fluctuation count is incremented by 1.
[0031] In this embodiment, determining whether power fluctuations occur within each fluctuation statistical time period includes: Within the target fluctuation statistical period, obtain the minimum power value MinPow and the maximum power value MaxPow, obtain the minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtain the maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold within the target fluctuation statistical period, it is determined that power fluctuation has occurred within the target fluctuation statistical period; otherwise, it is determined that no power fluctuation has occurred within the target fluctuation statistical period.
[0032] In this embodiment, the compressor surge detection method further includes: A first evaluation weight is obtained based on the first evaluation parameter, and a first path health evaluation model is constructed based on the first evaluation weight. In response to the determination that the compressor has not experienced a data mutation, the first path health evaluation model is used to evaluate the health of the compressor. In response to the determination that the compressor has experienced a data mutation, the first evaluation weight is updated to form a second evaluation weight, and a second path health evaluation model is constructed based on the second evaluation weight. The health of the compressor is then evaluated using the second path health evaluation model. In response to the compressor's health status being greater than or equal to a first health threshold, the compressor is controlled according to a first control strategy; In response to the compressor's health level being less than a first health threshold, the compressor is controlled according to a second control strategy, an isolation flag is set for the compressor, and several consecutive risk assessments are performed. If the feedback results of the continuous risk assessment of the compressor are all normal, the health of the compressor is reassessed using the first path health evaluation model. If the health of the compressor is greater than or equal to the second health threshold, the isolation label is removed from the compressor.
[0033] In the above surge detection method, the compressor power and corresponding speed data are first checked for sudden changes. If a sudden change occurs, the power fluctuation is further checked. If a power fluctuation occurs, the number of power fluctuations is counted. Based on the count of power fluctuations, the compressor surge is determined. This method can improve the accuracy of compressor detection and is objective and accurate. The surge of the compressor can be detected by control software, reducing investment costs.
[0034] In one embodiment, such as Figure 3 As shown, a compressor surge detection device 10 is provided, including: a first evaluation parameter acquisition module 1, a second evaluation parameter acquisition module 2, a data mutation detection module 3, a third evaluation parameter acquisition module 4, a power fluctuation identification module 5, and a surge detection module 6.
[0035] The first evaluation parameter acquisition module 1 is used to acquire the compressor power and the corresponding speed data at the first moment to obtain the first evaluation parameter.
[0036] The second evaluation parameter acquisition module 2 is used to acquire the power of the compressor and the speed data corresponding to the power at the second moment, and obtain the second evaluation parameter.
[0037] The data mutation judgment module 3 is used to determine whether a data mutation has occurred based on the difference between the second evaluation parameter and the first evaluation parameter.
[0038] The third evaluation parameter acquisition module 4 is used to acquire the power and corresponding speed data of the compressor within a first preset time period in response to a data mutation, and obtain the third evaluation parameter.
[0039] The power fluctuation identification module 5 is used to determine whether power fluctuation occurs within the first preset time period based on the third evaluation parameter, and if power fluctuation occurs, to count the number of power fluctuations within the second preset time period.
[0040] The surge detection module 6 is used to determine that the compressor has experienced surge when the number of fluctuations exceeds the fluctuation threshold number within the second preset time period; otherwise, it determines that the compressor has not experienced surge.
[0041] In this embodiment, the step of acquiring the compressor's power and corresponding rotational speed data within a first preset time period in response to a data mutation, and obtaining the third evaluation parameter, includes: In response to a data mutation, the first preset time period is divided into multiple consecutive fluctuation confirmation time periods. According to the order of the fluctuation confirmation time period, the minimum power value MinPow and the maximum power value MaxPow are obtained in each fluctuation confirmation time period. The minimum speed MinPowSpd corresponding to the minimum power value MinPow is obtained, and the maximum speed MaxPowSpd corresponding to the maximum power value MaxPow is obtained. The minimum power value MinPow, the maximum power value MaxPow, the minimum rotational speed MinPowSpd, and the maximum rotational speed MaxPowSpd obtained within each fluctuation confirmation period are used as the third evaluation parameters.
[0042] In this embodiment, the step of determining whether power fluctuations occur within the first preset time period based on the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuations occur, includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation period is less than or equal to the power change ratio threshold, it is determined that the power did not fluctuate within the target fluctuation confirmation period. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation period is greater than the power change ratio threshold, it is determined whether |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold during the target fluctuation confirmation period. If so, it is determined that the power fluctuated once during the target fluctuation confirmation period; otherwise, it is determined that the power did not fluctuate once during the target fluctuation confirmation period. In response to the determination that no fluctuation occurred within the target fluctuation confirmation time period, a second fluctuation determination is performed within the fluctuation confirmation time period following the target fluctuation confirmation time period, and so on. If a fluctuation occurs within the first preset time period, the next step is executed; if no fluctuation occurs within the first preset time period, the process ends. In response to the determination that a fluctuation occurs within the target fluctuation confirmation time period, a power fluctuation judgment is performed within a second preset time period after the target fluctuation confirmation time period. The total fluctuation duration of the power fluctuations occurring within the second preset time period after the target fluctuation confirmation time period is counted. If the total fluctuation duration is greater than the duration threshold, the power fluctuation count is kept unchanged. Otherwise, it is determined whether a power fluctuation has occurred and the total fluctuation duration is recalculated. If a power fluctuation occurs, the power fluctuation count is incremented by one. Otherwise, it is determined that no power fluctuation has occurred within the second preset time period and the total fluctuation duration is recalculated. The number of power fluctuations occurring within the second preset time period is counted. If the number of power fluctuations occurring within the second preset time period is greater than the fluctuation count threshold, the surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recalculated.
[0043] In this embodiment, the step of determining that the compressor has experienced surge when the number of fluctuations within the second preset time period exceeds a fluctuation threshold, and otherwise determining that the compressor has not experienced surge, includes: The surge level of the compressor is set to include high-risk, medium-risk, and low-risk levels; In response to the number of fluctuations exceeding the fluctuation threshold within the second preset time period, the number of consecutive power fluctuations within the second preset time period is counted. When the number of consecutive power fluctuations counted within the second preset time period exceeds the first threshold, the surge level of the compressor is determined to be high-risk. When the number of consecutive power fluctuations counted within the second preset time period is less than the second threshold, the surge level of the compressor is determined to be low-risk. When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, the surge level of the compressor is determined to be medium risk. A warning message is issued based on the surge level of the compressor.
[0044] In this embodiment, counting the number of consecutive power fluctuations within the second preset time period includes: The second preset time period is divided into multiple consecutive fluctuation statistical time periods. The cumulative fluctuation count is set to a default value of one. In each fluctuation statistics period, it is determined whether a power fluctuation occurs. If a power fluctuation occurs, the cumulative fluctuation count is incremented by one. If no power fluctuation occurs, the cumulative fluctuation count is decremented by one. The cumulative number of fluctuations is taken as the number of consecutive power fluctuations within the second preset time period.
[0045] In this embodiment, determining whether power fluctuations occur within each fluctuation statistical time period includes: Within the target fluctuation statistical period, obtain the minimum power value MinPow and the maximum power value MaxPow, obtain the minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtain the maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold within the target fluctuation statistical period, it is determined that power fluctuation has occurred within the target fluctuation statistical period; otherwise, it is determined that no power fluctuation has occurred within the target fluctuation statistical period.
[0046] In this embodiment, as Figure 3 As shown, the compressor surge detection device 10 further includes a health assessment module 7, which is used for: A first evaluation weight is obtained based on the first evaluation parameter, and a first path health evaluation model is constructed based on the first evaluation weight. In response to the determination that the compressor has not experienced a data mutation, the first path health evaluation model is used to evaluate the health of the compressor. In response to the determination that the compressor has experienced a data mutation, the first evaluation weight is updated to form a second evaluation weight, and a second path health evaluation model is constructed based on the second evaluation weight. The health of the compressor is then evaluated using the second path health evaluation model. In response to the compressor's health status being greater than or equal to a first health threshold, the compressor is controlled according to a first control strategy; In response to the compressor's health level being less than a first health threshold, the compressor is controlled according to a second control strategy, an isolation flag is set for the compressor, and several consecutive risk assessments are performed. If the feedback results of the continuous risk assessment of the compressor are all normal, the health of the compressor is reassessed using the first path health evaluation model. If the health of the compressor is greater than or equal to the second health threshold, the isolation label is removed from the compressor.
[0047] In the above-mentioned surge detection device, the compressor power and the corresponding speed data are first judged to see if there is a sudden change in the data. When a sudden change occurs, it is further judged whether there is a power fluctuation. If there is a power fluctuation, the number of power fluctuations is counted. Based on the count of power fluctuations, it is determined whether the compressor is experiencing surge. This can improve the accuracy of compressor detection and has objectivity and accuracy. The surge of the compressor can be judged by the control software, which reduces the investment cost.
[0048] Specific limitations regarding the surge detection device can be found in the limitations of the surge detection method described above, and will not be repeated here. Each module in the aforementioned surge detection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independently of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0049] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps: Obtain the compressor's power and corresponding speed data at the first moment to obtain the first evaluation parameter; The power of the compressor and the corresponding speed data at the second moment are obtained to obtain the second evaluation parameter; Based on the difference between the second evaluation parameter and the first evaluation parameter, determine whether a data mutation has occurred; In response to a sudden data change, the power of the compressor and the speed data corresponding to the power are acquired within a first preset time period to obtain a third evaluation parameter; Based on the third evaluation parameter, determine whether power fluctuation occurs within the first preset time period. If power fluctuation occurs, count the number of power fluctuations within the second preset time period. If the number of fluctuations within the second preset time period exceeds the fluctuation threshold, it is determined that the compressor has experienced surge; otherwise, it is determined that the compressor has not experienced surge.
[0050] In one embodiment, when the computer program is executed by a processor, it also performs the following steps: In response to a data mutation, the compressor's power and corresponding rotational speed data are acquired within a first preset time period to obtain the third evaluation parameters, including: In response to a data mutation, the first preset time period is divided into multiple consecutive fluctuation confirmation time periods. According to the order of the fluctuation confirmation time period, the minimum power value MinPow and the maximum power value MaxPow are obtained in each fluctuation confirmation time period. The minimum speed MinPowSpd corresponding to the minimum power value MinPow is obtained, and the maximum speed MaxPowSpd corresponding to the maximum power value MaxPow is obtained. The minimum power value MinPow, the maximum power value MaxPow, the minimum rotational speed MinPowSpd, and the maximum rotational speed MaxPowSpd obtained within each fluctuation confirmation period are used as the third evaluation parameters.
[0051] In one embodiment, when the computer program is executed by a processor, it also performs the following steps: The step of determining whether power fluctuations occur within the first preset time period based on the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuations occur, includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation period is less than or equal to the power change ratio threshold, it is determined that the power did not fluctuate within the target fluctuation confirmation period. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation period is greater than the power change ratio threshold, it is determined whether |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold during the target fluctuation confirmation period. If so, it is determined that the power fluctuated once during the target fluctuation confirmation period; otherwise, it is determined that the power did not fluctuate once during the target fluctuation confirmation period. In response to the determination that no fluctuation occurred within the target fluctuation confirmation time period, a second fluctuation determination is performed within the fluctuation confirmation time period following the target fluctuation confirmation time period, and so on. If a fluctuation occurs within the first preset time period, the next step is executed; if no fluctuation occurs within the first preset time period, the process ends. In response to the determination that a fluctuation occurs within the target fluctuation confirmation time period, a power fluctuation judgment is performed within a second preset time period after the target fluctuation confirmation time period. The total fluctuation duration of the power fluctuations occurring within the second preset time period after the target fluctuation confirmation time period is counted. If the total fluctuation duration is greater than the duration threshold, the power fluctuation count is kept unchanged. Otherwise, it is determined whether a power fluctuation has occurred and the total fluctuation duration is recalculated. If a power fluctuation occurs, the power fluctuation count is incremented by one. Otherwise, it is determined that no power fluctuation has occurred within the second preset time period and the total fluctuation duration is recalculated. The number of power fluctuations occurring within the second preset time period is counted. If the number of power fluctuations occurring within the second preset time period is greater than the fluctuation count threshold, the surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recalculated.
[0052] In one embodiment, when the computer program is executed by a processor, it also performs the following steps: The step of determining that the compressor has experienced surge when the number of fluctuations within the second preset time period exceeds a fluctuation threshold, and otherwise determining that the compressor has not experienced surge, includes: The surge level of the compressor is set to include high-risk, medium-risk, and low-risk levels; In response to the number of fluctuations exceeding the fluctuation threshold within the second preset time period, the number of consecutive power fluctuations within the second preset time period is counted. When the number of consecutive power fluctuations counted within the second preset time period exceeds the first threshold, the surge level of the compressor is determined to be high-risk. When the number of consecutive power fluctuations counted within the second preset time period is less than the second threshold, the surge level of the compressor is determined to be low-risk. When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, the surge level of the compressor is determined to be medium risk. A warning message is issued based on the surge level of the compressor.
[0053] In one embodiment, when the computer program is executed by a processor, it also performs the following steps: The counting of consecutive power fluctuations within the second preset time period includes: The second preset time period is divided into multiple consecutive fluctuation statistical time periods. The cumulative fluctuation count is set to a default value of one. In each fluctuation statistics period, it is determined whether a power fluctuation occurs. If a power fluctuation occurs, the cumulative fluctuation count is incremented by one. If no power fluctuation occurs, the cumulative fluctuation count is decremented by one. The cumulative number of fluctuations is taken as the number of consecutive power fluctuations within the second preset time period.
[0054] In one embodiment, when the computer program is executed by a processor, it also performs the following steps: The determination of whether power fluctuations occur within each fluctuation statistical time period includes: Within the target fluctuation statistical period, obtain the minimum power value MinPow and the maximum power value MaxPow, obtain the minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtain the maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold within the target fluctuation statistical period, it is determined that power fluctuation has occurred within the target fluctuation statistical period; otherwise, it is determined that no power fluctuation has occurred within the target fluctuation statistical period.
[0055] In one embodiment, when the computer program is executed by a processor, it also performs the following steps: A first evaluation weight is obtained based on the first evaluation parameter, and a first path health evaluation model is constructed based on the first evaluation weight. In response to the determination that the compressor has not experienced a data mutation, the first path health evaluation model is used to evaluate the health of the compressor. In response to the determination that the compressor has experienced a data mutation, the first evaluation weight is updated to form a second evaluation weight, and a second path health evaluation model is constructed based on the second evaluation weight. The health of the compressor is then evaluated using the second path health evaluation model. In response to the compressor's health status being greater than or equal to a first health threshold, the compressor is controlled according to a first control strategy; In response to the compressor's health level being less than a first health threshold, the compressor is controlled according to a second control strategy, an isolation flag is set for the compressor, and several consecutive risk assessments are performed. If the feedback results of the continuous risk assessment of the compressor are all normal, the health of the compressor is reassessed using the first path health evaluation model. If the health of the compressor is greater than or equal to the second health threshold, the isolation label is removed from the compressor.
[0056] For specific limitations on the steps implemented when a computer program is executed by a processor, please refer to the limitations on the surge detection method mentioned above, which will not be repeated here.
[0057] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 4 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores surge detection data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a compressor surge detection method.
[0058] Those skilled in the art will understand that Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0059] In one embodiment, a computer device is 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 perform the following steps: Obtain the compressor's power and corresponding speed data at the first moment to obtain the first evaluation parameter; The power of the compressor and the corresponding speed data at the second moment are obtained to obtain the second evaluation parameter; Based on the difference between the second evaluation parameter and the first evaluation parameter, determine whether a data mutation has occurred; In response to a sudden data change, the power of the compressor and the speed data corresponding to the power are acquired within a first preset time period to obtain a third evaluation parameter; Based on the third evaluation parameter, determine whether power fluctuation occurs within the first preset time period. If power fluctuation occurs, count the number of power fluctuations within the second preset time period. If the number of fluctuations within the second preset time period exceeds the fluctuation threshold, it is determined that the compressor has experienced surge; otherwise, it is determined that the compressor has not experienced surge.
[0060] In one embodiment, the processor, when executing a computer program, also performs the following steps: In response to a data mutation, the compressor's power and corresponding rotational speed data are acquired within a first preset time period to obtain the third evaluation parameters, including: In response to a data mutation, the first preset time period is divided into multiple consecutive fluctuation confirmation time periods. According to the order of the fluctuation confirmation time period, the minimum power value MinPow and the maximum power value MaxPow are obtained in each fluctuation confirmation time period. The minimum speed MinPowSpd corresponding to the minimum power value MinPow is obtained, and the maximum speed MaxPowSpd corresponding to the maximum power value MaxPow is obtained. The minimum power value MinPow, the maximum power value MaxPow, the minimum rotational speed MinPowSpd, and the maximum rotational speed MaxPowSpd obtained within each fluctuation confirmation period are used as the third evaluation parameters.
[0061] In one embodiment, the processor, when executing a computer program, also performs the following steps: The step of determining whether power fluctuations occur within the first preset time period based on the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuations occur, includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation period is less than or equal to the power change ratio threshold, it is determined that the power did not fluctuate within the target fluctuation confirmation period. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation period is greater than the power change ratio threshold, it is determined whether |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold during the target fluctuation confirmation period. If so, it is determined that the power fluctuated once during the target fluctuation confirmation period; otherwise, it is determined that the power did not fluctuate once during the target fluctuation confirmation period. In response to the determination that no fluctuation occurred within the target fluctuation confirmation time period, a second fluctuation determination is performed within the fluctuation confirmation time period following the target fluctuation confirmation time period, and so on. If a fluctuation occurs within the first preset time period, the next step is executed; if no fluctuation occurs within the first preset time period, the process ends. In response to the determination that a fluctuation occurs within the target fluctuation confirmation time period, a power fluctuation judgment is performed within a second preset time period after the target fluctuation confirmation time period. The total fluctuation duration of the power fluctuations occurring within the second preset time period after the target fluctuation confirmation time period is counted. If the total fluctuation duration is greater than the duration threshold, the power fluctuation count is kept unchanged. Otherwise, it is determined whether a power fluctuation has occurred and the total fluctuation duration is recalculated. If a power fluctuation occurs, the power fluctuation count is incremented by one. Otherwise, it is determined that no power fluctuation has occurred within the second preset time period and the total fluctuation duration is recalculated. The number of power fluctuations occurring within the second preset time period is counted. If the number of power fluctuations occurring within the second preset time period is greater than the fluctuation count threshold, the surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recalculated.
[0062] In one embodiment, the processor, when executing a computer program, also performs the following steps: The step of determining that the compressor has experienced surge when the number of fluctuations within the second preset time period exceeds a fluctuation threshold, and otherwise determining that the compressor has not experienced surge, includes: The surge level of the compressor is set to include high-risk, medium-risk, and low-risk levels; In response to the number of fluctuations exceeding the fluctuation threshold within the second preset time period, the number of consecutive power fluctuations within the second preset time period is counted. When the number of consecutive power fluctuations counted within the second preset time period exceeds the first threshold, the surge level of the compressor is determined to be high-risk. When the number of consecutive power fluctuations counted within the second preset time period is less than the second threshold, the surge level of the compressor is determined to be low-risk. When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, the surge level of the compressor is determined to be medium risk. A warning message is issued based on the surge level of the compressor.
[0063] In one embodiment, the processor, when executing a computer program, also performs the following steps: The counting of consecutive power fluctuations within the second preset time period includes: The second preset time period is divided into multiple consecutive fluctuation statistical time periods. The cumulative fluctuation count is set to a default value of one. In each fluctuation statistics period, it is determined whether a power fluctuation occurs. If a power fluctuation occurs, the cumulative fluctuation count is incremented by one. If no power fluctuation occurs, the cumulative fluctuation count is decremented by one. The cumulative number of fluctuations is taken as the number of consecutive power fluctuations within the second preset time period.
[0064] In one embodiment, the processor, when executing a computer program, also performs the following steps: The determination of whether power fluctuations occur within each fluctuation statistical time period includes: Within the target fluctuation statistical period, obtain the minimum power value MinPow and the maximum power value MaxPow, obtain the minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtain the maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold within the target fluctuation statistical period, it is determined that power fluctuation has occurred within the target fluctuation statistical period; otherwise, it is determined that no power fluctuation has occurred within the target fluctuation statistical period.
[0065] In one embodiment, the processor, when executing a computer program, also performs the following steps: A first evaluation weight is obtained based on the first evaluation parameter, and a first path health evaluation model is constructed based on the first evaluation weight. In response to the determination that the compressor has not experienced a data mutation, the first path health evaluation model is used to evaluate the health of the compressor. In response to the determination that the compressor has experienced a data mutation, the first evaluation weight is updated to form a second evaluation weight, and a second path health evaluation model is constructed based on the second evaluation weight. The health of the compressor is then evaluated using the second path health evaluation model. In response to the compressor's health status being greater than or equal to a first health threshold, the compressor is controlled according to a first control strategy; In response to the compressor's health level being less than a first health threshold, the compressor is controlled according to a second control strategy, an isolation flag is set for the compressor, and several consecutive risk assessments are performed. If the feedback results of the continuous risk assessment of the compressor are all normal, the health of the compressor is reassessed using the first path health evaluation model. If the health of the compressor is greater than or equal to the second health threshold, the isolation label is removed from the compressor.
[0066] For specific limitations on the steps a processor takes when executing a computer program, please refer to the limitations on the surge detection method mentioned above, which will not be repeated here.
[0067] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor: Obtain the compressor's power and corresponding speed data at the first moment to obtain the first evaluation parameter; The power of the compressor and the corresponding speed data at the second moment are obtained to obtain the second evaluation parameter; Based on the difference between the second evaluation parameter and the first evaluation parameter, determine whether a data mutation has occurred; In response to a sudden data change, the power of the compressor and the speed data corresponding to the power are acquired within a first preset time period to obtain a third evaluation parameter; Based on the third evaluation parameter, determine whether power fluctuation occurs within the first preset time period. If power fluctuation occurs, count the number of power fluctuations within the second preset time period. If the number of fluctuations within the second preset time period exceeds the fluctuation threshold, it is determined that the compressor has experienced surge; otherwise, it is determined that the compressor has not experienced surge.
[0068] In one embodiment, when the computer program is executed by a processor, it also performs the following steps: In response to a data mutation, the compressor's power and corresponding rotational speed data are acquired within a first preset time period to obtain the third evaluation parameters, including: In response to a data mutation, the first preset time period is divided into multiple consecutive fluctuation confirmation time periods. According to the order of the fluctuation confirmation time period, the minimum power value MinPow and the maximum power value MaxPow are obtained in each fluctuation confirmation time period. The minimum speed MinPowSpd corresponding to the minimum power value MinPow is obtained, and the maximum speed MaxPowSpd corresponding to the maximum power value MaxPow is obtained. The minimum power value MinPow, the maximum power value MaxPow, the minimum rotational speed MinPowSpd, and the maximum rotational speed MaxPowSpd obtained within each fluctuation confirmation period are used as the third evaluation parameters.
[0069] In one embodiment, when the computer program is executed by a processor, it also performs the following steps: The step of determining whether power fluctuations occur within the first preset time period based on the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuations occur, includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation period is less than or equal to the power change ratio threshold, it is determined that the power did not fluctuate within the target fluctuation confirmation period. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation period is greater than the power change ratio threshold, it is determined whether |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold during the target fluctuation confirmation period. If so, it is determined that the power fluctuated once during the target fluctuation confirmation period; otherwise, it is determined that the power did not fluctuate once during the target fluctuation confirmation period. In response to the determination that no fluctuation occurred within the target fluctuation confirmation time period, a second fluctuation determination is performed within the fluctuation confirmation time period following the target fluctuation confirmation time period, and so on. If a fluctuation occurs within the first preset time period, the next step is executed; if no fluctuation occurs within the first preset time period, the process ends. In response to the determination that a fluctuation occurs within the target fluctuation confirmation time period, a power fluctuation judgment is performed within a second preset time period after the target fluctuation confirmation time period. The total fluctuation duration of the power fluctuations occurring within the second preset time period after the target fluctuation confirmation time period is counted. If the total fluctuation duration is greater than the duration threshold, the power fluctuation count is kept unchanged. Otherwise, it is determined whether a power fluctuation has occurred and the total fluctuation duration is recalculated. If a power fluctuation occurs, the power fluctuation count is incremented by one. Otherwise, it is determined that no power fluctuation has occurred within the second preset time period and the total fluctuation duration is recalculated. The number of power fluctuations occurring within the second preset time period is counted. If the number of power fluctuations occurring within the second preset time period is greater than the fluctuation count threshold, the surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recalculated.
[0070] In one embodiment, when the computer program is executed by a processor, it also performs the following steps: The step of determining that the compressor has experienced surge when the number of fluctuations within the second preset time period exceeds a fluctuation threshold, and otherwise determining that the compressor has not experienced surge, includes: The surge level of the compressor is set to include high-risk, medium-risk, and low-risk levels; In response to the number of fluctuations exceeding the fluctuation threshold within the second preset time period, the number of consecutive power fluctuations within the second preset time period is counted. When the number of consecutive power fluctuations counted within the second preset time period exceeds the first threshold, the surge level of the compressor is determined to be high-risk. When the number of consecutive power fluctuations counted within the second preset time period is less than the second threshold, the surge level of the compressor is determined to be low-risk. When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, the surge level of the compressor is determined to be medium risk. A warning message is issued based on the surge level of the compressor.
[0071] In one embodiment, when the computer program is executed by a processor, it also performs the following steps: The counting of consecutive power fluctuations within the second preset time period includes: The second preset time period is divided into multiple consecutive fluctuation statistical time periods. The cumulative fluctuation count is set to a default value of one. In each fluctuation statistics period, it is determined whether a power fluctuation occurs. If a power fluctuation occurs, the cumulative fluctuation count is incremented by one. If no power fluctuation occurs, the cumulative fluctuation count is decremented by one. The cumulative number of fluctuations is taken as the number of consecutive power fluctuations within the second preset time period.
[0072] In one embodiment, when the computer program is executed by a processor, it also performs the following steps: The determination of whether power fluctuations occur within each fluctuation statistical time period includes: Within the target fluctuation statistical period, obtain the minimum power value MinPow and the maximum power value MaxPow, obtain the minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtain the maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold within the target fluctuation statistical period, it is determined that power fluctuation has occurred within the target fluctuation statistical period; otherwise, it is determined that no power fluctuation has occurred within the target fluctuation statistical period.
[0073] In one embodiment, when the computer program is executed by a processor, it also performs the following steps: A first evaluation weight is obtained based on the first evaluation parameter, and a first path health evaluation model is constructed based on the first evaluation weight. In response to the determination that the compressor has not experienced a data mutation, the first path health evaluation model is used to evaluate the health of the compressor. In response to the determination that the compressor has experienced a data mutation, the first evaluation weight is updated to form a second evaluation weight, and a second path health evaluation model is constructed based on the second evaluation weight. The health of the compressor is then evaluated using the second path health evaluation model. In response to the compressor's health status being greater than or equal to a first health threshold, the compressor is controlled according to a first control strategy; In response to the compressor's health level being less than a first health threshold, the compressor is controlled according to a second control strategy, an isolation flag is set for the compressor, and several consecutive risk assessments are performed. If the feedback results of the continuous risk assessment of the compressor are all normal, the health of the compressor is reassessed using the first path health evaluation model. If the health of the compressor is greater than or equal to the second health threshold, the isolation label is removed from the compressor.
[0074] For specific limitations on the steps implemented when a computer program is executed by a processor, please refer to the limitations on the surge detection method mentioned above, which will not be repeated here.
[0075] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0076] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0077] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for judging compressor surge, characterized in that, include: Obtain the compressor's power and corresponding speed data at the first moment to obtain the first evaluation parameter; The power of the compressor and the corresponding speed data at the second moment are obtained to obtain the second evaluation parameter; Based on the difference between the second evaluation parameter and the first evaluation parameter, determine whether a data mutation has occurred; In response to a sudden data change, the power of the compressor and the speed data corresponding to the power are acquired within a first preset time period to obtain a third evaluation parameter; Based on the third evaluation parameter, determine whether power fluctuation occurs within the first preset time period. If power fluctuation occurs, count the number of power fluctuations within the second preset time period. If the number of fluctuations within the second preset time period exceeds the fluctuation threshold, it is determined that the compressor has experienced surge; otherwise, it is determined that the compressor has not experienced surge. The third evaluation parameter, obtained by acquiring the compressor's power and corresponding rotational speed data within a first preset time period in response to a data mutation, includes: In response to a data mutation, the first preset time period is divided into multiple consecutive fluctuation confirmation time periods. According to the order of the fluctuation confirmation time period, the minimum power value MinPow and the maximum power value MaxPow are obtained in each fluctuation confirmation time period. The minimum speed MinPowSpd corresponding to the minimum power value MinPow is obtained, and the maximum speed MaxPowSpd corresponding to the maximum power value MaxPow is obtained. The minimum power value MinPow, the maximum power value MaxPow, the minimum rotational speed MinPowSpd, and the maximum rotational speed MaxPowSpd obtained within each fluctuation confirmation period are used as the third evaluation parameters.
2. The compressor surge judgment method according to claim 1, characterized in that, The step of determining whether power fluctuations occur within the first preset time period based on the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuations occur, includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation period is less than or equal to the power change ratio threshold, it is determined that the power did not fluctuate within the target fluctuation confirmation period. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation period is greater than the power change ratio threshold, it is determined whether |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold during the target fluctuation confirmation period. If so, it is determined that the power fluctuated once during the target fluctuation confirmation period; otherwise, it is determined that the power did not fluctuate once during the target fluctuation confirmation period. In response to the determination that no fluctuation occurred within the target fluctuation confirmation time period, a second fluctuation determination is performed within the fluctuation confirmation time period following the target fluctuation confirmation time period, and so on. If a fluctuation occurs within the first preset time period, the next step is executed; if no fluctuation occurs within the first preset time period, the process ends. In response to the determination that a fluctuation occurs within the target fluctuation confirmation time period, a power fluctuation judgment is performed within a second preset time period after the target fluctuation confirmation time period. The total fluctuation duration of the power fluctuations occurring within the second preset time period after the target fluctuation confirmation time period is counted. If the total fluctuation duration is greater than the duration threshold, the power fluctuation count is kept unchanged. Otherwise, it is determined whether a power fluctuation has occurred and the total fluctuation duration is recalculated. If a power fluctuation occurs, the power fluctuation count is incremented by one. Otherwise, it is determined that no power fluctuation has occurred within the second preset time period and the total fluctuation duration is recalculated. The number of power fluctuations occurring within the second preset time period is counted. If the number of power fluctuations occurring within the second preset time period is greater than the fluctuation count threshold, the surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recalculated.
3. The compressor surge judgment method according to claim 2, characterized in that, The step of determining that the compressor has experienced surge when the number of fluctuations within the second preset time period exceeds a fluctuation threshold, and otherwise determining that the compressor has not experienced surge, includes: The surge level of the compressor is set to include high-risk, medium-risk, and low-risk levels; In response to the number of fluctuations exceeding the fluctuation threshold within the second preset time period, the number of consecutive power fluctuations within the second preset time period is counted. When the number of consecutive power fluctuations counted within the second preset time period exceeds the first threshold, the surge level of the compressor is determined to be high-risk. When the number of consecutive power fluctuations counted within the second preset time period is less than the second threshold, the surge level of the compressor is determined to be low-risk. When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, the surge level of the compressor is determined to be medium risk. A warning message is issued based on the surge level of the compressor.
4. The compressor surge judgment method according to claim 3, characterized in that, The counting of consecutive power fluctuations within the second preset time period includes: The second preset time period is divided into multiple consecutive fluctuation statistical time periods. The cumulative fluctuation count is set to a default value of one. In each fluctuation statistics period, it is determined whether a power fluctuation occurs. If a power fluctuation occurs, the cumulative fluctuation count is incremented by one. If no power fluctuation occurs, the cumulative fluctuation count is decremented by one. The cumulative number of fluctuations is taken as the number of consecutive power fluctuations within the second preset time period.
5. The compressor surge judgment method according to claim 4, characterized in that, The determination of whether power fluctuations occur within each fluctuation statistical time period includes: Within the target fluctuation statistical period, obtain the minimum power value MinPow and the maximum power value MaxPow, obtain the minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtain the maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow. When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| is less than the rotational speed threshold within the target fluctuation statistical period, it is determined that power fluctuation has occurred within the target fluctuation statistical period; otherwise, it is determined that no power fluctuation has occurred within the target fluctuation statistical period.
6. The compressor surge judgment method according to claim 1, characterized in that, The compressor surge detection method also includes: A first evaluation weight is obtained based on the first evaluation parameter, and a first path health evaluation model is constructed based on the first evaluation weight. In response to the determination that the compressor has not experienced a data mutation, the first path health evaluation model is used to evaluate the health of the compressor. In response to the determination that the compressor has experienced a data mutation, the first evaluation weight is updated to form a second evaluation weight, and a second path health evaluation model is constructed based on the second evaluation weight. The health of the compressor is then evaluated using the second path health evaluation model. In response to the compressor's health status being greater than or equal to a first health threshold, the compressor is controlled according to a first control strategy; In response to the compressor's health level being less than a first health threshold, the compressor is controlled according to a second control strategy, an isolation flag is set for the compressor, and several consecutive risk assessments are performed. If the feedback results of the continuous risk assessment of the compressor are all normal, the health of the compressor is reassessed using the first path health evaluation model. If the health of the compressor is greater than or equal to the second health threshold, the isolation label is removed from the compressor.
7. A compressor surge detection device, characterized in that, The device includes: The first evaluation parameter acquisition module is used to acquire the compressor power and the corresponding speed data at the first moment to obtain the first evaluation parameters. The second evaluation parameter acquisition module is used to acquire the power of the compressor and the speed data corresponding to the power at the second moment, and obtain the second evaluation parameters. The data mutation judgment module is used to determine whether a data mutation has occurred based on the difference between the second evaluation parameter and the first evaluation parameter. The third evaluation parameter acquisition module is used to acquire the power and corresponding speed data of the compressor within a first preset time period in response to a data mutation, and obtain a third evaluation parameter; wherein acquiring the power and corresponding speed data of the compressor within the first preset time period in response to a data mutation and obtaining the third evaluation parameter includes: dividing the first preset time period into multiple consecutive fluctuation confirmation time periods in response to a data mutation; sequentially acquiring the minimum power value MinPow and the maximum power value MaxPow within each fluctuation confirmation time period according to the order of the fluctuation confirmation time periods, acquiring the minimum speed MinPowSpd corresponding to the minimum power value MinPow, and acquiring the maximum speed MaxPowSpd corresponding to the maximum power value MaxPow; and using the minimum power value MinPow, the maximum power value MaxPow, the minimum speed MinPowSpd, and the maximum speed MaxPowSpd acquired within each fluctuation confirmation time period as the third evaluation parameter. The power fluctuation identification module is used to determine whether a power fluctuation occurs within the first preset time period based on the third evaluation parameter, and if a power fluctuation occurs, to count the number of power fluctuations within the second preset time period. The surge detection module is used to determine that the compressor has experienced surge when the number of fluctuations exceeds the fluctuation threshold number within the second preset time period; otherwise, it determines that the compressor has not experienced surge.
8. A computer 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 method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Magnetic suspension centrifugal compressor and control method and device thereof, medium and air conditioner
CN110242610A
Surge avoiding operation control system for compressor
JP2002061593A