Compressor surge judgment method and device, computer equipment and storage medium
By obtaining the power and speed data of the compressor, it is determined whether the centrifugal compressor is experiencing surge, which solves the problem of relying on manual experience in the existing technology and achieves accurate and cost-effective surge judgment.
Patent Information
- Application Number
- CN202510988414.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-17
- Publication Date
- 2025-09-12
Smart Images

Figure CN120626536A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of compressors, and in particular to a method, apparatus, computer equipment, and storage medium for determining compressor surge. Background Art
[0002] Surge is a common fault in centrifugal compressor operation. When the compressor's operating point enters the surge operating range, periodic oscillations occur between the compressor and the pipeline network, generating strong noise and vibration. In severe cases, it can even cause serious damage to the compressor and the pipeline network. Therefore, timely and accurate determination of whether a centrifugal compressor is experiencing surge is crucial to ensuring the safe and stable operation of the compressor and the pipeline network.
[0003] Currently, the primary method for determining whether a centrifugal compressor is experiencing surge is to observe changes in parameters such as compressor operating sound, inlet pressure and flow rate, and vibration amplitude. However, these methods often rely on operator experience and judgment, lacking objectivity and accuracy. The need for additional sensors, coupled with structural changes to the centrifugal compressor, increases costs. Therefore, a more accurate and reliable method for determining surge is needed. Summary of the Invention
[0004] Based on this, a compressor surge judgment method, device, computer equipment and storage medium are provided to solve the technical problem that the current judgment of whether a centrifugal compressor has surged depends on the operator's experience and judgment, which lacks objectivity and accuracy. The method enables the judgment of compressor surge to be made through control software without adding additional sensors.
[0005] In one aspect, a method for determining compressor surge is provided, the method comprising: Obtaining the power of the compressor at a first moment and speed data corresponding to the power to obtain a first evaluation parameter; Acquire the power of the compressor at a second moment and speed data corresponding to the power to obtain a second evaluation parameter; determining whether a data mutation occurs according to a difference between the second evaluation parameter and the first evaluation parameter; 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; determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and if power fluctuation occurs, counting the number of power fluctuations within a second preset time period; In response to the number of fluctuations within the second preset time period exceeding a fluctuation threshold number, it is determined that surge occurs in the compressor; otherwise, it is determined that surge does not occur in the compressor.
[0006] In one embodiment, in response to a sudden change in data, obtaining the power of the compressor and the speed data corresponding to the power within a first preset time period to obtain the third evaluation parameter includes: In response to a data mutation, dividing the first preset time period into a plurality of consecutive fluctuation confirmation time periods within the first preset time period; Obtaining a minimum power value MinPow and a maximum power value MaxPow in each fluctuation confirmation time period in sequence, obtaining a minimum rotation speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotation speed MaxPowSpd corresponding to the maximum power value MaxPow; The minimum power value MinPow, the maximum power value MaxPow, the minimum rotation speed MinPowSpd, and the maximum rotation speed MaxPowSpd obtained in each fluctuation confirmation time period are used as third evaluation parameters.
[0007] In one embodiment, determining whether power fluctuation occurs 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 fluctuation occurs, includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation time period is less than or equal to the power change ratio threshold, it is determined that the power within the target fluctuation confirmation time period has not fluctuated; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation time period is greater than the power change ratio threshold, determining whether |MaxPowSpd-MinPowSpd| is less than the speed threshold during the target fluctuation confirmation time period; If yes, it is determined that the power within the target fluctuation confirmation time period has experienced a fluctuation; if no, it is determined that the power within the target fluctuation confirmation time period has not experienced a fluctuation; In response to determining that no fluctuation occurs within the target fluctuation confirmation time period, performing a second fluctuation determination within a fluctuation confirmation time period following the target fluctuation confirmation time period, and so on, executing the next step if a fluctuation occurs within the first preset time period, and ending the process if no fluctuation occurs within the first preset time period; In response to determining 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, and the total fluctuation duration of the power fluctuation occurring within the second preset time period after the target fluctuation confirmation time period is counted. When the total fluctuation duration is greater than a duration threshold, the number of power fluctuations is controlled to remain unchanged. Otherwise, it is determined whether power fluctuations occur and the total fluctuation duration is recounted. When power fluctuations occur, the number of power fluctuations is increased by one. Otherwise, it is determined that no power fluctuation occurs within the second preset time period and the total fluctuation duration is recounted. The number of power fluctuations occurring within the second preset time period is counted. When the number of power fluctuations occurring within the second preset time period is greater than the fluctuation number threshold, a surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recounted.
[0008] In one embodiment, in response to the number of fluctuations within the second preset time period exceeding a fluctuation threshold number, determining that surge has occurred in the compressor; otherwise, determining that surge has not occurred in the compressor includes: Setting the level of surge of the compressor to include high danger level, medium danger level and low danger level; In response to the number of fluctuations in the second preset time period exceeding a fluctuation threshold number, counting the number of consecutive power fluctuations in the second preset time period; When the number of consecutive power fluctuations counted within the second preset time period is greater than a first threshold, determining that the level of surge occurring in the compressor is a high-risk level; When the number of consecutive power fluctuations counted within the second preset time period is less than a second threshold, determining that the level of surge occurring in the compressor is a low-risk level; When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, determining that the level of surge occurring in the compressor is a medium-danger level; A warning message is issued according to the surge level of the compressor.
[0009] In one embodiment, counting the number of consecutive power fluctuations within the second preset time period includes: Dividing the second preset time period into a plurality of consecutive fluctuation statistical time periods within the second preset time period; The default value of the cumulative number of fluctuations is set to one, and whether power fluctuation occurs in each fluctuation statistical time period is determined in turn. If power fluctuation occurs, the cumulative number of fluctuations is increased by one; if no power fluctuation occurs, the cumulative number of fluctuations is decreased by one; The accumulated number of fluctuations is used as the number of consecutive power fluctuations within the second preset time period.
[0010] In one embodiment, determining whether power fluctuation occurs within each fluctuation statistical time period includes: Obtaining a minimum power value MinPow and a maximum power value MaxPow within a target fluctuation statistical time period, obtaining a minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical time period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| within the target fluctuation statistical time period is less than the speed threshold, it is determined that power fluctuation occurs within the target fluctuation statistical time period; otherwise, it is determined that no power fluctuation occurs within the target fluctuation statistical time period.
[0011] In one embodiment, the compressor surge determination method further includes: obtaining a first evaluation weight according to the first evaluation parameter, constructing a first path health evaluation model according to the first evaluation weight, and in response to determining that no data mutation occurs in the compressor, evaluating the health of the compressor using the first path health evaluation model; In response to determining that a data mutation occurs in the compressor, updating the first evaluation weight to form a second evaluation weight, constructing a second path health evaluation model based on the second evaluation weight, and using the second path health evaluation model to evaluate the health of the compressor; In response to the health of the compressor being greater than or equal to a first health threshold, controlling the compressor according to a first control strategy; In response to the health of the compressor being less than a first health threshold, controlling the compressor according to a second control strategy, setting an isolation flag for the compressor, and performing several consecutive risk assessments; In response to the feedback results of the continuous risk assessment of the compressor being normal, the health of the compressor is re-evaluated 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 mark of the compressor is removed.
[0012] In another aspect, a compressor surge determination device is provided, the device comprising: A first evaluation parameter acquisition module is used to acquire the power of the compressor at a first moment and the speed data corresponding to the power to obtain a first evaluation parameter; a second evaluation parameter acquisition module, configured to acquire the power of the compressor at a second moment and speed data corresponding to the power to obtain a second evaluation parameter; a data mutation judgment module, configured to judge whether a data mutation occurs based on a difference between the second evaluation parameter and the first evaluation parameter; a third evaluation parameter acquisition module, configured to acquire the power of the compressor and the speed data corresponding to the power within a first preset time period in response to a sudden change in data, to obtain a third evaluation parameter; a power fluctuation identification module, configured 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 a second preset time period; The surge judgment module is configured to judge that surge has occurred in the compressor in response to the number of fluctuations in the second preset time period exceeding a threshold number of fluctuations, and judge that surge has not occurred in the compressor otherwise.
[0013] In another aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented: Obtaining the power of the compressor at a first moment and speed data corresponding to the power to obtain a first evaluation parameter; Acquire the power of the compressor at a second moment and speed data corresponding to the power to obtain a second evaluation parameter; determining whether a data mutation occurs according to a difference between the second evaluation parameter and the first evaluation parameter; 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; determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and if power fluctuation occurs, counting the number of power fluctuations within a second preset time period; In response to the number of fluctuations within the second preset time period exceeding a fluctuation threshold number, it is determined that surge occurs in the compressor; otherwise, it is determined that surge does not occur in the compressor.
[0014] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Obtaining the power of the compressor at a first moment and speed data corresponding to the power to obtain a first evaluation parameter; Acquire the power of the compressor at a second moment and speed data corresponding to the power to obtain a second evaluation parameter; determining whether a data mutation occurs according to a difference between the second evaluation parameter and the first evaluation parameter; 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; determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and if power fluctuation occurs, counting the number of power fluctuations within a second preset time period; In response to the number of fluctuations within the second preset time period exceeding a fluctuation threshold number, it is determined that surge occurs in the compressor; otherwise, it is determined that surge does not occur in the compressor.
[0015] The above-mentioned surge judgment method, device, computer equipment and storage medium first judge whether the power of the compressor and the speed data corresponding to the power have undergone data mutation, and further judge whether power fluctuation has occurred when the data mutation has occurred. If power fluctuation has occurred, the number of power fluctuations is counted. Based on the counted number of power fluctuations, whether the compressor has surged can be judged based on the objectivity and accuracy. The compressor surge can be judged through control software, reducing investment costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 This is a flow chart of a surge determination method in one embodiment of the present application; Figure 2 This is a schematic diagram of a process for determining power fluctuations in one embodiment of the present application; Figure 3 This is a structural block diagram of a surge determination device in one embodiment of the present application; Figure 4 This is a diagram of the internal structure of a computer device in one embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0019] As described in the background technology, To solve the above problems, a method for judging compressor surge is creatively proposed in an embodiment of the present invention. The overall idea of surge judgment is: under the condition of steady speed, when the percentage of continuous power fluctuation exceeds a certain value, it is judged as surge; no surge judgment is performed under the condition of dynamic speed regulation; the definition of steady-state speed and dynamic speed is defined by the rate of change of speed.
[0020] In one embodiment, Figure 1 As shown, a method for judging compressor surge is provided, comprising the following steps: Step S1, obtaining the power of the compressor at a first moment and the speed data corresponding to the power to obtain a first evaluation parameter; Step S2, obtaining the power of the compressor at a second moment and the speed data corresponding to the power to obtain a second evaluation parameter; Step S3, judging whether a data mutation occurs based on the difference between the second evaluation parameter and the first evaluation parameter; Step S4, in response to a sudden change in data, acquiring the power of the compressor and the speed data corresponding to the power within a first preset time period to obtain a third evaluation parameter; Step S5, determining whether power fluctuation occurs within the first preset time period based on the third evaluation parameter, and if power fluctuation occurs, counting the number of power fluctuations within a second preset time period; Step S6: In response to the number of fluctuations within the second preset time period exceeding the fluctuation threshold number, it is determined that the compressor has surged; otherwise, it is determined that the compressor has not surged.
[0021] Among them, the first preset time period is preferably 1 minute, the second preset time period is preferably 3 minutes, and the fluctuation threshold number of times is preferably 6 times.
[0022] Specifically, by first determining whether the power of the compressor and the speed data corresponding to the power have undergone data mutations, and then further determining whether power fluctuations have occurred when data mutations have occurred, and if power fluctuations have occurred, the number of power fluctuations is counted, and whether the compressor has surged is determined based on the counted number of power fluctuations. This can improve the accuracy of compressor judgment and has objectivity and accuracy. Compressor surge can be judged through control software, reducing investment costs.
[0023] In this embodiment, in response to a sudden change in data, the power of the compressor and the speed data corresponding to the power are obtained within a first preset time period to obtain the third evaluation parameter, which includes: In response to a data mutation, dividing the first preset time period into a plurality of consecutive fluctuation confirmation time periods within the first preset time period; Obtaining a minimum power value MinPow and a maximum power value MaxPow in each fluctuation confirmation time period in sequence, obtaining a minimum rotation speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotation speed MaxPowSpd corresponding to the maximum power value MaxPow; The minimum power value MinPow, the maximum power value MaxPow, the minimum rotation speed MinPowSpd, and the maximum rotation speed MaxPowSpd obtained in each fluctuation confirmation time period are used as third evaluation parameters.
[0024] In this embodiment, determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuation occurs includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation time period is less than or equal to the power change ratio threshold, it is determined that the power within the target fluctuation confirmation time period has not fluctuated; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation time period is greater than the power change ratio threshold, determining whether |MaxPowSpd-MinPowSpd| is less than the speed threshold during the target fluctuation confirmation time period; If yes, it is determined that the power within the target fluctuation confirmation time period has experienced a fluctuation; if no, it is determined that the power within the target fluctuation confirmation time period has not experienced a fluctuation; In response to determining that no fluctuation occurs within the target fluctuation confirmation time period, performing a second fluctuation determination within a fluctuation confirmation time period following the target fluctuation confirmation time period, and so on, executing the next step if a fluctuation occurs within the first preset time period, and ending the process if no fluctuation occurs within the first preset time period; In response to determining 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, and the total fluctuation duration of the power fluctuation occurring within the second preset time period after the target fluctuation confirmation time period is counted. When the total fluctuation duration is greater than a duration threshold, the number of power fluctuations is controlled to remain unchanged. Otherwise, it is determined whether power fluctuations occur and the total fluctuation duration is recounted. When power fluctuations occur, the number of power fluctuations is increased by one. Otherwise, it is determined that no power fluctuation occurs within the second preset time period and the total fluctuation duration is recounted. The number of power fluctuations occurring within the second preset time period is counted. When the number of power fluctuations occurring within the second preset time period is greater than the fluctuation number threshold, a surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recounted.
[0025] It can be understood that within the fluctuation confirmation period (1 minute), the minimum and maximum power values (MinPow and MaxPow) of Pow, as well as the corresponding speeds (MinPowSpd and MaxPowSpd), are detected. If the power change (MaxPow - MinPow) / (MaxPow + MinPow) exceeds 10% (the power change ratio threshold) and |MaxPowSpd - MinPowSpd| is less than 5000 rpm (the speed threshold), a power fluctuation is considered to have occurred. If |MaxPowSpd - MinPowSpd| is greater than 5000 rpm (the speed threshold), dynamic speed regulation is considered, and fluctuation determination is not performed. After determining a fluctuation, a second fluctuation determination is immediately performed, and so on.
[0026] like Figure 2 As shown, when power fluctuation judgment is performed within the 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 number of power fluctuations FluctNum is controlled to remain unchanged; otherwise, it is determined whether power fluctuation occurs and the total fluctuation duration Timer is re-counted; when power fluctuation occurs, the number of power fluctuations FluctNum is increased by one; otherwise, it is determined that no power fluctuation occurs within the second preset time period and the total fluctuation duration Timer is re-counted; the number of power fluctuations FluctNum occurring within the second preset time period is counted; when the number of power fluctuations FluctNum occurring within the second preset time period is greater than the fluctuation duration threshold FluctNumTh, the surge flag is set; otherwise, the surge flag is cleared and the total fluctuation duration Timer is re-counted.
[0027] In this embodiment, in response to the number of fluctuations within the second preset time period exceeding the fluctuation threshold number, determining that surge has occurred in the compressor; otherwise, determining that surge has not occurred in the compressor includes: Setting the level of surge of the compressor to include high danger level, medium danger level and low danger level; In response to the number of fluctuations in the second preset time period exceeding a fluctuation threshold number, counting the number of consecutive power fluctuations in the second preset time period; When the number of consecutive power fluctuations counted within the second preset time period is greater than a first threshold, determining that the level of surge occurring in the compressor is a high-risk level; When the number of consecutive power fluctuations counted within the second preset time period is less than a second threshold, determining that the level of surge occurring in the compressor is a low-risk level; When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, determining that the level of surge occurring in the compressor is a medium-danger level; A warning message is issued according to the surge level of the compressor.
[0028] Different surge levels provide a reasonable understanding of the compressor's condition. Furthermore, determining the surge level based on the number of consecutive power fluctuations can reduce the impact of sporadic surges. The frequency of surges can accurately assess the compressor's surge level and provide precise feedback on the compressor's condition.
[0029] In this embodiment, counting the number of consecutive power fluctuations within the second preset time period includes: Dividing the second preset time period into a plurality of consecutive fluctuation statistical time periods within the second preset time period; The default value of the cumulative number of fluctuations is set to one, and whether power fluctuation occurs in each fluctuation statistical time period is determined in turn. If power fluctuation occurs, the cumulative number of fluctuations is increased by one; if no power fluctuation occurs, the cumulative number of fluctuations is decreased by one; The accumulated number of fluctuations is used as the number of consecutive power fluctuations within the second preset time period.
[0030] It can be understood that after a surge occurs, a surge confirmation count is started. If the number of surges exceeds the surge threshold (6 times) within a second preset time period (3 minutes), a surge is considered to have occurred, and a surge warning flag is output and sent over the CAN (bit 59 of the fault frame). If the number of surges does not reach the surge threshold (6 times) within the second preset time period, the cumulative number of surges is decremented by 1 during each surge statistics period (1 minute) if no surge occurs. The next time a surge occurs, the surge confirmation count is restarted, and the current cumulative number of surges is incremented by 1.
[0031] In this embodiment, determining whether power fluctuation occurs within each fluctuation statistical time period includes: Obtaining a minimum power value MinPow and a maximum power value MaxPow within a target fluctuation statistical time period, obtaining a minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical time period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| within the target fluctuation statistical time period is less than the speed threshold, it is determined that power fluctuation occurs within the target fluctuation statistical time period; otherwise, it is determined that no power fluctuation occurs within the target fluctuation statistical time period.
[0032] In this embodiment, the compressor surge determination method further includes: obtaining a first evaluation weight according to the first evaluation parameter, constructing a first path health evaluation model according to the first evaluation weight, and in response to determining that no data mutation occurs in the compressor, evaluating the health of the compressor using the first path health evaluation model; In response to determining that a data mutation occurs in the compressor, updating the first evaluation weight to form a second evaluation weight, constructing a second path health evaluation model based on the second evaluation weight, and using the second path health evaluation model to evaluate the health of the compressor; In response to the health of the compressor being greater than or equal to a first health threshold, controlling the compressor according to a first control strategy; In response to the health of the compressor being less than a first health threshold, controlling the compressor according to a second control strategy, setting an isolation flag for the compressor, and performing several consecutive risk assessments; In response to the feedback results of the continuous risk assessment of the compressor being normal, the health of the compressor is re-evaluated 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 mark of the compressor is removed.
[0033] In the above-mentioned surge judgment method, the power of the compressor and the speed data corresponding to the power are first judged whether a data mutation occurs. When a data mutation occurs, it is further judged whether a power fluctuation occurs. If a power fluctuation occurs, the number of power fluctuations is counted. Based on the counted number of power fluctuations, it is determined whether the compressor surges. This can improve the judgment accuracy of the compressor and has objectivity and accuracy. The compressor surge can be judged through the control software, reducing the investment cost.
[0034] In one embodiment, Figure 3 As shown, a compressor surge judgment device 10 is provided, including: a first evaluation parameter acquisition module 1, a second evaluation parameter acquisition module 2, a data mutation judgment module 3, a third evaluation parameter acquisition module 4, a power fluctuation identification module 5 and a surge judgment module 6.
[0035] The first evaluation parameter acquisition module 1 is used to acquire the power of the compressor at a first moment and the speed data corresponding to the power to obtain a first evaluation parameter.
[0036] The second evaluation parameter acquisition module 2 is used to acquire the power of the compressor at a second moment and the speed data corresponding to the power to obtain a second evaluation parameter;.
[0037] The data mutation judgment module 3 is used to judge whether a data mutation occurs according to the difference between the second evaluation parameter and the first evaluation parameter.
[0038] The third evaluation parameter acquisition module 4 is configured to acquire the power of the compressor and the speed data corresponding to the power within a first preset time period in response to a sudden change in data, to obtain a third evaluation parameter.
[0039] The power fluctuation identification module 5 is configured to determine whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and if power fluctuation occurs, to count the number of power fluctuations within a second preset time period.
[0040] The surge judgment module 6 is configured to judge that surge has occurred in the compressor in response to the number of fluctuations within the second preset time period exceeding a threshold number of fluctuations, and to judge that surge has not occurred in the compressor otherwise.
[0041] In this embodiment, in response to a sudden change in data, the power of the compressor and the speed data corresponding to the power are obtained within a first preset time period to obtain the third evaluation parameter, which includes: In response to a data mutation, dividing the first preset time period into a plurality of consecutive fluctuation confirmation time periods within the first preset time period; Obtaining a minimum power value MinPow and a maximum power value MaxPow in each fluctuation confirmation time period in sequence, obtaining a minimum rotation speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotation speed MaxPowSpd corresponding to the maximum power value MaxPow; The minimum power value MinPow, the maximum power value MaxPow, the minimum rotation speed MinPowSpd, and the maximum rotation speed MaxPowSpd obtained in each fluctuation confirmation time period are used as third evaluation parameters.
[0042] In this embodiment, determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuation occurs includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation time period is less than or equal to the power change ratio threshold, it is determined that the power within the target fluctuation confirmation time period has not fluctuated; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation time period is greater than the power change ratio threshold, determining whether |MaxPowSpd-MinPowSpd| is less than the speed threshold during the target fluctuation confirmation time period; If yes, it is determined that the power within the target fluctuation confirmation time period has experienced a fluctuation; if no, it is determined that the power within the target fluctuation confirmation time period has not experienced a fluctuation; In response to determining that no fluctuation occurs within the target fluctuation confirmation time period, performing a second fluctuation determination within a fluctuation confirmation time period following the target fluctuation confirmation time period, and so on, executing the next step if a fluctuation occurs within the first preset time period, and ending the process if no fluctuation occurs within the first preset time period; In response to determining 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, and the total fluctuation duration of the power fluctuation occurring within the second preset time period after the target fluctuation confirmation time period is counted. When the total fluctuation duration is greater than a duration threshold, the number of power fluctuations is controlled to remain unchanged. Otherwise, it is determined whether power fluctuations occur and the total fluctuation duration is recounted. When power fluctuations occur, the number of power fluctuations is increased by one. Otherwise, it is determined that no power fluctuation occurs within the second preset time period and the total fluctuation duration is recounted. The number of power fluctuations occurring within the second preset time period is counted. When the number of power fluctuations occurring within the second preset time period is greater than the fluctuation number threshold, a surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recounted.
[0043] In this embodiment, in response to the number of fluctuations within the second preset time period exceeding the fluctuation threshold number, determining that surge has occurred in the compressor; otherwise, determining that surge has not occurred in the compressor includes: Setting the level of surge of the compressor to include high danger level, medium danger level and low danger level; In response to the number of fluctuations in the second preset time period exceeding a fluctuation threshold number, counting the number of consecutive power fluctuations in the second preset time period; When the number of consecutive power fluctuations counted within the second preset time period is greater than a first threshold, determining that the level of surge occurring in the compressor is a high-risk level; When the number of consecutive power fluctuations counted within the second preset time period is less than a second threshold, determining that the level of surge occurring in the compressor is a low-risk level; When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, determining that the level of surge occurring in the compressor is a medium-danger level; A warning message is issued according to the surge level of the compressor.
[0044] In this embodiment, counting the number of consecutive power fluctuations within the second preset time period includes: Dividing the second preset time period into a plurality of consecutive fluctuation statistical time periods within the second preset time period; The default value of the cumulative number of fluctuations is set to one, and whether power fluctuation occurs in each fluctuation statistical time period is determined in turn. If power fluctuation occurs, the cumulative number of fluctuations is increased by one; if no power fluctuation occurs, the cumulative number of fluctuations is decreased by one; The accumulated number of fluctuations is used as the number of consecutive power fluctuations within the second preset time period.
[0045] In this embodiment, determining whether power fluctuation occurs within each fluctuation statistical time period includes: Obtaining a minimum power value MinPow and a maximum power value MaxPow within a target fluctuation statistical time period, obtaining a minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical time period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| within the target fluctuation statistical time period is less than the speed threshold, it is determined that power fluctuation occurs within the target fluctuation statistical time period; otherwise, it is determined that no power fluctuation occurs within the target fluctuation statistical time period.
[0046] In this embodiment, if Figure 3 As shown, the compressor surge judgment device 10 further includes a health evaluation module 7, and the health evaluation module 7 is used to: obtaining a first evaluation weight according to the first evaluation parameter, constructing a first path health evaluation model according to the first evaluation weight, and in response to determining that no data mutation occurs in the compressor, evaluating the health of the compressor using the first path health evaluation model; In response to determining that a data mutation occurs in the compressor, updating the first evaluation weight to form a second evaluation weight, constructing a second path health evaluation model based on the second evaluation weight, and using the second path health evaluation model to evaluate the health of the compressor; In response to the health of the compressor being greater than or equal to a first health threshold, controlling the compressor according to a first control strategy; In response to the health of the compressor being less than a first health threshold, controlling the compressor according to a second control strategy, setting an isolation flag for the compressor, and performing several consecutive risk assessments; In response to the feedback results of the continuous risk assessment of the compressor being normal, the health of the compressor is re-evaluated 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 mark of the compressor is removed.
[0047] In the above-mentioned surge judgment device, it is first judged whether the power of the compressor and the speed data corresponding to the power have a data mutation, and then it is further judged whether power fluctuation occurs when the data mutation occurs. If power fluctuation occurs, the number of power fluctuations is counted. Based on the counted number of power fluctuations, it is judged whether the compressor has surged. This can improve the judgment accuracy of the compressor and has objectivity and accuracy. The compressor surge can be judged through the control software, reducing the investment cost.
[0048] The specific definition of the surge determination device can be found in the definition of the surge determination method above and will not be repeated here. Each module in the aforementioned surge determination device may be implemented in whole or in part via software, hardware, or a combination thereof. Each module may be embedded in or independent of a processor in a computer device in hardware form, or may be stored in a computer device memory 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, comprising a computer program, which, when executed by a processor, implements the following steps: Obtaining the power of the compressor at a first moment and speed data corresponding to the power to obtain a first evaluation parameter; Acquire the power of the compressor at a second moment and speed data corresponding to the power to obtain a second evaluation parameter; determining whether a data mutation occurs according to a difference between the second evaluation parameter and the first evaluation parameter; 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; determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and if power fluctuation occurs, counting the number of power fluctuations within a second preset time period; In response to the number of fluctuations within the second preset time period exceeding a fluctuation threshold number, it is determined that surge occurs in the compressor; otherwise, it is determined that surge does not occur in the compressor.
[0050] In one embodiment, the computer program further performs the following steps when executed by a processor: In response to a sudden change in data, 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, which includes: In response to a data mutation, dividing the first preset time period into a plurality of consecutive fluctuation confirmation time periods within the first preset time period; Obtaining a minimum power value MinPow and a maximum power value MaxPow in each fluctuation confirmation time period in sequence, obtaining a minimum rotation speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotation speed MaxPowSpd corresponding to the maximum power value MaxPow; The minimum power value MinPow, the maximum power value MaxPow, the minimum rotation speed MinPowSpd, and the maximum rotation speed MaxPowSpd obtained in each fluctuation confirmation time period are used as third evaluation parameters.
[0051] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: The determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuation occurs, includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation time period is less than or equal to the power change ratio threshold, it is determined that the power within the target fluctuation confirmation time period has not fluctuated; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation time period is greater than the power change ratio threshold, determining whether |MaxPowSpd-MinPowSpd| is less than the speed threshold during the target fluctuation confirmation time period; If yes, it is determined that the power within the target fluctuation confirmation time period has experienced a fluctuation; if no, it is determined that the power within the target fluctuation confirmation time period has not experienced a fluctuation; In response to determining that no fluctuation occurs within the target fluctuation confirmation time period, performing a second fluctuation determination within a fluctuation confirmation time period following the target fluctuation confirmation time period, and so on, executing the next step if a fluctuation occurs within the first preset time period, and ending the process if no fluctuation occurs within the first preset time period; In response to determining 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, and the total fluctuation duration of the power fluctuation occurring within the second preset time period after the target fluctuation confirmation time period is counted. When the total fluctuation duration is greater than a duration threshold, the number of power fluctuations is controlled to remain unchanged. Otherwise, it is determined whether power fluctuations occur and the total fluctuation duration is recounted. When power fluctuations occur, the number of power fluctuations is increased by one. Otherwise, it is determined that no power fluctuation occurs within the second preset time period and the total fluctuation duration is recounted. The number of power fluctuations occurring within the second preset time period is counted. When the number of power fluctuations occurring within the second preset time period is greater than the fluctuation number threshold, a surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recounted.
[0052] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: In response to the number of fluctuations within the second preset time period exceeding a fluctuation threshold number, determining that surge has occurred in the compressor; otherwise, determining that surge has not occurred in the compressor includes: Setting the level of surge of the compressor to include high danger level, medium danger level and low danger level; In response to the number of fluctuations in the second preset time period exceeding a fluctuation threshold number, counting the number of consecutive power fluctuations in the second preset time period; When the number of consecutive power fluctuations counted within the second preset time period is greater than a first threshold, determining that the level of surge occurring in the compressor is a high-risk level; When the number of consecutive power fluctuations counted within the second preset time period is less than a second threshold, determining that the level of surge occurring in the compressor is a low-risk level; When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, determining that the level of surge occurring in the compressor is a medium-danger level; A warning message is issued according to the surge level of the compressor.
[0053] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: The counting of the number of consecutive power fluctuations within the second preset time period includes: Dividing the second preset time period into a plurality of consecutive fluctuation statistical time periods within the second preset time period; The default value of the cumulative number of fluctuations is set to one, and whether power fluctuation occurs in each fluctuation statistical time period is determined in turn. If power fluctuation occurs, the cumulative number of fluctuations is increased by one; if no power fluctuation occurs, the cumulative number of fluctuations is decreased by one; The accumulated number of fluctuations is used 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, the following steps are further implemented: The determining whether power fluctuation occurs within each fluctuation statistical time period includes: Obtaining a minimum power value MinPow and a maximum power value MaxPow within a target fluctuation statistical time period, obtaining a minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical time period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| within the target fluctuation statistical time period is less than the speed threshold, it is determined that power fluctuation occurs within the target fluctuation statistical time period; otherwise, it is determined that no power fluctuation occurs within the target fluctuation statistical time period.
[0055] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: obtaining a first evaluation weight according to the first evaluation parameter, constructing a first path health evaluation model according to the first evaluation weight, and in response to determining that no data mutation occurs in the compressor, evaluating the health of the compressor using the first path health evaluation model; In response to determining that a data mutation occurs in the compressor, updating the first evaluation weight to form a second evaluation weight, constructing a second path health evaluation model based on the second evaluation weight, and using the second path health evaluation model to evaluate the health of the compressor; In response to the health of the compressor being greater than or equal to a first health threshold, controlling the compressor according to a first control strategy; In response to the health of the compressor being less than a first health threshold, controlling the compressor according to a second control strategy, setting an isolation flag for the compressor, and performing several consecutive risk assessments; In response to the feedback results of the continuous risk assessment of the compressor being normal, the health of the compressor is re-evaluated 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 mark of the compressor is removed.
[0056] For specific limitations on the steps implemented when the computer program is executed by the processor, please refer to the limitations on the surge determination method above, which will not be repeated here.
[0057] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store surge judgment data. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a compressor surge judgment method is implemented.
[0058] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[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. When the processor executes the computer program, the following steps are performed: Obtaining the power of the compressor at a first moment and speed data corresponding to the power to obtain a first evaluation parameter; Acquire the power of the compressor at a second moment and speed data corresponding to the power to obtain a second evaluation parameter; determining whether a data mutation occurs according to a difference between the second evaluation parameter and the first evaluation parameter; 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; determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and if power fluctuation occurs, counting the number of power fluctuations within a second preset time period; In response to the number of fluctuations within the second preset time period exceeding a fluctuation threshold number, it is determined that surge occurs in the compressor; otherwise, it is determined that surge does not occur in the compressor.
[0060] In one embodiment, when the processor executes the computer program, the processor further implements the following steps: In response to a sudden change in data, 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, which includes: In response to a data mutation, dividing the first preset time period into a plurality of consecutive fluctuation confirmation time periods within the first preset time period; Obtaining a minimum power value MinPow and a maximum power value MaxPow in each fluctuation confirmation time period in sequence, obtaining a minimum rotation speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotation speed MaxPowSpd corresponding to the maximum power value MaxPow; The minimum power value MinPow, the maximum power value MaxPow, the minimum rotation speed MinPowSpd, and the maximum rotation speed MaxPowSpd obtained in each fluctuation confirmation time period are used as third evaluation parameters.
[0061] In one embodiment, when the processor executes the computer program, the processor further implements the following steps: The determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuation occurs, includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation time period is less than or equal to the power change ratio threshold, it is determined that the power within the target fluctuation confirmation time period has not fluctuated; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation time period is greater than the power change ratio threshold, determining whether |MaxPowSpd-MinPowSpd| is less than the speed threshold during the target fluctuation confirmation time period; If yes, it is determined that the power within the target fluctuation confirmation time period has experienced a fluctuation; if no, it is determined that the power within the target fluctuation confirmation time period has not experienced a fluctuation; In response to determining that no fluctuation occurs within the target fluctuation confirmation time period, performing a second fluctuation determination within a fluctuation confirmation time period following the target fluctuation confirmation time period, and so on, executing the next step if a fluctuation occurs within the first preset time period, and ending the process if no fluctuation occurs within the first preset time period; In response to determining 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, and the total fluctuation duration of the power fluctuation occurring within the second preset time period after the target fluctuation confirmation time period is counted. When the total fluctuation duration is greater than a duration threshold, the number of power fluctuations is controlled to remain unchanged. Otherwise, it is determined whether power fluctuations occur and the total fluctuation duration is recounted. When power fluctuations occur, the number of power fluctuations is increased by one. Otherwise, it is determined that no power fluctuation occurs within the second preset time period and the total fluctuation duration is recounted. The number of power fluctuations occurring within the second preset time period is counted. When the number of power fluctuations occurring within the second preset time period is greater than the fluctuation number threshold, a surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recounted.
[0062] In one embodiment, when the processor executes the computer program, the processor further implements the following steps: In response to the number of fluctuations within the second preset time period exceeding a fluctuation threshold number, determining that surge has occurred in the compressor; otherwise, determining that surge has not occurred in the compressor includes: Setting the level of surge of the compressor to include high danger level, medium danger level and low danger level; In response to the number of fluctuations in the second preset time period exceeding a fluctuation threshold number, counting the number of consecutive power fluctuations in the second preset time period; When the number of consecutive power fluctuations counted within the second preset time period is greater than a first threshold, determining that the level of surge occurring in the compressor is a high-risk level; When the number of consecutive power fluctuations counted within the second preset time period is less than a second threshold, determining that the level of surge occurring in the compressor is a low-risk level; When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, determining that the level of surge occurring in the compressor is a medium-danger level; A warning message is issued according to the surge level of the compressor.
[0063] In one embodiment, when the processor executes the computer program, the processor further implements the following steps: The counting of the number of consecutive power fluctuations within the second preset time period includes: Dividing the second preset time period into a plurality of consecutive fluctuation statistical time periods within the second preset time period; The default value of the cumulative number of fluctuations is set to one, and whether power fluctuation occurs in each fluctuation statistical time period is determined in turn. If power fluctuation occurs, the cumulative number of fluctuations is increased by one; if no power fluctuation occurs, the cumulative number of fluctuations is decreased by one; The accumulated number of fluctuations is used as the number of consecutive power fluctuations within the second preset time period.
[0064] In one embodiment, when the processor executes the computer program, the processor further implements the following steps: The determining whether power fluctuation occurs within each fluctuation statistical time period includes: Obtaining a minimum power value MinPow and a maximum power value MaxPow within a target fluctuation statistical time period, obtaining a minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical time period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| within the target fluctuation statistical time period is less than the speed threshold, it is determined that power fluctuation occurs within the target fluctuation statistical time period; otherwise, it is determined that no power fluctuation occurs within the target fluctuation statistical time period.
[0065] In one embodiment, when the processor executes the computer program, the processor further implements the following steps: obtaining a first evaluation weight according to the first evaluation parameter, constructing a first path health evaluation model according to the first evaluation weight, and in response to determining that no data mutation occurs in the compressor, evaluating the health of the compressor using the first path health evaluation model; In response to determining that a data mutation occurs in the compressor, updating the first evaluation weight to form a second evaluation weight, constructing a second path health evaluation model based on the second evaluation weight, and using the second path health evaluation model to evaluate the health of the compressor; In response to the health of the compressor being greater than or equal to a first health threshold, controlling the compressor according to a first control strategy; In response to the health of the compressor being less than a first health threshold, controlling the compressor according to a second control strategy, setting an isolation flag for the compressor, and performing several consecutive risk assessments; In response to the feedback results of the continuous risk assessment of the compressor being normal, the health of the compressor is re-evaluated 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 mark of the compressor is removed.
[0066] For specific limitations on the steps implemented when the processor executes the computer program, please refer to the limitations on the surge judgment method above, which will not be repeated here.
[0067] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: Obtaining the power of the compressor at a first moment and speed data corresponding to the power to obtain a first evaluation parameter; Acquire the power of the compressor at a second moment and speed data corresponding to the power to obtain a second evaluation parameter; determining whether a data mutation occurs according to a difference between the second evaluation parameter and the first evaluation parameter; 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; determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and if power fluctuation occurs, counting the number of power fluctuations within a second preset time period; In response to the number of fluctuations within the second preset time period exceeding a fluctuation threshold number, it is determined that surge occurs in the compressor; otherwise, it is determined that surge does not occur in the compressor.
[0068] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: In response to a sudden change in data, 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, which includes: In response to a data mutation, dividing the first preset time period into a plurality of consecutive fluctuation confirmation time periods within the first preset time period; Obtaining a minimum power value MinPow and a maximum power value MaxPow in each fluctuation confirmation time period in sequence, obtaining a minimum rotation speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotation speed MaxPowSpd corresponding to the maximum power value MaxPow; The minimum power value MinPow, the maximum power value MaxPow, the minimum rotation speed MinPowSpd, and the maximum rotation speed MaxPowSpd obtained in each fluctuation confirmation time period are used as third evaluation parameters.
[0069] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: The determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuation occurs, includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation time period is less than or equal to the power change ratio threshold, it is determined that the power within the target fluctuation confirmation time period has not fluctuated; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation time period is greater than the power change ratio threshold, determining whether |MaxPowSpd-MinPowSpd| is less than the speed threshold during the target fluctuation confirmation time period; If yes, it is determined that the power within the target fluctuation confirmation time period has experienced a fluctuation; if no, it is determined that the power within the target fluctuation confirmation time period has not experienced a fluctuation; In response to determining that no fluctuation occurs within the target fluctuation confirmation time period, performing a second fluctuation determination within a fluctuation confirmation time period following the target fluctuation confirmation time period, and so on, executing the next step if a fluctuation occurs within the first preset time period, and ending the process if no fluctuation occurs within the first preset time period; In response to determining 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, and the total fluctuation duration of the power fluctuation occurring within the second preset time period after the target fluctuation confirmation time period is counted. When the total fluctuation duration is greater than a duration threshold, the number of power fluctuations is controlled to remain unchanged. Otherwise, it is determined whether power fluctuations occur and the total fluctuation duration is recounted. When power fluctuations occur, the number of power fluctuations is increased by one. Otherwise, it is determined that no power fluctuation occurs within the second preset time period and the total fluctuation duration is recounted. The number of power fluctuations occurring within the second preset time period is counted. When the number of power fluctuations occurring within the second preset time period is greater than the fluctuation number threshold, a surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recounted.
[0070] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: In response to the number of fluctuations within the second preset time period exceeding a fluctuation threshold number, determining that surge has occurred in the compressor; otherwise, determining that surge has not occurred in the compressor includes: Setting the level of surge of the compressor to include high danger level, medium danger level and low danger level; In response to the number of fluctuations in the second preset time period exceeding a fluctuation threshold number, counting the number of consecutive power fluctuations in the second preset time period; When the number of consecutive power fluctuations counted within the second preset time period is greater than a first threshold, determining that the level of surge occurring in the compressor is a high-risk level; When the number of consecutive power fluctuations counted within the second preset time period is less than a second threshold, determining that the level of surge occurring in the compressor is a low-risk level; When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, determining that the level of surge occurring in the compressor is a medium-danger level; A warning message is issued according to the surge level of the compressor.
[0071] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: The counting of the number of consecutive power fluctuations within the second preset time period includes: Dividing the second preset time period into a plurality of consecutive fluctuation statistical time periods within the second preset time period; The default value of the cumulative number of fluctuations is set to one, and whether power fluctuation occurs in each fluctuation statistical time period is determined in turn. If power fluctuation occurs, the cumulative number of fluctuations is increased by one; if no power fluctuation occurs, the cumulative number of fluctuations is decreased by one; The accumulated number of fluctuations is used 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, the following steps are further implemented: The determining whether power fluctuation occurs within each fluctuation statistical time period includes: Obtaining a minimum power value MinPow and a maximum power value MaxPow within a target fluctuation statistical time period, obtaining a minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical time period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| within the target fluctuation statistical time period is less than the speed threshold, it is determined that power fluctuation occurs within the target fluctuation statistical time period; otherwise, it is determined that no power fluctuation occurs within the target fluctuation statistical time period.
[0073] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: obtaining a first evaluation weight according to the first evaluation parameter, constructing a first path health evaluation model according to the first evaluation weight, and in response to determining that no data mutation occurs in the compressor, evaluating the health of the compressor using the first path health evaluation model; In response to determining that a data mutation occurs in the compressor, updating the first evaluation weight to form a second evaluation weight, constructing a second path health evaluation model based on the second evaluation weight, and using the second path health evaluation model to evaluate the health of the compressor; In response to the health of the compressor being greater than or equal to a first health threshold, controlling the compressor according to a first control strategy; In response to the health of the compressor being less than a first health threshold, controlling the compressor according to a second control strategy, setting an isolation flag for the compressor, and performing several consecutive risk assessments; In response to the feedback results of the continuous risk assessment of the compressor being normal, the health of the compressor is re-evaluated 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 mark of the compressor is removed.
[0074] For specific limitations on the steps implemented when the computer program is executed by the processor, please refer to the limitations on the surge determination method above, which will not be repeated here.
[0075] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may 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 many forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double 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 arbitrarily. To make the description concise, 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 above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A method for determining compressor surge, characterized in that: include: Obtaining the power of the compressor at a first moment and speed data corresponding to the power to obtain a first evaluation parameter; Acquire the power of the compressor at a second moment and speed data corresponding to the power to obtain a second evaluation parameter; determining whether a data mutation occurs according to a difference between the second evaluation parameter and the first evaluation parameter; 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; determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and if power fluctuation occurs, counting the number of power fluctuations within a second preset time period; In response to the number of fluctuations within the second preset time period exceeding a fluctuation threshold number, it is determined that surge occurs in the compressor; otherwise, it is determined that surge does not occur in the compressor.
2. The compressor surge judgment method according to claim 1, characterized in that: In response to a sudden change in data, 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, which includes: In response to a data mutation, dividing the first preset time period into a plurality of consecutive fluctuation confirmation time periods within the first preset time period; Obtaining a minimum power value MinPow and a maximum power value MaxPow in each fluctuation confirmation time period in sequence, obtaining a minimum rotation speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotation speed MaxPowSpd corresponding to the maximum power value MaxPow; The minimum power value MinPow, the maximum power value MaxPow, the minimum rotation speed MinPowSpd, and the maximum rotation speed MaxPowSpd obtained in each fluctuation confirmation time period are used as third evaluation parameters.
3. The compressor surge judgment method according to claim 2, characterized in that: The determining whether power fluctuation occurs within the first preset time period according to the third evaluation parameter, and counting the number of power fluctuations within the second preset time period if power fluctuation occurs, includes: When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation confirmation time period is less than or equal to the power change ratio threshold, it is determined that the power within the target fluctuation confirmation time period has not fluctuated; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) during the target fluctuation confirmation time period is greater than the power change ratio threshold, determining whether |MaxPowSpd-MinPowSpd| is less than the speed threshold during the target fluctuation confirmation time period; If yes, it is determined that the power within the target fluctuation confirmation time period has experienced a fluctuation; if no, it is determined that the power within the target fluctuation confirmation time period has not experienced a fluctuation; In response to determining that no fluctuation occurs within the target fluctuation confirmation time period, performing a second fluctuation determination within a fluctuation confirmation time period following the target fluctuation confirmation time period, and so on, executing the next step if a fluctuation occurs within the first preset time period, and ending the process if no fluctuation occurs within the first preset time period; In response to determining 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, and the total fluctuation duration of the power fluctuation occurring within the second preset time period after the target fluctuation confirmation time period is counted. When the total fluctuation duration is greater than a duration threshold, the number of power fluctuations is controlled to remain unchanged. Otherwise, it is determined whether power fluctuations occur and the total fluctuation duration is recounted. When power fluctuations occur, the number of power fluctuations is increased by one. Otherwise, it is determined that no power fluctuation occurs within the second preset time period and the total fluctuation duration is recounted. The number of power fluctuations occurring within the second preset time period is counted. When the number of power fluctuations occurring within the second preset time period is greater than the fluctuation number threshold, a surge flag is set. Otherwise, the surge flag is cleared and the total fluctuation duration is recounted.
4. The compressor surge judgment method according to claim 3, characterized in that: In response to the number of fluctuations within the second preset time period exceeding a fluctuation threshold number, determining that surge has occurred in the compressor; otherwise, determining that surge has not occurred in the compressor includes: Setting the level of surge of the compressor to include high danger level, medium danger level and low danger level; In response to the number of fluctuations in the second preset time period exceeding a fluctuation threshold number, counting the number of consecutive power fluctuations in the second preset time period; When the number of consecutive power fluctuations counted within the second preset time period is greater than a first threshold, determining that the level of surge occurring in the compressor is a high-risk level; When the number of consecutive power fluctuations counted within the second preset time period is less than a second threshold, determining that the level of surge occurring in the compressor is a low-risk level; When the number of consecutive power fluctuations counted within the second preset time period is between the first threshold and the second threshold, determining that the level of surge occurring in the compressor is a medium-danger level; A warning message is issued according to the surge level of the compressor.
5. The compressor surge judgment method according to claim 4, characterized in that: The counting of the number of consecutive power fluctuations within the second preset time period includes: Dividing the second preset time period into a plurality of consecutive fluctuation statistical time periods within the second preset time period; The default value of the cumulative number of fluctuations is set to one, and whether power fluctuation occurs in each fluctuation statistical time period is determined in turn. If power fluctuation occurs, the cumulative number of fluctuations is increased by one; if no power fluctuation occurs, the cumulative number of fluctuations is decreased by one; The accumulated number of fluctuations is used as the number of consecutive power fluctuations within the second preset time period.
6. The compressor surge judgment method according to claim 5, characterized in that: The determining whether power fluctuation occurs within each fluctuation statistical time period includes: Obtaining a minimum power value MinPow and a maximum power value MaxPow within a target fluctuation statistical time period, obtaining a minimum rotational speed MinPowSpd corresponding to the minimum power value MinPow, and obtaining a maximum rotational speed MaxPowSpd corresponding to the maximum power value MaxPow; When the power change (MaxPow-MinPow) / (MaxPow+MinPow) within the target fluctuation statistical time period is greater than the power change ratio threshold, and |MaxPowSpd-MinPowSpd| within the target fluctuation statistical time period is less than the speed threshold, it is determined that power fluctuation occurs within the target fluctuation statistical time period; otherwise, it is determined that no power fluctuation occurs within the target fluctuation statistical time period.
7. The compressor surge judgment method according to claim 1, characterized in that: The compressor surge judgment method further includes: obtaining a first evaluation weight according to the first evaluation parameter, constructing a first path health evaluation model according to the first evaluation weight, and in response to determining that no data mutation occurs in the compressor, evaluating the health of the compressor using the first path health evaluation model; In response to determining that a data mutation occurs in the compressor, updating the first evaluation weight to form a second evaluation weight, constructing a second path health evaluation model based on the second evaluation weight, and using the second path health evaluation model to evaluate the health of the compressor; In response to the health of the compressor being greater than or equal to a first health threshold, controlling the compressor according to a first control strategy; In response to the health of the compressor being less than a first health threshold, controlling the compressor according to a second control strategy, setting an isolation flag for the compressor, and performing several consecutive risk assessments; In response to the feedback results of the continuous risk assessment of the compressor being normal, the health of the compressor is re-evaluated 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 mark of the compressor is removed.
8. A compressor surge judgment device, characterized in that: The device comprises: A first evaluation parameter acquisition module is used to acquire the power of the compressor at a first moment and the speed data corresponding to the power to obtain a first evaluation parameter; a second evaluation parameter acquisition module, configured to acquire the power of the compressor at a second moment and speed data corresponding to the power to obtain a second evaluation parameter; a data mutation judgment module, configured to judge whether a data mutation occurs based on a difference between the second evaluation parameter and the first evaluation parameter; a third evaluation parameter acquisition module, configured to acquire the power of the compressor and the speed data corresponding to the power within a first preset time period in response to a sudden change in data, to obtain a third evaluation parameter; a power fluctuation identification module, configured 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 a second preset time period; The surge judgment module is configured to judge that surge has occurred in the compressor in response to the number of fluctuations in the second preset time period exceeding a threshold number of fluctuations, and judge that surge has not occurred in the compressor otherwise.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Methods and apparatuses for detecting surge in centrifugal compressors
CA2251054A1
Magnetic suspension centrifugal compressor and control method and device thereof, medium and air conditioner
CN110242610A
Surge detection method and device of compressor and electronic equipment
CN116447155A
Surge avoiding operation control system for compressor
JP2002061593A
Extrapolation method of low rotational speed characteristic of compressor
US20170306970A1