Development of a Battery Diagnostic Method Based on CAN Data: Examining the Accuracy of Data Received via a Communication Network
Abstract
:1. Introduction
Literature Review
- Fewer wires required (reducing the possibility of errors resulting from incorrect connections, and reducing weight and cost)
- The value of the sensors can be used for several control units (ECUs) without using a separate wire
- Enables high-speed communication (1 Mbit/s)
- Due to the size of the controllers and cable harnesses, more space remains for other purposes
- To expand communication data capacity, it is sufficient to modify the software (program)
- Due to continuous monitoring on the network, the error rate is minimal
2. Materials and Methods
- Module voltage (a total of 14 modules, consisting of 28 cells): in this case, we did not examine the cell voltages, since no cell voltage data are received on the vehicle’s CAN network, so this is also possible for comparison with the diagnostic devices.
- Hybrid battery voltage.
Presentation of Own Diagnostic Tool
3. Results
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Smith, G.M. What Is CAN Bus (Controller Area Network) and How It Compares to Other Vehicle Bus Networks; Dewesoft: Trbovlje, Slovenia, 2024; Available online: https://dewesoft.com/blog/what-is-can-bus (accessed on 12 July 2024).
- Han, K.; Mun, H.; Balakrishnan, M.; Yeun, C.Y. Enhancing security and robustness of Cyphal on Controller Area Network in unmanned aerial vehicle environments. Comput. Secur. 2023, 135, 103481. [Google Scholar] [CrossRef]
- Zhu, H.; Zhou, W.; Li, Z.; Li, L.; Huang, T. Requirements-driven automotive electrical/electronic architecture: A survey and prospective trends. IEEE Access 2021, 9, 100096–100112. [Google Scholar] [CrossRef]
- Koscher, K.; Czeskis, A.; Roesner, F.; Patel, S.; Kohno, T.; Checkoway, S.; McCoy, D.; Kantor, B.; Anderson, D.; Shacham, H.; et al. Experimental security analysis of a modern automobile. In Proceedings of the 2010 IEEE Symposium on Security and Privacy, Oakland, CA, USA, 16–19 May 2010; pp. 447–462. [Google Scholar] [CrossRef]
- Noura, N.; Boulon, L.; Jemeï, S. A review of battery state of health estimation methods: Hybrid electric vehicle challenges. World Electr. Veh. J. 2020, 11, 66. [Google Scholar] [CrossRef]
- Tudoroiu, R.-E.; Zaheeruddin, M.; Tudoroiu, N.; Radu, S.-M. SOC estimation of a rechargeable Li-ion battery used in fuel-cell hybrid electric vehicles—Comparative study of accuracy and robustness performance based on statistical criteria. Batteries 2020, 6, 42. [Google Scholar] [CrossRef]
- Jaguemont, J.; Boulon, L.; Dubé, Y. A comprehensive review of lithium-ion batteries used in hybrid and electric vehicles at cold temperatures. Appl. Energy 2016, 164, 99–114. [Google Scholar] [CrossRef]
- Singh, S.K.; Singh, A.K. A Study: OBD III Standard and Its Predecessors OBD II and OBD I; Mody University: Rajasthan, India, 2020. [Google Scholar]
- Yang, Y.; Chen, B.; Su, L.; Qin, D. Research and Development of Hybrid Electric Vehicles CAN-Bus Data Monitor and Diagnostic System through OBD-II and Android-Based Smartphones. Adv. Mech. Eng. 2013, 2013, 319526. [Google Scholar] [CrossRef]
- Roemer, M.J.; Byington, C.S.; Schoeller, M.S. Selected artificial intelligence methods applied within an integrated vehicle health management system. In Proceedings of the IEEE Aerospace Conference Proceedings 2000, Big Sky, MT, USA, 25 March 2000; pp. 1–10. Available online: https://cdn.aaai.org/Symposia/Fall/2007/FS-07-02/FS07-02-013.pdf (accessed on 12 July 2024).
- Arena, F.; Collotta, M.; Luca, L.; Ruggieri, M.; Termine, F.G. Predictive maintenance in the automotive sector: A literature review. Math. Comput. Appl. 2022, 27, 2. [Google Scholar] [CrossRef]
- Balázs, S.; Tóth, C. Autóipari Kommunikációs Hálózatok Vizsgálata Laboratóriumi Mérések a Beágyazott és Ambiens Rendszerek Laboratórium Tárgyhoz V5h. Bosch-Beágyazott Rendszerek Laboratórium. 2008. Available online: https://docplayer.hu/46143120-Autoipari-beagyazott-rendszerek-can-controller-area-network.html (accessed on 13 August 2024).
- Fazekas, I. Járműipari Hálózatok. 2016. Available online: https://www.kjit.bme.hu/images/Tantargyak/Jarmumechatronika_szakirany/Jarmufedelzeti_rendszerek_II/jrmipari_hlzatok.pdf (accessed on 15 August 2024).
- Szalay, Z.; Fodor, D. Autóipari Kommunikációs Rendszerek. 2014. Available online: https://dtk.tankonyvtar.hu/bitstream/handle/123456789/3418/2011-0042_autoipari_kommunikacios_rendszerek.pdf?sequence=1&isAllowed=y (accessed on 19 August 2024).
- Qin, H.; Yan, M.; Ji, H. Application of Controller Area Network (CAN) bus anomaly detection based on time series prediction. Veh. Commun. 2021, 27, 100291. [Google Scholar] [CrossRef]
- Bokor, J.; Gáspár, P. Járműfedélzeti Kommunikáció. 2012. Available online: https://oszkdk.oszk.hu/storage/00/00/59/50/dd/1/Bokor_Gaspar_Jarmufedelzeti_kommunikacio.pdf (accessed on 22 August 2024).
- Tariq, S.; Lee, S.; Kim, H.K.; Woo, S.S. CAN-ADF: The controller area network attack detection framework. Comput. Secur. 2020, 94, 101857. [Google Scholar] [CrossRef]
- Navet, N.; Simonot-Lion, F. In-vehicle communication networks: A historical perspective and review. Ind. Commun. Technol. Handb. 2015, 96, 1204–1223. [Google Scholar]
- Ishak, M.K.; Khan, F.K. Unique message authentication security approach based on Controller Area Network (CAN) for anti-lock braking system (ABS) in vehicle network. In Procedia Computer Science; Elsevier: Amsterdam, The Netherlands, 2019; pp. 93–100. [Google Scholar] [CrossRef]
- ISO 11898:2015; Road Vehicles—Controller Area Network (CAN)—Part 1: Data Link Layer and Physical Signalling. International Organization for Standardization: Geneva, Switzerland, 2015.
- National Instruments. Controller Area Network (CAN) Overview. July 2024. Available online: https://www.ni.com/en/shop/seamlessly-connect-to-third-party-devices-and-supervisory-system/controller-area-network--can--overview.html (accessed on 23 August 2024).
- Shepard, J. What Is the Controller Area Network (CAN) Bus? Microcontroller Tips. 22 June 2022. Available online: https://www.microcontrollertips.com/what-is-the-controller-area-network-can-bus-faq/ (accessed on 23 August 2024).
- Zhao, Z.A.; Sun, Y.; Li, D.; Cui, J.; Guan, Z.; Liu, J. A scalable security protocol for intravehicular Controller Area Network. Secur. Commun. Netw. 2021, 2021, 2314520. [Google Scholar] [CrossRef]
- Toyota Motor Corporation. Hybrid 2010 Model 3rd Generation. 2009. Available online: http://techinfo.toyota.com (accessed on 2 September 2024).
- Hill, J. Diagnosing Prius Hybrid Battery Pack: Sometimes They Come Back. Toyotatech. 2022. Available online: https://automotivetechinfo.com/2022/05/diagnosing-prius-hybrid-battery-pack-sometimes-they-come-back/ (accessed on 2 September 2024).
- Kelly, K.J.; Mihalic, M.; Zolot, M. Battery Usage and Thermal Performance of the Toyota Prius and Honda Insight for Various Chassis Dynamometer Test Procedures: Preprint. National Renewable Energy Laboratory. 2002. Available online: http://www.osti.gov/bridge (accessed on 2 September 2024).
Name | Length | Value | Description |
---|---|---|---|
Start of Frame | 1 bit | 0 | Indicates the start of the frame. |
ID (Identifier) Field | 11 bit | It mostly identifies the content of the data field. Together with the RTR bit, it also determines the priority of the frame. (The CAN 2.0B or “Extended CAN” version expands the ID field by 18 bits). | |
SRR (Substitute Remote Request) | 1 bit | 1 | Ensures that the extended CAN frame has a lower priority than the standard frame, maintaining compatibility during bus access. |
RTR (Remote Transmit Request) | 1 bit | 0 | For a remote transmission request, RTR = 1, otherwise RTR = 0. |
Control Field r1, r0 Data Length code | 2 bit 4 bit | Specifies the length of the data field in bytes. | |
Data Field | 0–64 bit | Data field with a maximum length of 8 bytes. Its content can be anything you like. | |
CRC Field | 15 bit | Checksum, its scope extends from the Start of Frame bit to the end of the CRC. | |
CRC Delimiter | 1 bit | 1 | |
ACK Slot | 1 bit | 1/0 | Those who receive the frame flawlessly set this bit to zero (Tx = 1/Rx = 0). |
ACK Delimiter | 1 bit | 1 | |
End of Frame | 7 bit | 1111111 | Indicates the end of the frame. |
Intermission | 3 bit | 111 | Break between frames |
CAN Controller Pin | Arduino Pin | Color |
---|---|---|
SCK | D13 | white |
SI | D11 | grey |
SO | D12 | purple |
CS | D10 | blue |
GND | GND | green |
VCC | +5 V | yellow |
Diagnostics 1 | Measured Value (Fluke) | I Discrepancy I | ||||
---|---|---|---|---|---|---|
Unloaded | Loaded | Unloaded | Loaded | Unloaded | Loaded | |
Modul 1 [V] | 16.54 | 16.54 | 16.54 | 16.54 | 0 | 0 |
Modul 2 [V] | 16.61 | 16.61 | 16.56 | 16.56 | 0.05 | 0.05 |
Modul 3 [V] | 16.59 | 16.59 | 16.58 | 16.58 | 0.01 | 0.01 |
Modul 4 [V] | 16.59 | 16.61 | 16.58 | 16.58 | 0.01 | 0.01 |
Modul 5 [V] | 16.59 | 16.59 | 16.59 | 16.59 | 0 | 0 |
Modul 6 [V] | 16.66 | 16.66 | 16.59 | 16.59 | 0.07 | 0.07 |
Modul 7 [V] | 16.59 | 16.59 | 16.61 | 16.61 | 0.02 | 0.02 |
Modul 8 [V] | 16.68 | 16.68 | 16.62 | 16.62 | 0.06 | 0.06 |
Modul 9 [V] | 16.61 | 16.59 | 16.61 | 16.59 | 0 | 0 |
Modul 10 [V] | 16.66 | 16.63 | 16.59 | 16.59 | 0.07 | 0.07 |
Modul 11 [V] | 16.56 | 16.56 | 16.58 | 16.57 | 0.02 | 0.01 |
Modul 12 [V] | 16.61 | 16.59 | 16.57 | 16.56 | 0.04 | 0.03 |
Modul 13 [V] | 16.56 | 16.56 | 16.57 | 16.57 | 0.01 | 0.01 |
Modul 14 [V] | 16.61 | 16.61 | 16.56 | 16.55 | 0.05 | 0.06 |
Battery unit [V] | 232 | 232 | 232.12 | 232.09 | 0.12 | 0.09 |
Diagnostics 2 | Measured Value (Fluke) | I Discrepancy I | ||||
---|---|---|---|---|---|---|
Unloaded | Loaded | Unloaded | Loaded | Unloaded | Loaded | |
Modul 1 [V] | 16.69 | 16.63 | 16.70 | 16.65 | 0.01 | 0.02 |
Modul 2 [V] | 16.81 | 16.73 | 16.74 | 16.69 | 0.07 | 0.04 |
Modul 3 [V] | 16.76 | 16.71 | 16.77 | 16.72 | 0.01 | 0.01 |
Modul 4 [V] | 16.81 | 16.76 | 16.77 | 16.72 | 0.04 | 0.04 |
Modul 5 [V] | 16.78 | 16.71 | 16.77 | 16.73 | 0.01 | 0.02 |
Modul 6 [V] | 16.85 | 16.81 | 16.80 | 16.75 | 0.05 | 0.06 |
Modul 7 [V] | 16.83 | 16.78 | 16.85 | 16.79 | 0.02 | 0.01 |
Modul 8 [V] | 16.93 | 16.88 | 16.88 | 16.83 | 0.05 | 0.05 |
Modul 9 [V] | 16.81 | 16.76 | 16.81 | 16.76 | 0 | 0 |
Modul 10 [V] | 16.83 | 16.78 | 16.77 | 16.73 | 0.05 | 0.05 |
Modul 11 [V] | 16.73 | 16.68 | 16.74 | 16.70 | 0.01 | 0.02 |
Modul 12 [V] | 16.76 | 16.71 | 16.72 | 16.68 | 0.04 | 0.03 |
Modul 13 [V] | 16.71 | 16.68 | 16.72 | 16.68 | 0.01 | 0 |
Modul 14 [V] | 16.76 | 16.71 | 16.70 | 16.66 | 0.06 | 0.05 |
Battery unit [V] | 235 | 234 | 235.17 | 233.85 | 0.17 | 0.15 |
Own Device | Measured Value (Fluke) | I Discrepancy I | ||||
---|---|---|---|---|---|---|
Unloaded | Loaded | Unloaded | Loaded | Unloaded | Loaded | |
Modul 1 [V] | 16.47 | 16.46 | 16.50 | 16.48 | 0.03 | 0.02 |
Modul 2 [V] | 16.53 | 16.53 | 16.53 | 16.53 | 0 | 0 |
Modul 3 [V] | 16.59 | 16.57 | 16.58 | 16.56 | 0.01 | 0.01 |
Modul 4 [V] | 16.54 | 16.53 | 16.58 | 16.56 | 0.04 | 0.03 |
Modul 5 [V] | 16.54 | 16.54 | 16.57 | 16.57 | 0.03 | 0.03 |
Modul 6 [V] | 16.59 | 16.57 | 16.59 | 16.58 | 0 | 0.01 |
Modul 7 [V] | 16.61 | 16.61 | 16.57 | 16.57 | 0.04 | 0.04 |
Modul 8 [V] | 16.67 | 16.67 | 16.65 | 16.63 | 0.02 | 0.04 |
Modul 9 [V] | 16.51 | 16.47 | 16.53 | 16.50 | 0.02 | 0.03 |
Modul 10 [V] | 16.51 | 16.50 | 16.52 | 16.50 | 0.01 | 0 |
Modul 11 [V] | 16.54 | 16.54 | 16.56 | 16.55 | 0.02 | 0.01 |
Modul 12 [V] | 16.62 | 16.59 | 16.62 | 16.59 | 0 | 0 |
Modul 13 [V] | 16.63 | 16.63 | 16.57 | 16.56 | 0.06 | 0.07 |
Modul 14 [V] | 16.65 | 16.65 | 16.64 | 16.64 | 0.01 | 0.01 |
Battery unit [V] | 232.00 | 231.86 | 232.01 | 231.82 | 0.01 | 0.04 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Baráth, B.; Sütheö, G.; Pekk, L. Development of a Battery Diagnostic Method Based on CAN Data: Examining the Accuracy of Data Received via a Communication Network. Energies 2024, 17, 5808. https://doi.org/10.3390/en17225808
Baráth B, Sütheö G, Pekk L. Development of a Battery Diagnostic Method Based on CAN Data: Examining the Accuracy of Data Received via a Communication Network. Energies. 2024; 17(22):5808. https://doi.org/10.3390/en17225808
Chicago/Turabian StyleBaráth, Balázs, Gergő Sütheö, and Letícia Pekk. 2024. "Development of a Battery Diagnostic Method Based on CAN Data: Examining the Accuracy of Data Received via a Communication Network" Energies 17, no. 22: 5808. https://doi.org/10.3390/en17225808
APA StyleBaráth, B., Sütheö, G., & Pekk, L. (2024). Development of a Battery Diagnostic Method Based on CAN Data: Examining the Accuracy of Data Received via a Communication Network. Energies, 17(22), 5808. https://doi.org/10.3390/en17225808