This section will focus on the experiments. We will first introduce the hardware platform and experimental parameters used, then evaluate the proposed observer under four different scenarios. Finally, we will summarize and discuss the conclusions drawn from each experiment.
4.1. Structure of Hardware Platform
The hardware setup is illustrated in
Figure 5 and consists of the following key components: a control board, three supercapacitors, voltage and current data acquisition units, and a 12 V DC power source.
Control Board: The platform’s controller is a Raspberry Pi 4B with 8GB RAM running Raspberry Pi OS, featuring GPIO output, SPI communication, and serial communication.
Supercapacitors: Three Maxwell BCAP0310 supercapacitors (Yongin-si, Republic of Korea) are connected in series, balanced using RPi Relay Board (B) relay modules and RX24-50W equalizing resistors.
Voltage Sensor: A high-precision AD/DA board, equipped with an ADS1256 chip, provides 8 channels of 24-bit ADC (4 differential) at a maximum sampling rate of 30 ksps, along with a DAC8532 chip for 2 channels of a 16-bit DAC.
Current Sensor: An INA238 Current Sensor, with a 2 mΩ sampling resistance, detects currents up to 30 A with accuracy, communicating data via serial communication.
Power Source: The Tektronix PWS4305 power supply (Beaverton, OR, USA), known for its voltage accuracy and current accuracy, provides charging current for the supercapacitors, while an external 12 V DC power supply powers the control board and sensors.
The operation process of the platform is as follows: The Raspberry Pi 4B runs the control program for the entire balancing and charging process. During charging, the controller uses SPI to monitor the voltage of each supercapacitor via the AD/DA Board. When a cell’s voltage exceeds the set threshold, the controller activates the corresponding relay on the RPi Relay Board (B) via GPIO for balancing protection. The INA238 Current Sensor measures the charging current for further analysis.
4.2. Experimental Parameters
(1) Physical Parameters: According to Maxwell’s specifications, the BCAP0310 supercapacitor has a rated capacitance of 310 F and a rated voltage of 2.70 V, with an absolute maximum voltage of 2.85 V. It operates between −40 °C and 65 °C, with our tests conducted at 25 °C, where the estimated DC life is 10 years, after which capacitance may decrease by up to and ESR may increase by up to .
To measure the capacitance and ESR, we followed the specified test current and waveform. With a maximum charging current of 10A, the measurements yielded the following results: for the first supercapacitor, = 298.455 F, r = 2.031 mΩ, and = 2.693 V; for the second, = 315.285 F, r = 1.967 mΩ, and = 2.608 V; and for the third, = 330.037 F, r = 1.978 mΩ, and = 2.769 V.
(2) System Parameters: For our experiments, we set the observer gain L to 0.2, a value determined to be suitable based on our theoretical analysis (Lemma 2) and confirmed through experimental observations.The charging current(i) is always set to 2 A.
4.3. Experimental Results
We designed three distinct experiments to compare the performance of our proposed observer against other observer implementations.
(1) Case 1: In this case, we focus on evaluating the robustness of our proposed observer (Equation (
19)) against parameter uncertainties, comparing it to a standard open-loop observer (Equation (
12)). To simulate a realistic scenario where component parameters may deviate from their nominal values, we introduced deviations of
and
in the capacitance value within the system parameters.
For this experiment, we charge the system using a constant current (CC) source at 2 A, with all three switches deactivated. Our focus is on the first supercapacitor cell, initialized at a voltage of 0.1 V, corresponding to an initial SOC of approximately . The proposed observer and open-loop observer are both initialized at SOC. We switched the switch to start charging the supercapacitor at t = 8 s and stopped charging again at at t = 124 s.
Figure 6 presents the experimental results. As evident from the plots, while the proposed observer exhibits an initial lag behind the true SOC, it rapidly converges and maintains its tracking error within
within approximately 5 s. In contrast, the open-loop observer struggles to achieve accurate tracking, as shown in
Figure 6a, where a persistent error is observed with a
capacitance deviation. In
Figure 6b, when the parameter deviation reaches
, the error worsens further.
Table 2 contains SOC data at the end of charging. This highlights the superior robustness of our proposed observer in the presence of real-world parameter uncertainties.
(2) Case 2: In this experiment, we evaluated the observers’ ability to adapt to changing operating conditions and accurately estimate the SOC during dynamic charging scenarios. As depicted in
Figure 7b, to achieve this, we still used the first supercapacitor and switched the circuit again one minute after stopping the charging in case 1, at t = 184 s, and continued charging until t = 270 s. A capacitance deviation of
was maintained, while the initial voltage and observer states remained consistent with the previous experiment.
The classical non-switching Luenberger observer, defined in Equation (
23), was incorporated into this evaluation, alongside the open-loop and proposed closed-loop observers.
As depicted in
Figure 7a and
Table 3, the proposed observer exhibited rapid convergence, achieving a tracking error of less than
by t = 7 s. This highlights its ability to quickly adapt to changing system dynamics.
The open-loop observer, as expected, continued to exhibit significant tracking errors throughout the experiment. The classical observer, while demonstrating improved performance compared to the open-loop approach, exhibited slower convergence initially and a noticeable error spike after the resumption of charging. This suggests that the non-switching nature of the classical observer limits its ability to effectively handle dynamic changes in the system.
In summary, this experiment demonstrates the superior performance of the proposed observer in handling dynamic charging scenarios and adapting to switching events, further emphasizing its suitability for real-world supercapacitor applications where operating conditions can vary significantly.
Since the proposed observer’s estimation of the SOC remained very close to the actual SOC after the supercapacitor charging was completed in the next two experiments, the actual SOC values have been omitted from the subsequent tables.
(3) Case 3: This experiment investigates the observers’ performance under a more complex scenario involving active balancing of the supercapacitor cells. We implemented the active balancing technique described in [
19] to charge the second and third supercapacitors simultaneously.
The initial voltages of the second and third cells were set to 0.1 V and 0.9 V, respectively, while maintaining a constant charging current of 2 A. A capacitance error was introduced to assess the observers’ robustness. Both the proposed and classical observers were initialized at SOC. We started charging at t = 8 s and stopped at t = 242 s.
Figure 8a shows the SOC of two supercapacitors. Due to the presence of the active balancing system, the third supercapacitor, which initially has a higher SOC, will wait until the SOC of the second supercapacitor matches its own before switching on to start charging, as illustrated in
Figure 8b. It begins charging only after t = 125 s.
Figure 9a,b, respectively, show the SOC estimation of the second and third supercapacitors.
Focusing on the second supercapacitor, according to
Table 4 and
Table 5, the proposed observer demonstrates a significantly superior performance, achieving a tracking error below
within 3 s. While the classical observer eventually approaches the true SOC, its convergence speed and accuracy lag behind the proposed observer, particularly after switching events. Specifically, after the switching moment, the classical observer’s tracking error rises to
, whereas the proposed observer maintains an error below
.
Similar trends are observed for the third supercapacitor, with the proposed observer exhibiting stable and accurate tracking performance despite the extended initial charging time, which negatively impacts the classical observer’s performance.
In this experiment, the open-loop observer still performed poorly, failing to converge in estimating the SOC for both supercapacitors, highlighting its inadequacy in complex scenarios.
These findings underscore the robustness and accuracy of the proposed switching observer in handling the complexities of active balancing, further solidifying its suitability for demanding supercapacitor applications.
(4) Case 4: In this case, we introduce the Kalman Filter, a widely used tool for state estimation, to estimate the State of Charge (SOC) of the supercapacitor. We employ the same switching scheme as in case 1 and also consider a parameter deviation. However, unlike before, we separately consider the cases where the capacitance and ESR in the RC model have fluctuations.
As shown in the
Figure 10, in both experiments, the open-loop observer’s error is unacceptable, while both the Kalman Filter and the proposed observer exhibit stable performance. Although both converge to the actual SOC when charging stops, there are still some performance differences.
According to
Table 6 and
Table 7, during the period from 0 to 5 s when the supercapacitor is not charging, the SOC of the proposed observer quickly converges to the true value, while the Kalman Filter only approaches the true value after next 10 s of charging. However, after this period, the Kalman Filter still exhibits larger errors. Although these errors decrease over time as charging progresses, they do not fully converge even by the time charging stops.
Furthermore, this experiment considers the impact of ESR variation on SOC estimation. Since the supercapacitor used in the experiment has a relatively small ESR, its parameter fluctuation has a relatively small impact on SOC estimation, similar to the same proportional change in capacitance. However, further discussion is needed for supercapacitors that have been used for a long time and have experienced significant ESR increases.