1. Introduction
The rapid evolution of the electric locomotive (EL) industry, characterized by increasing speeds and expanding operational distances, poses new challenges for high-speed railway technology. In addition to the safe and stable operation of trains, comfortable riding experiences are receiving increasing attention. The electric traction drive system, which is at the heart of electric locomotives and powers both the locomotion and internal loads, comprises the main transformer, traction drive apparatus, auxiliary power supply system, and electrical control system [
1]. The auxiliary power supply system (APS) is a typical AC–DC–AC power electronic conversion system that supplies power to ventilation, heating, and lighting and charges the on-board backup batteries [
2]. Therefore, the stable and reliable power supply of an APS is crucial for the safe construction of trains and a good riding experience for passengers.
In recent years, the extended operating hours of electric locomotives have rendered the auxiliary power supply system more susceptible to sudden electrical faults, attributable to component aging and environmental stressors [
3]. Premature component failures can gradually reduce the overall performance of the system at a slow gradient trend [
4], potentially resulting in a degraded riding experience and safety concerns. However, in actual engineering practice, a fault limit alarm [
5] is capable of detecting faults but is inadequate for pinpointing their locations, increasingly falling short of the operational demands of locomotives. Consequently, there is an urgent need for a timely and reliable fault location method [
6] to ensure the safe operation of locomotives and to enable maintenance personnel to swiftly and effectively address the fault, thereby minimizing disruptions to the train’s operational schedule.
In fact, the integration of fault diagnosis technology in electric locomotives lags significantly behind advancements in other domains, such as control [
7], information [
8], materials, and management [
1]. The characteristics or parameters of the electric locomotive system are not allowed to deviate from their normal state, leading to system “faults” or “failures” in fault diagnosis [
9]. The collection of raw data for fault diagnosis is inherently challenging, further complicated by the interdependent relationships among various system components [
10]. Additionally, variations in load and speed [
11], attributable to fluctuating working conditions, necessitate enhanced adaptability in fault diagnosis methodologies.
Typical electrical component failures encompass open and short circuit faults of Insulated Gate Bipolar Transistors (IGBTs) [
12,
13], performance degradation of DC link electrolytic capacitors, abnormal changes in passive components, etc. [
14]. These issues are predominantly related to individual device levels. C. Yang et al. in [
12] proposed a fault diagnosis method for a three-level converter in an electric traction system based on voltage difference residuals to identify device-level faults through a hierarchical diagnostic approach. However, during actual operation, electric locomotives are more susceptible to system-level faults, such as grid-side faults [
15], main circuit faults [
16], traction motor faults [
17,
18], etc. The fluctuation of the pantograph-contact network severely affects the data collection quality and operational safety of high-speed electric locomotives. H. Wang et al. in [
6] proposed Bayesian Adaptive Reinforcement Learning (CBAMRL) based on contrastive learning to adapt to the non-stationary environment of the contact network and efficiently collect data.
System-level faults within the main circuit, particularly grounding faults, can significantly impair the operation of the traction motor and, consequently, the operational safety of the electric locomotive. For grounding faults in the direct–alternating current circuit of electric vehicles, J. M. Guerrero et al. in [
19] employed a spectral analysis of the detected half-voltage to distinguish whether the fault occurs on the AC or DC side. And, the team in [
20] estimated fault location based on the calculation of voltage parameters from histograms; however, this method encounters significant inaccuracies during load variations. The team in [
21] detected grounding faults on the AC grid side, DC positive or negative terminals, or the AC inverter side by analyzing the waveform of the terminal voltage signal. Nonetheless, relying solely on waveform diagnosis without extracting additional waveform features reduces the accuracy of identifying different types of grounding faults. It is evident that the diagnosis of main circuit grounding faults mainly relies on the grounding detection half-voltage of the DC detection circuit. However, analyzing only the detected voltage and ignoring the impact of variables in each area makes it difficult to locate faults within the area. Additionally, the effects of load variations and fault degradation must also be considered. For a traction system main circuit grounding fault, Z. Chen et al. in [
22] employed the traditional correlation method and residual vector method for fault location. Q. Ni et al. in [
23] proposed a Mechanism-Data Hybrid Driven (MDHD) approach for grounding fault diagnosis, while the team in [
24] introduced a Frequency Domain Characteristic (FDC) method, achieving good diagnostic results. Refs. [
23,
24] conducted research on the traction drive system. The auxiliary power supply system and traction drive system obtain single-phase AC power from different secondary windings of the traction transformer, respectively, and they are usually isolated from each other. The traction drive system provides driving power for the train to move forward and the auxiliary power supply system provides electrical energy for passenger train carriages. Moreover, their circuit topology and working mechanism are completely different; therefore, the signal selection, variable construction, and feature indexes are different. At the same time, both [
23,
24] are based on fault samples and were completed offline in a computer environment, without conducting online diagnostic research based on the on-board DSP platform. Therefore, the real-time detection and positioning method for APS grounding faults under different loads and fault degradation still needs further research.
Inspired by the aforementioned methods, this paper focuses on the grounding fault issue in the auxiliary power supply system of electric locomotives and proposes a time–frequency feature-based stepwise diagnostic method for the detection and location of grounding faults. The main contributions are as follows:
- (1)
The grounding fault mechanism is analyzed, and the circuit relationship between grounding detection voltage Uh (voltage sensor SV2) and DC- link voltage Ua (voltage sensor SV1) is described. The diagnostic process leverages the sampling signals of an APS system (Uh, Ua, transformer secondary side AC voltage Us, and AC current Is) to identify fault types and investigate their corresponding characteristics.
- (2)
The frequency domain features of Uh are extracted, and their correlation with fault types is determined using an extreme learning machine. Additionally, the feature variables V1 and V2 are reconstructed from signals Ua and Is, and the concept of a time sliding window is introduced to extract time domain feature indicators M1 and M2.
- (3)
A diagnostic framework that integrates signal time–frequency domain analysis and data-driven methods is proposed, which first divides faults into three categories: before rectifier bridge, before the filtering inductor, and after filtering inductor. Then, both before the rectifier bridge faults and after the inductor faults are further divided into two subtypes of faults each, achieving the identification of five types of faults. The effectiveness of the diagnostic strategy is verified online through a hardware-in-the-loop (HIL) platform and a Digital Signal Processor (DSP) diagnostic board card.
The rest of this paper is organized as follows. In
Section 2, the time–frequency mechanism of GFs in an APS is analyzed. In
Section 3, the time–frequency hybrid-driven-based GF diagnosis method is proposed. In
Section 4, the proposed method is verified by the HIL and the experimental results are analyzed.
Section 5 concludes this paper.
2. Mechanism of Ground Faults in a Power Supply System
2.1. Main Circuit of an APS
The schematic of the main circuit of the auxiliary power supply system for an electric locomotive is shown in
Figure 1. The single-phase 25 kV AC power, drawn from the traction substation, is transmitted through the overhead contact line. After passing through the pantograph and high-voltage circuit breaker, it is stepped down by the traction transformer to provide a single-phase AC power source for the auxiliary power supply system’s dedicated rectifier (diodes V1 and V2, and thyristors V3 and V4). This converts the single-phase AC 860 V to a pulsating DC 600 V. Subsequently, a stable DC 600 V is output to the integrated control cabinet through the intermediate filtering stage (smoothing reactor
L and supporting capacitor
C), which controls and distributes the flow of energy (different voltage levels for lighting, heating, ventilation, charging, etc.). The control system collects the transformer secondary side voltage
Us (voltage transformer TV), current
Is (current transformer TA), DC link voltage
Ua (voltage sensor
SV1), and DC-side ground detection voltage
Uh (voltage sensor
SV2) to regulate the output of the auxiliary power supply system and detect ground faults.
R represents a fixed discharge resistor with equal resistance values to achieve an even pressure effect on the DC side, and
Rf is the equivalent ground resistance, ensuring effective collection of
Uh. Referring to the circuit topology and the actual fault location maintenance experience of field engineering, the ground fault location types are divided into five categories across the AC and DC sides. Numbers 1 to 5 indicate five different ground fault locations, as shown in
Table 1.
2.2. Time–Frequency Mechanism of Ground Faults
In the auxiliary power supply system of electric locomotives, an online insulation detection device is equipped with a control system. The signals from the TV, TA, SV1, and SV2 are fed into the system for online analysis.
As shown in
Figure 1, five grounding fault locations are marked, with
Rf1 to
Rf5 representing the equivalent grounding insulation resistances at these locations. When the electric locomotive is operating normally, the equivalent grounding resistance
Rf at each location is at the MΩ level, and since the resistance values are equal for
R1 and
R2, it can be determined that no grounding fault has occurred in the electric locomotive when
Uh =
Ua/2.
(1) When direct-current-side positive-end grounding (
F1) occurs in the system, according to circuit theory, after star-delta transformation of the grounding detection circuit, the expressions for
Uh and
Ua are as follows:
R represents the fixed discharge resistor with equal resistance values for R1 and R2 to achieve a uniform pressure effect on the DC side, and Rf1 is the equivalent ground resistance when the positive side of the DC link is grounded. R3 is the ground detection resistor, ensuring effective collection of DC-side ground detection voltage Uh. Ua represents the DC link voltage. From a frequency domain perspective, Uh is a direct current that is directly proportional to Ua, and its frequency composition only contains a DC component. From a time domain perspective, as the degree of grounding insulation degradation increases (Rf1 gradually decreases to 0), Uh gradually decreases from 0.5Ua to 0.
(2) When direct-current-side negative-end grounding (
F2) occurs in the system, the expressions for
Uh and
Ua are as follows:
R represents the fixed discharge resistor with equal resistance values for R1 and R2 to achieve a uniform pressure effect on the DC side, and Rf2 is the equivalent ground resistance when the negative side of the DC link is grounded. R3 is the ground detection resistor, ensuring effective collection of DC-side ground detection voltage Uh. Ua represents the DC link voltage. From a frequency domain analysis perspective, Uh is a direct current that is proportional to Ua, with its frequency composition consisting solely of a DC component. From a time domain analysis perspective, as the degree of degradation of the grounding insulation increases (with Rf2 gradually decreasing to 0), Uh increases from 0.5Ua to Ua, exhibiting a trend that is opposite in polarity to that observed in the time domain for F1.
(3) When a grounding fault occurs at the front end of the reactor (
F3) in the system, the expressions for
Uh and
Ua are as follows:
R represents the fixed discharge resistor with equal resistance values for R1 and R2 to achieve a uniform pressure effect on the DC side, and Rf3 is the equivalent ground resistance when the front side of the reactor is grounded. R3 is the ground detection resistor, ensuring effective collection of DC-side ground detection voltage Uh. Ua represents the DC link voltage. Us’ is a piecewise function that represents the voltage on the AC side. From the frequency domain perspective, Uh is composed of a direct current (DC) component and an alternating current (AC) component. The DC part is constituted by the steady DC current corresponding to Uh during a grounding fault at the negative end of the DC side. The AC part is made up of AC quantities that are strongly related to Us and Is. Additionally, the frequency composition only includes even multiples of the fundamental frequency. When Is = 0, the AC component is 0, and Uh contains only the DC component. From the time domain perspective, as the degree of degradation of the grounding insulation increases (with Rf3 gradually decreasing to 0), the waveform amplitude range increases and the periodic temporal features become more pronounced.
(4) When a grounding fault occurs at the AC-side positive-end (
F4) in the system, the expressions for
Uh and
Ua are as follows:
R represents the fixed discharge resistor with equal resistance values for R1 and R2 to achieve a uniform pressure effect on the DC side, and Rf4 is the equivalent ground resistance when the RC input positive side is grounded. R3 is the ground detection resistor, ensuring effective collection of DC-side ground detection voltage Uh. Ua represents the DC link voltage. Us’ is a piecewise function that represents the voltage on the AC side. From the frequency domain perspective, Uh consists of a direct current (DC) component and an alternating current (AC) component. Additionally, the frequency composition includes both even and odd multiples of the sub-harmonic. When Is < 0, the AC component is 0 and Uh contains only the DC component. From the time domain perspective, as the degree of degradation of the grounding insulation increases (with Rf4 gradually decreasing to 0), the waveform amplitude span increases and the periodic negative polarity temporal characteristics become more pronounced.
(5) When a grounding fault occurs at the AC-side negative-end (
F5) in the system, the expressions for
Uh and
Ua are as follows:
R represents the fixed discharge resistor with equal resistance values for R1 and R2 to achieve a uniform pressure effect on the DC side, and Rf5 is the equivalent ground resistance when the RC input negative side is grounded. R3 is the ground detection resistor, ensuring effective collection of DC-side ground detection voltage Uh. Ua represents the DC link voltage. Us’ is a piecewise function that represents the voltage on the AC side. From the frequency domain perspective, Uh consists of a DC component and an AC component, which are similar to the frequency composition of F4, including both even and odd multiples of the sub-harmonic. When Is > 0, the AC component is 0, and Uh contains only the DC component. From the time domain perspective, as the degree of degradation of the grounding insulation increases (with Rf5 gradually decreasing to 0), the waveform amplitude range increases, and the periodic positive polarity temporal characteristics become more pronounced, showing a trend opposite to the time domain polarity characteristics of F4.
3. The Proposed Diagnosis Method
3.1. Frequency Domain Feature Analysis
From the aforementioned mechanism analysis, it is evident that under various grounding fault conditions,
Uh demonstrates variability in the composition of its direct current and alternating current components. Concurrently, the operating state of the electric locomotive fluctuates with changes in road conditions. To obtain the non-stationary transient time–frequency characteristics, this study utilizes Short-Time Fourier Transform (STFT) [
25] to extract distinctive features at varying times and frequencies in pursuit of identifying robustly correlated feature indicators.
The principle of the STFT is illustrated in
Figure 2, where the continuous signal
x(
t) is combined with a window function
w(
t) of a fixed length. By sliding the window function, the frequency characteristics of the signal at different time segments are analyzed. The formula is defined as follows:
In the equation, t represents the current moment, and x(t) represents the continuous signal. w(t − τ) denotes the window function, which moves with time τ. f signifies the frequency variable, while τ is the time variable, representing the central position of the window.
The core characteristic of the STFT is the trade-off between time and frequency resolution. The width of the window function affects the resolution: a wider window leads to better frequency resolution, while a narrower window results in better time resolution. During the time–frequency transformation process, the sampling frequency
fs is set to 25 kHz, consistent with the sampling frequency of the experimental data. A Hamming window function is chosen to reduce spectral leakage. The formula is as follows:
where
w(
n) represents the
nth sample value of the window function.
and
are the coefficients that adjust the shape of the window.
N is the total number of samples in the window function, and
n is the position of the current sample.
.
The function of the STFT is depicted in (8), where S is the matrix generated after performing the STFT transformation on the signal y. Each column represents the result of the Fast Fourier Transform (FFT), each row represents the time series, f denotes the frequency value corresponding to each point of the FFT, and t indicates the center time of the sliding window. The type of window function is denoted by win. The step size of the sliding window is noverlap = 50, the number of sampling points for the sliding window FFT is nfft = 512, and the sampling frequency is fs = 25 kHz.
As depicted in
Figure 3, a frequency domain analysis is conducted on the
Uh for five types of grounding faults. There are obvious differences in the time–frequency domain performance of
F1–
F5. In terms of frequency domain characteristics, the fault signal on the DC side (
F1 and
F2) only contains the DC part, the fault signal at the front end of the reactor (
F3) contains both DC and AC parts, and both are even harmonics; additionally, the fault signal on the AC side (
F4 and
F5) contains both DC and AC parts, and there are both odd and even harmonics. By observing the distribution of frequency composition, the main frequencies of the five types of grounding faults are analyzed:
A0 (DC component),
A1 (first harmonic amplitude), and
A2 (second harmonic amplitude). Relying solely on the frequency values for fault classification presents a problem due to the variation in fault severity, which can lead to differences in frequency amplitude. Through a numerical analysis, the characteristic value of
A2/
A0 is introduced, forming a feature vector
T = [
A0,
A1,
A2,
A2/
A0].
The 4-dimensional dataset
T is imported into the input layer of the extreme learning machine (ELM) [
26], and the optimal input weights (
Iw), bias (
B), and output weights (
Lw) are generated through random training by setting the number of hidden layer nodes to 10 and activating the function to
Sigmoid. The output layer outputs the fault label corresponding to the operation of the matrix, which can distinguish between grounding faults in three areas: the DC side (
F1/
F2), the front end of the reactor (
F3), and the input side of the rectifier (
F4/
F5). However, because the frequency domain vector of the signal alone can only be divided into three categories, it is not possible to accurately locate the specific position. Therefore, it is necessary to further analyze the characteristics of the specific fault type.
3.2. Time Domain Feature Analysis
As shown in
Figure 3, a time domain analysis was conducted on the
Uh for five types of grounding faults. The fault signals on the DC side (
F1 and
F2) have stepped numerical characteristics, and with aggravation of the faults, the
Uh signal of
F1 tends to 0 and the
Uh signal of
F2 tends to 600. The
Uh signals at the front end (
F3) and AC side (
F4 and
F5) of the reactor show periodic numerical characteristics. By observing the characteristics of the time domain waveforms, it was determined that the two types of faults (
F1/
F2) exhibit a feature of opposite polarities in
Uh, and the other two types of faults (
F4/
F5) show localized regular waveform features.
In order to further distinguish the polarity characteristics of faults on the DC side, a new variable
V1 was reconstructed to normalize the polarity threshold range to the standard 0 on either side. The expression for
V1 is given by the following:
The
V1 feature fails to distinguish between faults
F4 and
F5.
Uh represents the DC-side ground detection voltage and
Ua represents the DC link voltage.
Is represents the transformer secondary side AC current. Through the mechanism analysis, when
Is < 0 (
F4) and
Is > 0 (
F5), the influence of the AC quantities of
F4 and
F5 is respectively eliminated. Therefore, the
Is variable is introduced, in conjunction with the variable
V1, to reconstruct a new variable
V2. The expression is given by the following:
Due to the complex and variable operating conditions, instantaneous indicators cannot accurately describe fault characteristics. It is necessary to extract continuous fluctuation feature vectors over a period of time to dynamically represent the health status of the system. Variables V1 and V2 exhibit periodic temporal features; hence, a time-sliding window algorithm is employed for feature extraction.
As shown in
Figure 4, a window(
win(
t)) [
27] of length
L (20 ms) is used to slide and segment the waveform of the data segment of length
H. At the same time, the sliding step
S (1 ms) is set and moved along the direction of the time series. Each slide results in a data segment of length
L. When the sliding reaches a point where the remaining data segment is less than the set step, the sliding is stopped.
After applying the sliding window treatment to variables
V1 and
V2, the characteristic indicators
M1 and
M2 of the variables within the period are extracted, with the following formulas:
where
k is each point of the feature indicators;
N is the number of feature variables within the sliding window;
i = 1, 2, …,
N; t represents the current moment;
M1 is the mean of
V1; and
M2 is the variance of
V2.
As shown in
Table 2, the judgment based on the threshold values of
M1 and
M2 can distinguish between
F1 or
F2, and
F4 or
F5. In this context,
Jth1,
Jth2,
Jth3, and
Jth4 are threshold values around 0. Specifically,
Jth1 is less than 0,
Jth2 is greater than 0,
Jth3 is less than 0, and
Jth4 is greater than 0.
After judging the fault to be a DC-side fault (
F1/
F2) through the frequency domain characteristics, the specific fault type is judged by the time domain index diagnosis rules in
Table 2; when
M1 <
Jth1, it is judged to be a DC-side positive ground fault (
F1), and when
M1 >
Jth2, it is judged to be a DC-side negative ground fault (
F2). Similarly, after judging that the fault is an AC-side fault (
F4/
F5) based on frequency domain characteristics, when
M2 <
Jth3, it is judged to be a ground fault at the positive end of the RC input side (
F4), and when
M2 >
Jth4, it is judged to be a ground fault at the negative end of the RC input side (
F5).
3.3. Fault Diagnosis Scheme Based on Time–Frequency Features
Based on the aforementioned time–frequency analysis, a diagnostic approach that clarifies fault area determination in conjunction with internal localization is established. The fault diagnosis scheme based on time–frequency features is divided into two phases—offline and online—as shown in
Figure 5.
In the offline phase, by integrating the topological model with the actual parameters of the locomotive and using an offline waveform acquisition system to collect signals, the original fault detection signal Uh is subjected to frequency domain analysis. The feature vector T = [A0, A1, A2, A2/A0] is extracted as the dataset. The classification of the three fault areas (F1/F2, F3, F4/F5) is accomplished through an extreme learning machine (ELM) classification model. The reconstructed variables V1 and V2 are analyzed in the time domain to extract feature indicators M1 and M2. With threshold judgment, precise fault location can be achieved under the condition of clearly defined fault areas. Ultimately, the differentiation of five types of grounding faults is completed.
In the online phase, the DSP diagnostic board card collects the relevant analog signal of the hardware-in-the-loop system in real time, extracts the sampling data segment, and compares it with the threshold range of the offline normal working conditions to determine whether to enter the fault diagnosis process; when the fault detection flag changes from 0 to 1, the time–frequency characteristics are each extracted to determine the type of fault.
5. Conclusions
This paper proposes a method for the accurate diagnosis and localization of grounding faults in auxiliary power supply systems by combining fault mechanisms with a time–frequency feature analysis. Through a mechanism analysis, frequency domain features and time domain indicators are selected; the frequency domain features are used to determine the fault area, and the time domain indicators are used for fault localization within the area. By combining a data-driven model with judgments of load threshold changes, the method effectively captures variations in frequency distribution and spatiotemporal mapping, enhancing the distinguishability of different types of faults. The proposed time–frequency hybrid diagnostic model was validated using an HIL and OMAP-L138 experimental platform. The experimental results show that this diagnostic strategy can track fault locations online, improving maintenance efficiency.
The contributions of this paper are the introduction of a fault mechanism analysis on the basis of a traditional data-driven model; making data processing interpretable; and at the same time, a simplification of the operation of machine learning models by extracting frequency domain indicators, the construction of time domain variables and the extraction of feature indicators, and the clarification of the diagnostic criteria. More importantly, this paper proposes a combination mode method of offline mechanism analysis and hardware online diagnosis on the basis of limited hardware and achieves real-time fault matching DSP online diagnosis based on an HIL platform, which can be extended to other industrial application scenarios.
In the future, this method will be ready to be adapted to the on-board platform, and at the same time, it is necessary to continuously optimize the online sampling mechanism of real-time fault data and to be able to quickly scan the sampling points, so as to reduce the detection of data points and complete the hardware online diagnosis more quickly. In addition, research on the assessment technology for the severity of grounding faults will be conducted to further enhance the level of train intelligence.