Condition Monitoring of DC-Link Electrolytic Capacitors in PWM Power Converters Using OBL Method

: Since the lifespan of an electrolytic capacitor is relatively short compared to other power semiconductor devices, the failure rate accounts for 60% and, thus, it is the most vulnerable component of the power conversion device. Therefore, the accurate measurement of the lifetime of an electrolytic capacitor is very important in ensuring the reliability of the entire system, including the capacitor. In this paper, an online failure detection method for a DC-link electrolytic capacitor in a back-to-back Pulse width Modulation (PWM) converter using the opposition-based learning particle swarm optimization-based Support Vector Regression (OPSO-SVR) technique is proposed. In this method, the capacitance and the DC-link capacitor power have been used in o ﬄ ine mode for SVR training and testing. During the o ﬄ ine mode, the SVR parameters have been optimized with the OPSO algorithm to use online to estimate the real value of the DC-link capacitor. The experimental results prove the superiority of the proposed technique over the SVR.


Introduction
Electrolytic capacitors are widely used in power conversion devices for the purpose of voltage smoothing due to their characteristics, but their lifespan is relatively short compared to other power semiconductor devices, which is a major factor in causing failure. The failure of the individual components will result in the failure of the power converter and the shutdown of the entire system in which it is incorporated, thus, requiring additional cost and time associated with the individual shutdown of the fault, as well as with the shutdown of the entire system. Therefore, it is indispensable to determine the lifetime of the part before the failure by continuously checking the state of components and to judge the life of the components before failure occurs. Among them, a failure diagnosis of the most frequently occurring electrolytic capacitors ensures the reliability of the whole system. The lifetime of an electrolytic capacitor can be predicted formally by the factors specified in the data sheet provided by the capacitor manufacturer, but the life expectancy of the electrolytic capacitor may vary due to factors such as the capacitor ripple current in the topology of use, and the change The lifetime of electrolytic capacitors is typically 1000 to 10,000 h in the case of operating under high temperatures, which is not long enough for most applications The maximum temperature ratings are typically between + 85 °C and + 105 °C [4]. Figure 2 shows a typical capacitor characteristic at 105 °C; the capacitor lifetime is about 8000 h. To diagnose the reasons of electrolytic capacitor failure, the configuration of the capacitor should be introduced, as shown in Figure 3. Any aluminum electrolytic capacitor has two aluminum sheets and an electrolytic solution [5]. The aluminum electrolytic capacitor can be electrically represented as a series connection of capacitor, resistor, and inductor, as shown in Figure 4 [6]. The lifetime of electrolytic capacitors is typically 1000 to 10,000 h in the case of operating under high temperatures, which is not long enough for most applications The maximum temperature ratings are typically between +85 • C and +105 • C [4]. Figure 2 shows a typical capacitor characteristic at 105 • C; the capacitor lifetime is about 8000 h. To diagnose the reasons of electrolytic capacitor failure, the configuration of the capacitor should be introduced, as shown in Figure 3. Any aluminum electrolytic capacitor has two aluminum sheets and an electrolytic solution [5]. The aluminum electrolytic capacitor can be electrically represented as a series connection of capacitor, resistor, and inductor, as shown in Figure 4 [6].
Sustainability 2020, 12, x FOR PEER REVIEW 2 of 17 reliability of the capacitor to determine the deterioration state of the electrolytic capacitor in advance, and, a fault diagnosis for continuously observing the current capacitor state is essential [1,2]. Figure  1 shows the failure distribution of different components in a static converter [3]. It is obvious that the electrolytic capacitor is the weakest element in the converters. The lifetime of electrolytic capacitors is typically 1000 to 10,000 h in the case of operating under high temperatures, which is not long enough for most applications The maximum temperature ratings are typically between + 85 °C and + 105 °C [4]. Figure 2 shows a typical capacitor characteristic at 105 °C; the capacitor lifetime is about 8000 h. To diagnose the reasons of electrolytic capacitor failure, the configuration of the capacitor should be introduced, as shown in Figure 3. Any aluminum electrolytic capacitor has two aluminum sheets and an electrolytic solution [5]. The aluminum electrolytic capacitor can be electrically represented as a series connection of capacitor, resistor, and inductor, as shown in Figure 4 [6].  reliability of the capacitor to determine the deterioration state of the electrolytic capacitor in advance, and, a fault diagnosis for continuously observing the current capacitor state is essential [1,2]. Figure  1 shows the failure distribution of different components in a static converter [3]. It is obvious that the electrolytic capacitor is the weakest element in the converters. The lifetime of electrolytic capacitors is typically 1000 to 10,000 h in the case of operating under high temperatures, which is not long enough for most applications The maximum temperature ratings are typically between + 85 °C and + 105 °C [4]. Figure 2 shows a typical capacitor characteristic at 105 °C; the capacitor lifetime is about 8000 h. To diagnose the reasons of electrolytic capacitor failure, the configuration of the capacitor should be introduced, as shown in Figure 3. Any aluminum electrolytic capacitor has two aluminum sheets and an electrolytic solution [5]. The aluminum electrolytic capacitor can be electrically represented as a series connection of capacitor, resistor, and inductor, as shown in Figure 4 [6].    Here, the generation of capacitance C is generated at the anode and cathode, the internal resistance Rs is represented by the resistance of the electrolyte and the insulating paper, and another small resistance configured in parallel with C is due to the electrolyte leakage current. LS represents the equivalent series inductance.
The leak and deterioration of the electrolyte can be considered as the main eroding process in these capacitors by vapor diffusion through the seals. As a result of this deterioration, the capacitor's internal ESR changes from the original value [7][8][9][10]. Until now, the failure signal diagnosis technique has been mostly fault-determined by determining the onset of abnormal signs when the ESR value of the electrolytic capacitor deteriorates more than twice as normal. In [11], a pulsating component voltage/current signal of a capacitor is modeled in a DC/DC converter by a bandpass filter (BPF) for a specific switching frequency range. References [12][13][14] proposed a method of estimating the capacitor ESR by recursive least squares (RLS) signal processing and Root-Mean-Square (RMS) operation after passing the pulsating voltage/current signal of the capacitor through the BPF, respectively. Beside this method, several algorithms, such as DFT (Discrete Fourier Transform) [15], Newton-Raphson [16], the least square method (LMS) [17], and the Laplace transform algorithm [18] were also proposed to calculate the capacitance or ESR to predict the capacitor lifetime by using the voltage/current injection method. As such, these methods are largely dependent on the signal processing of the BPF, which is cumbersome to know a specific switching frequency in advance for each PWM power converter, which must have a very large bandwidth. However, when the bandwidth of the filter is large, the size of the signal is reduced due to the influence of the capacitor′s impedance. Furthermore, as the higher order filter design is required, the filter coefficient and the hardware implementation are difficult.
Instead of injecting a voltage or current signal, it is possible to measure or calculate the capacitor ripple current based on the difference between the converter output current and inverter input current. The direct measuring of the capacitor current ripples is used in a few studies [19,20]. This method adds more hardware in the capacitor circuit, which adds complexity and cost. Moreover, using a toroidal core in measuring the capacitor ripple current adds extra parasitic inductance, which deteriorates the estimation of the capacitance.
To have more efficient lifetime estimation methods, several intelligent control approaches have been proposed in the signal injection techniques, such as Support Vector Regression [21,22], neural networks [23], and particle swarm optimization (PSO) [24]. To implement the neural network (ANN) method with accurate MPPT, the selection of neurons and layers should be large so that it takes more time in the training stage [25]. The Support Vector Machine (SVM) method has been proposed as a regression method to estimate the capacitance based on the sampling data of capacitance and the DClink capacitor power. The SVM method is considered to have a significant advantage over ANN. SVM has a global and unique solution, while ANN can stick in multiple local minima. However, using fixed SVM parameters in a wide range and continuous variation of the capacitance results shows low estimation accuracy. Therefore, it is necessary to use an optimization algorithm to optimize the Support Vector Regression (SVR) parameters for the wide range capacitance.
To optimize the selection of these parameters, a genetic algorithm (GA) or PSO can be used. However, for the sake of simplicity, high-optimization performance, and fast convergence, PSO has significant merit over the other optimization techniques [26].
However, by using the Particle Swarm Optimization-Support Vector Regression (PSO-SVR) method, the population results have random manner due to the PSO-generated features. Therefore, Here, the generation of capacitance C is generated at the anode and cathode, the internal resistance R s is represented by the resistance of the electrolyte and the insulating paper, and another small resistance configured in parallel with C is due to the electrolyte leakage current. L S represents the equivalent series inductance.
The leak and deterioration of the electrolyte can be considered as the main eroding process in these capacitors by vapor diffusion through the seals. As a result of this deterioration, the capacitor's internal ESR changes from the original value [7][8][9][10]. Until now, the failure signal diagnosis technique has been mostly fault-determined by determining the onset of abnormal signs when the ESR value of the electrolytic capacitor deteriorates more than twice as normal. In [11], a pulsating component voltage/current signal of a capacitor is modeled in a DC/DC converter by a bandpass filter (BPF) for a specific switching frequency range. References [12][13][14] proposed a method of estimating the capacitor ESR by recursive least squares (RLS) signal processing and Root-Mean-Square (RMS) operation after passing the pulsating voltage/current signal of the capacitor through the BPF, respectively. Beside this method, several algorithms, such as DFT (Discrete Fourier Transform) [15], Newton-Raphson [16], the least square method (LMS) [17], and the Laplace transform algorithm [18] were also proposed to calculate the capacitance or ESR to predict the capacitor lifetime by using the voltage/current injection method. As such, these methods are largely dependent on the signal processing of the BPF, which is cumbersome to know a specific switching frequency in advance for each PWM power converter, which must have a very large bandwidth. However, when the bandwidth of the filter is large, the size of the signal is reduced due to the influence of the capacitor s impedance. Furthermore, as the higher order filter design is required, the filter coefficient and the hardware implementation are difficult.
Instead of injecting a voltage or current signal, it is possible to measure or calculate the capacitor ripple current based on the difference between the converter output current and inverter input current. The direct measuring of the capacitor current ripples is used in a few studies [19,20]. This method adds more hardware in the capacitor circuit, which adds complexity and cost. Moreover, using a toroidal core in measuring the capacitor ripple current adds extra parasitic inductance, which deteriorates the estimation of the capacitance.
To have more efficient lifetime estimation methods, several intelligent control approaches have been proposed in the signal injection techniques, such as Support Vector Regression [21,22], neural networks [23], and particle swarm optimization (PSO) [24]. To implement the neural network (ANN) method with accurate MPPT, the selection of neurons and layers should be large so that it takes more time in the training stage [25]. The Support Vector Machine (SVM) method has been proposed as a regression method to estimate the capacitance based on the sampling data of capacitance and the DC-link capacitor power. The SVM method is considered to have a significant advantage over ANN. SVM has a global and unique solution, while ANN can stick in multiple local minima. However, using fixed SVM parameters in a wide range and continuous variation of the capacitance results shows low estimation accuracy. Therefore, it is necessary to use an optimization algorithm to optimize the Support Vector Regression (SVR) parameters for the wide range capacitance.
To optimize the selection of these parameters, a genetic algorithm (GA) or PSO can be used. However, for the sake of simplicity, high-optimization performance, and fast convergence, PSO has significant merit over the other optimization techniques [26].
However, by using the Particle Swarm Optimization-Support Vector Regression (PSO-SVR) method, the population results have random manner due to the PSO-generated features. Therefore, it is not sufficient to use PSO alone to produce a precise result when it is used to tune the SVR parameters. The opposition-based learning (OBL) method can be used to accelerate the process of optimizing the SVR parameters in different conditions and obtain knowledge about the corresponding global optimum. The proposed opposition-based learning particle swarm optimization (OPSO) is used to tune the SVR parameters to improve the capacitance estimation capability by comparing the obtained parameters from the SVR training and the parameters that are obtained from SVR with the opposite parameters. If the SVR with opposite parameters is better, these parameters are then used in the next step until the estimation process is done [27].
In this paper, an AC voltage component that has a frequency of 30 Hz, which is lower than the line frequency, and an amplitude of 10 V is injected into the DC-link voltage reference, which causes the real DC-link voltage to oscillate with the same frequency. The effect of the injected AC component is negligible because the number of the cycles of the injected voltage is short. The resulting AC voltage ripple component is then extracted using a BPF to estimate the DC-link capacitance using the OPSO-SVR method with tunable parameters by using opposition-based learning (OBL). The kernel function in SVR is used to estimate the capacitance based on the sampling data and SVR parameters, which are obtained from the offline training process. The proposed algorithm is validated by the experimental results.

Capacitance Lifetime Monitoring
In the AC-DC-AC converter steady-state condition, the DC-link voltage stays constant except for switching frequency-related ripple components. To estimate the capacitor circuit parameters, the available information from the constant DC-voltage is not enough to use. Therefore, injecting a low frequency signal to the reference voltage is required to estimate the capacitance during the disturbance. The injected component into the constant DC-link voltage is as follows: To guarantee an accurate capacitance estimation, the DC-link voltage with the injected AC voltage should be controlled precisely. Therefore, a feedforward component needs to be added to the conventional DC-link voltage controller. When the PWM converter loss is neglected, the input and output power of the DC-link can be expressed as: Equation (2) is used to estimate the DC-link capacitance by calculating the two sides of the equation as follows: If i e * d = i e d = 0 for the unity power factor control of the line side, then: From (2) through (5), the feedforward component of the q-axis current reference is as follows: Sustainability 2020, 12, 3719

of 16
The total reference DC-link voltage is given as: By substituting the DC-link Equation of (7) in (6), and assuming that V * dc0 >> V ac , then: Thus, by substituting the square derivative of the DC-link voltage from (8) into (6), the feedforward component of the q-axis current reference is expressed as: ω in CV * dc0 V ac cos ω in t + p out (9) Figure 5 shows the control block diagram of the AC/DC/AC PWM converter. The controller consists of a DC-link voltage control loop and two current control loops. The q-axis current is determined by the DC-link voltage controller, while the d-axis current controller determines the output current power factor. The output current of the converter is controlled in phase with the mains voltage and can be controlled at almost unity power factor. The DC-link voltage is controlled by the current of the axis q corresponding to the active power, and the current of the axis d, corresponding to the reactive power, controls the power factor. Under load conditions, it is important to control the DC-link with a constant reference voltage while the current reference of the q axis changes, depending on the actual power component. By injecting the low frequency voltage component into the reference voltage of the DC-link, the q-axis reference of the converter and the actual current includes ripple components of the same frequency.
Sustainability 2020, 12, x FOR PEER REVIEW 5 of 17 The total reference DC-link voltage is given as: By substituting the DC-link Equation of (7) in (6), and assuming that Thus, by substituting the square derivative of the DC-link voltage from (8) into (6), the feedforward component of the q-axis current reference is expressed as: Figure 5 shows the control block diagram of the AC/DC/AC PWM converter. The controller consists of a DC-link voltage control loop and two current control loops. The q-axis current is determined by the DC-link voltage controller, while the d-axis current controller determines the output current power factor. The output current of the converter is controlled in phase with the mains voltage and can be controlled at almost unity power factor. The DC-link voltage is controlled by the current of the axis q corresponding to the active power, and the current of the axis d, corresponding to the reactive power, controls the power factor. Under load conditions, it is important to control the DC-link with a constant reference voltage while the current reference of the q axis changes, depending on the actual power component. By injecting the low frequency voltage component into the reference voltage of the DC-link, the q-axis reference of the converter and the actual current includes ripple components of the same frequency.

Capacitance Estimation Using OPSO-SVFR
The proposed capacitance estimation algorithm was applied in two steps: opposition particle swarm optimization (OPSO), and parameters selection for SVM (Support Vector Machine) with OPSO. These two steps were performed on the input data of capacitance and the DC-link capacitor power. The two phases are discussed in Sections 3.1 and 3.2.

Support Vector Regression (SVR)
SVM is an alternative learning method for Multi-Layer Perceptron Classifiers that minimizes structural risks, maps patterns into higher-dimensional feature spaces, and provides optimal identification. SVM, using the statistical learning method, minimizes structural errors, unlike conventional classification techniques, such as principal component analysis (PCA) and neural

Capacitance Estimation Using OPSO-SVFR
The proposed capacitance estimation algorithm was applied in two steps: opposition particle swarm optimization (OPSO), and parameters selection for SVM (Support Vector Machine) with OPSO. These two steps were performed on the input data of capacitance and the DC-link capacitor power. The two phases are discussed in Sections 3.1 and 3.2.

Support Vector Regression (SVR)
SVM is an alternative learning method for Multi-Layer Perceptron Classifiers that minimizes structural risks, maps patterns into higher-dimensional feature spaces, and provides optimal identification. SVM, using the statistical learning method, minimizes structural errors, unlike conventional classification techniques, such as principal component analysis (PCA) and neural networks [27][28][29][30]. For this reason, SVM has been successfully implemented in various fields, such as prediction, classification, and regression. Support Vector Regression (SVR) has been extended to regression problems by introducing an insensitive loss function to SVM regression models, while SVM has been applied to the prediction of classification problems [31]. The SVM provides an optimal separation plane (hyperplane) to solve the classification problem. The reasons why SVM attracts attention are as follows: firstly, it is easy to interpret the results because it is based on a clear rationale; secondly, it can achieve a higher level of accuracy than neural networks in practical applications, such as classification and regression.
The choice of a subset of functions is an important issue when creating a regression analysis system to construct a regression model based on SVM. It is important to minimize the number of input functions that produce optimum predictions and models with less computationally intensive calculations. The use of a subset of small and appropriate characteristics can facilitate the implementation of regression decisions. The appropriate adjustment for the SVR parameters can improve the regression accuracy. Selecting the kernel function, kernel parameters, and the penalty factors are very important factors in the SVR design. Therefore, the proper selection of the subsets of functions and the parameter settings of the model have a significant impact on the regression accuracy. The selection of the characteristic subsets affects the appropriate parameters of the kernel, so it is best to obtain the subset of features and the SVR parameters at the same time.
As mentioned earlier, SVR is a regression method for predicting an unknown function between the inputs and outputs by using the training data. When the system input/output relationship is obtained in the offline process, a prediction of the output value based on the obtained relation can be obtained in the online process. The input and output data for offline training are given as (x 1 , y 1 ), (x 2 , y 2 ), . . . .. (x n , y n ), where x i and y i are input and output vectors, and n is the number of training data. The general function of SVR is as follows [32]: where (.) is the vector dot product. The slack variables (ξ and ξ * ), which minimize the empirical risk, are expressed as [24]: where Γ(·) is the cost function, and C is the penalty factor that controls how much variation is allowed for the training data and the complexity term of the model ( w 2 ). The lack variable is introduced so that the estimation problem can be determined even if training data exists. The optimization solution is expressed by subject to 0 Through the introduction of the kernel function, the regression function of Equation (12) is represented by Equation (13) is the kernel function. The bias term b can be calculated as follows: The radial base function (RBF) is selected to solve the problem as follows:

The O-Particle Swarm Optimization
The particle swarm optimization (PSO) algorithm is one of the optimization techniques that was inspired by the social behavior of animals, and was proposed in 1995 by J. Kennedy and R. Eberhart [33]. Just as bio populations, such as ants and bees, share information about each individual s experience to find food and travel to the optimal location, the PSO algorithm makes it possible to find the optimal solution by balancing each other s variables. The PSO algorithm has the disadvantage of being prone to the local minimum, but unlike other search algorithms, it can use global optimization for large and complex functions, such as evolutionary operations, and perform better than evolutionary operations. Due to its high speed, it has recently attracted much attention and has been applied to various fields that are difficult to solve with existing algorithms [34,35].
The PSO algorithm represents individual potential solutions as particles, and the number is initially determined by the dimension setting. The initialization and updates of PSO are randomly done in each calculation step using the standard PSO. An improvement for the random behavior of the standard PSO is obtained by initializing the swarm based on the opposite numbers. A comparison between the position and velocity components using the standard PSO and the opposition PSO is then done to select the optimum position and velocity.
The i th d-dimensional particle is characterized by its location vector P t i =P t i1 , P t i2 , . . ., P t id and its speed vector v t i = v t i1 , v t i2 , . . ., v t id . Each particle knows its best personal location P t i,Best and the entire population s best global solution G t Best . The position of the population at iteration t is P t =P t 1 , P t 2 , . . ., P t N , where N is the population size. Each particle updates its location according to Equations (16) and (17): where r 1 and r 2 are random functions in the range of [0, 1], c 1 and c 2 are personal and social learning factors, and w is the inertia weight.
The constriction coefficients introduced in [34] are used to set c 1 and c 2 : where ϕ = ϕ 1 + ϕ 2 > 4. The optimization process is terminated when the best global solution results in a permissible fitness using the opposite PSO. The opposition-based population initialization technique is shown in the flowchart in Figure 6, which is used in initializing and updating the position and velocity components instead of random initialization.  The optimum voltage estimation using the OPSO-SVR method can be described in steps as follows:


Enter the original data for estimation, known as the data preparation step.  Initialize and update the particles using standard PSO and then repeat the same step using the opposite numbers.  Update the position and velocity components by using standard and opposition PSO formulas to get the accurate SVR parameters.  Perform an offline training process for SVR with training samples assessing each particle fitness value of the OPSO for the SVR.  Update each particle velocity and position until the termination condition is satisfied.  Construct and retrain the SVR estimation model based on the optimal parameters.
For each sample, BPF[|P − P |] is the input of the SVR estimator ,which is calculated from the source currents, voltages, and the DC-link voltage, while the estimated capacitance is the output, as shown in Figure 7.  The optimum voltage estimation using the OPSO-SVR method can be described in steps as follows: • Enter the original data for estimation, known as the data preparation step.

•
Initialize and update the particles using standard PSO and then repeat the same step using the opposite numbers.

•
Update the position and velocity components by using standard and opposition PSO formulas to get the accurate SVR parameters.

•
Perform an offline training process for SVR with training samples assessing each particle fitness value of the OPSO for the SVR. For each sample, BPF[|P in − P out |] is the input of the SVR estimator, which is calculated from the source currents, voltages, and the DC-link voltage, while the estimated capacitanceĈĈ is the output, as shown in Figure 7. The optimum voltage estimation using the OPSO-SVR method can be described in steps as follows:


Enter the original data for estimation, known as the data preparation step.  Initialize and update the particles using standard PSO and then repeat the same step using the opposite numbers.  Update the position and velocity components by using standard and opposition PSO formulas to get the accurate SVR parameters.  Perform an offline training process for SVR with training samples assessing each particle fitness value of the OPSO for the SVR.  Update each particle velocity and position until the termination condition is satisfied.  Construct and retrain the SVR estimation model based on the optimal parameters.
For each sample, BPF[|P − P |] is the input of the SVR estimator ,which is calculated from the source currents, voltages, and the DC-link voltage, while the estimated capacitance is the output, as shown in Figure 7.

Capacitance Estimation Using OPSO-SVR
In this paper, it was assumed that the initial nominal value of the capacitor was 3950 µF. This capacitor lifetime is ended when its value deteriorates to 1950 µF. In order to use OPSO-SVR to check the capacitance value during the system operation, it was necessary to collect a number of training data between the initial and final values.
A combination between 1950 µF and 500 µF was used to obtain the required training data between 3950 and 1950 µF and its corresponding capacitor power, as shown in Table 1. Figure 8 shows the regression response of the trained data. capacitor lifetime is ended when its value deteriorates to 1950 μF. In order to use OPSO-SVR to check the capacitance value during the system operation, it was necessary to collect a number of training data between the initial and final values. A combination between 1950 μF and 500 μF was used to obtain the required training data between 3950 and 1950 μF and its corresponding capacitor power, as shown in Table 1. Figure 8 shows the regression response of the trained data.      Figure 9 shows the flowchart of the proposed method. First, a suitable set of sampling data (x j , y j ) were specified. The SVR parameters were computed through the offline process. Then, the optimized parameters were used online for any DC-link capacitor power x to estimate the unknown capacitance value.

Experimental Results
For validating the performance of the proposed OPSO-SVR algorithm, an experimental setup was implemented on a reduced scale in a laboratory, of which, the configuration is shown in Figure  10.

Experimental Results
For validating the performance of the proposed OPSO-SVR algorithm, an experimental setup was implemented on a reduced scale in a laboratory, of which, the configuration is shown in Figure 10. Figure 9. Capacitance estimation process using opposition-based learning particle swarm optimization-based Support Vector Regression (OPSO-SVR).

Experimental Results
For validating the performance of the proposed OPSO-SVR algorithm, an experimental setup was implemented on a reduced scale in a laboratory, of which, the configuration is shown in Figure  10. The reference DC-link voltage with the AC-injected component is shown in Figure 11. The amplitude of the injected component was 10 V and the frequency was 30 Hz. Figure 12a,b shows the control performance of the converter d-and q-axis currents, which can be considered satisfactory.
The measured AC power component of the DC-link capacitor and its filtered waveform are shown in Figure 13a,b. The bandpass filter with a cut-off frequency of 30 Hz was used to pass the 30 Hz power component, as shown in Figure 13b. The estimation process in two different capacitances was performed and shown in Figure 14a. For case D, for example, the expected capacitance was 2.395 The reference DC-link voltage with the AC-injected component is shown in Figure 11. The amplitude of the injected component was 10 V and the frequency was 30 Hz. Figure 12a,b shows the control performance of the converter d-and q-axis currents, which can be considered satisfactory.        The measured AC power component of the DC-link capacitor and its filtered waveform are shown in Figure 13a,b. The bandpass filter with a cut-off frequency of 30 Hz was used to pass the 30 Hz power component, as shown in Figure 13b. The estimation process in two different capacitances was performed and shown in Figure 14a. For case D, for example, the expected capacitance was 2.395 µF, which had only an error of + 0.042 [%] in comparison and can also be compared with the measured value in Table 1  This also shows that the expected rate of rapid change in capacity was fast. For further investigation of OPSO-SVR accuracy, a set of random values of capacitance estimation were implemented under five different power levels; Table 2 shows the calculation of the mean, maximum, minimum, and standard deviation. To confirm the superiority of OPSO-SVR over the SVR method, Figure 15 shows that the proposed method was faster than SVR, which made it better for online capacitance estimation.
SVR 100 ms/div OPSO-SVR   This also shows that the expected rate of rapid change in capacity was fast. For further investigation of OPSO-SVR accuracy, a set of random values of capacitance estimation were implemented under five different power levels; Table 2 shows the calculation of the mean, maximum, minimum, and standard deviation. To confirm the superiority of OPSO-SVR over the SVR method, Figure 15 shows that the proposed method was faster than SVR, which made it better for online capacitance estimation.
SVR 100 ms/div OPSO-SVR This also shows that the expected rate of rapid change in capacity was fast. For further investigation of OPSO-SVR accuracy, a set of random values of capacitance estimation were implemented under five different power levels; Table 2 shows the calculation of the mean, maximum, minimum, and standard deviation. To confirm the superiority of OPSO-SVR over the SVR method, Figure 15 shows that the proposed method was faster than SVR, which made it better for online capacitance estimation.  This also shows that the expected rate of rapid change in capacity was fast. For further investigation of OPSO-SVR accuracy, a set of random values of capacitance estimation were implemented under five different power levels; Table 2 shows the calculation of the mean, maximum, minimum, and standard deviation. To confirm the superiority of OPSO-SVR over the SVR method, Figure 15 shows that the proposed method was faster than SVR, which made it better for online capacitance estimation.
In addition, it was noticeable that the speed and the accuracy of the SVR algorithm was less than OPSO-SVR, as the latter method tuned the SVR parameters in every step to achieve the correct value faster.
The estimated capacitance, the capacitance power variation, and the derivative of the DC-link voltage in the steady state condition are shown in Figure 16a-c. The estimation error for the SVR algorithm was about 0.35%, while the estimation error was 0.28% in OPSO-SVR for the same conditions. Sustainability 2020, 12, x FOR PEER REVIEW 13 of 17 In addition, it was noticeable that the speed and the accuracy of the SVR algorithm was less than OPSO-SVR, as the latter method tuned the SVR parameters in every step to achieve the correct value faster.
The estimated capacitance, the capacitance power variation, and the derivative of the DC-link voltage in the steady state condition are shown in Figure 16a-  The SVR and OPSO-SVR estimation performance for different capacitance readings is concluded in Figure 17. In Figure 18, the estimation error of Table 2 is drawn to show the percentage error in different load powers. The estimation accuracy for both methods was acceptable and close to the real value.  The SVR and OPSO-SVR estimation performance for different capacitance readings is concluded in Figure 17. In Figure 18, the estimation error of Table 2 is drawn to show the percentage error in different load powers. The estimation accuracy for both methods was acceptable and close to the real value.

Conclusion
This paper presented an online method to detect the deterioration condition and lifetime for electrolytic capacitors in AC-DC-AC converters. The main advantage of the proposed algorithm is the use of a digital controller to estimate the capacitor lifetime without any additional hardware or sensors, which adds no cost to the power and control circuits. The proposed algorithm is based on injecting a low-frequency voltage component to the DC-link reference voltage and then extracting the fluctuated capacitor power, which determines the deterioration state of the capacitor. This algorithm is based on the OPSO-SVR technique by determining a relationship between the capacitor value and its power. The validity of the algorithm was verified through experiments on various experimental conditions, and the variation of the estimation error was analyzed according to the capacitance measurement environment. The experimental results confirmed that the capacitance estimation was a low estimation error, which was well below 0.2%, making this method effective for detecting the state of an electrolytic capacitor in the PWM converter system. The proposed algorithm can be implemented by software without adding or replacing hardware. Therefore, it can be considered as low cost, and it can be directly applied to commercially-produced converters and 0 500

Conclusion
This paper presented an online method to detect the deterioration condition and lifetime for electrolytic capacitors in AC-DC-AC converters. The main advantage of the proposed algorithm is the use of a digital controller to estimate the capacitor lifetime without any additional hardware or sensors, which adds no cost to the power and control circuits. The proposed algorithm is based on injecting a low-frequency voltage component to the DC-link reference voltage and then extracting the fluctuated capacitor power, which determines the deterioration state of the capacitor. This algorithm is based on the OPSO-SVR technique by determining a relationship between the capacitor value and its power. The validity of the algorithm was verified through experiments on various experimental conditions, and the variation of the estimation error was analyzed according to the capacitance measurement environment. The experimental results confirmed that the capacitance estimation was a low estimation error, which was well below 0.2%, making this method effective for detecting the state of an electrolytic capacitor in the PWM converter system. The proposed algorithm can be implemented by software without adding or replacing hardware. Therefore, it can be considered as low cost, and it can be directly applied to commercially-produced converters and 0 500

Conclusions
This paper presented an online method to detect the deterioration condition and lifetime for electrolytic capacitors in AC-DC-AC converters. The main advantage of the proposed algorithm is the use of a digital controller to estimate the capacitor lifetime without any additional hardware or sensors, which adds no cost to the power and control circuits. The proposed algorithm is based on injecting a low-frequency voltage component to the DC-link reference voltage and then extracting the fluctuated capacitor power, which determines the deterioration state of the capacitor. This algorithm is based on the OPSO-SVR technique by determining a relationship between the capacitor value and its power. The validity of the algorithm was verified through experiments on various experimental conditions, and the variation of the estimation error was analyzed according to the capacitance measurement environment. The experimental results confirmed that the capacitance estimation was a low estimation error, which was well below 0.2%, making this method effective for detecting the state of an electrolytic capacitor in the PWM converter system. The proposed algorithm can be implemented by software