1. Introduction
Solar energy is the cleanest and most accessible renewable energy source available, and it has been used in a variety of ways by people all over the world for thousands of years. The first uses of solar energy were for heating, cooking, and drying. Since solar power can be successfully converted to electric power using the photovoltaic (PV) effect, a number of solar panel technologies have been developed to collect the maximum amount of solar energy during daylight cycles. [
1]. However, because static solar panels are mounted at a fixed tilted angle, more advanced technologies were employed to overcome these barriers found in mobile PV panels, also known as solar tracking devices. Solar tracking systems are generally constructed as single-axis, dual-axis, or multidirectional variants, while dual-axis models are the preferred choice thanks to their balanced cost and performance [
2].
Nevertheless, because solar tracking systems make use of additional automated equipment that is usually deployed around domestic homes, electrical components such as microcontroller units (MCUs), integrated circuits (ICs), and motor drivers are directly exposed to environmental factors such as humidity, rain, and snow, to name only a few. These factors contribute to the occurrence of system errors and faults. One of the significant barriers that modern testing techniques pose in today’s reliability assessment standards is that each testing method can generate only one individual fault coverage for software, hardware, and in-circuit testing (ICT) errors.
Reliability assessment of PV systems is a modern trend that refers to quantitative estimation of different reliability indexes, varying from system reliability and availability to the system mean time to failures (MTTF), based on a probabilistic model by utilizing the reliability data [
3]. Quality and reliability are also core aspects of the system’s economic performance since they result in a low-cost production expansion and are critical to PV market growth and improved competition. Reliability evaluation plays an essential role in the lifespan of PV systems as follows: (a) during the design process, the reliability evaluation will determine if the reliability of the device meets the design specifications so that it can accurately provide recommendations for improvement of the product; (b) during the development process, the reliability evaluation will determine whether the product is eligible to contribute to the quality management of the product; (c) during the usage process, the reliability evaluation will indicate the degree of device reliability so that it can direct the optimization of maintenance and task decision-making.
To assess solar tracking devices’ reliability, it is necessary to develop an efficient metrics system that computes the reliability/availability factor with a reduced number of steps and shortest time possible. Supplementary, it is required to extract system error data from an experimental platform that monitors the solar tracking device during daylight cycles. Consequently, in this paper, an improved and novel unified metrics system is developed by making use of solar test factor (STF) and solar reliability factor (SRF) parameters in order to compute the reliability of automated PV systems. By integrating an online built-in self-test (OBIST), white-box software testing (WBST), joint test action group (JTAG) facilities, and a sensorless flying probe in-circuit tester (FPICT) into an energy-efficient and low-cost scheduling design, this paper aims to improve the general fault coverage of multiple error types and thus generate a unified report of all system faults.
After fusing all hardware, software, and ICT methodologies in one compact scheduling design, the aim is to obtain experimental data over two weeks and further use it to increase the SRF, which defines the robustness, availability, and durability of modern and high-performance solar tracking systems.
The paper is organized as follows:
Section 2 presents the related work regarding PV systems’ reliability analysis.
Section 3 describes, as a comprehensive overview, the proposed unified fault coverage-aware metrics that are used to determine the reliability factor of solar tracking systems.
Section 4 details the implementation of the combined testing suite for software, hardware, and in-circuit errors detection.
Section 5 describes the experimental setup and results. Finally,
Section 6 presents the conclusions of this paper.
2. Framework of PV Systems Assessment
Current advancements in the performance evaluation of PV systems show an increased focus on assessing the reliability of PV cells [
4], solar panels [
5], solar probes [
6], solar roadways [
7], solar inverter equipment [
8,
9], and entire PV systems with and without accumulator [
10]. Additionally, by assessing the reliability of modern PV systems, the authors in [
11,
12,
13,
14] aim to evaluate the performance output of their proposed PV equipment. Despite this, to the best of our knowledge, there is little or no evidence in the literature of reliability investigations concerning mobile PV panel reliability where circuitry and system complexity improves considerably.
The authors in [
4] establish that a harsh space environment is the primary degradation cause of solar modules used in satellite PV panels. Furthermore, solar arrays are an essential key element in outer space satellite missions, which requires extensive reliability analysis based on degradation modeling. Thus, the authors undergo accelerated tests for the attenuation ratio character under different irradiation levels, concluding that the resulting data has heteroscedasticity. With the help of a heteroscedastic linear model, the authors calculate the solar module’s expected lifespan, achieving through simulations a life distribution value of more than 223 h.
Regarding PV panel reliability assessment, the work in [
5] presents a series of pivot elements essential for optimizing solar panels’ expected lifetime. In this direction, distributed balance of system (BOS) products such as power optimizers, power conditioners, and microinverters were required to be introduced on the PV market. The author’s study was oriented towards the validation of a twenty-year lifetime for a new class of distributed BOS products, concluding that proper component selection and determining accelerated test times are essential for validating the product lifetime, as well as for avoiding wear-out failures. Other studies regarding solar probe performance evaluation [
6] show that reliability determination becomes complex due to solar cell size and panel sections. The author’s research is concentrated on failure models, which include solder deterioration, VDA Kapton evaporation, solar cell material deterioration, cover glass to cell-adhesive deterioration, and also regular interconnect and wire failures. Their experimental results prove that solar probes’ reliability is estimated to be 94.98% during perihelion mode and 94.91% during aphelion mode. Reliability analysis is also crucial in determining solar roadways’ durability, where temperature and humidity are critical impact factors. Therefore, the authors in [
7] perform a damp-heat (DH) under temperature conditions of 85 degrees Celsius and 85% humidity for 200 h, reporting an overall power decrease from 20,424 W to 19,967 W for just one solar cell and from 20,204 W to 19,945 W for the entire solar panel road.
On the other hand, when referring strictly to solar inverter equipment, the authors in [
8,
9] consider accelerated testing and failure detection a vital key element for determining and improving inverters’ reliability. Thus, new methods, such as selecting capacitors, inverter topology, and incorporating wide-bandgap semiconductor devices, prove efficient for improving the reliability of PV inverters and reducing the long-term return on investment (ROI) of residential PV systems by up to 10%. Finally, a more comprehensive reliability investigation is presented in [
10], where the authors analyze the performance of a solar PV system with and without battery storage. The changes that occur during operation are measured through a loss of load probability index by using a Monte Carlo technique. Their experimental results demonstrate that PV panels’ power generation is significantly higher when considering resource variation and hardware status than using resource variation.
Regarding the performance estimation of PV energy production, the authors in [
11] propose a simplified model for assessing the performance of solar systems by using a mathematical model based on performance ratio (PR), temperature coefficient, solar irradiation, and soiling parameters that impact the energy production formula of PV panels. Their experimental results, which were carried out for 50 locations, for a total of 200 simulations, show that the proposed simplified model together with a regression model achieve increased accuracy comparable to high-quality simulation tools. The authors in [
12] evaluate the power output of a solar plant design that was deployed on the rooftop of a building in order to examine the drawbacks of connecting multiple solar panels in a grid. Their investigations demonstrate that mounting several modules at an increased distance causes PV system energy loss. Therefore, careful planning along with adjusting the parameter values is recommended for satisfying customer needs in respect to minimum power output and cost limits.
Similarly, the authors in [
13] present a stochastic model for estimating the performance of PV panels by considering the amount of solar radiation and other climatic variables such as temperature and wind speed. Their experimental investigations prove the efficiency of the proposed stochastic model by integrating all climatic variables in a Monte Carlo simulation. Finally, the work in [
14] describes the importance of PV system performance in supplying the energy to distribution grids in scenarios of overload conditions. The PV panel power output estimation was realized with the help of various linear and non-linear techniques such as Hammerstein–Wiener model, transfer function model, and Non-Linear ARX model that were compared with the Karman filter.
This paper distinguishes itself from the abovementioned works by developing an improved and unified metrics system together with a combined testing suite composed of energy-efficient hardware, software, and ICT solutions, which are performed on a dual-axis solar tracker. By employing several fault coverage-aware metrics, this work aims to increase the SRF, which describes the robustness, durability, and availability of the entire solar tracking system.
4. Improving the Solar Reliability Factor of a Dual-Axis Solar Tracking Device Using Energy-Efficient Testing Methods
The previously proposed and described unified metrics system is an improved mathematical model of three fault coverage-aware metrics applied to individual test scenarios (hardware, software, and ICT). Since the initial Equations (7)–(10) are improved, the unified metrics system becomes more effective when mixed test scenarios are performed on a solar tracking system. In the following, the energy-efficient testing solutions from the fault coverage and reliability calculus points of view are detailed.
4.1. White-Box Software Testing Procedure
WBST routines are software checking methods that enable the test engineer to visualize the deployed algorithm’s inner workings and insert breakpoints or software functions to verify the code’s critical paths.
The work in [
17] presents a WBST method that sends virtual sensor data from a dedicated cloud platform to a solar tracking device to verify its functionality. The communication channel is an essential component of the WBST as it connects the local hardware to the server via Wi-Fi industrial scientific and medical (ISM) band. By using an ESP 8266 Wi-Fi module as a middle man between the cloud layer and the Arduino UNO microcontroller, the test engineer is capable of transferring massive amounts of data at a given baud rate in order to detect control flow, communication, calculation, and error handling errors. In this paper, the cloud communication and Wi-Fi module from the WBST setup are eliminated and thus a more simplified testing model is obtained, as can be seen in
Figure 2.
Accordingly, by modifying several parts of the firmware, zero probability of communication errors was obtained, as well as an improved fault coverage of control flow, calculation, and error handling errors. The improved fault coverage for the offline WBST routines can be seen in
Table 1, where error types columns represent the number of detected software errors.
At this point, the unified metrics system that was developed in
Section 3 can be applied by discarding the hardware and in-circuit parameters from each of the equations. By doing this, Expression (11) is obtained:
Following, the metrics set will be computed only for the software STF parameter, as presented in the equation set:
The previously determined values are calculated for an error factor
E extracted from the lines TP1, TP2, TP3, and TP4 found in
Table 1 and a constant number
B = 5 breakpoints given by the software algorithm of the WBST method. In addition, the total number of test patterns
TP is derived from column 2 of
Table 1.
Finally, since the SRF will have the hardware and in-circuit parameters discarded from the unified metrics system, similarly to Expression (11), a simplified equation set will be obtained, as presented:
Here, it can be seen that the average value of the SRF parameter is 0.9761, representing the solar tracking system’s reliability when considering software-oriented errors.
4.2. Online Built-In Self-Test Architecture
The built-in self-test (BIST) routines are hardware checking methods that allow the test engineer to deploy a test pattern generator (TPG) and output response analyzer (ORA) in order to verify the functionality of a circuit under test (CUT), which can be a digital device or a chain of electrical circuits.
The work in [
18] presents an OBIST architecture that injects random test patterns from a 16-bit linear feedback shift register (LFSR) into a circuit chain composed of an Optocoupler LTV847, Arduino UNO MCU, and two L298N motor drivers in order to obtain a signature database of fully functional and faulty components. The polynomial function, which in our case is given by the expression
, is an essential element of the BIST architecture since it allows us to control the amount of patterns that are generated, thus maximizing the number of test vectors that can be injected in the CUTs. For the implementation of the OBIST, in order to be able to construct the hardware-based LFSR, four 74HC194 ICs are required, which are 4-bit bidirectional shift registers. Similarly, for the multiple input signature register (MISR), the same amount of ICs can be used in order to construct two signature databases that are analyzed for error detection, as can be seen in
Figure 3.
Since the fault coverage obtained in [
18] was efficient, no OBIST hardware implementation parts were necessary to be modified. Thus, the unified metrics system can be adapted to the relations from [
16], as expressed in the equation set:
By replacing the values from Equation (14), the results are obtained, presented in the equation system:
After computing Equation (15), the
SRF relations were determined according to the equation system:
A more general observation is that the level of detail for each graphical representation can be controlled via a granularity factor which is later described in this paper.
4.3. Hybrid Testing Method Based on Boundary Scan and In-Circuit Testing
Hybrid testing methods are a type of mixed testing routines that allow the test engineer to combine two or more testing techniques in order to cover multiple categories of errors and faults. The work in [
19] presents a hybrid testing approach composed of an FPICT device and JTAG boundary scan test technologies. The FPICT is used for testing the physical parameter values of our dual-axis solar tracking equipment comprising 1× Optocoupler, 1× Arduino UNO board, and 2× L298N motor drivers. Due to the lack of existing JTAG testing facilities on the Arduino UNO board, it was replaced with an STM32 development board. To gain access to the internal logic of the STM32 microcontroller, the dedicated and low-cost ST-Link V2 JTAG adapter was tethered to the FPICT unit. To make all five CUTs test points (TPs) more available to the FPICT system, a custom modular printed circuit board (PCB) was built.
For computing the fault coverage of the syntax errors, as well as of the structural and stuck-at-faults presented in
Table 2, an automated Python script was used that triggers the JTAG boundary scan testing method at scheduled times (in our case, at 8:00 a.m. and 4:00 p.m.) and which can be manually configured by the user.
Due to the effective combination of JTAG and FPICT testing technologies, a balanced fault coverage of software, hardware, and in-circuit errors was accomplished. With the experimental data provided in
Table 2, the unified metrics system for mixed test scenarios can be computed.
First, regarding the mostly sunny week, according to Equation (9), the equation set for the STF parameter is calculated as expressed in Equation (17):
The above metrics system is calculated for a number of
D = 16 flip-flops (for stuck-at-faults),
TP = 840 (for syntax errors), and
NR = 1000 (for structural faults). Accordantly, the following results are obtained, presented in Equation (18):
Secondly, based on the results obtained in the equation set (18), the global SRF parameter is computed, as presented in Equation (19):
After solving the metrics system, Equation (19), the
SRF parameters are obtained, as presented in the equation set:
Similarly, the mixed test scenarios for the partially cloudy week are evaluated with the equation system presented in Equation (21):
The
STF parameters for the partially cloudy week are determined for a number
D = 16 flip-flops,
TP = 840 software test vectors,
NR = 1000 in-circuit routines, according to the equation set:
Similarly, the unified metrics set for the SRF parameter are calculated according to the general equation system:
Thus, after substituting all
STF values from the previously computed equation system, the remaining
SRF parameters are obtained in the equation set:
Finally, by analyzing the average values from
Table 2, the global
STF and SRF parameters can be accurately computed according to the metrics system:
Therefore, by replacing each of the variables in Equation (25), the reliability factor of our solar tracking system is obtained over two weeks, as computed in the equation set:
According to the last equation set (Equation (26)), it is observable that the global SRF of the entire solar tracking device is rated at 74.29%.
5. Experimental Setup and Results
This section presents a detailed overview of the experimental setup encompassing the combined testing suite and a smart scheduling diagram, as well as the graphical generated results obtained from the previously calculated unified metrics systems.
5.1. Proposed Combined Testing Suite for Improving the Solar Reliability Factor
One of the primary goals of this paper is to fuse various testing methodologies into one compact design composed of software, hardware, and ICT techniques to extend the SRF parameter of solar tracking devices.
The interface of our virtual environment, as can be observed in
Figure 4, is divided into two parts: software and hardware interface.
The software interface contains the algorithm implementations of the WBST, OBIST, FPICT, and JTAG methods and is directly connected to the analysis block. The hardware interface, on the other hand, is placed outside the software layer and uses a TPG unit (hardware-based LFSR) for injecting test patterns into the OBIST block and an ORA unit (hardware-based MISR) for collecting the results from the signature-based testing technique and further directing them to the analysis block. The detailed reports created inside the analysis block are displayed on the central console (in our case, a Raspberry Pi 3B+ platform) after each combined test ends its daily cycle.
It is worth mentioning that the proposed combined testing suite achieves self-sufficiency regarding energy needs for the proposed hybrid testing method and the entire solar tracking equipment by making use entirely of solar energy. The entire testing suite consumes between 5 Wh and 6.13 Wh during its operational status [
19], while the energy generation provided by the mobile solar panel compensates for the power usage in both, mostly sunny (10.76 Wh) and partly cloudy (5.51 Wh) day scenarios. The low power consumption of our experimental setup was made possible by employing an intelligent triggering mechanism for each testing routine which is based on a smart scheduling diagram described in the next subchapter of this paper.
5.2. Smart Scheduling Diagram for the Proposed Combined Testing Suite
The proposed combined testing suite executes each testing routine according to an automated scheduling diagram that considers solar panel movement a vital element of the triggering mechanism. As shown in
Figure 5, the combined testing suite is scheduled to launch when the solar tracker movement is detected by an automated script that runs in the Python programming environment.
In the first stage of the scheduling program, the hybrid testing initialization will prioritize the WBST and OBIST routines, which also involves the configuration of the hardware-based LSFR and MSIR with their initial seed values, as well as the generic Raspberry Pi 3B+ routines configuration. The FPICT and JTAG program schedule, being a mixed testing routine, consists of the three-axis calibration and modular PCB connection with the STM32 board (for the ICT), as well as the ST-Link tethering to the STM32 board (for the boundary scan procedure).
The second stage of the scheduling program refers strictly to the WBST routines and the actions that the test program will take to check the Arduino UNO MCU for software errors. Since the cloud layer from the WBST setup was eliminated, the test program will read the PV cells’ voltage values directly from the solar panel. At this point, the test program will call the WBST function and will verify the algorithm mechanism in a continuous loop while monitoring and reading the Boolean values received from the limit switches and blocking elements. If no software errors were detected at this stage, the solar tracker would move the vertical and horizontal motors until it reaches its optimum position. In the opposite scenario, a detailed report with the software error types will be generated by the test program.
The third stage of the scheduling program will trigger the OBIST routine that will initially read the data vector provided by the hardware-based LFSR unit. Once the first test pattern is loaded, the test program will immediately call the OBIST primary function that will inject test vectors into the golden and faulty CUTs to gather their responses in the MISR unit. Through signature comparison, the test program will decide which signatures in the database are faulty and will accordantly generate a report with the hardware faults.
The fourth stage of the smart scheduling diagram refers to the FPICT and JTAG methods, focusing on the ICT component. During the last testing phase, the custom-built FPICT will navigate the probe to the L298N TPs to measure the output voltages and compare them with the catalog values. Similarly, the FPICT device will measure the voltage values from the STM32 development board and LTV847 Optocoupler to check for power supply outages. If any structural faults are detected successfully at the IC-level design, a detailed report will be generated and sent together with the previous reports to the central console for future analyses.
5.3. Graphical Representations of the Global STF and SRF Parameters
Accelerated testing [
4] is an essential and indispensable quality assessment tool for checking automated PV systems for long-term usage, which allows us to inject a large amount of software, hardware, and in-circuit errors into the system through simulation. When compared to real-time testing, accelerated testing has several advantages, enumerated as follows: (a) is a non-intrusive method, meaning that it does not impact the performance of the system and also circumvents unnecessary damage to the components; (b) simulates software, hardware, and in-circuit errors in a short time (a couple of hours or days) in opposition with real-time test scenarios (which can take months or even years); (c) uses a minimum amount of resources and is considered a low-cost solution on the PV market.
In this paper, by using the experimental data obtained from our accelerated hybrid testing solution, the global STF and SRF parameters were determined over a two-week period.
First, the graphical representations of the syntax errors will be generated, as depicted in
Figure 6.
To represent the test factor for syntax errors, it is crucial to define the STF parameter’s dependability concerning the error factor E. As shown in
Figure 6, an average value of E = 569 software errors was detected during the two weeks test time. The corresponding graphical representations of the STF (a) and SRF (b) parameters can be seen in
Figure 7.
Concerning
Figure 6 and
Figure 7a, since the test factor is computed with the help of the fault coverage, it can be immediately noticed that the graphical representations of the software error factor E and STF parameter are identical. Based on these findings, the remaining graphical charts of the hardware and in-circuit STF and SRF parameters will be generated.
Secondly, the hardware STF (a) and SRF (b) were calculated for an average value of E = 39,039 stuck-at-faults, and their graphical distributions over two weeks are depicted in
Figure 8.
Thirdly, the in-circuit STF (a) and SRF (b) were computed for an average value of E = 717 structural faults, and their graphical distribution models can be seen in
Figure 9.
At this point, it is essential to mention that all graphical representations were created individually for each testing method, based on the generated reports (see
Figure 5). However, since a unified metrics system was applied, the results obtained in each equation set can be used for mixed test scenarios computation. According to Equations (18), (20), (22), and (24), the graphical representation of the global STF (a) and SRF (b) is illustrated in
Figure 10.
Finally, as can be seen in
Table 3, this paper presents a comparison between the proposed unified metrics system, our earlier fault coverage-aware metrics [
16], and the Weibull distribution model [
20] regarding calculation steps and execution time (measured in milliseconds).
This comparison was realized using the Python programming environment. It can be observed that the unified metrics system only adds seven additional steps over the original fault coverage-aware metrics, translating into a 9.21% loss while maintaining the same speed of cycle execution. Consequently, it can be seen that the proposed unified metrics system significantly reduces the computation time by 85.91% and the number of calculation steps by 72.26%, showing that our metrics are considerably more efficient when compared to the standard Weibull distribution model.
6. Conclusions
This paper presents a novel unified metrics system based on a fault coverage-aware metrics set that calculates an STF and SRF parameter for assessing the reliability of a dual-axis solar tracking device. By using a combined testing suite composed of software, hardware, and ICT methods, this paper aims to improve the SRF parameter and thus adapt the fault coverage-aware metrics for mixed test scenarios. By employing a unified metrics system, the main goal was to increase the fault domain to multiple error types which can affect the performance of solar tracking devices, and thus impact the global SRF parameter. Additionally, it was demonstrated that accelerated testing is a superior tool for assessing the reliability of solar tracking systems when compared to real-time testing, where different error types occur rarely and the test time is considerably increased. Finally, four energy-efficient testing techniques encompassing WBST, OBIST, FPICT, and JTAG methods were fused into one compact and low-cost testing design which makes use entirely of solar energy during operation. The experimental results show that our proposed unified metrics system is efficient in terms of runtime execution, reducing the computation time by 85.91% and the number of calculation steps by 72.26%, compared to the standard Weibull distribution model. Although our unified metrics system improves the reliability analysis of solar tracking systems, it fails to increase the value of the SRF parameter. In future work, we plan to reduce the fault coverage of multiple types of errors that were studied in this paper in order to increase the SRF parameter which characterizes the functionality of the tested solar tracking system.