DOI QR코드

DOI QR Code

Method of In-Vehicle Gateway to Reduce the Reprogramming Time

리프로그래밍 시간 단축을 위한 차량 게이트웨이 개선 방안

  • Kim, Jin-Ho (Division of Computer Engineering, Kyungnam University) ;
  • Ha, Kyung-Jae (Division of Computer Engineering, Kyungnam University)
  • 김진호 (경남대학교 컴퓨터공학부) ;
  • 하경재 (경남대학교 컴퓨터공학부)
  • Received : 2019.06.18
  • Accepted : 2019.07.20
  • Published : 2019.07.29

Abstract

This paper proposes the method of an in-vehicle gateway to reduce the reprogramming time for the ECU (Electronic Control Unit). In order to reduce the reprogramming time, the gateway must prohibit transmitting messages, that are not related to reprogramming, to the destination CAN network, and no ECU should diagnose the DTC(Diagnostic Trouble Code) that indicates CAN communication error caused by prohibiting CAN messages by the gateway. Moreover, STmin, which are the minimum time between two consecutive CAN messages, should be minimized. In order to do this, this paper proposes the method that uses the link control command specified in UDS(Unified Diagnostic Services) and hardware based gateway functionality that are supported by the latest MCU(Micro Controller Unit). The proposed method is developed using TC275 based embedded system, and its results are presented.

본 논문에서는 차량 ECU(Electronic Control Unit)의 리프로그래밍 시간 단축을 위한 차량 게이트웨이 개선 방안을 제안한다. 리프로그래밍 시간 단축을 위해 게이트웨이는 리프로그래밍을 진행하는 동안 리프로그래밍하는 ECU가 연결된 통신 채널에 리프로그래밍 이외의 메시지 전송을 금지하여야 하며, 이때 메시지 전송 금지로 인해 특정 ECU가 CAN 통신 수신 불가로 인한 고장이 발생하지 않도록 할 수 있어야 한다. 또한, 게이트웨이 내의 버퍼 오버플로우를 방지하기 위해 연속된 통신 메시지 전송 시 추가하는 지연 시간(STmin)을 최소로 할 수 있어야 한다. 이를 위해 본 논문에서는 UDS(Unified Diagnostic Services)의 링크 제어 명령 및 최신 MCU(Micro Controller Unit)에서 제공되는 HW 게이트웨이 기능을 이용한 개선 방안을 제안한다. 제안한 개선 방안은 차량에서 널리 사용되고 있는 인피니언사의 TC275 기반 임베디드시스템을 이용하여 구현하였으며, 개선된 실험 결과를 제시한다.

Keywords

JKOHBZ_2019_v9n7_25_f0001.png 이미지

Fig. 1. Central gateway based E/E architecture

JKOHBZ_2019_v9n7_25_f0002.png 이미지

Fig. 2. Domain control unit based E/E architecture

JKOHBZ_2019_v9n7_25_f0003.png 이미지

Fig. 3. Reprogramming sequence[11]

JKOHBZ_2019_v9n7_25_f0004.png 이미지

Fig. 4. Consecutive message transmission of Can TP

JKOHBZ_2019_v9n7_25_f0005.png 이미지

Fig. 5. Description of gateway delay

JKOHBZ_2019_v9n7_25_f0006.png 이미지

Fig. 6. Message loss problem caused gateway delay

JKOHBZ_2019_v9n7_25_f0007.png 이미지

Fig. 7. Experimental environment

JKOHBZ_2019_v9n7_25_f0008.png 이미지

Fig. 8. TC275 based embedded system

Table 1. Data loss rate caused by SW delay

JKOHBZ_2019_v9n7_25_t0001.png 이미지

Table 2. Data loss rate using proposed method

JKOHBZ_2019_v9n7_25_t0002.png 이미지

References

  1. D. Mckenna. (2016). Making Full Vehicle OTA Updates a Reality, NXP Semiconductors (Online). https://www.nxp.com/docs/en/white-paper/Making-Full-Vehicle-OTA-Updates-Reality-WP.pdf
  2. Z. Fox. A New Concept In OTA Updating For Automotive. Auroralabs(Online). https://www.auroralabs.com/wp-content/uploads/2018/11/A-new-concept-in-OTA-Updating-for-Automotive-White-paper-web.pdf
  3. S. Hong. (2018). Research on Countermeasures of Controller Area Network Vulnerability. Journal of Convergence for Infomation Technology, 8(5), 115-120. DOI : 10.22156/CS4SMB.2018.8.5.115
  4. K. J. Lee & K. H. Lee. (2013). Authentication Scheme using Biometrics in Intel. Vehicle Network. Journal of the Korea Convergence Society, 4(3), 15-20. DOI : 10.15207/JKCS.2013.4.3.015
  5. ISO 15765-2. (2016). Road vehicles -- Diagnostic communication over Controller Area Network (DoCAN) -- Part 2: Transport protocol and network layer services.
  6. K. Ryozo, M. Satoshi, M. Mitsuhiro, N. Masayuki & K. Satoshi. (2009). A New Method of Fast Compression of Program Code for OTA Updates in Consumer Devices. IEEE Transactions on Consumer Electronics, 55(2), 812-817. DOI : 10.1109/TCE.2009.5174459
  7. D. Bogdan, R. Bogdan & M. P. Work. (2016). Delta Flashing of an ECU in the Automotive Industry. 11th IEEE International Symposium on Applied Computational Intelligence and Informatics. 503-508.
  8. Y. S. Lee, J. H. Kim, H. V. Hong & J. W. Jeon. (2015). A Parallel Re-programming Method for In-vehicle Gateway to save software update time. IEEE International Conference on Information and Automation, 1497-1502.
  9. S. Shreejith, P. Mundhenk, A. Ettner, S. A. Fahmy, S. Steinhorst, M. Lukasiewycz & S. Chakraborty. (2017). VEGa: A High Performance Vehicular Ethernet Gateway on Hybrid FPGA. IEEE Transactions on Computers, 66(10), 1790-1803. DOI : 10.1109/TC.2017.2700277
  10. J. H. Kim, S. H. Seo, N. T. Hai, B. M. Cheon, Y. S. Lee & J. W. Jeon. (2015). Gateway Framework for In-Vehicle Networks based on CAN, FlexRay and Ethernet. IEEE Transactions on Vehicular Technology, 64(10), 4472-4486. DOI : 10.1109/TVT.2014.2371470
  11. R. Schmidgall. (2012). Automotive embedded systems software reprogramming. Doctoral dissertation. Brunel University, London. DOI : 10.22156/CS4SMB.2018.8.5.115
  12. M. Han & W. S. Bae. (2014). Security Verification of a Communication Authentication Protocol in Vehicular Security System. Journal of Digital Convergence, 12(8), 229-234. DOI : 10.14400/JDC.2014.12.8.229
  13. S. J. Lee & W. S. Bae. (2015). Verification of a Communication Method Secure against Attacks Using Convergence Hash Functions in Inter-vehicular Secure Communication. Journal of Digital Convergence, 13(9), 297-302. DOI : 10.14400/JDC.2015.13.9.297
  14. ISO 14229-3. (2012). Road vehicles - Unified diagnostic services (UDS) - Part 3: Unified diagnostic services on CAN implementation (UDSonCAN).
  15. Q. Zhu, H. Zeng, W. Zheng, M. D. Natale & A. S. Vincentelli. (2012). Optimization of Task Allocation and Priority Assignment in Hard Real-Time Distributed Systems. ACM Transactions on Embedded Computing Systems, 11(4), Article 85. DOI : 10.1145/2362336.2362352