[go: up one dir, main page]

KR102843012B1 - System and method for preventing vehicle battery discharge - Google Patents

System and method for preventing vehicle battery discharge

Info

Publication number
KR102843012B1
KR102843012B1 KR1020200077561A KR20200077561A KR102843012B1 KR 102843012 B1 KR102843012 B1 KR 102843012B1 KR 1020200077561 A KR1020200077561 A KR 1020200077561A KR 20200077561 A KR20200077561 A KR 20200077561A KR 102843012 B1 KR102843012 B1 KR 102843012B1
Authority
KR
South Korea
Prior art keywords
control unit
electronic control
update
request
external controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
KR1020200077561A
Other languages
Korean (ko)
Other versions
KR20220000066A (en
Inventor
박성준
Original Assignee
현대자동차주식회사
기아 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 현대자동차주식회사, 기아 주식회사 filed Critical 현대자동차주식회사
Priority to KR1020200077561A priority Critical patent/KR102843012B1/en
Publication of KR20220000066A publication Critical patent/KR20220000066A/en
Application granted granted Critical
Publication of KR102843012B1 publication Critical patent/KR102843012B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/03Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for supply of electrical power to vehicle subsystems or for
    • B60R16/033Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for supply of electrical power to vehicle subsystems or for characterised by the use of electrical cells or batteries
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/005Electro-mechanical devices, e.g. switched
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

본 발명은 차량 배터리 방전 방지 시스템을 제공한다. 차량 배터리 방전 방지 시스템은 고전력 장치를 제어하는 전자제어유닛, 상기 전자제어유닛의 소프트웨어의 업데이트를 수행하는 외부 제어기 및 상기 외부 제어기로부터 업데이트를 요청하는 업데이트 상태 정보를 수신하는 경우 상기 전자제어유닛과 연결된 릴레이를 차단하여 배터리가 방전되는 것을 방지하는 통합제어유닛을 포함한다.The present invention provides a vehicle battery discharge prevention system. The vehicle battery discharge prevention system includes an electronic control unit that controls a high-power device, an external controller that updates the software of the electronic control unit, and an integrated control unit that, when receiving update status information requesting an update from the external controller, blocks a relay connected to the electronic control unit to prevent battery discharge.

Description

차량 배터리 방전 방지 시스템 및 방법{System and method for preventing vehicle battery discharge}System and method for preventing vehicle battery discharge

본 발명은 전자제어유닛의 업데이트 시 고전력 장치의 구동에 의해 배터리가 방전되는 것을 방지하기 위한 차량 배터리 방전 방지 시스템 및 방법에 대한 것이다.The present invention relates to a vehicle battery discharge prevention system and method for preventing the battery from being discharged by driving a high-power device when updating an electronic control unit.

전자제어유닛(Electronic Control Unit, ECU)는 차량 및 컴퓨터의 발전으로 자동변속기 제어를 비롯해 구동계통, 제동계통, 조향계통 등 차량의 상당 부분을 제어하는 역할을 수행하고 있다. 이러한 전자제어유닛은 차량 출고 당시 버전의 소프트웨어가 저장되어 있다. 이에 전자제어유닛에서 발생하는 소프트웨어상 오류를 바로잡거나 차량 각 부분의 제어와 관련된 기능이 개선된 새로운 버전의 소프트웨어가 개발될 때마다 상기 전자제어유닛의 소프트웨어를 새로운 버전의 소프트웨어로 리프로그래밍(reprograming) 해야 한다. 이러한 소프트웨어의 업데이트(리프로그래밍)에는 무선 프로그래밍 장치는 OTA(Over-the-air programming) 또는 온보드 진단 커넥터(On-board diagnostics: OBD)가 사용된다.With the advancement of vehicles and computers, the Electronic Control Unit (ECU) controls a significant portion of a vehicle, including automatic transmission control, drivetrain, braking system, and steering system. These ECUs store the version of software that was used when the vehicle was shipped. Therefore, whenever a new version of software is developed to correct software errors that occur in the ECU or to improve the control functions of various parts of the vehicle, the ECU's software must be reprogrammed with the new version. For this software update (reprogramming), a wireless programming device such as Over-the-Air Programming (OTA) or On-board Diagnostics (OBD) is used.

한편, 진단기(리프로그래밍 장치)는 전자제어유닛의 소프트웨어를 업데이트(리프로그래밍) 하는 과정에서 전자제어유닛의 메모리 영역이 삭제되게 되고, 이에 따라 해당 전자제어유닛에 의해 제어되는 고전력 장치가 제어 불능 상태가 된다. 이에 따라, 고전력 장치가 소프트웨어의 업데이트가 수행되는 동안 동작되어 차량용 배터리가 방전되는 문제가 발생되었다.Meanwhile, the diagnostic device (reprogramming device) erases the ECU's memory area during the software update (reprogramming) process, rendering the high-power devices controlled by the ECU uncontrollable. Consequently, the high-power devices remain in operation during the software update, discharging the vehicle battery.

본 발명의 기술적 과제는 전자제어유닛의 업데이트 과정에서 배터리의 방전을 방지할 수 있는 차량 배터리 방전 방지 시스템 및 방법을 제공하는 것이다.The technical problem of the present invention is to provide a vehicle battery discharge prevention system and method capable of preventing battery discharge during an update process of an electronic control unit.

본 발명은 차량 배터리 방전 방지 시스템을 제공한다. 차량 배터리 방전 방지 시스템은 고전력 장치를 제어하는 전자제어유닛, 상기 전자제어유닛의 소프트웨어의 업데이트를 수행하는 외부 제어기 및 상기 외부 제어기로부터 업데이트를 요청하는 업데이트 상태 정보를 수신하는 경우 상기 전자제어유닛과 연결된 릴레이를 차단하여 배터리가 방전되는 것을 방지하는 통합제어유닛을 포함한다.The present invention provides a vehicle battery discharge prevention system. The vehicle battery discharge prevention system includes an electronic control unit that controls a high-power device, an external controller that updates the software of the electronic control unit, and an integrated control unit that, when receiving update status information requesting an update from the external controller, blocks a relay connected to the electronic control unit to prevent battery discharge.

일 예에 의하여, 상기 릴레이는 스위칭 소자 및 코일로 구성되고, 상기 통합제어유닛은 전원과 상기 전자제어유닛을 연결하는 상기 스위칭 소자를 개방시키거나 상기 릴레이의 접지 제어를 통해 상기 코일이 동작하지 않도록 제어하는 것을 통해 상기 릴레이를 차단한다.For example, the relay is composed of a switching element and a coil, and the integrated control unit blocks the relay by controlling the coil not to operate by opening the switching element connecting the power source and the electronic control unit or by controlling the grounding of the relay.

일 예에 의하여, 상기 릴레이는 IGBT 또는 MOSFET과 같은 전력 스위칭 소자이고, 상기 릴레이는 게이트에 인가되는 게이트 신호의 제어에 의해 상기 고전력 장치로 인가되는 전원을 차단시킨다.By way of example, the relay is a power switching element such as an IGBT or a MOSFET, and the relay cuts off power supplied to the high-power device by controlling a gate signal applied to the gate.

일 예에 의하여, 상기 외부 제어기는 무선 프로그래밍 장치(Over-the-air programming: OTA)를 포함하고, 상기 무선 프로그래밍 장치는 업데이트 가능 조건이 만족된 경우 상기 전자제어유닛으로 업데이트를 수행하기 위한 모드로 진입하라는 진단 프로그래밍 세션 요청 및 상기 전자제어유닛으로의 보안 접근을 요청을 출력한다.By way of example, the external controller includes an over-the-air programming (OTA) device, and the over-the-air programming device outputs a diagnostic programming session request to enter a mode for performing an update to the electronic control unit when an update condition is satisfied, and a request for secure access to the electronic control unit.

일 예에 의하여, 상기 전자제어유닛은 상기 진단 프로그래밍 세션 요청에 대한 응답을 상기 무선 프로그래밍 장치로 전송하고, 상기 통합제어유닛은 상기 진단 프로그래밍 세션 요청 및 상기 진단 프로그래밍 세션 요청에 대한 응답을 수신하여 소프트웨어의 업데이트를 수행하기 위한 절차가 진행되고 있음을 감지한다.For example, the electronic control unit transmits a response to the diagnostic programming session request to the wireless programming device, and the integrated control unit receives the diagnostic programming session request and the response to the diagnostic programming session request to detect that a procedure for performing a software update is in progress.

일 예에 의하여, 상기 무선 프로그래밍 장치는 상기 진단 프로그래밍 세션에 대한 응답 및 상기 보안 접근이 허용되는 경우 상기 전자제어유닛으로 업데이트 수행을 요청하고, 상기 통합제어유닛은 업데이트 수행 요청을 수신한 이후 상기 릴레이를 차단한다.For example, the wireless programming device requests the electronic control unit to perform an update in response to the diagnostic programming session and if the secure access is permitted, and the integrated control unit blocks the relay after receiving the update performance request.

일 예에 의하여, 상기 전자제어유닛의 업데이트가 완료된 이후 상기 외부 제어기는 상기 전자제어유닛으로 리셋 서비스를 요청하고, 상기 통합제어유닛은 리셋 서비스 요청을 수신한 이후 상기 릴레이의 차단을 해제한다.For example, after the update of the electronic control unit is completed, the external controller requests a reset service from the electronic control unit, and the integrated control unit releases the blocking of the relay after receiving the reset service request.

일 예에 의하여, 상기 외부 제어기는 차량에 탑재된 온보드 진단기 커넥터에 연결된 외부 진단기를 포함하고, 상기 외부 진단기가 상기 온보드 진단기 커넥터에 연결되면 상기 외부 진단기는 업데이트 가능 조건이 만족된 것으로 판단한다.For example, the external controller includes an external diagnostic device connected to an onboard diagnostic device connector mounted on a vehicle, and when the external diagnostic device is connected to the onboard diagnostic device connector, the external diagnostic device determines that an updateable condition is satisfied.

일 예에 의하여, 상기 외부 진단기는 차량 내에 배치된 게이트웨이와 캔(CAN) 통신을 통해 연결되고, 상기 외부 진단기는 상기 게이트웨이로 상기 전자제어유닛이 업데이트를 위한 모드로 진입하라는 진단 프로그래밍 세션 요청 및 상기 게이트웨이로의 보안 접근을 요청을 출력한다.For example, the external diagnostic device is connected to a gateway placed in the vehicle via CAN communication, and the external diagnostic device outputs a diagnostic programming session request to the gateway to cause the electronic control unit to enter a mode for update and a request for secure access to the gateway.

일 예에 의하여, 상기 게이트웨이는 상기 보안 요청에 대해 응답하고, 상기 전자제어유닛은 상기 진단 프로그래밍 세션 요청에 대해 응답하고, 상기 외부 진단기는 상기 진단 프로그래밍 세션에 대한 응답 및 상기 보안 접근이 허용되는 경우 상기 게이트웨이로 업데이트 수행을 요청하고, 상기 통합제어유닛은 상기 게이트웨이로부터 업데이트 수행 요청을 수신한 이후 상기 릴레이를 차단한다.For example, the gateway responds to the security request, the electronic control unit responds to the diagnostic programming session request, the external diagnostic device responds to the diagnostic programming session and requests the gateway to perform an update if the security access is permitted, and the integrated control unit blocks the relay after receiving the update performance request from the gateway.

일 예에 의하여, 상기 외부 제어기는 복수의 상기 전자제어유닛들 중 업데이트가 요구되는 특정 전자제어유닛만 업데이트를 수행하도록 상기 특정 전자제어유닛에 해당하는 암호화 키를 상기 진단 프로그래밍 세션 요청 시 전송한다.For example, the external controller transmits an encryption key corresponding to a specific electronic control unit when requesting the diagnostic programming session so that only a specific electronic control unit requiring an update among the plurality of electronic control units is updated.

본 발명의 실시예에 따른 차량 배터리 방전 방지 방법을 제공한다. 차량 배터리 방전 방지 방법은 전자제어유닛의 소프트웨어를 업데이트하기 위한 업데이트 가능 조건을 판단하는 단계, 차량 외부에 배치되는 외부 제어기가 상기 전자제어유닛의 업데이트를 위한 모드로 진입하라는 진단 프로그래밍 세션 요청을 출력하는 단계, 상기 진단 프로그래밍 세션 요청에 대한 응답을 상기 외부 제어기가 수신하고, 상기 외부 제어기가 상기 전자제어유닛의 소프트웨어의 업데이트 수행을 요청하는 단계 및 상기 업데이트 수행 요청을 통합제어유닛이 수신하여 상기 전자제어유닛과 상기 통합제어유닛을 연결하는 릴레이를 차단하여 상기 전자제어유닛이 제어하는 고전력 장치에 의해 배터리가 방전되는 것을 방지하는 단계를 포함한다.A method for preventing discharge of a vehicle battery according to an embodiment of the present invention is provided. The method for preventing discharge of a vehicle battery includes the steps of: determining an update-enabled condition for updating software of an electronic control unit; outputting a diagnostic programming session request for an external controller disposed outside a vehicle to enter a mode for updating the electronic control unit; receiving a response to the diagnostic programming session request by the external controller, and requesting that the external controller perform an update of the software of the electronic control unit; and preventing discharge of a battery by a high-power device controlled by the electronic control unit by receiving the update request and blocking a relay connecting the electronic control unit and the integrated control unit.

일 예에 의하여, 상기 통합제어유닛은 상기 진단 프로그래밍 세션 요청 및 이에 대한 응답을 수신한 이후에 상기 업데이트 수행 요청을 수신하는 경우 상기 릴레이를 차단한다.For example, the integrated control unit blocks the relay when it receives the update execution request after receiving the diagnostic programming session request and response thereto.

일 예에 의하여, 상기 진단 프로그래밍 세션 요청을 출력하는 단계는 상기 외부 제어기가 상기 전자제어유닛으로의 보안 접근을 요청하는 것을 포함한다.By way of example, the step of outputting the diagnostic programming session request includes the external controller requesting secure access to the electronic control unit.

일 예에 의하여, 상기 외부 제어기는 무선 프로그래밍 장치(OTA)를 포함하고, 상기 외부 제어기가 요청한 보안 접근 요청에 대해 상기 전자제어유닛이 응답한다.By way of example, the external controller includes an over-the-air (OTA) programming device, and the electronic control unit responds to a security access request made by the external controller.

일 예에 의하여, 상기 외부 제어기는 차량에 탑재된 온보드 진단기 커넥터에 연결된 외부 진단기를 포함하고, 상기 외부 진단기가 요청한 보안 접근 요청에 대해 보안 게이트웨이가 응답하고, 상기 보안 게이트웨이는 상기 외부 진단기가 출력한 업데이트 수행 요청을 상기 통합제어유닛으로 전송한다.By way of example, the external controller includes an external diagnostic device connected to an onboard diagnostic device connector mounted on a vehicle, a security gateway responds to a security access request requested by the external diagnostic device, and the security gateway transmits an update execution request output by the external diagnostic device to the integrated control unit.

일 예에 의하여, 상기 전자제어유닛의 업데이트가 완료된 이후 상기 외부 제어기는 상기 전자제어유닛으로 리셋 서비스를 요청하고, 상기 통합제어유닛은 리셋 서비스 요청을 수신한 이후 상기 릴레이의 차단을 해제한다.For example, after the update of the electronic control unit is completed, the external controller requests a reset service from the electronic control unit, and the integrated control unit releases the blocking of the relay after receiving the reset service request.

본 발명의 실시예에 따르면, 차량 배터리 방전 방지 시스템은 전자제어유닛의 업데이트가 수행되는 동안 고전력 장치가 지속적으로 동작 상태를 유지하여 12V 배터리가 방전되는 것을 방지할 수 있다. 구체적으로, 차량 배터리 방전 방지 시스템은 전자제어유닛의 업데이트가 수행되는 동안 전자제어유닛과 연결된 릴레이를 차단하여 전자제어유닛 및 고전력 장치로 공급되는 전원을 차단시킬 수 있다. 이를 통해, 12V 배터리가 방전되는 것이 방지될 수 있다. According to an embodiment of the present invention, a vehicle battery discharge prevention system can prevent a 12V battery from discharging by continuously maintaining a high-power device in an operating state while an electronic control unit (ECU) is being updated. Specifically, the vehicle battery discharge prevention system can cut off power supplied to the ECU and the high-power device by shutting off a relay connected to the ECU while the ECU is being updated. This can prevent the 12V battery from discharging.

도 1은 본 발명의 일 실시예에 따른 차량 배터리 방전 방지 시스템을 나타내는 블록도이다.
도 2는 본 발명의 일 실시예에 따른 차량 배터리 방전 방지 방법을 설명하기 위한 순서도이다.
도 3은 본 발명의 다른 실시예에 따른 차량 배터리 방전 방지 시스템을 나타내는 블록도이다.
도 4는 본 발명의 다른 실시예에 따른 차량 배터리 방전 방지 방법을 설명하기 위한 순서도이다.
FIG. 1 is a block diagram showing a vehicle battery discharge prevention system according to one embodiment of the present invention.
FIG. 2 is a flowchart for explaining a method for preventing discharge of a vehicle battery according to one embodiment of the present invention.
FIG. 3 is a block diagram showing a vehicle battery discharge prevention system according to another embodiment of the present invention.
FIG. 4 is a flowchart for explaining a method for preventing discharge of a vehicle battery according to another embodiment of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시 예를 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시 예에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시 예는 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전문에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.The advantages and features of the present invention, and the methods for achieving them, will become clearer with reference to the embodiments described in detail below together with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below and may be implemented in various different forms. The present embodiments are provided only to ensure that the disclosure of the present invention is complete and to fully inform those skilled in the art of the scope of the invention, and the present invention is defined only by the scope of the claims. Like reference numerals refer to like elements throughout the specification.

명세서에 기재된 "...부", "...유닛", "...모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.The terms “... part,” “... unit,” “... module,” etc., described in the specification mean a unit that processes at least one function or operation, which may be implemented by hardware, software, or a combination of hardware and software.

또한, 본 명세서에서 구성의 명칭을 제1, 제2 등으로 구분한 것은 그 구성의 명칭이 동일한 관계로 이를 구분하기 위한 것으로, 하기의 설명에서 반드시 그 순서에 한정되는 것은 아니다.In addition, the reason why the names of the components are divided into first, second, etc. in this specification is to distinguish them because the names of the components are the same, and the following description is not necessarily limited to that order.

상세한 설명은 본 발명을 예시하는 것이다. 또한 전술한 내용은 본 발명의 바람직한 실시 형태를 나타내어 설명하는 것이며, 본 발명은 다양한 다른 조합, 변경 및 환경에서 사용할 수 있다. 즉 본 명세서에 개시된 발명의 개념의 범위, 기술한 개시 내용과 균등한 범위 및/또는 당업계의 기술 또는 지식의 범위 내에서 변경 또는 수정이 가능하다. 기술한 실시예는 본 발명의 기술적 사상을 구현하기 위한 최선의 상태를 설명하는 것이며, 본 발명의 구체적인 적용 분야 및 용도에서 요구되는 다양한 변경도 가능하다. 따라서 이상의 발명의 상세한 설명은 개시된 실시 상태로 본 발명을 제한하려는 의도가 아니다. 또한 첨부된 청구범위는 다른 실시 상태도 포함하는 것으로 해석되어야 한다.The detailed description exemplifies the present invention. Furthermore, the foregoing description illustrates and describes preferred embodiments of the present invention, and the present invention can be used in various other combinations, modifications, and environments. In other words, changes or modifications may be made within the scope of the inventive concept disclosed herein, the scope equivalent to the disclosed disclosure, and/or the scope of technology or knowledge in the art. The described embodiments illustrate the best possible state for implementing the technical idea of the present invention, and various modifications required for specific applications and uses of the present invention are also possible. Therefore, the detailed description of the invention above is not intended to limit the present invention to the disclosed embodiments. Furthermore, the appended claims should be construed to include other embodiments.

도 1은 본 발명의 일 실시예에 따른 차량 배터리 방전 방지 시스템을 나타내는 블록도이다.FIG. 1 is a block diagram showing a vehicle battery discharge prevention system according to one embodiment of the present invention.

도 1을 참조하면, 차량 배터리 방전 방지 시스템(1)은 차량(10) 외부에 배치되는 외부 제어기(Over-the-air programming: OTA, 100) 및 차량(10) 내부에 배치되는 게이트웨이(Central Gateway: CGW, 200), 통합제어유닛(Integrated Central control Unit: ICU, 300), 전자제어유닛(electronic control unit: ECU, 400), 고전력 장치(500) 및 12V 배터리(600)를 포함할 수 있다. 차량 배터리 방전 방지 시스템(1)이 적용된 차량은 내연기관 차량 또는 친환경 차량일 수 있다. 차량 배터리 방전 방지 시스템(1)은 차량(10) 내부에 복수개로 배치되는 전자제어유닛들(400)에 내장된 소프트웨어를 업데이트하는 동안 전자제어유닛들(400)이 제어하는 고전력 장치(500)가 동작하여 12V 배터리(600)가 방전되는 것을 방지하기 위한 시스템을 의미할 수 있다.Referring to FIG. 1, a vehicle battery discharge prevention system (1) may include an external controller (Over-the-air programming: OTA, 100) disposed outside a vehicle (10), a gateway (Central Gateway: CGW, 200), an integrated control unit (Integrated Central Control Unit: ICU, 300), an electronic control unit (ECU, 400), a high-power device (500), and a 12V battery (600) disposed inside the vehicle (10). A vehicle to which the vehicle battery discharge prevention system (1) is applied may be an internal combustion engine vehicle or an eco-friendly vehicle. The vehicle battery discharge prevention system (1) may mean a system for preventing a 12V battery (600) from being discharged by operating a high-power device (500) controlled by electronic control units (400) while updating software built into a plurality of electronic control units (400) disposed inside a vehicle (10).

외부 제어기(100)는 무선 프로그래밍 장치일 수 있다. 자동차 제어 기술의 발전에 따라 자율주행 장치, 인포테인먼트/전자편의 장치, 전동화 장치에 적용되는 소프트웨어가 지속적으로 발전되고 있다. 따라서, 고객의 추가 요구 사항 반영 또는 소프트웨어의 버그 수정을 위해 무선으로 전자제어유닛(400)에 내장된 소프트웨어를 를 관제센터(일종의 서버)로부터 다운받아 전자제어유닛(400)를 업데이트 하기 위해 무선 프로그래밍 장치가 사용될 수 있다. 외부 제어기(100)는 차량(10) 내부에 배치된 게이트웨이(200)와 무선 통신 네트워크로 연결될 수 있다. 무선 통신 네트워크로는, GSM(Global System for Mobile communication), CDMA(Code Division Multi Access), CDMA1000(Code Division Multi Access 1000), EV-DO(Enhanced Voice-Data Optimized or Enhanced Voice-Data Only), WCDMA(Wideband CDMA), HSDPA(High Speed Downlink Packet Access), HSUPA(High Speed Uplink Packet Access), LTE(Long Term Evolution), LTE-A(Long Term Evolution-Advanced) 등이 있을 수 있으나, 본 발명은 이에 한정되지 아니한다.The external controller (100) may be a wireless programming device. With the advancement of automotive control technology, software applied to autonomous driving devices, infotainment/electronic convenience devices, and electric powertrains is continuously evolving. Therefore, a wireless programming device may be used to wirelessly download software embedded in the electronic control unit (400) from a control center (a type of server) to update the electronic control unit (400) to reflect additional customer requirements or correct software bugs. The external controller (100) may be connected to a gateway (200) located within the vehicle (10) via a wireless communication network. Wireless communication networks may include GSM (Global System for Mobile communication), CDMA (Code Division Multi Access), CDMA1000 (Code Division Multi Access 1000), EV-DO (Enhanced Voice-Data Optimized or Enhanced Voice-Data Only), WCDMA (Wideband CDMA), HSDPA (High Speed Downlink Packet Access), HSUPA (High Speed Uplink Packet Access), LTE (Long Term Evolution), LTE-A (Long Term Evolution-Advanced), etc., but the present invention is not limited thereto.

게이트웨이(200)는 차량(10) 내부에 장착된 제어유닛들과 외부 제어기(100) 간의 통신 및 제어유닛들 간의 통신을 위한 구성일 수 있다. 자동차에는 바디, 파워트레인, 샤시 등에 연결되어 있는 여러 CAN Bus가 존재한다. 서로 다른 Bus상에서 데이터(CAN 메시지)를 주고 받기 위해 게이트웨이(200)가 존재하며 게이트웨이(200)가 특정 CAN Bus에서 다른 CAN Bus로 필요한 데이터를 전달하는 역할을 수행할 수 있다. 본 발명의 실시예에 따르면, 게이트웨이(200)는 외부 제어기(100), 통합제어유닛(300) 및 전자제어유닛(400) 간의 데이터 송수신을 가능하게 할 수 있다.The gateway (200) may be configured for communication between control units mounted inside a vehicle (10) and an external controller (100) and communication between control units. In a vehicle, there are multiple CAN Buses connected to the body, powertrain, chassis, etc. The gateway (200) exists to exchange data (CAN messages) on different buses, and the gateway (200) may play a role in transmitting necessary data from a specific CAN Bus to another CAN Bus. According to an embodiment of the present invention, the gateway (200) may enable data transmission and reception between the external controller (100), the integrated control unit (300), and the electronic control unit (400).

통합제어유닛(300)은 다른 제어유닛들로부터의 요청을 로직(Logic) 신호 또는 CAN 신호를 통하여 입력 받아 각각의 제어유닛들의 동작을 위한 출력을 공급할 수 있다. 다시 말해, 통합제어유닛(300)은 차량(10)의 전원 관리를 수행할 수 있다. 통합제어유닛(300)은 게이트웨이(200)와 CAN 통신으로 연결될 수 있다. 통합제어유닛(300)은 스마트 정션 박스(Smart Junction Box, SJB)로 불릴 수도 있다. 통합제어유닛(300)은 12V 배터리(600)로부터 전달받은 전원을 차량 내 각종 부하에 공급하거나 차단할 수 있다. 구체적으로, 통합제어유닛(300)은 전자제어유닛(400) 및 고전력 장치(500)에 제공되는 전원을 제어할 수 있다. The integrated control unit (300) can receive requests from other control units through logic signals or CAN signals and supply outputs for the operation of each control unit. In other words, the integrated control unit (300) can perform power management of the vehicle (10). The integrated control unit (300) can be connected to the gateway (200) through CAN communication. The integrated control unit (300) may also be called a smart junction box (SJB). The integrated control unit (300) can supply or cut off power received from the 12V battery (600) to various loads in the vehicle. Specifically, the integrated control unit (300) can control power provided to the electronic control unit (400) and the high-power device (500).

통합제어유닛(300)은 전자제어유닛(400) 및 고전력 장치(500)와 배선을 통해 연결될 수 있다. 특히, 통합제어유닛(300)은 전자제어유닛(400) 및 고전력 장치(500)와 연결되는 릴레이(330) 및 릴레이(330)에 전원을 인가하는 전원부(310)를 포함할 수 있다. 전원부(310)가 릴레이(330)로 제공하는 전원은 통합제어유닛(300) 내에 내장된 MCU(미도시)에 의해 12V, 5.0V 또는 3.3V 등으로 다양할 수 있다. 통합제어유닛(300)은 릴레이(330)의 제어를 통해 전자제어유닛(400) 및 고전력 장치(500)로 인가되는 전원을 공급 또는 차단시킬 수 있다. The integrated control unit (300) can be connected to the electronic control unit (400) and the high-power device (500) via wiring. In particular, the integrated control unit (300) can include a relay (330) connected to the electronic control unit (400) and the high-power device (500) and a power supply unit (310) that supplies power to the relay (330). The power that the power supply unit (310) provides to the relay (330) can be various, such as 12 V, 5.0 V, or 3.3 V, by an MCU (not shown) built into the integrated control unit (300). The integrated control unit (300) can supply or cut off the power supplied to the electronic control unit (400) and the high-power device (500) through the control of the relay (330).

릴레이(330)는 스위칭 소자(331) 및 코일(333)이 병렬적으로 연결된 구조를 가질 수 있다. 스위칭 소자(331)는 고전력 장치(500)와 연결될 수 있고, 코일(33)은 전자제어유닛(400)과 연결될 수 있다. 예를 들어, 스위칭 소자(331)는 전자식 소자로서 FET(Field Effect Transistor), BJT(Bipolar Junction Transistor) 등과 같은 트랜지스터로 구현될 수 있다. 릴레이(330)의 온/오프에 따라 12V 배터리(600)에서 전자제어유닛(400) 및 고전력 장치(500)로 인가되는 전원이 공급 또는 차단될 수 있다. 통합제어유닛(300)은 외부 제어기(100)로부터 전자제어유닛(400)의 소프트웨어의 업데이트를 요청하는 업데이트 상태 정보를 수신하는 경우에는 릴레이(330)를 차단하여 전자제어유닛(400) 및 전자제어유닛(400)이 제어하는 고전력 장치(500)로 전원이 공급되지 않게 할 수 있다. 일반적으로, 전자제어유닛(400)이 업데이트하는 동안 전자제어유닛(400)의 메모리 영역을 삭제하는 과정이 수행될 수 있고, 이 때 전자제어유닛(400)의 회로 구성에 의해 핀의 풀업(Pull-up) 전압 제어가 수행되지 않을 수 있다. 이에 따라, 릴레이(330)의 코일(333)이 접지 상태가 되어 고전력 장치(500)가 동작하게 되어 12V 배터리(600)의 방전을 유발시킬 수 있다. 즉, 렐리이(330)의 스위칭 소자(331)가 닫힘(Close) 상태가 되어 전원(310)과 고전력 장치(500)가 전기적으로 연결되어 12V 배터리(600)가 방전될 수 있다. 따라서, 통합제어유닛(300)은 전자제어유닛(400)의 소프트웨어가 업데이트되는 동안 고전력 장치(500)가 동작하는 것을 막기 위해 릴레이(330)의 스위칭 소자(331)를 개방(Open)시키거나 릴레이(330)의 접지 제어를 통해 코일(333)이 동작하지 않도록 할 수 있다.The relay (330) may have a structure in which a switching element (331) and a coil (333) are connected in parallel. The switching element (331) may be connected to a high-power device (500), and the coil (33) may be connected to an electronic control unit (400). For example, the switching element (331) may be implemented as a transistor such as a Field Effect Transistor (FET), a Bipolar Junction Transistor (BJT), etc., as an electronic element. Depending on the on/off of the relay (330), power supplied from a 12V battery (600) to the electronic control unit (400) and the high-power device (500) may be supplied or cut off. When the integrated control unit (300) receives update status information requesting an update of the software of the electronic control unit (400) from the external controller (100), the integrated control unit (300) may block the relay (330) so that power is not supplied to the electronic control unit (400) and the high-power device (500) controlled by the electronic control unit (400). In general, while the electronic control unit (400) is updating, a process of deleting the memory area of the electronic control unit (400) may be performed, and at this time, the pull-up voltage control of the pin may not be performed due to the circuit configuration of the electronic control unit (400). Accordingly, the coil (333) of the relay (330) may be grounded, causing the high-power device (500) to operate, which may induce discharge of the 12V battery (600). That is, the switching element (331) of the relay (330) is closed, so that the power source (310) and the high-power device (500) are electrically connected, and the 12V battery (600) may be discharged. Therefore, the integrated control unit (300) may open the switching element (331) of the relay (330) or prevent the coil (333) from operating through grounding control of the relay (330) to prevent the high-power device (500) from operating while the software of the electronic control unit (400) is being updated.

상술한 예와 달리, 릴레이(330)는 전력 스위칭 소자일 수 있다. 전력 스위칭 소자는 IGBT(Insulated gate bipolar transistor), MOSFET(Metal Oxide Semiconductor Field Effect transistor) 등을 포함할 수 있다. 전력 스위칭 소자는 게이트 신호를 차단 또는 오프(OFF) 시켜 고전력 장치(500)의 동작을 제어할 수 있다. 즉, 통합제어유닛(300)은 외부 제어기(100)로부터 전자제어유닛(400)의 소프트웨어의 업데이트를 요청하는 업데이트 상태 정보를 수신하는 경우에는 전력 스위칭 소자인 릴레이(330)를 차단하여 고전력 장치(500)로 전원이 공급되지 않게 할 수 있다.Unlike the above-described example, the relay (330) may be a power switching element. The power switching element may include an IGBT (Insulated Gate Bipolar Transistor), a MOSFET (Metal Oxide Semiconductor Field Effect Transistor), etc. The power switching element may control the operation of the high-power device (500) by blocking or turning off the gate signal. That is, when the integrated control unit (300) receives update status information requesting an update of the software of the electronic control unit (400) from the external controller (100), the integrated control unit (300) may block the relay (330), which is the power switching element, so that power is not supplied to the high-power device (500).

전자제어유닛(400)은 고전력 장치(500)를 제어할 수 있다. 본 발명의 실시예에서 전자제어유닛(400)은 업데이트의 대상이 되는 전자제어유닛(400)을 의미할 수 있다. 고전력 장치(500)는 차량(10) 내에 탑재되어 전기 에너지에 의해 동작하는 모든 장치를 통칭하는 용어로서, 차량(10) 내 장착된 시트 열선 및 실내등, 라디오, 네비게이션, 방향지시등, 테일 램프, 헤드램프, 와이퍼, 냉난방기, ABS((Anti-lock Brake System), 및 EPS(Electric Power Steering) 등을 포함할 수 있다.The electronic control unit (400) can control a high-power device (500). In an embodiment of the present invention, the electronic control unit (400) may refer to an electronic control unit (400) that is the target of an update. The high-power device (500) is a general term for all devices mounted in a vehicle (10) and operated by electric energy, and may include seat heaters and interior lights, a radio, navigation, turn signals, tail lamps, headlamps, wipers, air conditioners, ABS (Anti-lock Brake System), and EPS (Electric Power Steering), etc. mounted in the vehicle (10).

전자제어유닛(400)은 게이트웨이(200)와 CAN 통신으로 연결되어, 외부 제어기(100)로부터 전송되는 소프트웨어의 버전 확인 요청, 진단 프로그래밍 세션 요청, 보안 접근 요청 및 업데이트 상태 정보를 수신할 수 있다. 소프트웨어의 버전 확인 요청은 전자제어유닛(400)에 내장된 소프트웨어의 버전을 확인하기 위한 메시지를 의미할 수 있다. 진단 프로그래밍 세션 요청은 외부 제어기(100)가 전자제어유닛(400)에게 업데이트를 수행할 수 있는 모드로 진입하라는 요청을 포함하는 메시지를 의미할 수 있다. 업데이트 상태 정보는 업데이트의 수행 가능 여부를 확인하는 메시지 및 업데이트를 수행하라는 메시지를 포함할 수 있다. 즉, 외부 제어기(100)는 전자제어유닛(400)에 내장된 소프트웨어의 업데이트를 위해 게이트웨이(200)로 소프트웨어의 버전 확인 요청, 진단 프로그래밍 세션 요청, 보안 접근 요청 및 업데이트 상태 정보를 순차적으로 전송할 수 있고, 게이트웨이(200)는 해당 요청을 전자제어유닛(400) 및 통합제어유닛(300)으로 전송할 수 있다. 전자제어유닛(400)은 소프트웨어의 버전 확인 요청, 진단 프로그래밍 세션 요청 및 보안 접근 요청에 대해 응답의 메시지를 출력할 수 있고, 전자제어유닛(400)의 응답은 게이트웨이(200)를 통해 통합제어유닛(300) 및 외부 제어기(100)로 전송될 수 있다. 또한, 업데이트 상태 정보의 수신에 의해 전자제어유닛(400)의 업데이트가 수행될 수 있고, 업데이트가 완료된 경우 전자제어유닛(400)은 업데이트가 완료되었다는 메시지를 출력할 수 있다. 게이트웨이(200)는 전자제어유닛(400)의 업데이트가 완료되었다는 메시지를 외부 제어기(100)로 전송할 수 있고, 외부 제어기(100)는 업데이트가 완료되었다는 메시지를 수신한 이후에 리셋 메시지를 출력할 수 있다. 리셋 메시지는 전자제어유닛(400)으로의 전원 공급을 차단하는 제어를 해제하라는 메시지를 의미할 수 있다. The electronic control unit (400) is connected to the gateway (200) via CAN communication, and can receive a software version confirmation request, a diagnostic programming session request, a security access request, and update status information transmitted from the external controller (100). The software version confirmation request may refer to a message for confirming the version of the software embedded in the electronic control unit (400). The diagnostic programming session request may refer to a message including a request from the external controller (100) to the electronic control unit (400) to enter a mode in which an update can be performed. The update status information may include a message for confirming whether an update can be performed and a message for performing an update. That is, the external controller (100) can sequentially transmit a software version confirmation request, a diagnostic programming session request, a security access request, and update status information to the gateway (200) for updating the software embedded in the electronic control unit (400), and the gateway (200) can transmit the request to the electronic control unit (400) and the integrated control unit (300). The electronic control unit (400) can output a response message to a request for software version verification, a request for a diagnostic programming session, and a request for security access, and the response of the electronic control unit (400) can be transmitted to the integrated control unit (300) and the external controller (100) via the gateway (200). In addition, an update of the electronic control unit (400) can be performed by receiving update status information, and when the update is completed, the electronic control unit (400) can output a message indicating that the update is completed. The gateway (200) can transmit a message indicating that the update of the electronic control unit (400) is completed to the external controller (100), and the external controller (100) can output a reset message after receiving the message indicating that the update is completed. The reset message can mean a message to release the control that blocks the power supply to the electronic control unit (400).

통합제어유닛(300)은 진단 프로그래밍 세션 요청 및 진단 프로그래밍 세션 요청에 대한 전자제어유닛(400)의 응답을 수신하여 소프트웨어의 업데이트를 수행하기 위한 절차가 진행되고 있음을 감지할 수 있다. 통합제어유닛(300)은 외부 제어기(100)가 출력한 업테이트 수행을 요청하는 업데이트 상태 정보를 수신한 이후에 릴레이(330)를 차단시킬 수 있다. 이를 통해, 업데이트가 수행되는 동안, 고전력 장치(600)로 제공되는 전원 공급이 차단될 수 있다. 업데이트가 완료된 이후, 외부 제어기(100)를 리셋 메시지를 출력할 수 있다. 통합제어유닛(300)은 게이트웨이(200)를 통해 리셋 메시지를 수신할 수 있고, 이에 따라 통합제어유닛(300)은 릴레이(330)의 차단을 해제할 수 있다. 즉, 업데이트의 완료 이후에, 통합제어유닛(300)은 릴레이(330)를 정상 모드로 제어할 수 있다. The integrated control unit (300) can detect that a procedure for performing a software update is in progress by receiving a diagnostic programming session request and a response from the electronic control unit (400) to the diagnostic programming session request. The integrated control unit (300) can block the relay (330) after receiving update status information requesting the execution of an update outputted by the external controller (100). Accordingly, the power supply provided to the high-power device (600) can be blocked while the update is being performed. After the update is completed, the external controller (100) can output a reset message. The integrated control unit (300) can receive the reset message through the gateway (200), and accordingly, the integrated control unit (300) can release the blocking of the relay (330). That is, after the update is completed, the integrated control unit (300) can control the relay (330) in a normal mode.

본 발명의 실시예에 따르면, 전자제어유닛(400)의 업데이트가 수행되는 동안 전자제어유닛(400)은 고전력 장치(500)를 제어하지 못할 수 있다. 이에 따라, 고전력 장치(500)가 지속적으로 동작 상태를 유지하여 12V 배터리(600)가 방전될 수 있다. 다만, 차량 배터리 방전 방지 시스템(1)은 전자제어유닛(400)의 업데이트가 수행되는 동안 전자제어유닛(400)과 연결된 릴레이(330)를 차단하여 전자제어유닛(400) 및 고전력 장치(500)로 공급되는 전원을 차단시킬 수 있다. 이를 통해, 12V 배터리(600)가 방전되는 것이 방지될 수 있다. According to an embodiment of the present invention, while the update of the electronic control unit (400) is being performed, the electronic control unit (400) may not be able to control the high-power device (500). Accordingly, the high-power device (500) may continuously maintain an operating state, causing the 12V battery (600) to discharge. However, the vehicle battery discharge prevention system (1) may cut off the relay (330) connected to the electronic control unit (400) while the update of the electronic control unit (400) is being performed, thereby cutting off the power supplied to the electronic control unit (400) and the high-power device (500). Through this, the 12V battery (600) may be prevented from being discharged.

도 2는 본 발명의 일 실시예에 따른 차량 배터리 방전 방지 방법을 설명하기 위한 순서도이다.FIG. 2 is a flowchart for explaining a method for preventing discharge of a vehicle battery according to one embodiment of the present invention.

도 1 및 도 2를 참조하면, 외부 제어기(100)를 통해 전자제어유닛(400)에 내장된 소프트웨어를 업데이트하기 위한 업데이트 가능 조건 및 차량의 시동 오프(IGN OFF) 여부를 판단할 수 있다. 업데이트 가능 조건은 차량의 정차, 12V 배터리(600) 전압 정상, 전자제어유닛(400)의 소프트웨어가 구 버전인 것 등을 포함할 수 있다. 즉, 업데이트 가능 조건을 모두 만족하고, 차량의 시동이 오프 상태인 경우에만 전자제어유닛(400)의 업데이트가 가능할 수 있다(S10).Referring to FIGS. 1 and 2, it is possible to determine update conditions for updating software built into the electronic control unit (400) and whether the vehicle is ignition off (IGN OFF) through an external controller (100). The update conditions may include the vehicle being stopped, the 12V battery (600) being normal in voltage, and the software of the electronic control unit (400) being an old version. In other words, the electronic control unit (400) may be updated only when all update conditions are satisfied and the vehicle ignition is off (S10).

외부 제어기(100)는 업데이트를 수행하기 위해 전자제어유닛(400)으로 진단 프로그래밍 세션 및 보안 접근을 요청할 수 있다. 진단 프로그래밍 세션 요청은 전자제어유닛(400)이 업데이트를 수행하기 위한 모드로 진입하라는 메시지일 수 있다. 외부 제어기(100)는 복수의 전자제어유닛들(400) 중 업데이트가 요구되는 특정 전자제어유닛(400)만 업데이트를 수행하도록 특정 전자제어유닛(400)에 해당하는 암호화 키를 진단 프로그래밍 세션 요청 시 전송할 수 있다. 즉, 외부 제어기(100)는 복수의 전자제어유닛들(400) 각각에 대응되는 암호화 키를 생성할 수 있고, 업데이트를 수행하게 되는 전자제어유닛(400)으로 대응되는 암호화 키를 전송할 수 있다. 구체적으로, 전자제어유닛(400)은 외부 제어기(100)의 보안 접근 요청에 대응하여 시드(SEED) 값을 외부 제어기(100)로 전송할 수 있고, 외부 제어기(100)는 시드 값을 이용하여 미리 약속된 방식(비트 연산, 암호화 등)으로 키(KEY) 값을 계산해 외부 제어기(100)로 회신할 수 있다. 전자제어유닛(400)은 외부 제어기(100)에 전달한 시드 값으로 미리 약속된 방식으로 키 값을 계산한 후, 외부 제어기(100)로부터 수신한 키 값과 비교하는 방법으로 외부 제어기(100)를 인증할 수 있다(S20). An external controller (100) may request a diagnostic programming session and secure access to an electronic control unit (400) to perform an update. The diagnostic programming session request may be a message for the electronic control unit (400) to enter a mode for performing an update. The external controller (100) may transmit an encryption key corresponding to a specific electronic control unit (400) when requesting a diagnostic programming session so that only a specific electronic control unit (400) requiring an update among a plurality of electronic control units (400) may perform an update. That is, the external controller (100) may generate an encryption key corresponding to each of the plurality of electronic control units (400) and transmit the corresponding encryption key to the electronic control unit (400) that is to perform the update. Specifically, the electronic control unit (400) can transmit a seed value to the external controller (100) in response to a security access request of the external controller (100), and the external controller (100) can calculate a key value using the seed value in a pre-arranged manner (bit operation, encryption, etc.) and send it back to the external controller (100). The electronic control unit (400) can authenticate the external controller (100) by calculating a key value using the seed value transmitted to the external controller (100) in a pre-arranged manner and comparing it with the key value received from the external controller (100) (S20).

외부 제어기(100)가 출력한 진단 프로그래밍 세션 요청 및 보안 접근 요청은 게이트웨이(200)를 거쳐 통합제어유닛(300) 및 전자제어유닛(400)으로 전송될 수 있다. 통합제어유닛(300)은 전자제어유닛(400)의 업데이트 여부를 파악하기 위해서 진단 프로그래밍 세션 요청을 수신할 수 있다(S30).The diagnostic programming session request and security access request output by the external controller (100) can be transmitted to the integrated control unit (300) and the electronic control unit (400) via the gateway (200). The integrated control unit (300) can receive the diagnostic programming session request to determine whether the electronic control unit (400) is updated (S30).

전자제어유닛(400)은 진단 프로그래밍 세션 요청에 대한 응답을 외부 제어기(100)로 전송할 수 있고, 외부 제어기(100)의 보안 접근 요청에 대해 인증을 할 수 있다. 전자제어유닛(400)이 진단 프로그래밍 세션 요청에 대한 응답을 출력하지 않는 경우, 업데이트를 수행할 수 없는 상태로 판단하여 업데이트 가능 조건을 다시 판단할 수 있다. 또한, 전자제어유닛(400)이 보안 접근 요청에 대한 인증을 수행하지 않는 경우, 업데이트를 수행해야 할 대상 선정에 오류가 있는 것으로 판단할 수 있다(S40).The electronic control unit (400) can transmit a response to a diagnostic programming session request to the external controller (100) and authenticate the external controller's (100) security access request. If the electronic control unit (400) does not output a response to the diagnostic programming session request, it can be determined that an update cannot be performed and the update-enabled conditions can be re-determined. In addition, if the electronic control unit (400) does not authenticate the security access request, it can be determined that there is an error in the selection of a target for which an update should be performed (S40).

전자제어유닛(400)이 진단 프로그래밍 세션 요청에 대한 응답을 게이트웨이(200)로 전송하면, 게이트웨이(200)는 통합제어유닛(300)으로 전자제어유닛(400)의 진단 프로그래밍 세션 요청에 대한 응답을 전송할 수 있다. 통합제어유닛(300)은 앞서 수신한 진단 프로그래밍 세션 요청 및 이에 대한 응답에 기초하여 소프트웨어의 업데이트를 수행하기 위한 절차가 진행되고 있음을 감지할 수 있다(S50).When the electronic control unit (400) transmits a response to the diagnostic programming session request to the gateway (200), the gateway (200) can transmit a response to the diagnostic programming session request of the electronic control unit (400) to the integrated control unit (300). The integrated control unit (300) can detect that a procedure for performing a software update is in progress based on the previously received diagnostic programming session request and the response thereto (S50).

외부 제어기(100)는 전자제어유닛(400)이 전송한 진단 프로그래밍 세션 요청에 대한 응답을 수신한 이후, 업데이트 상태 정보를 출력할 수 있다. 업데이트 상태 정보에는 업데이트 수행을 요청하는 메시지 및 전자제어유닛(400)의 업데이트를 수행하기 위한 데이터 등을 포함할 수 있다(S60).The external controller (100) can output update status information after receiving a response to a diagnostic programming session request transmitted by the electronic control unit (400). The update status information can include a message requesting an update and data for performing an update of the electronic control unit (400) (S60).

외부 제어기(100)가 출력한 업데이트 상태 정보는 게이트웨이(200)를 통해 통합제어유닛(300) 및 전자제어유닛(400)으로 전송될 수 있다. 전자제어유닛(400)이 업데이트 상태 정보를 수신한 이후 외부 제어기(100)에 의한 업데이트가 수행될 수 있다. 이 때, 통합제어유닛(300)은 업데이트 수행 요청을 수신한 이후에 코일단 또는 스위칭 소자의 전원을 차단할 수 있다. 즉, 통합제어유닛(300)은 기존에 수신한 진단 프로그래밍 세션 요청 및 이에 대한 응답에 추가적으로 업데이트 수행 요청까지 수신하면 릴레이(330)를 차단하여 전자제어유닛(400) 및 고전력 장치(500)로 입력되는 전원을 차단시킬 수 있다(S70).The update status information output by the external controller (100) can be transmitted to the integrated control unit (300) and the electronic control unit (400) via the gateway (200). After the electronic control unit (400) receives the update status information, an update by the external controller (100) can be performed. At this time, the integrated control unit (300) can cut off the power to the coil or switching element after receiving the update execution request. That is, when the integrated control unit (300) receives an update execution request in addition to the previously received diagnostic programming session request and response thereto, the relay (330) can be cut off to cut off the power input to the electronic control unit (400) and the high-power device (500) (S70).

전자제어유닛(400)의 업데이트가 완료된 이후, 전자제어유닛(400)은 업데이트 결과 메시지를 출력할 수 있다. 업데이트 결과 메시지를 게이트웨이(200)를 거쳐 외부 제어기(100)로 전송될 수 있고, 외부 제어기(100)는 특정 전자제어유닛(400)의 업데이트가 완료되었음을 파악할 수 있다. 다만, 상술한 예와 달리, 업데이트가 종료되었다는 사실은 외부 제어기(100) 스스로 파악할 수도 있다(S80).After the update of the electronic control unit (400) is completed, the electronic control unit (400) can output an update result message. The update result message can be transmitted to an external controller (100) via a gateway (200), and the external controller (100) can determine that the update of a specific electronic control unit (400) is completed. However, unlike the example described above, the external controller (100) can determine on its own that the update has been completed (S80).

전자제어유닛(400)의 업데이트가 완료된 이후 외부 제어기(100)는 전자제어유닛(400)으로 리셋 서비스를 요청할 수 있다. 통합제어유닛(300)은 게이트웨이(200)를 통해 리셋 서비스 요청을 수신할 수 있다. 만약, 리셋 서비스 요청을 수신하지 못한 경우에는 통합제어유닛(300)은 릴레이(330)를 차단하는 제어 모드를 유지할 수 있다(S90).After the update of the electronic control unit (400) is completed, the external controller (100) can request a reset service from the electronic control unit (400). The integrated control unit (300) can receive the reset service request through the gateway (200). If the reset service request is not received, the integrated control unit (300) can maintain a control mode that blocks the relay (330) (S90).

통합제어유닛(300)은 전자제어유닛(400) 또는 외부 제어기(100)로부터 업데이트가 완료되었다는 메시지를 수신하고 리셋 서비스 요청을 수신한 경우에만 릴레이(330)의 차단을 해제할 수 있다. 즉, 통합제어유닛(300)이 리셋 서비스 요청만을 수신하거나 업데이트 완료 메시지만 수신한 경우에는 릴레이(330)의 차단을 해제하지 않을 수 있다. 다만, 상술한 예와 달리, 통합제어유닛(300)은 리셋 서비스 요청을 수신한 이후에 릴레이(330)의 차단을 해제할 수 있다(S100, S110).The integrated control unit (300) can release the blocking of the relay (330) only when it receives a message indicating that the update is complete from the electronic control unit (400) or the external controller (100) and a reset service request. That is, the integrated control unit (300) may not release the blocking of the relay (330) when it receives only a reset service request or only an update completion message. However, unlike the example described above, the integrated control unit (300) can release the blocking of the relay (330) after receiving the reset service request (S100, S110).

도 3은 본 발명의 다른 실시예에 따른 차량 배터리 방전 방지 시스템을 나타내는 블록도이다. 설명의 간략을 위해 도 1의 내용과 중복되는 내용의 기재는 생략한다.Figure 3 is a block diagram illustrating a vehicle battery discharge prevention system according to another embodiment of the present invention. For simplicity, descriptions that overlap with those of Figure 1 are omitted.

도 3을 참조하면, 차량 배터리 방전 방지 시스템(2)은 차량(10) 외부에 배치되는 외부 제어기(110) 및 차량(10) 내부에 배치되는 커넥터(50), 게이트웨이(200), 통합제어유닛(300), 전자제어유닛(400), 고전력 장치(500) 및 12V 배터리(600)를 포함할 수 있다. Referring to FIG. 3, the vehicle battery discharge prevention system (2) may include an external controller (110) placed outside the vehicle (10) and a connector (50), a gateway (200), an integrated control unit (300), an electronic control unit (400), a high-power device (500), and a 12V battery (600) placed inside the vehicle (10).

외부 제어기(110)는 차량(10)에 장착된 온보드 진단기 커넥터(On-board diagnostics: OBD)인 커넥터(50)와 연결되는 외부 진단기일 수 있다. 무선 프로그래밍 장치(OTA)가 장착되지 않은 차량의 경우, 외부 진단기가 커넥터(50)에 연결되어 소프트웨어의 업데이트를 수행할 수 있다. 이 때, 커넥터(50)에 연결된 통신 라인은 게이트웨이(200)를 통해 차량의 네트워크로 접속될 수 있다. 따라서, 외부 진단기는 차량(10) 내에 배치된 게이트웨이(200)와 캔(CAN) 통신을 통해 연결될 수 있다.The external controller (110) may be an external diagnostic device connected to a connector (50), which is an on-board diagnostics (OBD) connector mounted on a vehicle (10). In the case of a vehicle not equipped with an over-the-air (OTA) programming device, the external diagnostic device may be connected to the connector (50) to perform a software update. At this time, the communication line connected to the connector (50) may be connected to the vehicle's network via a gateway (200). Accordingly, the external diagnostic device may be connected to the gateway (200) placed in the vehicle (10) via CAN communication.

본 발명의 실시예에서 게이트웨이(200)는 외부 제어기(110)의 보안 요청에 응답하는 보안 게이트웨이일 수 있다. 외부 제어기(110)가 커넥터(50)에 연결되면 외부 제어기(110)는 전자제어유닛(400)에 내장된 소프트웨어를 업데이트하기 위한 업데이트 가능 조건이 만족된 것으로 판단할 수 있다. 즉, 물리적으로 외부 제어기(110)를 커넥터(50)에 연결한다는 것은 소프트웨어의 업데이트가 필요한 상황이라는 것을 의미할 수 있기 때문에 외부 제어기(110)를 커넥터(50)에 연결한 것만으로 업데이트 가능 조건이 만족된 것으로 판단될 수 있다.In an embodiment of the present invention, the gateway (200) may be a security gateway that responds to a security request from an external controller (110). When the external controller (110) is connected to the connector (50), the external controller (110) may determine that an update condition for updating the software built into the electronic control unit (400) has been satisfied. That is, since physically connecting the external controller (110) to the connector (50) may mean that a software update is required, simply connecting the external controller (110) to the connector (50) may determine that the update condition has been satisfied.

게이트웨이(200)는 통합제어유닛(300) 및 전자제어유닛(400)과 CAN 통신으로 연결될 수 있다. 외부 제어기(110)는 게이트웨이(200)로 전자제어유닛(400)이 업데이트를 위한 모드로 진입하라는 진단 프로그래밍 세션 요청 및 게이트웨이(200)로의 보안 접근을 요청을 출력할 수 있다. 게이트웨이(200)는 보안 요청에 대해 응답할 수 있고, 전자제어유닛(400)은 진단 프로그래밍 세션 요청에 대해 응답할 수 있다. 외부 제어기(110)는 진단 프로그래밍 세션에 대한 응답 및 보안 접근이 허용되는 경우 게이트웨이(200)로 업데이트 수행을 요청할 수 있고, 게이트웨이(200)는 해당 전자제어유닛(400)으로 업데이트 수행을 요청하는 업데이트 상태 정보를 전송할 수 있다.The gateway (200) can be connected to the integrated control unit (300) and the electronic control unit (400) via CAN communication. The external controller (110) can output a diagnostic programming session request to the gateway (200) to cause the electronic control unit (400) to enter a mode for update and a request for secure access to the gateway (200). The gateway (200) can respond to the security request, and the electronic control unit (400) can respond to the diagnostic programming session request. The external controller (110) can request the gateway (200) to perform an update if the response to the diagnostic programming session and the secure access are permitted, and the gateway (200) can transmit update status information requesting the electronic control unit (400) to perform an update.

통합제어유닛(300)은 게이트웨이(200)로부터 업데이트 수행 요청을 수신한 이후 릴레이(330)를 차단할 수 있다. The integrated control unit (300) can block the relay (330) after receiving an update execution request from the gateway (200).

업데이트가 완료된 이후에는 외부 제어기(110)는 리셋 서비스 요청을 출력할 수 있다. 통합제어유닛(300)은 리셋 서비스 요청을 수신한 이후에 릴레이(330)를 차단하는 제어 모드를 해제할 수 있다. After the update is complete, the external controller (110) can output a reset service request. The integrated control unit (300) can release the control mode that blocks the relay (330) after receiving the reset service request.

도 4는 본 발명의 다른 실시예에 따른 차량 배터리 방전 방지 방법을 설명하기 위한 순서도이다.FIG. 4 is a flowchart for explaining a method for preventing discharge of a vehicle battery according to another embodiment of the present invention.

도 3 및 도 4를 참조하면, 온보드 진단기 커넥터인 커넥터(50)에 외부 제어기(110)가 연결될 수 있다. 외부 제어기(110)가 커넥터(50)에 연결되면, 전자제어유닛(400)의 소프트웨어를 업데이트하기 위한 업데이트 가능 조건이 만족된 것으로 판단될 수 있다(S10).Referring to FIGS. 3 and 4, an external controller (110) may be connected to a connector (50), which is an onboard diagnostic connector. When the external controller (110) is connected to the connector (50), it may be determined that an update condition for updating the software of the electronic control unit (400) is satisfied (S10).

외부 제어기(110)는 게이트웨이(200)로 진단 프로그래밍 세션 및 보안 접근을 요청할 수 있다. 게이트웨이(200)는 진단 프로그래밍 세션 요청을 전자제어유닛(400)으로 전송할 수 있다(S20).An external controller (110) can request a diagnostic programming session and secure access to the gateway (200). The gateway (200) can transmit the diagnostic programming session request to the electronic control unit (400) (S20).

게이트웨이(200)는 진단 프로그래밍 세션 요청을 통합제어유닛(300)으로도 전송할 수 있다. 통합제어유닛(300)은 진단 프로그래밍 세션 요청을 수신할 수 있다(S30).The gateway (200) can also transmit a diagnostic programming session request to the integrated control unit (300). The integrated control unit (300) can receive the diagnostic programming session request (S30).

진단 프로그래밍 세션 요청에 대해 전자제어유닛(400)은 응답할 수 있고, 보안 접근 요청에 대해 게이트웨이(200)가 보안 인증을 수행할 수 있다. 외부 진단기가 커넥터(50)에 연결되는 경우, 외부 진단기와의 통신 라인은 게이트웨이(200)에 의해 보안이 유지될 수 있다. 전자제어유닛(400)은 진단 프로그래밍 세션 요청에 대한 응답으로 업데이트를 위한 모드에 진입하였음을 알리는 응답을 출력할 수 있다. 만약, 진단 프로그래밍 세션 요청에 대한 응답이 출력되지 않으면, 외부 제어기(110)는 업데이트가 수행되어야하는 전자제어유닛(400)을 다시 특정하여 진단 프로그래밍 세션을 요청할 수 있다. 또한, 보안 접근이 허용되지 않으면, 외부 제어기(110)는 게이트웨이(200)로 다시 보안 인증을 요청할 수 있다(S40).The electronic control unit (400) can respond to a diagnostic programming session request, and the gateway (200) can perform security authentication for a secure access request. When an external diagnostic device is connected to the connector (50), the communication line with the external diagnostic device can be secured by the gateway (200). The electronic control unit (400) can output a response indicating that it has entered an update mode in response to the diagnostic programming session request. If a response to the diagnostic programming session request is not output, the external controller (110) can re-specify the electronic control unit (400) on which the update is to be performed and request a diagnostic programming session. In addition, if secure access is not permitted, the external controller (110) can request security authentication again from the gateway (200) (S40).

통합제어유닛(300)은 전자제어유닛(400)의 진단 프로그래밍 세션 요청에 대한 응답을 게이트웨이(200)를 통해 수신할 수 있다. 통합제어유닛(300)은 진단 프로그래밍 세션 요청 및 이에 대한 응답을 수신하면 소프트웨어의 업데이트를 수행하기 위한 절차가 진행되고 있음을 감지할 수 있다(S50).The integrated control unit (300) can receive a response to a diagnostic programming session request from the electronic control unit (400) through the gateway (200). When the integrated control unit (300) receives a diagnostic programming session request and a response thereto, it can detect that a procedure for performing a software update is in progress (S50).

외부 제어기(110)는 게이트웨이(200)로 업데이트 수행을 요청하는 업데이트 상태 정보를 전송할 수 있다. 게이트웨이(200)는 업데이트 상태 정보를 해당 전자제어유닛(400)으로 전송할 수 있고, 외부 제어기(110)는 게이트웨이(200)를 통해 전자제어유닛(400)에 내장된 소프트웨어의 업데이트를 수행할 수 있다(S60).An external controller (110) can transmit update status information requesting an update to a gateway (200). The gateway (200) can transmit the update status information to the corresponding electronic control unit (400), and the external controller (110) can perform an update of the software built into the electronic control unit (400) through the gateway (200) (S60).

외부 제어기(110)가 출력한 업데이트 상태 정보는 게이트웨이(200)를 통해 통합제어유닛(300) 및 전자제어유닛(400)으로 전송될 수 있다. 통합제어유닛(300)은 업데이트 수행 요청을 수신한 이후에 코일단 또는 스위칭 소자의 전원을 차단할 수 있다. 즉, 통합제어유닛(300)은 기존에 수신한 진단 프로그래밍 세션 요청 및 이에 대한 응답에 추가적으로 업데이트 수행 요청까지 수신하면 릴레이(330)를 차단하여 전자제어유닛(400) 및 고전력 장치(500)로 입력되는 전원을 차단시킬 수 있다(S70).The update status information output by the external controller (110) can be transmitted to the integrated control unit (300) and the electronic control unit (400) via the gateway (200). The integrated control unit (300) can cut off the power to the coil or switching element after receiving the update execution request. That is, when the integrated control unit (300) receives an update execution request in addition to the previously received diagnostic programming session request and response thereto, it can cut off the power input to the electronic control unit (400) and the high-power device (500) by cutting off the relay (330) (S70).

전자제어유닛(400)의 업데이트가 완료된 이후, 전자제어유닛(400)은 업데이트 결과 메시지를 출력할 수 있다. 업데이트 결과 메시지를 게이트웨이(200)를 거쳐 외부 제어기(110)로 전송될 수 있고, 외부 제어기(100)는 특정 전자제어유닛(400)의 업데이트가 완료되었음을 파악할 수 있다. 다만, 상술한 예와 달리, 업데이트가 종료되었다는 사실은 외부 제어기(110) 스스로 파악할 수도 있다(S80).After the update of the electronic control unit (400) is completed, the electronic control unit (400) can output an update result message. The update result message can be transmitted to an external controller (110) via a gateway (200), and the external controller (100) can determine that the update of a specific electronic control unit (400) is completed. However, unlike the example described above, the external controller (110) can also determine on its own that the update has been completed (S80).

전자제어유닛(400)의 업데이트가 완료된 이후 외부 제어기(110)는 전자제어유닛(400)으로 리셋 서비스를 요청할 수 있다. 통합제어유닛(300)은 게이트웨이(200)를 통해 리셋 서비스 요청을 수신할 수 있다. 만약, 리셋 서비스 요청을 수신하지 못한 경우에는 통합제어유닛(300)은 릴레이(330)를 차단하는 제어 모드를 유지할 수 있다(S90).After the update of the electronic control unit (400) is completed, the external controller (110) can request a reset service from the electronic control unit (400). The integrated control unit (300) can receive the reset service request through the gateway (200). If the reset service request is not received, the integrated control unit (300) can maintain a control mode that blocks the relay (330) (S90).

통합제어유닛(300)은 전자제어유닛(400) 또는 외부 제어기(110)로부터 업데이트가 완료되었다는 메시지를 수신하고 리셋 서비스 요청을 수신한 경우에만 릴레이(330)의 차단을 해제할 수 있다. 즉, 통합제어유닛(300)이 리셋 서비스 요청만을 수신하거나 업데이트 완료 메시지만 수신한 경우에는 릴레이(330)의 차단을 해제하지 않을 수 있다. 다만, 상술한 예와 달리, 통합제어유닛(300)은 리셋 서비스 요청을 수신한 이후에 릴레이(330)의 차단을 해제할 수 있다(S100, S110).The integrated control unit (300) can release the blocking of the relay (330) only when it receives a message indicating that the update is complete from the electronic control unit (400) or the external controller (110) and a reset service request. That is, the integrated control unit (300) may not release the blocking of the relay (330) when it receives only a reset service request or only an update completion message. However, unlike the example described above, the integrated control unit (300) can release the blocking of the relay (330) after receiving the reset service request (S100, S110).

이상, 첨부된 도면들을 참조하여 본 발명의 실시예들을 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. While the embodiments of the present invention have been described above with reference to the attached drawings, those skilled in the art will appreciate that the present invention can be implemented in other specific forms without altering the technical spirit or essential characteristics thereof. Therefore, the embodiments described above should be understood to be illustrative in all respects and not restrictive.

Claims (17)

고전력 장치를 제어하는 전자제어유닛;
상기 전자제어유닛의 소프트웨어의 업데이트를 수행하는 외부 제어기; 및
상기 외부 제어기로부터 업데이트를 요청하는 업데이트 수행 요청을 수신하는 경우 상기 전자제어유닛과 연결된 릴레이를 차단하여 배터리가 방전되는 것을 방지하는 통합제어유닛을 포함하고,
상기 외부 제어기는 업데이트를 수행하기 위해 상기 전자제어유닛으로 업데이트를 위한 모드로 진입하라는 진단 프로그래밍 세션 및 보안 접근을 요청하고,
상기 진단 프로그래밍 세션에 대한 응답 및 상기 보안 접근이 허용되는 경우에 상기 외부 제어기는 상기 전자제어유닛 및 상기 통합제어유닛으로 업데이트 수행을 요청하는,
차량 배터리 방전 방지 시스템.
Electronic control unit that controls high-power devices;
An external controller that performs software updates of the above electronic control unit; and
An integrated control unit is included that prevents the battery from being discharged by blocking a relay connected to the electronic control unit when an update request requesting an update is received from the external controller.
The above external controller requests a diagnostic programming session and secure access to the electronic control unit to enter the update mode to perform the update,
In response to the above diagnostic programming session and if the above security access is permitted, the external controller requests the electronic control unit and the integrated control unit to perform an update.
Vehicle battery discharge prevention system.
제1 항에 있어서,
상기 릴레이는 스위칭 소자 및 코일로 구성되고,
상기 통합제어유닛은 전원과 상기 전자제어유닛을 연결하는 상기 스위칭 소자를 개방시키거나 상기 릴레이의 접지 제어를 통해 상기 코일이 동작하지 않도록 제어하는 것을 통해 상기 릴레이를 차단하는,
차량 배터리 방전 방지 시스템.
In the first paragraph,
The above relay is composed of a switching element and a coil,
The above integrated control unit blocks the relay by opening the switching element connecting the power source and the electronic control unit or controlling the coil not to operate through grounding control of the relay.
Vehicle battery discharge prevention system.
제1 항에 있어서,
상기 릴레이는 IGBT 또는 MOSFET과 같은 전력 스위칭 소자이고,
상기 릴레이는 게이트에 인가되는 게이트 신호의 제어에 의해 상기 고전력 장치로 인가되는 전원을 차단시키는,
차량 배터리 방전 방지 시스템.
In the first paragraph,
The above relay is a power switching element such as an IGBT or MOSFET,
The above relay cuts off the power applied to the high-power device by controlling the gate signal applied to the gate.
Vehicle battery discharge prevention system.
제1 항에 있어서,
상기 외부 제어기는 무선 프로그래밍 장치(Over-the-air programming: OTA)를 포함하고,
상기 무선 프로그래밍 장치는 업데이트 가능 조건이 만족된 경우 상기 전자제어유닛으로 업데이트를 수행하기 위한 모드로 진입하라는 진단 프로그래밍 세션 요청 및 상기 전자제어유닛으로의 보안 접근을 요청을 출력하는,
차량 배터리 방전 방지 시스템.
In the first paragraph,
The above external controller includes an over-the-air programming device (OTA),
The wireless programming device outputs a diagnostic programming session request to enter a mode for performing an update to the electronic control unit when an update condition is satisfied and a request for secure access to the electronic control unit.
Vehicle battery discharge prevention system.
제4 항에 있어서,
상기 전자제어유닛은 상기 진단 프로그래밍 세션 요청에 대한 응답을 상기 무선 프로그래밍 장치로 전송하고,
상기 통합제어유닛은 상기 진단 프로그래밍 세션 요청 및 상기 진단 프로그래밍 세션 요청에 대한 응답을 수신하여 소프트웨어의 업데이트를 수행하기 위한 절차가 진행되고 있음을 감지하는,
차량 배터리 방전 방지 시스템.
In the fourth paragraph,
The electronic control unit transmits a response to the diagnostic programming session request to the wireless programming device,
The above integrated control unit detects that a procedure for performing a software update is in progress by receiving the diagnostic programming session request and the response to the diagnostic programming session request.
Vehicle battery discharge prevention system.
제5 항에 있어서,
상기 무선 프로그래밍 장치는 상기 진단 프로그래밍 세션에 대한 응답 및 상기 보안 접근이 허용되는 경우 상기 전자제어유닛으로 업데이트 수행을 요청하고,
상기 통합제어유닛은 업데이트 수행 요청을 수신한 이후 상기 릴레이를 차단하는,
차량 배터리 방전 방지 시스템.
In paragraph 5,
The wireless programming device responds to the diagnostic programming session and requests the electronic control unit to perform an update if the secure access is permitted;
The above integrated control unit blocks the relay after receiving a request to perform an update.
Vehicle battery discharge prevention system.
제1 항에 있어서,
상기 전자제어유닛의 업데이트가 완료된 이후 상기 외부 제어기는 상기 전자제어유닛으로 리셋 서비스를 요청하고,
상기 통합제어유닛은 리셋 서비스 요청을 수신한 이후 상기 릴레이의 차단을 해제하는,
차량 배터리 방전 방지 시스템.
In the first paragraph,
After the update of the above electronic control unit is completed, the external controller requests a reset service from the above electronic control unit,
The above integrated control unit releases the blocking of the relay after receiving a reset service request.
Vehicle battery discharge prevention system.
제1 항에 있어서,
상기 외부 제어기는 차량에 탑재된 온보드 진단기 커넥터에 연결된 외부 진단기를 포함하고,
상기 외부 진단기가 상기 온보드 진단기 커넥터에 연결되면 상기 외부 진단기는 업데이트 가능 조건이 만족된 것으로 판단하는,
차량 배터리 방전 방지 시스템.
In the first paragraph,
The above external controller includes an external diagnostic device connected to an onboard diagnostic device connector mounted on the vehicle,
When the external diagnostic device is connected to the onboard diagnostic device connector, the external diagnostic device determines that the update condition is satisfied.
Vehicle battery discharge prevention system.
제8 항에 있어서,
상기 외부 진단기는 차량 내에 배치된 게이트웨이와 캔(CAN) 통신을 통해 연결되고,
상기 외부 진단기는 상기 게이트웨이로 상기 전자제어유닛이 업데이트를 위한 모드로 진입하라는 진단 프로그래밍 세션 요청 및 상기 게이트웨이로의 보안 접근을 요청을 출력하는,
차량 배터리 방전 방지 시스템.
In paragraph 8,
The above external diagnostic device is connected to the gateway placed in the vehicle through CAN communication,
The external diagnostic device outputs a diagnostic programming session request to the gateway to cause the electronic control unit to enter a mode for update and a request for secure access to the gateway.
Vehicle battery discharge prevention system.
제9 항에 있어서,
상기 게이트웨이는 상기 보안 요청에 대해 응답하고, 상기 전자제어유닛은 상기 진단 프로그래밍 세션 요청에 대해 응답하고,
상기 외부 진단기는 상기 진단 프로그래밍 세션에 대한 응답 및 상기 보안 접근이 허용되는 경우 상기 게이트웨이로 업데이트 수행을 요청하고,
상기 통합제어유닛은 상기 게이트웨이로부터 업데이트 수행 요청을 수신한 이후 상기 릴레이를 차단하는,
차량 배터리 방전 방지 시스템.
In paragraph 9,
The gateway responds to the security request, and the electronic control unit responds to the diagnostic programming session request.
The external diagnostic device responds to the diagnostic programming session and requests the gateway to perform an update if the security access is permitted,
The above integrated control unit blocks the relay after receiving an update execution request from the gateway.
Vehicle battery discharge prevention system.
제1 항에 있어서,
상기 외부 제어기는 복수의 상기 전자제어유닛들 중 업데이트가 요구되는 특정 전자제어유닛만 업데이트를 수행하도록 상기 특정 전자제어유닛에 해당하는 암호화 키를 상기 진단 프로그래밍 세션 요청 시 전송하는,
차량 배터리 방전 방지 시스템.
In the first paragraph,
The external controller transmits an encryption key corresponding to a specific electronic control unit when requesting the diagnostic programming session so that only a specific electronic control unit requiring an update among the plurality of electronic control units is updated.
Vehicle battery discharge prevention system.
전자제어유닛의 소프트웨어를 업데이트하기 위한 업데이트 가능 조건을 판단하는 단계;
차량 외부에 배치되는 외부 제어기가 상기 전자제어유닛의 업데이트를 위한 모드로 진입하라는 진단 프로그래밍 세션 요청을 출력하는 단계;
상기 진단 프로그래밍 세션 요청에 대한 응답을 상기 외부 제어기 및 통합제어유닛이 수신하고, 상기 외부 제어기가 상기 전자제어유닛의 소프트웨어의 업데이트 수행을 요청하는 단계; 및
상기 업데이트 수행 요청을 상기 통합제어유닛이 수신하여 상기 전자제어유닛과 상기 통합제어유닛을 연결하는 릴레이를 차단하여 상기 전자제어유닛이 제어하는 고전력 장치에 의해 배터리가 방전되는 것을 방지하는 단계를 포함하는,
차량 배터리 방전 방지 방법.
A step for determining update conditions for updating the software of an electronic control unit;
A step of outputting a diagnostic programming session request for an external controller placed outside a vehicle to enter a mode for updating the electronic control unit;
A step in which the external controller and the integrated control unit receive a response to the diagnostic programming session request, and the external controller requests that the software of the electronic control unit be updated; and
A step of blocking a relay connecting the electronic control unit and the integrated control unit upon receiving the update execution request, thereby preventing the battery from being discharged by a high-power device controlled by the electronic control unit.
How to prevent your car battery from discharging.
제12 항에 있어서,
상기 통합제어유닛은 상기 진단 프로그래밍 세션 요청 및 이에 대한 응답을 수신한 이후에 상기 업데이트 수행 요청을 수신하는 경우 상기 릴레이를 차단하는,
차량 배터리 방전 방지 방법.
In Article 12,
The above integrated control unit blocks the relay when it receives the update execution request after receiving the diagnostic programming session request and response thereto.
How to prevent your car battery from discharging.
제12 항에 있어서,
상기 진단 프로그래밍 세션 요청을 출력하는 단계는:
상기 외부 제어기가 상기 전자제어유닛으로의 보안 접근을 요청하는 것을 포함하는,
차량 배터리 방전 방지 방법.
In Article 12,
The steps for outputting the above diagnostic programming session request are:
Including the external controller requesting secure access to the electronic control unit,
How to prevent your car battery from discharging.
제14 항에 있어서,
상기 외부 제어기는 무선 프로그래밍 장치(OTA)를 포함하고,
상기 외부 제어기가 요청한 보안 접근 요청에 대해 상기 전자제어유닛이 응답하는,
차량 배터리 방전 방지 방법.
In Article 14,
The above external controller includes an over-the-air (OTA) programming device,
The electronic control unit responds to a security access request requested by the external controller.
How to prevent your car battery from discharging.
제14 항에 있어서,
상기 외부 제어기는 차량에 탑재된 온보드 진단기 커넥터에 연결된 외부 진단기를 포함하고,
상기 외부 진단기가 요청한 보안 접근 요청에 대해 보안 게이트웨이가 응답하고,
상기 보안 게이트웨이는 상기 외부 진단기가 출력한 업데이트 수행 요청을 상기 통합제어유닛으로 전송하는,
차량 배터리 방전 방지 방법.
In Article 14,
The above external controller includes an external diagnostic device connected to an onboard diagnostic device connector mounted on the vehicle,
The security gateway responds to the security access request requested by the above external diagnostic device,
The above security gateway transmits the update execution request output by the external diagnostic device to the integrated control unit.
How to prevent your car battery from discharging.
제12 항에 있어서,
상기 전자제어유닛의 업데이트가 완료된 이후 상기 외부 제어기는 상기 전자제어유닛으로 리셋 서비스를 요청하고,
상기 통합제어유닛은 리셋 서비스 요청을 수신한 이후 상기 릴레이의 차단을 해제하는,
차량 배터리 방전 방지 방법.

In Article 12,
After the update of the above electronic control unit is completed, the external controller requests a reset service from the above electronic control unit,
The above integrated control unit releases the blocking of the relay after receiving a reset service request.
How to prevent your car battery from discharging.

KR1020200077561A 2020-06-25 2020-06-25 System and method for preventing vehicle battery discharge Active KR102843012B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200077561A KR102843012B1 (en) 2020-06-25 2020-06-25 System and method for preventing vehicle battery discharge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200077561A KR102843012B1 (en) 2020-06-25 2020-06-25 System and method for preventing vehicle battery discharge

Publications (2)

Publication Number Publication Date
KR20220000066A KR20220000066A (en) 2022-01-03
KR102843012B1 true KR102843012B1 (en) 2025-08-05

Family

ID=79348468

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200077561A Active KR102843012B1 (en) 2020-06-25 2020-06-25 System and method for preventing vehicle battery discharge

Country Status (1)

Country Link
KR (1) KR102843012B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20240085619A (en) * 2022-12-08 2024-06-17 주식회사 현대케피코 Method for updating firmware by determining installation environment of controller in high-voltage electric vehicle, controller performing the same, and a vehicle equipped with controller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101527779B1 (en) * 2014-01-13 2015-06-10 현대자동차주식회사 In-vehicle apparatus for efficient reprogramming and method for controlling there of
KR102111359B1 (en) * 2018-12-20 2020-05-15 주식회사 만도 Apparatus for OTA add-on

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101745111B1 (en) * 2015-07-15 2017-06-08 현대자동차주식회사 Apparatus for controlling power supply of battery and method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101527779B1 (en) * 2014-01-13 2015-06-10 현대자동차주식회사 In-vehicle apparatus for efficient reprogramming and method for controlling there of
KR102111359B1 (en) * 2018-12-20 2020-05-15 주식회사 만도 Apparatus for OTA add-on

Also Published As

Publication number Publication date
KR20220000066A (en) 2022-01-03

Similar Documents

Publication Publication Date Title
US9253200B2 (en) Programming vehicle modules from remote devices and related methods and systems
US10963241B2 (en) Control apparatus, program update method, and computer program
CN108369505B (en) Control apparatus, program update method, and computer program
US8306521B2 (en) Vehicle control apparatus with data reprogrammable via wireless communication network
US20160366247A1 (en) Over-the-air vehicle systems updating and associated security protocols
US10850685B2 (en) Onboard relay device, information processing method, storage medium storing program, relay device, and information processing system
CN111034132B (en) Control apparatus, control method, and computer program
JPWO2020059033A1 (en) In-vehicle device, update decision method and update decision program
US20240069905A1 (en) Vehicular electronic control device, vehicular electronic control system, and updated configuration information determination program
CN112136106B (en) Electronic control device and storage medium
US11803364B2 (en) Server, software updating device, vehicle, software updating system, control method, and non-transitory storage medium
US20240078104A1 (en) Vehicle Software Update System and Method Thereof
KR102843012B1 (en) System and method for preventing vehicle battery discharge
CN111064630A (en) Pre-update and post-update vehicle bus traffic fingerprinting
US20240061672A1 (en) Vehicle electronic control device, update program, and data structure
JP7484814B2 (en) Vehicle electronic control device and update program
US20220309843A1 (en) Program update management system, moving body fault diagnosis device, and program update management method
CN116890763A (en) Vehicle control system and program writing method
US12219015B2 (en) Method and system for data communication network in a vehicle
US20220392279A1 (en) Method and device for controlling a vehicle communication device
KR20220145546A (en) Wireless update system and method for construction machinery
US20250284485A1 (en) Electronic control device and storage medium
US12079615B2 (en) Communication apparatus, movable object, control system, server, communication control method
CN120051763A (en) Update management device, in-vehicle system, control method, and computer program
US20240028326A1 (en) Vehicular electronic control device, rewriting program, and data structure

Legal Events

Date Code Title Description
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PN2301 Change of applicant

St.27 status event code: A-3-3-R10-R13-asn-PN2301

St.27 status event code: A-3-3-R10-R11-asn-PN2301

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

D13-X000 Search requested

St.27 status event code: A-1-2-D10-D13-srh-X000

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

St.27 status event code: A-1-2-D10-D21-exm-PE0902

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

Fee payment year number: 1

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601