1. Introduction
Stringent environmental reforms and enforced low carbon footprint stimulated interest towards emission-free green power generation. Factors such as high efficiency, low noise, good dynamic response and low aggression to environment elevated the research focus on proton exchange membrane (PEM) fuel cell in recent years [
1,
2]. Furthermore, almost all automobile manufacturers in the world have paid great attention to mastering PEM fuel cell technology [
3].
PEM fuel cell is a device that generates electricity through the electrochemical reaction of hydrogen and oxygen [
4,
5]. It can be divided into the following four subsystems, including the stack system, the air supply subsystem, the hydrogen supply subsystem, and the hydrothermal management subsystem, as shown in
Figure 1. The air supply subsystem provides air with appropriate flow and pressure for the electrochemical reaction, and its function mainly depends on compressing air by compressor. When the air supply system is not enough to support the normal electrochemical reaction, the fuel cell system will have a gas starvation failure, which will affect the performance output of the fuel cell stack [
6,
7]. The air compressor is a key component for supercharging in the fuel cell air supply system, and it is also the most energy-consuming component. Generally speaking, about 20% of the power generated by the fuel cell system is used to drive the air compressor [
8]. Therefore, choosing a suitable air compressor has a vital impact on improving the overall performance of the fuel cell system.
To date, there are two main types of air compressors often used in fuel cell systems, screw air compressors and centrifugal air compressors [
9]. Among them, centrifugal air compressors have become more attractive in recent years due to their simplicity, compactness, higher efficiency, and lower prices [
10,
11,
12].
However, centrifugal air compressors may cause damaging surge under small flow conditions [
13,
14,
15,
16]. During the operation, when the inlet flow rate is reduced to a certain value, the gas will not be able to adhere to the rotating impeller, resulting in the phenomenon of rotating separation. After separating, the pressure in air compressor cavity will drop because the gas cannot be pushed by the impeller. At this time, the higher pressure gas at the outlet side will flow back into the cavity due to the pressure difference. When the flow of the air compressor is replenished, the impeller can restore the ability to do work on the gas and discharge the inverted air flow again. If the gas flow supply at the inlet cannot keep up, it will cause the pressure in the cavity to continue to drop, and repeat the above abnormal process. This phenomenon is the surge of the centrifugal air compressor.
The surge failure will have an adverse effect on the air compressor itself. For example, due to strong pulsation and periodic oscillation, the impeller vibrates strongly, which greatly increases the stress of the impeller and increases the noise. In severe cases, bearings and seals may be damaged, which can cause serious accidents. In addition, surge will also cause the fuel cell air subsystem to supply instability, resulting in the gas starvation and a decrease in output performance of fuel cell system. Considering that in common vehicle driving cycles, idling and low-speed scenes occupy a large proportion, the fuel cell output power is small, and the required air flow rate is relatively low. At this time, this kind of small flow condition is easy to cause surge failure of the centrifugal air compressor.
Therefore, the centrifugal air compressor must be diagnosed in real time, especially when the surge trend occurs during its operation, corresponding measures should be taken to prevent the occurrence of surge in time based on the real-time diagnosis result. At present, the widely used anti-surge methods in engineering can be divided into two types, the fixed limit flow method and the variable limit flow method. The former mainly fixes a single limit flow rate [
17,
18,
19], as shown in
Figure 2, regardless of the air compressor speed and pressure ratio, when the actual flow rate is less than this limit flow value, the bypass valve located at the outlet of the centrifugal air compressor is opened. This method is suitable for centrifugal air compressors with little range of speed, because a large change in speed means a large change in flow, and the flow limit is generally set to a higher value. When the speed of the centrifugal air compressor is adjusted as needed to reduce the flow rate to below the flow limit value, the anti-surge valve is opened according to the control strategy and, at this time, part of the air is discharged through the bypass valve, which causes a waste of energy in the centrifugal air compressor. The second variable limit flow method overcomes the shortcomings of the former’s low efficiency. According to the surge line provided by the supplier, an anti-surge line containing a variable limit flow (also called a variable limit flow line) is set up [
20,
21], as shown in
Figure 3. Once the operating point of the centrifugal air compressor touches the anti-surge line, it is considered that there is a trend of surge occurrence. Based on this variable limit flow line, the controller can determine the opening and closing of the bypass valve according to the measured flow rate and pressure ratio and the position relationship of the limit flow line on the map, thereby preventing the occurrence of surge.
The initial anti-surge line is derived from the surge data obtained by the air compressor manufacturer under specific experimental conditions. However, due to factors such as different system pipelines, different operating environments, or aging of the centrifugal air compressor during engineering applications, the anti-surge line drift will occur. Therefore, in reality, it is usually necessary to measure the state of the air medium in real time through multiple pressure, flow and temperature sensors to correct the anti-surge line. At present, the surge point detect methods of centrifugal air compressors mainly focus on four methods, which are experimental detection method [
22,
23], signal processing detection method, nonlinear modeling method [
24], and artificial intelligence method [
25,
26]. Li et al. [
27] propose signal processing and pattern recognition methods to extract the characteristic information from the vibration or sound signal of the centrifugal air compressor, and train a certain neural network offline to identify the surge state or the trend of surge occurrence. However, after running for a period of time, factors such as changes in pipeline flow resistance and aging of mechanical parts can also cause the pulse spectrum and surge line of the centrifugal air compressor to drift, and the neural network model trained off-line will misjudge. In addition, the characteristic information extraction of vibration or sound signals requires an additional set of acceleration or sound wave sensors, which increases the cost and complexity of the system.
After the working point of the centrifugal air compressor approaches or enters the surge zone, the air is continuously pressed out of the cavity and then refilled, and the air outlet flow and pressure fluctuate sharply [
14,
28]. The object of this paper is to extract characteristic information from the outlet flow rate of the centrifugal air compressor by using signal analysis methods without adding additional sensors, so as to realize the purpose of real-time monitoring of the surge trend of the centrifugal air compressor, and provide a basis for the anti-surge strategy.
When the centrifugal air compressor surges, the flowrate will fluctuate, and the frequency is obviously different from that under normal conditions. Based on this feature, this paper proposes the following framework to predict the trend of surge.
- ①
The fast Fourier transform is performed on the flow signal under normal conditions and surge conditions, respectively, so as to put forward the hypothesis that the characteristic frequency of the centrifugal air compressor flowrate during surge is different from the normal time.
- ②
Based on the above assumption, the flow rate is further analyzed by complex morlet wavelet transform to perform time-frequency analysis to verify that the real-time signal processing method can find out the tendency to surge.
- ③
The same analysis on the flow signals at different speeds is done to mutually verify the accuracy of our proposed methods.
2. Theoretical Background
Fourier transform is the most widely used time–frequency conversion method, which can convert time-domain signals into frequency-domain signals. However, the traditional Fourier transform is only suitable for deterministic stationary signals. The value of the frequency domain signal
at any frequency
is determined by the value of
in the entire time domain, which means that the information of the signal
in the entire time domain must be obtained to get the full frequency
of the domain. In order to overcome the shortcomings of this global analysis, researchers introduce the window function
, and use it to perform convolution operation with the original signal to reflect the local characteristics of the original signal
. This method is called short-time Fourier transform (STFT), and its mathematical is described in Equation (
1).
After this transformation, the frequency domain function
corresponding to different time
t can be obtained. However, according to the uncertainty principle, no matter what type of window function is used, the STFT can not meet the accuracy requirements in the two dimensions of time and frequency at the same time because the product of its corresponding time uncertainty
and frequency uncertainty
is not less than a fixed value. In addition, STFT selects a fixed window, and the window width will not change during one STFT transformation, and the corresponding time resolution and frequency resolution are also fixed, and cannot be dynamically adjusted with the frequency of non-stationary signals. This means that when analyzing a section of non-stationary signal, how to choose an appropriate window width becomes very difficult. Therefore, STFT cannot meet the needs of non-stationary signal analysis [
29,
30].
The wavelet transform uses the wavelet whose amplitude gradually decays and the original data
to perform convolution calculation as shown in Equation (
2).
The type of wavelet transform depends on the type of wavelet basis function
used. According to continuity, wavelet transform can be divided into continuous wavelet transform and discrete wavelet transform, and the former is more suitable for signal feature extraction [
31]. Orthogonal wavelet function is generally used as the wavelet basis function of discrete wavelet transform, and can also be used for continuous wavelet transform [
32], while non-orthogonal wavelet functions are usually used for continuous wavelet transformation. In addition, selecting non-orthogonal complex wavelet functions can obtain the amplitude and phase characteristic information of the time domain signal in the frequency domain. When choosing the wavelet basis function, considering the vibration signal caused by the failure of common fluid machinery, it usually has the characteristics of impact attenuation [
33,
34], and the Morlet wavelet is a cosine signal with exponential attenuation on both the left and right sides. Therefore, when performing continuous wavelet transform on the output flow signal of the centrifugal air compressor, we think it is appropriate to select the non-orthogonal complex Morlet function as the wavelet basis function, and the corresponding wavelet transformation is called cmor wavelet transform for simplicity.
The wavelet basis function used in cmor wavelet transform is described in Equation (
3).
In Equation (
3), the wavelet function is obtained by multiplying a Gaussian function and a trigonometric function, where
is the bandwidth parameter and
is the center frequency. The relationship between the parameter
and the real time t is shown in Equation (
4).
2.1. Scale and Shift
In Equation (
4),
a and
b respectively represent the scale parameter and the shift parameter, and they determine the range and position of the wavelet function. As showed in
Figure 4a, the value of
a is related to the expansion and contraction of the wavelet function. When
a increases, the wavelet function is elongated, and when a decreases, the wavelet function shrinks. Therefore, the relationship among the real frequency
f of the signal, the center frequency
and the sacle parameter
a is shown in Equation (
5). As showed in
Figure 4b, the value of
b is related to the position of the wavelet function on the time axis. When
b increases, the wavelet function shifts positively on the time axis, and vice versa. It is worth mentioning that the value of
b is exactly the center time of wavelet function.
2.2. Bandwidth and Center Frequency
As mentioned earlier, the wavelet function is obtained by multiplying a trigonometric function
and a Gaussian function
. In the Equation (
6), the parameter
is related to the period of the trigonometric function, here we call it the center frequency of the wavelet function, and the ratio of it to the real frequency is equal to
a, that is, the frequency of the analyzed signal can be determined by setting the value of
a and
. In the Equation (
7), the parameter
determines the size of the Gaussian window because it corresponds to the variance of the Gaussian function and the relationship can be expressed in Equation (
8).
According to the characteristics of the Gaussian function, the larger the variance, the wider the Gaussian window, so the parameter
can determine the time resolution and frequency resolution of the wavelet function. In order to show the influence of
more intuitively, the center frequency
is fixed at 2 Hz, and
is set to 0.2 Hz, 1 Hz, 3 Hz respectively, and the corresponding wavelet functions and their power spectral density (PSD) are shown in
Figure 5. It can be seen from the figure that when
increases, the width of the wave in the time domain as well as the number of cycles of the sinusoidal wave increases, and the temporal resolution decreases.
The choice of
and
in Complex Morlet wavelet basis function is an optimization problem, and the different combinations of the two parameters have a great influence on the analysis results. In this paper, we take Shannon entropy
[
33,
35], as shown in Equation (
9), as the objective optimization function, where
M is the number of wavelet coefficients, and
is the wavelet coefficient. By solving the optimization problem shown in Equation (
10), the optimal value of the bandwidth
and the center frequency
can be 3 Hz.
The cmor wavelet transform has the powerful advantages of time-frequency analysis [
36]. Under a certain scaling scale
, the wavelet basis function is convolved with the time domain signal
. When the characteristic frequency of a piece of data near the translation factor
is the same or close to the frequency of the wavelet basis function, the convolution value is abnormally large. This fact actually conveys two pieces of information, first is that the characteristic frequency of a certain segment of the time-domain signal is the same as the wavelet basis function, and the second is that the same characteristic frequency occurs at the moment corresponding to the translation factor
.
3. Experiment Introduction and Data Pre-Analysis
In order to obtain the outlet flow data of the centrifugal air compressor, the air compressor test bench as shown in
Figure 6 was built, which can be used for performance testing and map verification of various types of centrifugal air compressors. In this paper, the maximum flow rate of the centrifugal air compressor we tested is about 170 g/s, the maximum pressure ratio is about 3.3, and the maximum speed is 94,000 rpm. The structure and principle of this test bench can be simplified as shown in
Figure 7.
First, we make the centrifugal air compressor work under the two speed conditions of 20,000 rpm and 40,000 rpm, respectively, and slowly increase the pressure ratio by adjusting the throttle opening, so that the operating point of the air compressor is close to surge.
Figure 8 and
Figure 9 show the flow data and pressure data, respectively, recorded at the outlet of the air compressor through the data acquisition equipment.
In the data recorded in
Figure 8, the centrifugal air compressor works close to surge from 0 to 60 s and has shown a tendency to surge, which is reffered to as the quasi-surge zone. In this area, we think it has the danger of surge but not surge exactly, and judging by the principle of the above variable limit flow method, the anti-surge valve should be opened at this time. During 60 s to 85 s, the centrifugal air compressor enters the surge zone, and the abnormally large flow fluctuations may cause irreversible damage to the centrifugal air compressor, which is a working condition that should be avoided in advance. At 85 s, surge is observed and the throttle opening is adjusted to reduce the pressure ratio, which can drag the operating point of air compressor from surge zone to allowable operation zone.
From an intuitive point of view, the amplitude of the flow rate change in the quasi-surge zone and the surge zone is obviously much larger than that in the allowable operation area, which is two to four times that of the allowable operation area. At the same time, the flow value data in the quasi-surge zone and the surge zone show a certain low-frequency fluctuation as a whole. For the sake of clarity and length, the following uses the data at 20,000 rpm as an example to perform Fourier transform analysis. In order to verify the above conjecture and detect its dominant frequency, Fourier transform [
12] was performed on the data of the above three regions, and the results are shown in
Figure 10.
In
Figure 10, the energy distribution in the Fourier transform result of curve c, which represents the safe zone, is relatively scattered, and the fluctuation of the flow in this zone can almost be regarded as white noise. Besides, the energy in curve a and curve b, which represent quasi-surge zone and surge zone, respectively, are relatively concentrated, and the main frequencies of the two are very close, around 1.4 Hz. At the same time, it can be clearly seen that the dominant frequency of the surge zone is more obvious than that of the quasi-surge zone, and the energy is very concentrated and prominent at 1.4 Hz in the surge zone. This result shows that surge has a unique characteristic frequency, and it exists in both the quasi-surge zone and the surge zone.
5. Conclusions
Centrifugal air compressors are prone to surge under small flow and high pressure ratio conditions, which will cause permanent damage to the impeller. A real-time online diagnosis method based on wavelet transform designed in this paper can effectively detect whether the centrifugal air compressor has a tendency to surge. This paper analyzes the collected flow at different speeds by Fourier transform, and obtains the hypothesis that the surge flow at different speeds of the centrifugal air compressor has similar characteristic frequencies. Based on this this assumption, we performed the complex Morlet wavelet transform on a section of flow signal including surge failure of the air compressor. The test results show that at the characteristic frequency of outlet flow, the wavelet coefficient will have a huge change when the surge failure is about to occur. This discovery has inspired us to use only the wavelet coefficients at the characteristic frequency and compare it with a certain threshold, which can prevent the occurrence of surge faults, and this approach has greatly improved the calculation speed of diagnosis and saved calculation memory.
However, when using the wavelet transform method for air compressor surge monitoring, only the air compressor flow is considered, and other factors such as temperature and noise are not considered. If these interference factors can be considered together, the monitoring method will be more precise.
The method based on wavelet analysis proposed in this paper is a novel method that is different from traditional flow rate monitoring in anti-surge field to a certain extent, and its effectiveness has been temporarily verified. However, there are still shortcomings. In addition to the above-mentioned accuracy problems, in fact, the bigger challenge is that if we want to promote this method in engineering applications, we need to calibrate a wavelet coefficient threshold curve, which is very similar to the limit flow threshold curve in
Figure 2 and
Figure 3. In addition, this paper does not prove whether this diagnostic method is still effective when the system pipeline changes and the air compressor is aging because, in that case, the threshold and the characteristic frequency may also drift. These need our follow-up research to be confirmed.