4.3. Test Data Analysis
To clearly describe the experimental environment, we first summarize the hardware
and software configurations corresponding to Figs. 7-20 and Tables 1 and 2. All measurements were conducted on the HILS platform shown in Fig. 5, which consists of a ZYBO development board, a Pmod AD1, a DC-DC boost converter
(MT3608), a DC motor, and a hardware battery simulator emulating an LG INR 21700 M50
cell. A propeller was attached to the motor shaft to generate aerodynamic drag and
rotational inertia, thereby providing a small-scale physical load resembling real
EV operating conditions. In the proposed HIL framework, the nominal battery capacity
was reduced to 100 mAh (1/50 of the original capacity) to enable full driving-cycle
experiments within a practical time window. Both the Target BMS and the HIL platform
sampled battery voltage and current at 1 s intervals, consistent with the PyBaMM-based
software simulations.
In the software-based environment, PyBaMM was configured with the O’Kane2022 parameter
set for the LG INR M50 cell, and the six international driving cycles and the relaxation
profile in Fig. 6 were applied as current commands. To ensure comparable conditions between hardware
and simulation, linear quantization noise corresponding to a 12-bit ADC and an additional
Gaussian noise term N(0,0.01) were injected into the simulated voltage and current
signals.
Figs. 7-13 present the results of the no-load experiments, in which the motor rotated without
a propeller attached. Under this condition, the motor experiences almost no aerodynamic
load, and the battery current is determined primarily by the BMS demand and internal
power consumption. In contrast, Figs. 14-20 show the load experiments, in which the motor rotated with the propeller attached.
The aerodynamic drag produced by the propeller, combined with the PWM switching characteristics
of the motor-drive converter, introduces noticeable ripple and fluctuations in the
battery current, as shown in panel (c) of each figure.
Across Figs. 7-20, panel (a) shows the SOC, panel (b) shows the corresponding OCV, and panel (c) shows
the measured battery current. Tables 1 and 2 summarize the SOC turn-off times and OCV cutoff times extracted from these figures,
using the 10% SOC point of the Target BMS as a common reference.
The hardware battery simulator, the PyBaMM-based software simulation, and the proposed
HIL framework were jointly used to analyze data obtained from various driving profiles.
In the HIL experiments, the battery capacity was reduced to 1/50 of its nominal value
to accelerate testing, whereas the PyBaMM simulation used the full nominal capacity
of 5 Ah. As a result, the simulated current magnitude was approximately 50 times smaller
than that of the experimental measurements. The hardware battery simulator outputs
voltage as a function of SOC and load conditions based on real lithium-ion cell measurements,
which introduces two notable effects: (1) electrochemical noise inherent to real cells,
and (2) larger current fluctuations at low-voltage regions due to increased internal
resistance during discharge [29]. The turn-off times of SOC and the cutoff times of OCV are summarized in Tables 1 and 2. Comparisons among the HW Battery Simulator, the PyBaMM SW Simulator, and the Target
BMS were conducted using the 10% SOC reference point of the Target BMS.
Fig. 7(a) shows the SOC behavior at the 10% reference point of the Target BMS. At this point,
the HW Battery Simulator indicated 11.03% (a +1.03% margin), whereas PyBaMM showed
9.80% (a -0.20% deviation). In Fig. 7(b), errors in BMS OCV estimation are observed, and as shown in Fig. 7(c), these errors decrease as the current diminishes, indicating that they originate
from inaccuracies in the resistance model.
In Fig. 8(a), representing the UDDS profile, the HW Battery Simulator recorded 7.08% when the
Target BMS reached 10% SOC, corresponding to a -2.92% deviation, while PyBaMM showed
9.78% (a -0.22% deviation). Unlike the other driving profiles, the UDDS revealed that
the SOC of the HW Battery Simulator decreased more rapidly than that of the Target
BMS.
The SOC results from Figs. 9-13 are summarized in Table 1. Overall, the OCV behavior exhibited trends similar to those in the US06 profile,
except in the urban cycle, while the PyBaMM SW Simulator showed relatively larger
deviations.
Fig. 13. HWFET with Relaxation Mode.
For the Relaxation Mode experiment (Fig. 14), SOC correction effects were evident at 70% and 30%. At 70%, a sharp SOC decrease
occurred due to the initial correction, whereas at 30% only minor adjustments were
observed, indicating a smaller correction effect. At the 10% SOC reference of the
Target BMS, the HW Battery Simulator recorded 34.12% (+24.12% deviation), while PyBaMM
showed 33.73% (+23.73% deviation). In addition, Fig. 14(b) demonstrates that OCV errors decreased as current was reduced, consistent with the
trend in Fig. 14(c). This confirms that the observed errors during Relaxation Mode are also attributable
to limitations in the resistance model
Figs. 14-20 present the results measured under motor load conditions. The turn-off times of SOC
and the cutoff times of OCV are summarized in Tables 1 and 2, respectively. As in the no-load case, comparisons among the HW Battery Simulator,
the PyBaMM SW Simulator, and the Target BMS were performed using the 10% SOC reference
point of the Target BMS. In addition, as shown in panel (c), current deviations between
the HW Battery Simulator and the Target BMS were attributed to differences in load
characteristics. Specifically, PWM switching in the EV motor drive converter induces
ripple and fluctuations in the battery current, and these effects vary depending on
the converter parameters and PWM control strategy [30,
31].
In Fig. 14(a), at the 10% SOC reference of the Target BMS, the HW Battery Simulator indicated 58.14%,
corresponding to a +48.14% margin, while PyBaMM showed 9.95%, resulting in a -0.05%
deviation. Fig. 14(b) illustrates errors in BMS OCV estimation, and as observed in Fig. 14(c), these errors diminish as current decreases, confirming that they are caused by inaccuracies
in the resistance model.
The SOC results for Figs. 14-19 are summarized in Table 1. Overall, OCV behavior followed trends similar to those observed in the US06 profile,
but the deviations in PyBaMM simulations became progressively larger across later
driving profiles.
Fig. 20. HWFET with Relaxation Mode (load).
In the Relaxation Mode test (Fig. 20), SOC correction effects were observed at both 70% and 30%. A sharp SOC decrease
occurred at 70% due to initial correction, while only minor adjustments appeared at
30%, indicating a greater error during the early relaxation phase. At the 10% SOC
reference of the Target BMS, the HW Battery Simulator indicated 50.08% (+40.08% deviation),
while PyBaMM showed 22.20% (+12.20% deviation). Moreover, as demonstrated in panel
(b), BMS OCV errors improved when the current decreased, consistent with the trend
shown in panel (c). This confirms that resistance model inaccuracies also persist
under relaxation conditions.
Overall, these results indicate that both Target BMS and PyBaMM exhibit larger errors
under load conditions. This finding suggests that discrepancies arise from limitations
in the current model, which is updated at 1-second intervals in both experiments and
simulations, and highlights the need for the application of an integrator to improve
current estimation accuracy.
The SOC and OCV results were compared with reference to the Target BMS, as summarized
in Tables 1 and 2. Under no-load conditions, the SOC results showed that the HW Battery Simulator reached
8.8% later on average, while PyBaMM reached 2.1% earlier, indicating a certain deviation
from the Target BMS. For OCV, PyBaMM achieved a mean error of 12.6%, which was closer
to the Target BMS compared to 18.5% for the HW Battery Simulator. However, under load
conditions, the SOC results revealed that the HW Battery Simulator was delayed by
an average of 106.8%, whereas PyBaMM showed only -0.4% deviation, nearly matching
the Target BMS. In contrast, the OCV results underload exhibited significant errors,
with PyBaMM also increasing to an average of 163%.
In particular, in high-load regions, the battery OCV dropped below 2.5 V due to rising
current, leading to cutoff phenomena and thereby limiting the applicability of PyBaMM
under realistic operating conditions. Furthermore, since large errors were observed
in the end-of-discharge region (0-10% SOC), an additional comparison was conducted
based on the 10% SOC reference, allowing a more precise evaluation of the reliability
of SOC estimation under various conditions.
In addition, as presented in Table 1, the SOC 10% reference comparison revealed that under no-load conditions both the
HW Battery Simulator and PyBaMM deviated from the Target BMS by approximately 13%
on average, showing no substantial difference. Under load conditions, however, PyBaMM
remained within 10.2% of the Target BMS, while the HW Battery Simulator was delayed
by nearly 49.9% on average.
These findings demonstrate that the proposed framework enables reliable evaluation
of Target BMS performance across various conditions by jointly considering SOC turn-off
time, OCV dynamics, cutoff behavior, and SOC threshold comparisons.
Table 1. Combined comparison of SOC turn-off times and the 10% SOC reference of the
target BMS.
|
|
HW battery simulator (sec)
|
PyBaMM SW simulator (sec)
|
The target BMS (sec)
|
HW battery simulator (%)
|
PyBaMM SW simulator (%)
|
|
US06
|
7380
|
6805
|
6818
|
11.03
|
9.80
|
|
UDDS
|
8045
|
7782
|
7794
|
7.08
|
9.78
|
|
HWFET
|
6693
|
6315
|
6326
|
10.78
|
9.76
|
|
WLTP
|
7576
|
7125
|
7141
|
11.1
|
9.68
|
|
EUDC
|
8373
|
7930
|
7942
|
10.71
|
9.77
|
|
J1015
|
8688
|
8231
|
8245
|
10.71
|
9.73
|
|
Relaxation mode
|
9824
|
9102
|
7844
|
34.12
|
33.73
|
|
US06 (Load)
|
5470
|
2118
|
2120
|
58.14
|
9.95
|
|
UDDS (load)
|
6283
|
3282
|
3287
|
45.46
|
9.79
|
|
HWFET (load)
|
5085
|
1909
|
1911
|
59.12
|
9.91
|
|
WLTP (load)
|
6311
|
2903
|
2907
|
50.70
|
9.80
|
|
EUDC (load)
|
6694
|
3476
|
3480
|
45.86
|
9.77
|
|
J1015 (load)
|
6858
|
4072
|
4078
|
40.25
|
9.70
|
|
Relaxation Mode (load)
|
8377
|
5691
|
5498
|
50.08
|
22.20
|
Table 2. Comparison of OCV cutoff times.
|
|
HW battery simulator (sec)
|
PyBaMM SW simulator (sec)
|
The target BMS (sec)
|
|
US06
|
7251
|
6806
|
6094
|
|
UDDS
|
7921
|
7782
|
6652
|
|
HWFET
|
6653
|
6315
|
5717
|
|
WLTP
|
7422
|
7125
|
6278
|
|
EUDC
|
8312
|
7930
|
7079
|
|
J1015
|
8645
|
8231
|
7246
|
|
Relaxation Mode
|
9779
|
9102
|
8362
|
|
US06 (Load)
|
5272
|
2118
|
323
|
|
UDDS (Load)
|
6089
|
3282
|
1611
|
|
HWFET (Load)
|
4946
|
1909
|
1184
|
|
WLTP (Load)
|
6191
|
2903
|
2172
|
|
EUDC (Load)
|
6587
|
3476
|
1108
|
|
J1015 (Load)
|
6727
|
4072
|
2466
|
|
Relaxation Mode (Load)
|
8210
|
5678
|
2668
|