1. Introduction
Hall current sensors are magnetic sensors based on the Hall effect that can measure current without contact and are therefore extensively used in many fields such as electromagnetic compatibility, power systems, electronic equipment, speed tests in automotive engineering, etc. [
1,
2,
3]. In practical applications of Hall current sensors, environmental factors will directly affect the service life of Hall current sensors, with temperature and humidity being the two most important and common influencing factors. Prolonged operation of Hall current sensors in high- or low-temperature environments can easily cause phenomena such as core saturation and winding burnout, which in turn lead to measurement errors of the output current. Excessive temperatures also cause wear and tear on the sensor’s sensitive components, which can lead to material aging and electrical failure over time [
4,
5,
6]. Core saturation and winding burnout in Hall-effect devices are two significant issues rooted in distinct physical principles. Core saturation occurs when the magnetic flux in the device’s core exceeds its design limits, usually due to overvoltage or high levels of harmonic distortion. When the core becomes saturated, it cannot effectively channel the magnetic flux, leading to a sharp increase in magnetizing current, which generates excessive heat and can cause thermal damage to the core and surrounding components. Winding burnout, in contrast, is primarily a result of excessive current through the device’s windings. This high current generates heat due to the resistive properties of the winding materials (Joule heating). If the current exceeds the windings’ thermal limits for a prolonged period, the insulation around the windings can degrade and eventually fail. This failure can lead to short circuits between winding turns or phases, resulting in catastrophic damage to the device [
7,
8]. Additionally, as temperatures rise, the degree of corrosion and aging of the electronic components of Hall current sensors accelerates, and the insulating materials of their circuit boards are decomposed by high temperatures, leading to a decrease in the efficiency of other components. Moreover, if the humidity is too high, it will accelerate the penetration of moisture into the circuit board, making the ion migration phenomenon inside the circuit board more serious, leading to a decrease in the insulation performance of the circuit board, thereby causing the Hall current sensor to be unable to function normally [
9]. Therefore, studying the reliability of Hall current sensors is important for ensuring stable operation under various environmental conditions.
Currently, research on product reliability prediction mainly focuses on methods such as failure analysis, neural networks, Monte Carlo (MCS), and stochastic processes. These methods each have their own strengths and weaknesses. Fault analysis methods provide systematic and structured approaches, visualizing fault relationships through graphical and tabular representations, which facilitate the identification and prioritization of critical faults. However, analyzing complex systems can be extremely time-consuming and dependent on specialized knowledge and experience. Additionally, assumptions and data used in these methods may carry uncertainties that affect the accuracy of the analysis results [
10,
11,
12]. Neural network methods in product reliability prediction possess strong self-learning and nonlinear processing capabilities, enabling them to learn complex patterns and relationships from large datasets. They also exhibit strong robustness to noise and incomplete data. However, neural network models are often considered black-box models, lacking interpretability, and their training processes require large amounts of high-quality data and computational resources. Despite their strong predictive capabilities, the complexity of the models and the required training time may pose limitations [
13]. Monte Carlo methods are renowned for their flexibility and statistical nature in product reliability prediction and are suitable for handling various complex and high-dimensional problems. They can estimate system behavior and characteristics through random sampling and are widely applied in many fields. However, Monte Carlo methods are computationally expensive, requiring many random samples and computational resources. The precision of the results depends on the sample size, and the convergence speed may be slow. Additionally, the complexity and computational load can become practical obstacles in some cases [
14,
15]. Stochastic process methods effectively describe the dynamic changes and random behavior of systems in product reliability prediction, making them suitable for addressing time-dependent reliability issues and providing probabilistic descriptions of system failure times. However, constructing and analyzing stochastic process models are complex, relying on precise mathematical models and extensive historical data, and require highly accurate model assumptions. In practical applications, model selection and parameter estimation can be challenging, and computational complexity is also a factor to consider [
16]. When using these methods to forecast the dependability of Hall current sensors, an extensive number of samples is needed, and the degradation must follow certain distribution conditions. However, due to the high reliability and long lifespan of Hall current sensors, enough degradation data cannot be obtained within a brief timeframe, making it difficult to apply the above methods to reliability prediction [
17].
The Bayes method is commonly used to solve reliability prediction problems for products with small samples. This method can effectively shorten the test period and reduce test costs, so this paper chooses the Bayes method to forecast the dependability of Hall current sensors. First, the Bayesian method can effectively combine prior knowledge with new data, improving prediction accuracy by updating the prior probability distribution. This is particularly important in the case of small samples, where insufficient data may lead to unstable results with traditional statistical methods. Secondly, the Bayesian method can provide probabilistic prediction results, making uncertainty analysis more intuitive and comprehensive. Finally, the Bayesian method excels in handling complex systems and multi-parameter estimation, flexibly adapting to different model requirements, thereby enhancing the accuracy and robustness of reliability predictions [
18,
19]. When using the Bayes method to predict the reliability of products with small samples, the first step is to collect various prior information based on the characteristics of different products and construct a prior distribution function. Then, integrating sample data with the prior distribution function, the subsequent distribution is obtained. Finally, through two high-dimensional integral operations, the distribution function and estimated value of the parameters are obtained, achieving accurate prediction of product reliability [
20,
21,
22].
The solution of the posterior distribution based on the Bayes method involves complex and slow high-dimensional integral operations. An improved Bayes method is proposed for the reliability prediction of Hall current sensors with small samples. This method first conducts accelerated test design, experimental data preprocessing, and degradation process analysis. Second, to solve the problem of insufficient prior information for Hall current sensors, a BP neural network model is used to expand small sample data. The BP neural network possesses powerful nonlinear mapping capabilities, as well as self-learning and adaptive abilities. Additionally, the algorithm is relatively simple and easy to implement in programming. Beyond that, a well-trained BP neural network can not only fit the training data well but also accurately predict and classify new input data. Therefore, this model can be used to supplement the prior information of the Hall current sensor to improve the accuracy of predictions. Then, when solving the prior distribution function, an improved Bootstrap method is chosen, which is particularly suitable for analyzing small sample problems. To avoid complex high-dimensional integral operations, the numerical analysis software OpenBUGS3.2.3 is used to program the prior distribution function and prior information, and the Gibbs sampling algorithm is used to solve the posterior distribution parameters, avoiding complex high-dimensional integral operations. Finally, according to the Peck model, the dependability of the Hall current sensor in standard operating circumstances is forecasted, providing a theoretical reference for the service life of the Hall current sensor. The specific process is shown in
Figure 1.
3. Hall Current Sensor Prior Information Processing
3.1. Extrapolated Pseudo-Failure Life
To obtain the pseudo-failure lifespans for various Hall current sensor samples, it is necessary to first fit the degradation data of the sensors to obtain the most suitable degradation curve model. Taking the degradation curves of the three samples, 50 °C-60%RH-A1, 65 °C-70%RH-B1, and 80 °C-80%RH-C1, as examples, this section details the specific process for calculating the pseudo-failure lifespans. The degradation data are fitted with linear, power, exponential, and logarithmic models using the least squares method, and the optimal fitting function is selected based on the sum of squared residuals (SSE) and the correlation coefficient (R
2). The fitting results are shown in
Table 1.
As shown in
Table 1, for the three samples, the sum of squared residuals (SSE) is the smallest and the R
2 value is close to 1 under the linear model fitting. Therefore, it can be considered that the performance degradation amount and zero-point voltage of the Hall current sensor will decrease linearly with the extension of the usage cycle. Using the linear fitting results in combination with the failure criterion, the pseudo-failure lifespan of the Hall current sensor samples under various stress conditions is extrapolated.
Table 2 gives the pseudo-failure lifespan of eight Hall current sensor samples under the 65 °C-70%RH stress combination.
3.2. Pseudo-Failure Life Distribution Test
The Weibull distribution has good compatibility and can fit various types of data, describing the failure process of products at different stages. When utilizing the Weibull distribution to represent the pseudo-failure lifespan of Hall current sensors, it is essential to initially assess whether the pseudo-failure lifespan data of the sensors follow a Weibull distribution. The Anderson-Darling test method is chosen to test the distribution to which the pseudo-failure life of Hall current sensors adheres, and the distribution test results are shown in
Table 3.
In
Table 3, a value of
H (Hypothesis Test Result) equal to 0 indicates acceptance of the distribution hypothesis, whereas a non-zero value indicates rejection of the distribution hypothesis;
P represents the test values for each distribution, indicating the probability of conforming to the distribution;
AD* is the statistic for the Anderson-Darling test; and the critical value
CV is a standard used to determine whether the
AD* is greater than this value. If the
AD* is greater than the
CV, we can reject the null hypothesis, meaning that the data do not conform to the specified distribution. As seen from the Anderson-Darling test results in
Table 3, the pseudo-failure lifespan data of the Hall current sensors conform to all three hypothesized distributions, but the probability of conforming to the Weibull distribution is the highest. Therefore, the Weibull distribution can be considered as the most suitable distribution function for the pseudo-failure lifespan of Hall current sensors.
3.3. Pseudo-Failure Life Expansion
When using the Bayes method to analyze product reliability, it is usually necessary to have a large amount of failure data to construct a failure distribution model. When the number of test samples is insufficient, it is necessary to use the sample expansion method to expand the prior information. The BP neural network model, as a commonly used sample expansion model, has a simple prediction process and highly accurate results. When performing pseudo-failure life extension in cases where the original data may not adequately represent the full range of potential degradation behaviors, neural network models may face issues such as insufficient representativeness of training data and overfitting, leading to decreased accuracy in predicting unseen degradation behaviors. To address these issues, data augmentation, transfer learning, cross-validation, and regularization techniques can be employed to enhance the model’s generalization ability. Additionally, ensemble learning methods can improve prediction stability and accuracy, while regularly monitoring and updating the model helps to continuously improve its performance. These measures can effectively mitigate the limitations and biases caused by insufficient data representation, thereby enhancing the accuracy and reliability of predictions. Therefore, the BP neural network model is chosen to expand the pseudo-failure lifespan data of the Hall current sensor, and the expanded pseudo-failure life data are used as prior information. The BP neural network structure adopted in this paper includes an input layer, a hidden layer, and an output layer. The input layer processes eight input samples, the hidden layer contains 10 neurons and uses the tansig (tangent sigmoid) activation function, while the output layer processes eight output samples and uses the purelin (linear) activation function. The expansion of the pseudo-failure lifespan of the Hall current sensor at 65 °C-70%RH is taken as an example.
Firstly, it is essential to provide the BP network with original input and output data pairs for network training. Using empirical reliability as the input during BP neural network learning and the original pseudo-failure life data as the output during BP neural network learning, the training of the BP neural network is completed. The original data are obtained by performing a weighted average on the accelerated test data by (1) to (4). In cases where the sample distribution model of the data is unknown, the empirical distribution function can be used as an input to the BP neural network to estimate empirical reliability. However, when the sample distribution model is known and the sample size is small, the empirical distribution function may have significant computational errors. To reduce the error in the case of small samples and improve the prediction effect, the mathematical expectation formula can be used to calculate the empirical reliability.
Within the Equation,
n denotes the count of samples, while
N signifies the number of augmented samples. The empirical reliability of the eight sensor samples is calculated as follows.
After training is completed, the training results are verified for accuracy against the original data, as shown in
Table 4.
As shown in
Table 4, the forecasting precision of the BP neural network is extremely high, with the absolute value of the relative discrepancy between the forecasted values and the original data being under 1%. This indicates that the BP neural network model has been successfully trained.
After training is completed, the random empirical reliability R(ti) = {0.85, 0.8, 0.77, 0.7, 0.6, 0.55, 0.35} is input into the trained BP neural network to complete the expansion of the pseudo-failure lifespan data. The seven expanded data obtained are {254.47, 245.91, 242.20, 275.29, 278.34, 271.46, 250.34}.
To determine the fit between the original pseudo-failure life data and the expanded data, a comparison result graph of the original sample’s pseudo-failure life data and the expanded data is provided, as shown in
Figure 5.
5. Reliability Prediction of Hall Current Sensors under Normal Stress Levels
In practical engineering, in order to assess and predict the reliability of products under normal working stress levels through accelerated testing techniques, it is necessary to ensure that the product’s failure mechanism remains unchanged under different applied stresses. The consensus for validating the consistency of accelerated failure mechanisms in the Weibull distribution model is that the magnitude parameter is a function of the accelerated stress, while the shape parameter is constant. By comparing and analyzing the Weibull distribution parameters of the pseudo-failure lifespan of Hall current sensors under different stress levels in
Table 7, it can be observed that the magnitude parameter varies significantly under different accelerated stresses, while the shape parameter exhibits a small variation and good consistency. From this analysis, it can be concluded that the failure mechanism of the Hall current sensors did not change under the three accelerated stress levels.
When the pseudo-failure lifespan of Hall current sensors follows a Weibull distribution, their dependability function can be expressed as (12).
Since temperature and humidity are the main factors affecting the performance degradation of Hall current sensors, the Peck model is selected to depict the correlation between the degradation rate of Hall current sensors and the temperature and humidity stress levels.
where
R is a parameter related to the rate of performance degradation,
T is the temperature, and
RH is the relative humidity.
Based on the estimated values of the Weibull magnitude parameters under different stress combinations in
Table 7, the global optimization algorithm is used to fit the parameters
a1,
b1, and
c1 in the Peck model. The relationship between the magnitude parameter and the temperature and humidity acceleration stress is obtained, as shown in (14).
By substituting the normal operating environment temperature (25 °C) and humidity (40%RH) of the Hall current sensor into (14), the estimated value of the magnitude parameter under normal temperature and humidity levels is obtained as 3005.37. In accordance with the principle of consistency of accelerated failure mechanisms, the shape parameter can be represented by the mean of the shape parameters obtained under each accelerated stress, thereby obtaining a shape parameter of 23.47 for the Hall current sensor under normal stress levels.
Consequently, the reliability function of the Hall current sensor under normal temperature and humidity stress levels can be expressed by (15).
Based on the above equation, the dependability curve of the Hall current sensor under normal temperature and humidity stress levels can be acquired. Since it is difficult to verify the reliability prediction results of the improved Bayes method using actual service life information, this paper chooses to use the Wiener stochastic process model to validate the effectiveness of the proposed improved Bayes method.
The comparison of reliability curves for the two methods is shown in
Figure 10.
As shown in
Figure 10, the reliability curves obtained by the two prediction methods exhibit the same overall trend, but there are some differences. The main reason for these differences is that while the Wiener model considers the randomness in the sensor’s performance degradation process, the limited number of sensor samples used in the accelerated degradation tests does not effectively capture the randomness and variability of the performance degradation parameters during the degradation process. Overall, the reliability forecasting outcomes derived from the enhanced Bayes approach and the Wiener process are fairly similar. Additionally, since the BP neural network model in the improved Bayes method can expand small-sample degradation data, it can still be used when the number of test samples is small. Compared to the Wiener stochastic process, this method has a wider range of applicability and is more advantageous in handling reliability prediction problems with small samples. In practical engineering applications, there is no strict regulation for the service life of Hall current sensors, and the manufacturer’s recommended service life is 6–8 years. The variation in reliability thresholds can significantly affect the estimated service life of Hall current sensors. Increasing the threshold (e.g., from 0.9 to 0.95) will shorten the estimated service life but increase reliability, whereas decreasing the threshold (e.g., from 0.9 to 0.85) will extend the estimated service life but increase the risk of failure. The sensitivity of reliability thresholds can be evaluated through sensitivity analysis, observing the impact of different thresholds on service life estimation. High-quality data and accurate models can reduce the uncertainty of service life estimation due to changes in thresholds. Therefore, the appropriate selection of reliability thresholds is crucial to balance product quality, cost, and failure risk. In this example, reliability thresholds of 0.8, 0.85, 0.9, and 0.95 are used to estimate the service life of Hall current sensors based on
Figure 10, with the results shown in
Table 8. As indicated in
Table 8, the estimated service lives based on these thresholds all fall within the range of 6–8 years. It is generally accepted that Hall current sensors are not suitable for continued operation when their reliability drops to 0.9. According to
Figure 10, the service life of the Hall current sensor under normal temperature and humidity stress conditions is defined as the time when the sensor’s reliability reaches 0.9, which is 2725 days, or approximately 7.5 years.