Author: Simon Daigneault, Product Marketing Engineer, Monolith
Read Time: 11 mins
Most electric vehicles carry a lot of battery that is rarely used.
In practice, daily driving distances are modest. UK travel data shows that around 71% of trips are under five miles, and only a small share are genuinely long distances. Yet we size batteries for worst-case scenarios: weekend trips, holidays, or the one time a month someone does a long motorway run.
That overbuild adds cost and weight. A bigger battery is great for range, but it is not always the best engineering trade-off.
One alternative is a range extender.
A range extender is a small onboard power unit, usually a petrol engine and generator, that produces electricity to recharge the battery while you drive. It never drives the wheels directly. The traction motor is always electric; the engine only tops up the battery.
This layout is often called an extended range electric vehicle, or EREV. You still do most of your driving electrically. The engine is there as a safety net when the battery runs low.
Petrol is far more energy-dense than battery cells, so a compact tank and engine can provide a lot of extra range without adding as much mass as another large battery pack.
You get most of the benefits of an EV, with the flexibility of a combustion backup.
Hybrid Vehicle System Cutaway Illustration
This is the obvious question.
You have a battery and an engine. How is that not just another hybrid or plug-in hybrid?
The difference is in how the powertrain is connected.
From a control point of view, that distinction matters. The engine operating points, start-stop logic, and thermal management can all be optimised for generator operation rather than for direct traction.
Range extenders are not new. BMW launched the i3 REx in 2014, combining a modest battery pack with a small two-cylinder engine and generator. Several other manufacturers have experimented with similar layouts.
What is changing is the context.
For some use cases, especially long-distance or commercial ones, an EREV layout can hit a sweet spot: mostly electric operation, with a compact, efficient generator that only runs when needed.
That “when needed” is where control and prediction become important.
Traditionally, a range extender controller uses a set of rules based on:
Once the battery drops below a threshold and the vehicle is in a steady state, the controller starts the engine and begins charging the battery.
That works. But it is reactive. By the time you know you need the engine, several things may already be happening:
If you can predict a range extender start a few seconds early, you can:
Predictive energy management in hybrids and range-extended vehicles has been studied extensively, particularly approaches that use short-horizon forecasts of vehicle velocity or power demand to inform energy management and engine start-stop decisions.
Prior work consistently shows that anticipating near-future driving conditions can reduce unnecessary engine operation and improve overall efficiency.
For example, Lin et al. demonstrate that incorporating velocity prediction into range extender start-stop optimisation can deliver additional fuel savings of approximately 6.7% to 18.2% in simulation, depending on the driving cycle and assumptions used. Many of these strategies also report fewer engine start events and improved drivability.
In this blog, we describe a narrower and more practical step in that same direction: using real test data and machine learning to predict whether the BMW i3 range extender will switch on in the next five seconds.
To explore this idea, we turned to one of the best public data sources for advanced powertrains: the Downloadable Dynamometer Database (D3) from Argonne National Laboratory.
For this work, we used the 2014 BMW i3 REx dataset.
The tests cover the typical EPA cycles:
Each of these appears in both EV-only and range-sustaining operation, which is useful when you want to compare system behaviour in different modes.
Across all tests, the total accumulated distance is just under 100 miles.
Signals from the BMW i3 Argone dataset visualised in the Monolith platform
This is exactly the kind of dataset calibration engineers would use to understand how a range extender strategy behaves.
We are not trying to design a perfect supervisory controller. The aim of this demo is narrower and more practical:
Given what the vehicle is doing now, can we predict whether the range extender will switch on in the next five seconds?
To do that, we convert the continuous-time series into a set of labelled examples.
We slice the data into overlapping 10-second windows.
For each window, we inspect the range extender speed signal in the prediction half:
This turns hours of time series into a manageable number of training examples, each summarising:
To keep the problem simple and transparent, we deliberately restrict ourselves to a small set of intuitive input signals from the first half of each window:
An engineer would look at exactly these signals when trying to guess whether the range extender is about to come on.
Platform demo of range extender activation prediction
We built the model using the Monolith platform. The workflow looks like this:
Import the Argonne BMW i3 data and clean out preconditioning segments and negative time stamps.
Split the runs into EV only and REx running segments so that it is easy to check behaviour in each regime.
Generate the 10-second rolling windows and compute the activation labels described above.
Select the four key input signals from the first 5 seconds of each window.
Train a Series Model in Monolith, which internally uses a sequence model to map the short time histories to a single output probability for REx activation.
Apply the model to held-out windows and evaluate performance.
Predictions of range extender switch on vs actuals
In practice, you can tune this threshold to favour either more false positives or more false negatives.
On our validation set the confusion matrix looked like this:
Results of the confusion matrix for this prediction exercise, visualised in the Monolith platform
Predicted vs actuals
In plain language:
For an early warning tool, that trade-off is attractive. A few extra warnings are acceptable; missed activations are more problematic.
Note: Results shown are based on a limited demo dataset and are for illustration only; performance will differ with larger or more diverse data.
Even in this simplified form, the model creates several practical benefits.
Instead of waiting to see the REx come on in a long test run, an engineer can look at the predicted activation probability and immediately see where transitions are likely.
This is helpful for:
Anyone who has worked with dyno logs knows how long it can take to inspect:
Over many cycles and temperatures.
A learned early prediction model encapsulates that behaviour in a compact form. It does not replace detailed analysis, but it gives engineers a quick first impression and a way to filter tests that need closer inspection.
The research community has shown that short-horizon predictive strategies can deliver measurable benefits:
Having a working early prediction model is a practical first step towards these more advanced strategies.
There are several natural extensions.
We have only scratched the surface of the Argonne dataset. It includes:
With a richer dataset, you can start to ask questions like:
Machine learning models of the kind we have shown here can help compare calibrations quickly, before running large expensive test campaigns.
If you can forecast when hybrid transitions occur, you can also use that information to design more efficient test plans.
For example:
Range extenders give engineers an additional degree of freedom: a compact generator that can extend range without a huge battery.
To get the most out of that hardware, you need a good understanding of when and why the range extender starts. Predicting activation a few seconds in advance is a simple but powerful lever for smoother energy management and better use of the powertrain.
In this blog we showed how the Monolith platform can take publicly available BMW i3 REx data from Argonne, convert it into rolling windows, and train a small series model that predicts upcoming range extender starts with high accuracy using only a few intuitive signals.
If you are interested in using AI to support calibration, test planning or predictive energy management for hybrid or electric vehicles, our team at Monolith would be happy to talk.
About the author