KR102109125B1 - Method for managing state of ECU in vehicle based on automotive open system architecture - Google Patents

Method for managing state of ECU in vehicle based on automotive open system architecture Download PDF

Info

Publication number
KR102109125B1
KR102109125B1 KR1020140178767A KR20140178767A KR102109125B1 KR 102109125 B1 KR102109125 B1 KR 102109125B1 KR 1020140178767 A KR1020140178767 A KR 1020140178767A KR 20140178767 A KR20140178767 A KR 20140178767A KR 102109125 B1 KR102109125 B1 KR 102109125B1
Authority
KR
South Korea
Prior art keywords
ecu
layer
software
autosar
management method
Prior art date
Application number
KR1020140178767A
Other languages
Korean (ko)
Other versions
KR20160071260A (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 KR1020140178767A priority Critical patent/KR102109125B1/en
Publication of KR20160071260A publication Critical patent/KR20160071260A/en
Application granted granted Critical
Publication of KR102109125B1 publication Critical patent/KR102109125B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/04Monitoring the functioning of the control system
    • 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
    • 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
    • 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
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/06Improving the dynamic response of the control system, e.g. improving the speed of regulation or avoiding hunting or overshoot

Abstract

본 발명의 실시예에 따른 AUTOSAR 기반 차량 ECU 상태 관리 방법은 AUTOSAR(Automotive Open System Architecture) 기반 시스템의 ECU(Electronic Control Unit) 상태 관리 방법으로서, 이그니션 신호를 주기적으로 모니터링하는 단계; 상기 이그니션 신호가 온(ON)되면, ECU 스타트업(startup) 시퀀스를 진행하는 단계; 상기 ECU 구동 시작 및 CAN(Controller Area Network) 통신 시작을 요청하는 단계; 및 상기 이그니션 신호를 타 소프트웨어 컴포넌트로 전달하는 단계를 포함할 수 있다. An AUTOSAR-based vehicle ECU status management method according to an embodiment of the present invention includes: an electronic control unit (ECU) status management method of an AUTOSAR (Automotive Open System Architecture) -based system, comprising: periodically monitoring an ignition signal; When the ignition signal is on, proceeding with an ECU startup sequence; Requesting the ECU to start driving and to start CAN (Controller Area Network) communication; And passing the ignition signal to another software component.

Description

AUTOSAR 기반 차량 ECU 상태 관리 방법{Method for managing state of ECU in vehicle based on automotive open system architecture}Method for managing state of ECU in vehicle based on automotive open system architecture}

본 발명은 AUTOSAR 기반 차량 ECU 상태 관리 방법에 관한 것으로, 보다 상세하게는 AUTOSAR(automotive open system architecture) 기반 차량 시스템에서 ECU의 상태를 통합적으로 관리 및 감독하는 기술에 관한 것이다.The present invention relates to an AUTOSAR-based vehicle ECU state management method, and more particularly, to a technology for integrally managing and supervising an ECU state in an AUTOSAR (automotive open system architecture) -based vehicle system.

AUTOSAR(Automotive Open System Architecture)는 자동차의 전장시스템 복잡화에 대응하기 위해서 어플리케이션과 ECU(Electronic Control Unit)를 분리하여 개발하고, 가상 기능 버스(Virtual Functional Bus)를 이용하여 컴포넌트간 통신을 지원토록 하는 것을 기본 개념으로 가지고 있는 유럽, 미국, 일본 등의 자동차 제조업체와 부품업체 등이 대규모로 참여한 자동차 임베디드 소프트웨어에 대한 협의 단체이다. AUTOSAR (Automotive Open System Architecture) is developed to separate applications and ECUs (Electronic Control Units) to cope with the automotive electronics system complexity, and to support communication between components using a virtual functional bus. It is a consultative body for automobile embedded software, which is largely participated by car manufacturers and parts makers in Europe, the United States, and Japan, which have basic concepts.

또한, AUTOSAR는 자동차용 소프트웨어 플랫폼에 대한 표준 규격 명칭을 의미하기도 한다. 자동차용 MCU(Micro-Controller Unit)에 AUTOSAR 플랫폼을 도입하면 하드웨어와 소프트웨어를 분리할 수 있게 되고, 소프트웨어의 재사용성, 확장성 등을 향상시켜 복잡한 소프트웨어를 빠르고 신뢰성 있게 개발 가능하게 된다.In addition, AUTOSAR also means the standard specification name for a software platform for automobiles. Introducing the AUTOSAR platform in the automotive micro-controller unit (MCU) enables the separation of hardware and software, and improves the reusability and scalability of software, making it possible to develop complex software quickly and reliably.

이러한 AUTOSAR 표준에 따라 차량의 ECU를 효율적으로 관리할 수 있는 기술이 필요하다.According to these AUTOSAR standards, there is a need for a technology that can efficiently manage a vehicle's ECU.

본 발명의 실시예는 AUTOSAR 기반의 차량 시스템에서 차량의 ECU를 효율적으로 관리 및 감독할 수 있는 AUTOSAR 기반 차량 ECU 상태 관리 방법을 제공하고자 한다.An embodiment of the present invention is to provide an AUTOSAR-based vehicle ECU state management method that can efficiently manage and supervise a vehicle ECU in an AUTOSAR-based vehicle system.

본 발명의 실시예에 따른 AUTOSAR 기반 차량 ECU 상태 관리 방법은 AUTOSAR(Automotive Open System Architecture) 기반 시스템의 ECU(Electronic Control Unit) 상태 관리 방법으로서, 이그니션 신호를 주기적으로 모니터링하는 단계; 상기 이그니션 신호가 온(ON)되면, ECU 스타트업(startup) 시퀀스를 진행하는 단계; 상기 ECU 구동 시작 및 CAN(Controller Area Network) 통신 시작을 요청하는 단계; 및 상기 이그니션 신호를 타 소프트웨어 컴포넌트로 전달하는 단계를 포함할 수 있다.An AUTOSAR-based vehicle ECU status management method according to an embodiment of the present invention includes: an electronic control unit (ECU) status management method of an AUTOSAR (Automotive Open System Architecture) -based system, comprising: periodically monitoring an ignition signal; When the ignition signal is on, proceeding with an ECU startup sequence; Requesting the ECU to start driving and to start CAN (Controller Area Network) communication; And passing the ignition signal to another software component.

또한, 상기 타 소프트웨어 컴포넌트는 메모리 소프트웨어 컴포넌트를 포함할 수 있다.Also, the other software component may include a memory software component.

또한, 상기 메모리 소프트웨어 컴포넌트로 상기 이그니션 신호가 전달되면, 상기 이그니션 신호가 온인 경우 상기 메모리 소프트웨어 컴포넌트의 메모리에 저장되어 있던 ECU 관련 정보를 리드할 수 있다.In addition, when the ignition signal is transmitted to the memory software component, when the ignition signal is on, ECU-related information stored in the memory of the memory software component may be read.

본 발명의 실시예에 따른 AUTOSAR 기반 차량 ECU 상태 관리 방법은 AUTOSAR(Automotive Open System Architecture) 기반 시스템의 ECU(Electronic Control Unit) 상태 관리 방법으로서, 이그니션 신호를 주기적으로 모니터링하는 단계; 상기 이그니션 신호가 오프(OFF)인 경우 상기 ECU의 셧다운(Shutdown) 시퀀스를 진행하는 단계; CAN(Controller Area Network) 통신 중단을 요청하는 단계; 및 상기 ECU의 셧다운 카운터값에 도달할 때까지 카운팅을 수행하는 단계; 및 상기 카운터값에 도달하면, 상기 ECU 구동 중단을 요청하는 단계를 포함할 수 있다.An AUTOSAR-based vehicle ECU status management method according to an embodiment of the present invention includes: an electronic control unit (ECU) status management method of an AUTOSAR (Automotive Open System Architecture) -based system, comprising: periodically monitoring an ignition signal; If the ignition signal is OFF, proceeding with a shutdown sequence of the ECU; Requesting to stop CAN (Controller Area Network) communication; And performing counting until the shutdown counter value of the ECU is reached. And when the counter value is reached, requesting to stop the operation of the ECU.

또한, 상기 이그니션 신호를 타 소프트웨어 컴포넌트로 전달하는 단계를 더 포함할 수 있다.In addition, the method may further include transmitting the ignition signal to another software component.

또한, 상기 타 소프트웨어 컴포넌트가 메모리 소프트웨어 컴포넌트인 경우, 상기 이그니션 신호가 오프인 경우 상기 메모리 소프트웨어 컴포넌트의 메모리에 현재의 ECU 상태 정보를 저장하는 단계를 더 포함할 수 있다.In addition, when the other software component is a memory software component, when the ignition signal is off, the method may further include storing current ECU status information in the memory of the memory software component.

또한, 상기 ECU 구동 중단 후, 상기 ECU의 전원 오프를 요청하는 단계를 더 포함할 수 있다.In addition, after stopping the operation of the ECU, it may further include the step of requesting the power off of the ECU.

본 발명의 실시예에 따른 AUTOSAR 기반 차량 ECU 상태 관리 방법은 응용 소프트웨어 계층, RTE(Run Time Environment)계층, BSW(Basic Software) 계층을 포함하는 AUTOSAR(Automotive Open System Architecture) 기반 시스템의 ECU(Electronic Control Unit) 상태 관리 방법으로서, 상기 RTE 계층을 통하여 상기 BSW 계층의 ECU 상태 관련 제어 기능을 포함하고 있는 소프트웨어 컴포넌트들을 제어하는 단계; 및 타 소프트웨어 컴포넌트에 ECU 상태 관련 정보를 제공하는 단계를 포함할 수 있다.AUTOSAR-based vehicle ECU state management method according to an embodiment of the present invention includes an electronic software control of an AUTOSAR (Automotive Open System Architecture) based system including an application software layer, a run time environment (RTE) layer, and a basic software (BSW) layer. Unit) A state management method, comprising: controlling software components including an ECU state-related control function of the BSW layer through the RTE layer; And providing ECU state-related information to other software components.

또한, 상기 ECU 상태 관련 제어 기능은, ECU 상태 관련 기능과 IO(Input Output) 기능을 포함할 수 있다.In addition, the ECU state related control function may include an ECU state related function and an IO (Input Output) function.

본 기술은 차량 시스템의 전자제어장치(ECU)의 상태를 효율적으로 통합 관리 및 감독할 수 있다.This technology can efficiently manage and supervise the state of the electronic control unit (ECU) of the vehicle system.

도 1은 본 발명의 실시예에 따른 AUTOSAR 기반 차량 시스템의 ECU 상태 관리 를 위한 아키텍쳐이다.
도 2는 본 발명의 실시예에 따른 전자제어장치의 스타트업(startup) 시퀀스를 나타내는 순서도이다.
도 3은 본 발명의 실시예에 따른 전자제어장치의 셧다운(shutdown) 시퀀스를 나타내는 순서도이다.
1 is an architecture for ECU state management of an AUTOSAR-based vehicle system according to an embodiment of the present invention.
2 is a flowchart illustrating a startup sequence of an electronic control device according to an embodiment of the present invention.
3 is a flowchart illustrating a shutdown sequence of an electronic control device according to an embodiment of the present invention.

이하 본 발명이 속하는 기술분야에서 통상의 지식을 가진자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 가장 바람직한 실시예를 첨부도면을 참조하여 설명하기로 한다.Hereinafter, with reference to the accompanying drawings, the most preferred embodiment of the present invention will be described in detail so that those skilled in the art to which the present invention pertains can easily implement the technical spirit of the present invention.

본 발명은 AUTOSAR(automotive open system architecture) 기반으로 차량의 전자 제어 장치(Electronic Control Unit; 이하 ECU라 칭함)의 상태를 효율적으로 관리 및 감독하는 기술을 개시한다.
The present invention discloses a technology for efficiently managing and supervising a state of an electronic control unit (hereinafter referred to as ECU) of a vehicle based on an automotive open system architecture (AUTOSAR).

이하, 도 1 내지 도 3을 참조하여, 본 발명의 실시예들을 구체적으로 설명하기로 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS. 1 to 3.

도 1은 본 발명의 실시예에 따른 AUTOSAR 기반 차량 시스템의 ECU 상태 관리를 위한 AUTOSAR의 계층화 소프트웨어 아키텍쳐이다.1 is a layered software architecture of AUTOSAR for ECU state management of an AUTOSAR based vehicle system according to an embodiment of the present invention.

본 발명의 실시예에 따른 AUTOSAR 기반 차량 시스템의 ECU 상태 관리를 위한 AUTOSAR의 계층화 소프트웨어 아키텍쳐는 크게 응용 소프트웨어 계층(100), 런-타임 환경(RTE:Run Time Environment; 200, 이하, RTE 계층이라 함) 및 BSW(Basic Software) 계층(300)으로 구분된 계층화 구조를 가진다.The AUTOSAR layered software architecture for managing the ECU state of an AUTOSAR-based vehicle system according to an embodiment of the present invention is largely referred to as an application software layer 100, a run-time environment (RTE) 200, or less, an RTE layer ) And BSW (Basic Software) layer 300.

응용 소프트웨어 계층(100)은 ECU 상태 관리 소프트웨어 컴포넌트(110), 타 소프트웨어 컴포넌트(200)로 구분된다. The application software layer 100 is divided into an ECU state management software component 110 and other software components 200.

ECU 상태 관리 소프트웨어 컴포넌트(110)는 ECU의 상태를 관리하기 위해 필요한 기능들의 집합으로서, BSW 계층(300)의 기능들을 통합 관리하고 이그니션신호의 온오프시 ECU 상태관리를 위한 DIO(Digital Input/Output) 제어를 수행한다.The ECU state management software component 110 is a set of functions necessary to manage the state of the ECU, and integrates and manages the functions of the BSW layer 300 and digital input / output (DIO) for ECU state management when the ignition signal is turned on and off. ) Perform control.

타 소프트웨어 컴포넌트(200)는 메모리 소프트웨어 컴포넌트를 포함할 수 있으며 도 1에서는 하나의 타 소프트웨어 컴포넌트(200)를 개시하고 있으나 기능에 따라 복수개의 소프트웨어 컴포넌트로 개시될 수 있다. 또한, 타 소프트웨어 컴포넌트(200)는 타 소프트웨어 컴포넌트에서 필요로 하는 ECU 상태정보, 이그니션신호 상태정보들을 송신하고 ECU 제어를 위해 타 소프트웨어 컴포넌트들에서 받아야 하는 알림신호(Notification)들을 수신한다.The other software component 200 may include a memory software component, and in FIG. 1, one other software component 200 is disclosed, but may be disclosed as a plurality of software components according to functions. In addition, the other software component 200 transmits ECU status information and ignition signal status information required by the other software component and receives notifications to be received from other software components for ECU control.

이러한, 응용 소프트웨어 계층(100)의 구현은 AUTOSAR에서는 다루지 않으며, 마이크로컨트롤러 등의 하드웨어 계층에는 비의존적으로 구현되어, 하위 계층의 모든 자원들(resources)과 RTE 계층(200)을 통해서 통신한다. 예컨대, 응용 소프트웨어 계층(100)에 속한 응용 소프트웨어들은 하위 계층의 하드웨어들로부터의 여러 가지 신호들을 종합적으로 수신하고, 신호들을 처리하며, 하위 계층의 하드웨어들을 종합적으로 제어하여 소정의 목적을 달성하기 위해서 각 개발업체들에 의해서 개발된다. 즉, 이러한 계층화 소프트웨어 구조에 의해서 응용 소프트웨어 계층의 구현은 하위 계층의 세부적인 변화에 영향을 받지 않도록 할 수 있다.The implementation of the application software layer 100 is not covered by AUTOSAR, and is implemented independently of the hardware layer such as a microcontroller, and communicates through all resources and RTE layer 200 of the lower layer. For example, application software belonging to the application software layer 100 comprehensively receives various signals from hardware of the lower layer, processes signals, and comprehensively controls the hardware of the lower layer to achieve a predetermined purpose. It is developed by each developer. That is, the implementation of the application software layer can be prevented from being affected by detailed changes of the lower layer by the layered software structure.

다음으로, RTE 계층(200)은 응용 소프트웨어 계층에게 하위 계층의 BSW 계층에 대한 하드웨어 비의존적인 계층(hardware independent layer)을 제공하게 된다. 또한, 응용 소프트웨어 계층(100)에 존재하는 소프트웨어 컴포넌트(component)들 간에도 이 RTE 계층(200)을 통하여 상호통신을 하도록 구성된다. 즉, RTE 계층(200)은 응용 소프트웨어 계층의 컴포넌트들간, 응용 소프트웨어 계층(100)의 컴포넌트들 및 BSW 계층(300)간 데이터 교환을 관장하는 통신센터의 역할을 한다.Next, the RTE layer 200 provides an application software layer with a hardware independent layer for the lower layer BSW layer. In addition, the software components (components) existing in the application software layer 100 are configured to communicate with each other through the RTE layer 200. That is, the RTE layer 200 serves as a communication center that manages data exchange between components of the application software layer, components of the application software layer 100, and BSW layer 300.

BSW 계층(300)은 응용 소프트웨어 계층(100)에게 ECU 하드웨어 및 마이크로컨트롤러를 추상화시켜서 ECU 상태 관리 서비스를 제공하기 위한 커뮤니케이션 매니저(COMM, Communication Manager, 310), ECU 상태 매니저(ECUM, ECU Manager, 320), 입출력 하드웨어 추상화기(IoHwAb, I/O hardware abstraction, 330)로 세분화된다.The BSW layer 300 abstracts the ECU hardware and microcontroller to the application software layer 100 to provide an ECU status management service (COMM, Communication Manager, 310), and an ECU status manager (ECUM, ECU Manager, 320). ), I / O hardware abstraction (IoHwAb, I / O hardware abstraction, 330).

커뮤니케이션 매니저(이하 COMM이라 함, 310)는 ECU와 연결되는 통신 상태를 관리하며 ECU 상태관리 소프트웨어 컴포넌트(110)로부터 캔(CAN, Controller Area Network) 통신 시작 및 중단 요청을 받으면 캔 통신을 제어한다.The communication manager (hereinafter referred to as COMM, 310) manages a communication state connected to the ECU and controls can communication when a CAN (Controller Area Network) communication start and stop request is received from the ECU state management software component 110.

ECU 상태 매니저(이하 ECUM라 함, 320)는 ECU의 상태를 관리하며 ECU 상태관리 소프트웨어 컴포넌트(110)로부터 ECU 구동 시작 및 중단을 요청받으면 ECU의 구동을 제어한다.The ECU state manager (hereinafter referred to as ECUM, 320) manages the state of the ECU and controls the operation of the ECU when requested to start and stop the operation of the ECU from the ECU state management software component 110.

입출력 하드웨어 추상화기(이하 IoHwAb라 함, 330)는 이그니션 신호를 감지하고 마이크로컨트롤러(ECU 내에 탑재됨)의 인에이블 신호의 출력을 제어한다. 즉, 입출력 하드웨어 추상화기(IoHwAb, 330)는 디지털 인풋 단자로 이그니션 신호를 소프트웨어 컴포넌트(110)로 전달하고 마이크로 컨트롤러iAL도시)의 인에이블신호를 디지털 아웃풋 단자로 출력하여 마이크로 컨트롤러의 온오프를 제어한다.The input / output hardware abstractor (hereinafter referred to as IoHwAb, 330) detects the ignition signal and controls the output of the enable signal of the microcontroller (mounted in the ECU). That is, the input / output hardware abstractor (IoHwAb, 330) transmits the ignition signal to the software input component 110 through the digital input terminal and outputs the enable signal from the microcontroller iAL) to the digital output terminal to control the on / off of the microcontroller. do.

이처럼 AUTOSAR 규격에서는 이러한 계층화된 소프트웨어 아키텍처를 통해서 응용 소프트웨어 계층과 RTE 계층을 엄밀하게 규정하여, 이를 통해 소프트웨어의 재사용성, 확장성을 유지하고, 소프트웨어의 빠르고 신뢰성 있는 개발을 지원할 수 있다.
In this way, the AUTOSAR specification strictly defines the application software layer and the RTE layer through this layered software architecture, thereby maintaining reusability and scalability of software, and supporting rapid and reliable development of software.

이하, 도 2를 참조하여 본 발명의 실시예에 따른 전자제어장치의 스타트업(startup) 시퀀스를 설명하기로 한다.Hereinafter, a startup sequence of an electronic control apparatus according to an embodiment of the present invention will be described with reference to FIG. 2.

먼저, ECU 상태 관리 소프트웨어 컴포넌트(110)는 IoHwAb(330)를 통해 이그니션 신호를 주기적으로 모니터링한다(S101).First, the ECU state management software component 110 periodically monitors the ignition signal through the IoHwAb 330 (S101).

ECU 상태 관리 소프트웨어 컴포넌트(110)는 이그니션 신호가 온인지를 체크하고(S102), 이그니션 신호가 온이 되면 ECU 스타트업(startup) 시퀀스를 진행한다(S103).  The ECU state management software component 110 checks whether the ignition signal is on (S102), and when the ignition signal is on, proceeds with the ECU startup sequence (S103).

그 후, ECU 상태 관리 소프트웨어 컴포넌트(110)는 ECUM(320)으로 ECU 구동 시작을 요청하고(S104), ECUM(320)는 ECU 구동 시작을 제어한다(S105).Thereafter, the ECU state management software component 110 requests the ECUM 320 to start the ECU (S104), and the ECUM 320 controls the ECU start to start (S105).

한편, ECU 상태 관리 소프트웨어 컴포넌트(110)는 COMM(310)으로 CAN 통신 시작을 요청하고(S106), COMM(310)은 CAN 통신을 시작하도록 제어한다(S107).Meanwhile, the ECU state management software component 110 requests to start CAN communication with the COMM 310 (S106), and the COMM 310 controls to start CAN communication (S107).

한편, ECU 상태 관리 소프트웨어 컴포넌트(110)는 이그니션 신호를 타 SWC(120)로 전달한다(S108). Meanwhile, the ECU state management software component 110 transmits the ignition signal to the other SWC 120 (S108).

타 SWC(120)가 메모리 SWC인 경우 저장되어 있던 ECU의 정보를 리드하여 필요로 하는 타 SWC로 제공한다(S109).
When the other SWC 120 is the memory SWC, information of the stored ECU is read and provided to the other SWC required (S109).

이하, 도 3을 참조하여 본 발명의 실시예에 따른 전자제어장치의 셧다운(shutdown) 시퀀스를 설명하기로 한다.Hereinafter, a shutdown sequence of the electronic control apparatus according to an embodiment of the present invention will be described with reference to FIG. 3.

먼저, ECU 상태 관리 소프트웨어 컴포넌트(110)는 IoHwAb(330)를 통해 이그니션 신호를 주기적으로 모니터링한다(S201).First, the ECU state management software component 110 periodically monitors the ignition signal through the IoHwAb 330 (S201).

ECU 상태 관리 소프트웨어 컴포넌트(110)는 이그니션 신호가 오프인지를 체크하고(S202), 이그니션 신호가 오프가 되면 ECU 셧다운(shutdown) 시퀀스를 진행한다(S203).  The ECU state management software component 110 checks whether the ignition signal is off (S202), and when the ignition signal is off, proceeds with an ECU shutdown sequence (S203).

그 후, ECU 상태 관리 소프트웨어 컴포넌트(110)는 이그니션 신호를 타 SWC(120)로 전달한다(S204). Thereafter, the ECU state management software component 110 transmits the ignition signal to the other SWC 120 (S204).

타 SWC(120)가 메모리 SWC인 경우 타 SWC(120)는 현재 ECU 상태 정보를 메모리에 라이팅하고(S205), 라이팅 동작이 완료 되었음을 ECU 상태 관리 소프트웨어 컴포넌트(110)로 통보한다(S206). 이때, 메모리는 EEPROM일 수 있다.When the other SWC 120 is the memory SWC, the other SWC 120 writes current ECU state information to the memory (S205) and notifies the ECU state management software component 110 that the writing operation is completed (S206). At this time, the memory may be an EEPROM.

한편, ECU 상태 관리 소프트웨어 컴포넌트(110)는 COMM(310)으로 CAN 통신 중단을 요청하고(S207), COMM(310)은 CAN 통신을 중단하도록 제어한다(S208).Meanwhile, the ECU state management software component 110 requests to stop CAN communication with the COMM 310 (S207), and the COMM 310 controls to stop the CAN communication (S208).

이후, ECU 상태 관리 소프트웨어 컴포넌트(110)는 셧다운 카운터값에 도달할때까지 카운팅을 수행하고(S209), 카운팅이 완료되면 ECUM(320)으로 ECU 구동 구동 중단을 요청하고(S210), ECUM(320)는 ECU 구동 중단을 제어한다(S211).Thereafter, the ECU state management software component 110 performs counting until a shutdown counter value is reached (S209), and when counting is completed, requests the ECU drive 320 to stop driving the ECU (S210), and the ECUM 320 ) Controls interruption of the ECU operation (S211).

이후, ECU 상태 관리 소프트웨어 컴포넌트(110)는 IoHwAb(330)를 통해 마이크로 컨트롤러 인에이블 핀 오프를 요청하여 마이크로 컨트롤러가 파워 오프 되도록 요청한다(S212). 이때, 마이크로 컨트롤러(미도시)는 ECU 내에 탑재되며 ECU 자체의 파워 오프를 의미한다.Thereafter, the ECU state management software component 110 requests the microcontroller enable pin off through the IoHwAb 330 to request the microcontroller to be powered off (S212). At this time, a microcontroller (not shown) is mounted in the ECU and means power off of the ECU itself.

이와 같이, 본 발명은 BSW 계층(100)에서 제공하는 ECU 관리 기능들을 응용 소프트웨어 계층(100)에서 통합 관리할 수 있도록 하여 ECU 상태를 효율적으로 관리할 수 있도록 한다.As described above, the present invention enables the ECU management functions provided by the BSW layer 100 to be integrated and managed by the application software layer 100 to efficiently manage the ECU state.

상술한 본 발명의 바람직한 실시예는 예시의 목적을 위한 것으로, 당업자라면 첨부된 특허청구범위의 기술적 사상과 범위를 통해 다양한 수정, 변경, 대체 및 부가가 가능할 것이며, 이러한 수정 변경 등은 이하의 특허청구범위에 속하는 것으로 보아야 할 것이다.The above-described preferred embodiment of the present invention is for the purpose of illustration, and those skilled in the art will be able to make various modifications, changes, replacements, and additions through the technical spirit and scope of the appended claims, such modifications and the like as follows It should be considered as belonging to the claims.

Claims (9)

상위 계층인 응용 소프트웨어 계층, 하위 계층인 BSW(Basic Software) 계층, 및 상위 계층과 하위 계층을 통신 연결하는 RTE(Run Time Environment)계층을 포함하는 AUTOSAR(Automotive Open System Architecture) 기반 시스템의 ECU(Electronic Control Unit) 상태 관리 방법으로서,이그니션 신호를 주기적으로 모니터링하는 단계;
상기 이그니션 신호가 온(ON)되면, ECU 스타트업(startup) 시퀀스를 진행하는 단계;
상기 ECU 구동 시작 및 CAN(Controller Area Network) 통신 시작을 요청하는 단계; 및
상기 이그니션 신호를 타 소프트웨어 컴포넌트로 전달하는 단계
를 포함하고,
상기 응용 소프트웨어 계층에 속한 하나의 소프트웨어 컴포넌트는 상기 BSW 계층의 ECU 상태 관련 제어 기능을 수행하는 복수개의 소프트웨어 컴포넌트들을 제어하는 것을 특징으로 하는 AUTOSAR 기반 차량 ECU 상태 관리 방법.
Electronic (Automotive Open System Architecture) based ECU (Automotive Open System Architecture) based system including upper layer application software layer, lower layer basic software (BSW) layer, and run time environment (RTE) layer for communication connection between upper layer and lower layer A control unit) state management method comprising: periodically monitoring an ignition signal;
When the ignition signal is ON, proceeding with an ECU startup sequence;
Requesting to start the ECU and to start CAN (Controller Area Network) communication; And
Passing the ignition signal to another software component
Including,
AUTOSAR-based vehicle ECU state management method, characterized in that one software component belonging to the application software layer controls a plurality of software components that perform a control function related to the ECU state of the BSW layer.
청구항 1에 있어서,
상기 타 소프트웨어 컴포넌트는 메모리 소프트웨어 컴포넌트를 포함하는 것을 특징으로 하는 AUTOSAR 기반 차량 ECU 상태 관리 방법.
The method according to claim 1,
The other software component comprises a memory software component AUTOSAR-based vehicle ECU state management method.
청구항 2에 있어서,
상기 메모리 소프트웨어 컴포넌트로 상기 이그니션 신호가 전달되면,
상기 이그니션 신호가 온인 경우 상기 메모리 소프트웨어 컴포넌트의 메모리에 저장되어 있던 ECU 관련 정보를 리드하는 것을 특징으로 하는 AUTOSAR 기반 차량 ECU 상태 관리 방법.
The method according to claim 2,
When the ignition signal is transmitted to the memory software component,
AUTOSAR-based vehicle ECU status management method characterized in that when the ignition signal is ON, ECU-related information stored in the memory of the memory software component is read.
상위 계층인 응용 소프트웨어 계층, 하위 계층인 BSW(Basic Software) 계층, 및 상위 계층과 하위 계층을 통신 연결하는 RTE(Run Time Environment)계층을 포함하는 AUTOSAR(Automotive Open System Architecture) 기반 시스템의 ECU(Electronic Control Unit) 상태 관리 방법으로서,
이그니션 신호를 주기적으로 모니터링하는 단계;
상기 이그니션 신호가 오프(OFF)인 경우 상기 ECU의 셧다운(Shutdown) 시퀀스를 진행하는 단계;
CAN(Controller Area Network) 통신 중단을 요청하는 단계; 및
상기 ECU의 셧다운 카운터값에 도달할 때까지 카운팅을 수행하는 단계; 및
상기 카운터값에 도달하면, 상기 ECU 구동 중단을 요청하는 단계를 포함하고,
상기 응용 소프트웨어 계층에 속한 하나의 소프트웨어 컴포넌트가 상기 BSW 계층의 ECU 상태 관련 제어 기능을 수행하는 복수개의 소프트웨어 컴포넌트들을 제어하는 것을 특징으로 하는 AUTOSAR 기반 차량 ECU 상태 관리 방법.
Electronic (Automotive Open System Architecture) based ECU (Automotive Open System Architecture) based system including upper layer application software layer, lower layer basic software (BSW) layer, and run time environment (RTE) layer for communication connection between upper layer and lower layer Control Unit) state management method,
Periodically monitoring the ignition signal;
If the ignition signal is off, proceeding with a shutdown sequence of the ECU;
Requesting to stop CAN (Controller Area Network) communication; And
Performing counting until the shutdown counter value of the ECU is reached; And
And when the counter value is reached, requesting to stop the ECU operation.
AUTOSAR-based vehicle ECU status management method, characterized in that one software component belonging to the application software layer controls a plurality of software components that perform ECU state-related control functions of the BSW layer.
청구항 4에 있어서,
상기 이그니션 신호를 타 소프트웨어 컴포넌트로 전달하는 단계;
를 더 포함하는 것을 특징으로 하는 AUTOSAR 기반 차량 ECU 상태 관리 방법.
The method according to claim 4,
Passing the ignition signal to another software component;
AUTOSAR-based vehicle ECU status management method further comprising a.
청구항 5에 있어서,
상기 타 소프트웨어 컴포넌트가 메모리 소프트웨어 컴포넌트인 경우,
상기 이그니션 신호가 오프인 경우 상기 메모리 소프트웨어 컴포넌트의 메모리에 현재의 ECU 상태 정보를 저장하는 단계
를 더 포함하는 것을 특징으로 하는 AUTOSAR 기반 차량 ECU 상태 관리 방법.
The method according to claim 5,
When the other software component is a memory software component,
Storing the current ECU state information in the memory of the memory software component when the ignition signal is off.
AUTOSAR-based vehicle ECU status management method further comprising a.
청구항 4에 있어서,
상기 ECU 구동 중단 후, 상기 ECU의 전원 오프를 요청하는 단계
를 더 포함하는 것을 특징으로 하는 AUTOSAR 기반 차량 ECU 상태 관리 방법.
The method according to claim 4,
After stopping the operation of the ECU, requesting to power off the ECU
AUTOSAR-based vehicle ECU status management method further comprising a.
상위 계층인 응용 소프트웨어 계층, 하위 계층인 BSW(Basic Software) 계층, 및 상위 계층과 하위 계층을 통신 연결하는 RTE(Run Time Environment)계층을 포함하는 AUTOSAR(Automotive Open System Architecture) 기반 시스템의 ECU(Electronic Control Unit) 상태 관리 방법으로서,
상기 응용 소프트웨어 계층의 소프트웨어 컴포넌트가 상기 RTE 계층을 통하여 상기 BSW 계층의 ECU 상태 관련 제어 기능을 포함하고 있는 복수개의 소프트웨어 컴포넌트들을 제어하는 단계; 및
타 소프트웨어 컴포넌트에 ECU 상태 관련 정보를 제공하는 단계
를 포함하는 AUTOSAR 기반 차량 ECU 상태 관리 방법.
Electronic (Automotive Open System Architecture) based ECU (Automotive Open System Architecture) based system including upper layer application software layer, lower layer basic software (BSW) layer, and run time environment (RTE) layer for communication connection between upper layer and lower layer Control Unit) state management method,
Controlling, by the software component of the application software layer, a plurality of software components including an ECU state related control function of the BSW layer through the RTE layer; And
Providing information related to ECU status to other software components
AUTOSAR-based vehicle ECU status management method comprising a.
청구항 8에 있어서,
상기 ECU 상태 관련 제어 기능은,
ECU 상태 관련 기능과 IO(Input Output) 기능을 포함하는 것을 특징으로 하는 AUTOSAR 기반 차량 ECU 상태 관리 방법.
The method according to claim 8,
The ECU state-related control function,
AUTOSAR-based vehicle ECU status management method characterized by including ECU status-related functions and IO (Input Output) functions.
KR1020140178767A 2014-12-11 2014-12-11 Method for managing state of ECU in vehicle based on automotive open system architecture KR102109125B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140178767A KR102109125B1 (en) 2014-12-11 2014-12-11 Method for managing state of ECU in vehicle based on automotive open system architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140178767A KR102109125B1 (en) 2014-12-11 2014-12-11 Method for managing state of ECU in vehicle based on automotive open system architecture

Publications (2)

Publication Number Publication Date
KR20160071260A KR20160071260A (en) 2016-06-21
KR102109125B1 true KR102109125B1 (en) 2020-05-12

Family

ID=56353837

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140178767A KR102109125B1 (en) 2014-12-11 2014-12-11 Method for managing state of ECU in vehicle based on automotive open system architecture

Country Status (1)

Country Link
KR (1) KR102109125B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200129921A (en) 2019-05-10 2020-11-18 현대자동차주식회사 Apparatus for controlling ecu of vehicle and method thereof
KR102188738B1 (en) * 2019-12-09 2020-12-08 현대오트론 주식회사 Alarm offset optimization apparatus for autosar operating system
CN113467962A (en) * 2020-03-31 2021-10-01 华为技术有限公司 Automobile open system architecture, state management method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101436694B1 (en) * 2012-11-13 2014-09-01 재단법인대구경북과학기술원 Method of designing application software of automotive roomlamp control system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101271215B1 (en) * 2009-11-02 2013-06-07 한국전자통신연구원 A malfunction notification system for a vehicle and a method thereof
KR101382109B1 (en) * 2012-02-01 2014-04-09 한국과학기술원 Apparatus and method for middleware
JP2014058210A (en) * 2012-09-18 2014-04-03 Hitachi Automotive Systems Ltd Vehicle control device and vehicle control system
KR20140066531A (en) * 2012-11-23 2014-06-02 엘지전자 주식회사 A component architecture based on autosar(automotive open system architecture)

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101436694B1 (en) * 2012-11-13 2014-09-01 재단법인대구경북과학기술원 Method of designing application software of automotive roomlamp control system

Also Published As

Publication number Publication date
KR20160071260A (en) 2016-06-21

Similar Documents

Publication Publication Date Title
CN108268264B (en) Pre-shutdown exchange verification
CN110300954B (en) Control device, program update method, and computer program
CN105487883B (en) Method and system for updating vehicle computing system
US20180341476A1 (en) Software updating device, software updating system, and software updating method
JP6332580B1 (en) Control device, program update method, and computer program
JP6465258B1 (en) Control device, control method, and computer program
US20140137091A1 (en) Automobile open system architecture(autosar)-based electronic control unit (ecu) and method for updating ecu
KR20140038160A (en) Method for updating ecu in system based on autosar and apparatus for the same
JP6620891B2 (en) Relay device, relay method, and computer program
CN109842676B (en) Over-the-air control method, electronic equipment, automobile and readable storage medium
KR102109125B1 (en) Method for managing state of ECU in vehicle based on automotive open system architecture
JPWO2018230084A1 (en) Update control device, control method, and computer program
JP2019034652A (en) Control device, control method, and computer program
WO2018142749A1 (en) Control device, program updating method, and computer program
CN113626056A (en) Vehicle remote upgrading method and device, electronic equipment, vehicle-mounted terminal and storage medium
CN113672254A (en) Vehicle OTA (over the air) upgrading method and device, storage medium and unmanned equipment
KR101567172B1 (en) A booting method of the vehicle and an booting apparatus of the vehicle
CN116126368A (en) Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle
JP2006327216A (en) Program for vehicle control and electronic control device for vehicle
CN114454719A (en) Vehicle control method and device, medium, equipment and vehicle
CN114040360A (en) Server, update management method, non-temporary storage medium, software update device, system with server and software update device
US20240086174A1 (en) Vehicular electronic control device and update program
JP2020021506A (en) Electronic controller and session establishing program
CN115224685B (en) Power distribution management method, device, vehicle and storage medium
WO2022244588A1 (en) Electronic control device for vehicles, updating program, and data structure

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant