
Kia Niro 2024 EV Telematics via Grafana-ClickHouse Dashboards
Case Studies / Instituto de Telecomunicacoes

Instituto de Telecomunicacoes
IT is a private non-profit organization comprising a partnership of nine institutions with research and development in the field of telecommunications.
What problem did you solve?
We are developing an autonomous vehicle based on the NVIDIA DRIVE system, using the new 2024 Kia Niro EV (SG2 model). As part of this, we needed a reliable and versatile solution to log and analyze the data available in the multiple CAN and CAN FD networks deployed in the car. These networks included regular OBD2 standards and proprietary protocols - for example, as part of Kia's existing Advanced Driver-Assistance System (ADAS).
How did you solve it?
We decided to use the CANedge2 incl. GPS to collect vehicle data via WiFi. We quickly determined that little-to-no data was available via the standard OBD2 protocol. We therefore asked CSS Electronics if they had experience with Kia/Hyundai EV platforms and they referred us to their Kia EV6 case study.
Following this case study (and the CANedge2 and Grafana docs) allowed us to obtain all the information from the OBD2 port by using the UDS protocol (Unified Diagnostic Services). We set up the CANedge2 to connect to a smartphone WiFi access point, using the web server interface to pull data to our laptop and onto one of our local servers. On the server, we set up a simple docker-compose configuration to deploy a Grafana-ClickHouse dashboard integration. We also built a simple Python script that loads the uploaded log files and use the MF4 decoders to create DBC decoded Parquet files, ingesting the results into ClickHouse.
[CSS: You can find step-by-step guides for deploying Grafana-ClickHouse in the CANedge Intro MF4 decoder documentation]

"The CANedge2 is a headache-free and reliable do-it-all device with amazing documentation and support"



What benefit has this led to?
After acquiring the CANedge2 we greatly streamlined the data acquisition and analysis processes that we had previously. Before, we had to manually request and log each message using a basic CAN-USB interface, meaning that the logs were inconsistent, long, not timestamped well and much harder to decode. With the CANedge2 we could just plug the device in and not worry about the logging process. We could even use the WiFi capabilities to access the logs on the fly. The built-in GPS of the CANedge2 also helps when viewing the processed data as we can correlate, for example, battery usage and charging with the changes in the altitude or the position of the car itself (based on the characteristics of the road).
Why did you choose the CANedge2?
After analyzing the commercially available loggers, we determined that most are based on outdated designs that did not support the features we wanted at a reasonable price. Further, most of them used very old software with limited functionality - lacking the modern workflow that CSS provides.
Having the ability to log two separate CAN networks also further increased prices in the market. Further, we were also going to acquire a GNSS module regardless - so having everything bundled into one nice package was a very big selling point.
— Pedro Ramos, IT2
Ready to visualize your EV data?
Get your CANedge2 today!