Solving a Real-World Challenge: Our Case Study

Batteries play a crucial role in the current context of transitioning to electric mobility. These components act as the heart of electric vehicles (EVs), and therefore, one of the most critical pieces of the car. An unexpected failure in one of the cells that composes the battery can lead to significant performance degradation and safety risks. And here is where Artificial Intelligence (AI) becomes a powerful ally.

Developing an AI Solution for the Electric Vehicle

In this lab we will take the role of a systems engineer working for an automotive company aiming to enhance battery management and operations in electric vehicles. The team’s mission is to create an end-to-end solution at the edge that covers two different scenarios:

Battery Monitoring System

In our electric vehicle we need to run an application responsible for monitoring the health of the battery in the car. This application also displays telemetry data collected from in-vehicle sensors such as voltage, temperature, driving distance or velocity via a graphical dashboard. In addition, this dashboard comes with an alerting system pwered by AI models that are able to detect early signs of battery stress and predict potential failure.

To support this containerized solution inside our vehicle, a lightweight kubernetes platform is essential. This is where Red Hat Device Edge (MicroShift) comes into play.

Model Re-Training at the Edge

To ensure the AI models remain accurate and effective in detecting anomalies, they must be regularly updated with the latest data gathered from the vehicle. However, given the large volume of telemetry data generated, it’s impractical to continuously upload all of it over potentially unstable internet connections.

To overcome this challenge, the system takes advantage of charging sessions at EV charging stations to securely transmit the gathered data. This data is then used to retrain the AI models on a more powerful edge server outside the vehicle. For the entire AI/ML lifecycle, we rely on Red Hat OpenShift AI (RHOAI), deployed on a Single Node OpenShift (SNO) instance. The workflow is fully automated: the new dataset triggers the retraining of the model, followed by model validation. If the updated model outperforms the existing one, it is automatically deployed back to the vehicle, ensuring improved performance and smarter battery monitoring on the road.