Measurement: Gabriel Rojas-Due Nas, Jordi Roger Riba, Manuel Moreno-Eguilaz
Measurement: Gabriel Rojas-Due Nas, Jordi Roger Riba, Manuel Moreno-Eguilaz
Measurement: Gabriel Rojas-Due Nas, Jordi Roger Riba, Manuel Moreno-Eguilaz
Measurement
journal homepage: www.elsevier.com/locate/measurement
A R T I C L E I N F O A B S T R A C T
Keywords: This paper presents a non-intrusive approach for modeling a bidirectional DC-DC converter used in mild hybrid
DC-DC bidirectional converter electric vehicles. A black-box identification methodology is proposed to find a model based on the data acquired
Mild hybrid electric vehicle from the input/output terminals. Measured data include the steady state and transient response, and different
Deep learning
operating conditions of the DC-DC converter, including the buck and boost modes. A deep learning architecture
Modeling
Neural network
based on a long-short-term memory neural network (LSTM-NN) is applied. The trained network is tested under a
set of operating points different from those used during the training stage. The proposed method is compared
with three black-box modeling techniques commonly used in power converters, proving its superior perfor
mance. Results presented in this paper indicate that the proposed model is able to replicate the behavior of the
bidirectional converter without a priori knowledge of the converter circuitry. This approach can also be applied
to other power devices.
* Corresponding author.at: Universitat Politècnica de Catalunya, Electrical Engineering Department, Rambla Sant Nebridi 22, 08222 Terrassa, Catalunya, Spain.
E-mail addresses: gabriel.esteban.rojas@upc.edu (G. Rojas-Dueñas), jordi.riba-ruiz@upc.edu (J. Roger Riba), manuel.moreno.eguilaz@upc.edu (M. Moreno-
Eguilaz).
https://doi.org/10.1016/j.measurement.2021.109838
Received 3 May 2021; Received in revised form 22 June 2021; Accepted 26 June 2021
Available online 10 July 2021
0263-2241/© 2021 Elsevier Ltd. All rights reserved.
G. Rojas-Dueñas et al. Measurement 183 (2021) 109838
2
G. Rojas-Dueñas et al. Measurement 183 (2021) 109838
neural network is tested under new conditions, and the predicted out
puts are compared to the actual measured outputs of the bidirectional
converter. Finally, the root mean squared error (RMSE) and the coeffi
cient of determination (R2) for the two predicted signals are calculated.
Fig. 3. LSTM cell unit.
2.1. Mild hybrid electrical vehicle (MHEV) modeling time-series problems with good accuracy. However, their
main problem is the difficulty of learning long term dependencies of the
The system to be evaluated in this paper is a MHEV, this topology data because of the gradient decay. LSTM-NNs overcome this problem
being used by major manufacturers such as Audi, Toyota, Nissan or [26]. This type of network is able of discarding unrelated information
Honda, among others [23]. This type of vehicle improves fuel efficiency during the training process, leading to the preservation of the back
by supplying power to the electric motor in certain situations or by propagation error over time. The weights of the neural network are
applying regenerative braking. MHEVs require a higher voltage (48 V) updated based on the memory units of the LSTM cells, which are not
to feed the electrical systems of the vehicle in order to reduce conduction affected by external perturbations [27]. A great advantage of LSTM-
losses [5,24]. The MHEV is a transition technology that is placed in the NNs, compared to traditional RNNs, is that they keep learning at
middle point between the conventional 12 V supply system and the 48 V every time step, even in case of numerous time steps.
system proposed by some manufacturers of premier cars [7]. The fundamental unit of the LSTM-NN is the cell, which includes
This paper focuses on the dual-voltage architecture that considers memory blocks that store, write, read and erase information during the
two batteries and a DC-DC bidirectional converter, the last one being the training process. This is accomplished thanks to the presence of gates,
device to be modeled. Understanding the working principle and the that allow the network to update the weights of the neurons at each
topology of the electrical system of the MHEV is fundamental in order to iteration [28].
obtain an accurate model of the power converter. Fig. 3 shows the architecture of LSTM cells, where c refers to the cell
Fig. 2 shows the dual architecture of this electrical system and its memory state, h is the hidden state, x is the input value and σ represents
main components. It can be seen that at the 48 V side there is a battery, a the sigmoid function. Subscript t refers to the time step of the cell, since
starter generator, a drive (DC-AC or AC-DC depending whether the there are as many cells as time steps in the time series. The LSTM is a
machine works as a motor or as a generator, respectively) and loads, block where different cells are connected sequentially, so that each cell
whereas at the 12 V side there is a battery and a set of low voltage loads. generates a future output depending on the past values. Fig. 3 shows the
Fig. 2 does not specify the topology of the DC-DC converter since it may input, forget, output and input modulation gates of a LSTM cell. The first
change depending on the manufacturer of the automobile and its re three are controlled by the sigmoid function σ , and they generate an
quirements [7]. However, for the purpose of this paper this is indif output between 0 and 1 based on the significance of the ht-1 input value
ferent, since the proposed black-box approach is able to model the [28], whereas the input modulation gate uses the ‘tanh’ activation
bidirectional converter despite of its topology. function. Pointwise operations are applied inside the cell in order to
Each battery is in charge of stabilizing its own network. When the connect the four gates and to obtain the output values. The interaction
belt-driven starter generator (BISG) is operating as a generator, the between the gates and the capacity of forgetting irrelevant information
converter works in the buck mode, the two batteries are charged and the allows the network learning long range temporal dependencies [9]. It is
power is supplied to the loads. When the BISG operates as a motor, the desirable for the problem studied in this paper, because the outputs of a
DC/DC converter operates in the boost mode and the power flows from DC-DC converter depend on the previous states [29].
the 12 V side to the 48 V side [5]. Some manufacturers include a starter This architecture allows calculating the output values just by
on the low voltage side in order to start the motor in case of failure of the applying mathematical calculations to the input data. Eq. (1) presents
48 V network. the operations that take place at the different gates of the LSTM cell.
3
G. Rojas-Dueñas et al. Measurement 183 (2021) 109838
4
G. Rojas-Dueñas et al. Measurement 183 (2021) 109838
5
G. Rojas-Dueñas et al. Measurement 183 (2021) 109838
Table 3
Bayesian Optimization Range.
Hyper-parameter Minimum Maximum
Neurons 5 150
Learning rate (LR) 0.001 0.1
Gradient decay factor (GDF) 0.8 0.99
L2 regularization value 1e-10 1e-2
Table 4
Results.
Method RMSE R2 Time
elapsed
Iin Vout Iin Vout
Fig. 9. Scatter plot comparing measured and estimated signals. (a) output
voltage (LSTM-NN), (b) output current (LSTM-NN), (c) output voltage (NARX),
(d) output current (NARX), (e) output voltage (Polytopic), (f) output current
Fig. 8. Transient response measurement and estimation of (a) Output voltage (Polytopic), (g) output voltage (State space), (h) output current (State space).
(boost mode to buck mode), (b) Output current (boost mode to buck mode), (c)
Output voltage (buck mode to boost mode), (d) Output current (buck mode to
The following step consists of validating the NN when tested under
boost mode).
different conditions than the ones used during the training stage.
Table 4 shows the RMSE and R2 values obtained after evaluating 125
experiment. In this case it is well appreciated the transient response of
experiments from the test dataset. It also compares these values to the
the bidirectional converter.
ones obtained by means of the predictions made using the other three
A total of 750 experiments was assigned to the training dataset,
methods. The proposed methodology outperforms the other three
whereas the validation and test datasets contain 125 experiments each.
techniques because the RMSE is lower and the R2 coefficient is closer to
The next step is to tune the hyper-parameters of the NN.
1.
Table 3 presents the minimum and maximum bounds of the variables
To better understand the accuracy of the proposed model, Fig. shows
to be tuned by the Bayesian optimization algorithm. A total number of
the actual and predicted outputs of two experiments of the test dataset.
30 NNs were trained by the BOA, each training process run for 100
Fig. a) and b) show an experiment in which the converter changes its
epochs.
operating mode from boost to buck, whereas in Fig. c) and d) the
The BOA took 12 min to train the 30 neural networks. It was found
operating mode changes in the opposite way. In both cases, the esti
that the optimal point has the following hyper-parameters: 29 neurons,
mation of the LSTM-NN is close to the measurements. Fig. 8 also show
LR = 0.03426, GDF = 0.974 and L2 = 0.00169. Subsequently, the LSTM-
that the accuracy of the transient response is better than those estimated
NN was trained with these hyper-parameters for 1000 epochs using the
by the other three models. The LSTM-NN model accurately replicates the
‘adam’ solver.
steady state and transient response values, while the other methods
Fig. 7 shows the evolution of the training progress.
exhibit some discrepancies. It is worthy to note that the estimation of the
6
G. Rojas-Dueñas et al. Measurement 183 (2021) 109838
current at the 12 V side of the power converter is slightly less accurate [4] M. Awadallah, P. Tawadros, P. Walker, N. Zhang, Comparative fuel economy, cost
and emissions analysis of a novel mild hybrid and conventional vehicles, Proc. Inst.
than the estimation of the voltage. This might be because the transient
Mech. Eng. Part D J. Automob. Eng., Nov. 232 (13) (2018) 1846–1862.
response of the output current is wider than the one for the voltage, [5] S. Nazari, J. Siegel, A. Stefanopoulou, Optimal Energy Management for a Mild
depending on the experiment. Hybrid Vehicle with Electric and Hybrid Engine Boosting Systems, IEEE Trans.
Fig. 9 plot the estimation done by the four methods against the Veh. Technol. 68 (4) (2019) 3386–3399.
[6] A. Lievre, A. Sari, P. Venet, A. Hijazi, M. Ouattara-Brigaudet, S. Pelissier, Practical
experimental measurements for different operating. Such results prove online estimation of lithium-ion battery apparent series resistance for mild hybrid
the robustness of the proposed model since the slope is very close to vehicles, IEEE Trans. Veh. Technol. 65 (6) (2016) 4505–4511.
unity. The proposed method outperforms the other three approaches, [7] T. Kim, S. Kwak, A Flexible Voltage Bus Converter for the 48-/12-V Dual Supply
System in Electrified Vehicles, IEEE Trans. Veh. Technol. 66 (3) (2017) 2010–2018.
since the dispersion of the points is much smaller and the coefficients of [8] V. Valdivia, Behavioral Modeling and Identification of Power Electronics
determination are greater. Converters and Subsystems Based on Transient Response, Universidad Carlos III de
The results presented in this section proved the effectiveness of the Madrid (2013).
[9] Z.Y. Xue, K.S. Xiahou, M.S. Li, T.Y. Ji, Q.H. Wu, “Diagnosis of Multiple Open-
modeling approach proposed in the paper, as well as the accurateness in Circuit Switch Faults Based on Long Short-Term Memory Network for DFIG-Based
comparison with other methods found in the technical literature. Wind Turbine Systems, IEEE J. Emerg. Sel. Top. Power Electron. 8 (3) (2020)
2600–2610.
[10] R. Xiong, J. Cao, Q. Yu, H. He, F. Sun, Critical Review on the Battery State of
6. Conclusion Charge Estimation Methods for Electric Vehicles, IEEE Access 6 (2017) 1832–1843.
[11] G. Rojas-Duenas, J.-R. Riba, M. Moreno-Eguilaz, Non-Linear Least Squares
In this paper, a methodology for black-box modeling of a 48 V –to- Optimization for Parametric Identification of DC-DC Converters, IEEE Trans. Power
Electron. 36 (1) (2021) 654–661.
12 V DC-DC bidirectional converter has been presented. The use of a [12] A. Frances, R. Asensi, O. Garcia, R. Prieto, J. Uceda, Modeling electronic power
deep learning algorithm enables the model to reproduce the behavior of converters in smart dc microgrids - An overview, IEEE Trans. Smart Grid 9 (6)
a nonlinear switching device, such as the bidirectional converter used in (2018) 6274–6287.
[13] V. Valdivia, A. Barrado, A. Lazaro, M. Sanz, D. Lopez Del Moral, C. Raga, Black-box
MHEVs. Based on the converter characteristics, a hyper-parameter behavioral modeling and identification of DC-DC converters with input current
tuning algorithm and a specific topology of the LSTM-NN have been control for fuel cell power conditioning, IEEE Trans. Ind. Electron. 61 (4) (2014)
discussed. An adequate experimental setup was needed to generate the 1891–1903.
[14] M. Al-Greer, M. Armstrong, M. Ahmeid, D. Giaouris, Advances on system
datasets to be used in the training process of the LSTM-NN. Both steady identification techniques for DC-DC switch mode power converter applications,
state and transient response data of the converter were identified with IEEE Trans. Power Electron. 34 (7) (2019) 6973–6990.
the same NN. The proposed model has a high accuracy when testing new [15] F. Alonge, F. D’Ippolito, T. Cangemi, Identification and robust control of dc/dc
converter Hammerstein model, IEEE Trans. Power Electron. 23 (6) (2008)
operating conditions different from those used during the training stage,
2990–3003.
while estimating the output voltage and current with low RMSE values [16] L. Arnedo, System Level Black-Box Models for DC-DC Converters, Virginia
and high coefficients of determination. The values of these indicators Polytechnic Institute and State University, 2008.
prove the robustness of the proposed model, which is able to replicate [17] G. Rojas-Duenas, J.-R. Riba, K. Kahalerras, M. Moreno-Eguilaz, A. Kadechkar,
A. Gomez-Pau, Black-Box Modelling of a DC-DC Buck Converter Based on a
the nonlinearities of the bidirectional converter under different oper Recurrent Neural Network, IEEE International Conference on Industrial
ating points. It has also been shown that the trained LSTM-NN out Technology (ICIT) 2020 (2020) 456–461.
performs three estimation methods commonly used to model power [18] P. Qashqai, K. Al-Haddad, R. Zgheib, in: in IECON Proceedings (Industrial Electronics
Conference), 2020, pp. 4697–4702.
converters in the technical literature. Finally, the proposed approach [19] M. Baumann, C. Weissinger, and H. G. Herzog, “System identification and
can also be applied for an accurate black-box modeling of many other modeling of an automotive bidirectional DC/DC converter,” in 2019 IEEE Vehicle
power electronics devices. Power and Propulsion Conference, VPPC 2019 - Proceedings, 2019.
[20] S.M. Ghamari, H. Mollaee, F. Khavari, Robust self-tuning regressive adaptive
controller design for a DC–DC BUCK converter, Meas. J. Int. Meas. Confed. 174
CRediT authorship contribution statement (2021), 109071.
[21] J. Bi, Y. Wang, S. Shao, Y. Cheng, Residual range estimation for battery electric
vehicle based on radial basis function neural network, Meas. J. Int. Meas. Confed.
Gabriel Rojas-Dueñas: Conceptualization, Software, Writing – 128 (2018) 197–203.
original draft, Validation. Jordi Roger Riba: Conceptualization, Re [22] W. Zhang, X. Li, X. Li, Deep learning-based prognostic approach for lithium-ion
sources, Writing – review & editing, Supervision. Manuel Moreno- batteries with adaptive time-series prediction and on-line validation, Meas. J. Int.
Meas. Confed. 164 (2020), 108052.
Eguilaz: Conceptualization, Supervision, Validation. [23] McKinsey & Company, “Mild hybrids—a multi-billion euro growth opportunity
alongside e-mobility?,” Aug. 2020.
[24] S.-R. Lee, B.-Y. Choi, J. Lee, and C.-Y. Won, “48 V to 12 V soft-switching
Declaration of Competing Interest interleaved buck and boost converter for mild-hybrid vehicle application,”
undefined, 2016.
[25] S. Belagoune, N. Bali, A. Bakdi, B. Baadji, K. Atif, Deep learning through LSTM
The authors declare that they have no known competing financial classification and regression for transmission line fault detection, diagnosis and
interests or personal relationships that could have appeared to influence location in large-scale multi-machine power systems, Measurement 177 (2021),
the work reported in this paper 109330.
[26] S. Hochreiter, J. Schmidhuber, Long Short-Term Memory, Neural Comput. 9 (8)
(1997) 1735–1780.
Acknowledgement [27] Y. Yu, X. Si, C. Hu, and J. Zhang, “A review of recurrent neural networks: Lstm cells
and network architectures,” Neural Computation, vol. 31, no. 7. MIT Press
Journals, pp. 1235–1270, 01-Jul-2019.
This work has been partially supported by the Generalitat de Cata [28] S. Wang, X. Wang, S. Wang, D. Wang, Bi-directional long short-term memory
lunya under the project 2017SGR0967, and the European Commission method based on attention mechanism and rolling update for short-term load
forecasting, Int. J. Electr. Power Energy Syst. 109 (2019) 470–479.
through the Clean Sky program, under the project 755332-AEMSIdFit.
[29] I. Sutskever, O. Vinyals, and Q. V Le, “Sequence to Sequence Learning with Neural
Networks,” 2014.
References [30] F. Karim, S. Majumdar, H. Darabi, S. Chen, LSTM Fully Convolutional Networks for
Time Series Classification, IEEE Access 6 (2017) 1662–1669.
[31] B. Shahriari, K. Swersky, Z. Wang, R. P. Adams, and N. De Freitas, “Taking the
[1] S. Saponara, P. Tisserand, P. Chassard, D.M. Ton, Design and measurement of
human out of the loop: A review of Bayesian optimization,” Proceedings of the
integrated converters for belt-driven starter-generator in 48 v micro/mild hybrid
IEEE, vol. 104, no. 1. Institute of Electrical and Electronics Engineers Inc., pp.
vehicles, IEEE Trans. Ind. Appl. 53 (4) (2017) 3936–3949.
148–175, 01-Jan-2016.
[2] S. Saponara, C.H.T. Lee, N.X. Wang, J.L. Kirtley, Electric Drives and Power
[32] H. Cheng, X. Ding, W. Zhou, R. Ding, A hybrid electricity price forecasting model
Chargers: Recent Solutions to Improve Performance and Energy Efficiency for
with Bayesian optimization for German energy exchange, Int. J. Electr. Power
Hybrid and Fully Electric Vehicles, IEEE Veh. Technol. Mag. 15 (1) (2020) 73–83.
Energy Syst. 110 (2019) 653–666.
[3] Z. Liu, S. Onori, A. Ivanco, Synthesis and Experimental Validation of Battery Aging
Test Profiles Based on Real-World Duty Cycles for 48-V Mild Hybrid Vehicles, IEEE
Trans. Veh. Technol. 66 (10) (2017) 8702–8709.
7
G. Rojas-Dueñas et al. Measurement 183 (2021) 109838
[33] D.P. Kingma, J.L. Ba, Adam: A method for stochastic optimization. 3rd [35] L. Wang, et al., Electromagnetic Transient Modeling and Simulation of Power
International Conference on Learning Representations, ICLR 2015 - Conference Converters Based on a Piecewise Generalized State Space Averaging Method, IEEE
Track Proceedings, 2015. Access 7 (2019) 12241–12251.
[34] A. Frances, R. Asensi, J. Uceda, Blackbox Polytopic Model with Dynamic Weighting
Functions for DC-DC Converters, IEEE Access 7 (2019) 160263–160273.