KR101647695B1 - Electronic control apparatus for supporting emergency mode and operating method thereof - Google Patents

Electronic control apparatus for supporting emergency mode and operating method thereof Download PDF

Info

Publication number
KR101647695B1
KR101647695B1 KR1020140183213A KR20140183213A KR101647695B1 KR 101647695 B1 KR101647695 B1 KR 101647695B1 KR 1020140183213 A KR1020140183213 A KR 1020140183213A KR 20140183213 A KR20140183213 A KR 20140183213A KR 101647695 B1 KR101647695 B1 KR 101647695B1
Authority
KR
South Korea
Prior art keywords
data
receiver
bus
emergency mode
mode
Prior art date
Application number
KR1020140183213A
Other languages
Korean (ko)
Other versions
KR20160074199A (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 KR1020140183213A priority Critical patent/KR101647695B1/en
Publication of KR20160074199A publication Critical patent/KR20160074199A/en
Application granted granted Critical
Publication of KR101647695B1 publication Critical patent/KR101647695B1/en

Links

Images

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
    • 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
    • B60R16/0315Electric 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 using multiplexing techniques
    • 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/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q1/00Details of, or arrangements associated with, antennas
    • H01Q1/12Supports; Mounting means
    • H01Q1/22Supports; Mounting means by structural association with other equipment or articles
    • H01Q1/24Supports; Mounting means by structural association with other equipment or articles with receiving set
    • 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/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
    • B60W50/0205Diagnosing or detecting failures; Failure detection models
    • B60W2050/021Means for detecting failure or malfunction
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/80Technologies aiming to reduce greenhouse gasses emissions common to all road transportation technologies
    • Y02T10/92Energy efficient charging or discharging systems for batteries, ultracapacitors, supercapacitors or double-layer capacitors specially adapted for vehicles

Abstract

본 명세서는 차량의 전자 제어 장치 및 그 동작 방법에 관한 것으로서, 더욱 상세하게는 캔 버스로부터 데이터를 수신하는 수신 모드 및 상기 캔 버스로부터 데이터가 수신되지 않으면 상기 데이터를 수신하는 동작을 정지하는 슬립 모드 중 어느 하나의 모드로 동작하는 캔 버스 수신기; 상기 캔 버스 수신기를 상기 슬립 모드에서 상기 수신 모드로 전환시키는 웨이크업 모드 및 상기 캔 버스 수신기의 오동작시 상기 캔 버스 수신기를 대신하여 상기 캔 버스로부터 데이터를 수신하는 지원 모드 중 어느 하나의 모드로 동작하는 저전력 수신기; 긴급 모드 시, 상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터를 비교하여 정상 데이터인지를 판단하고, 정상 데이터로 판단되면 상기 수신된 데이터를 긴급 모드 데이터로 처리하는 긴급 모드 지원부; 및 파워 온이 된 후 상기 긴급 모드 지원부를 긴급 모드로 동작시켜 상기 처리된 데이터를 MCU(Micro Controller Unit)로 전송하는 제어부를 포함한다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to an electronic control apparatus for a vehicle and a method of operating the same, and more particularly, A CAN bus receiver operating in any one of the modes; A wake-up mode in which the can bus receiver is switched from the sleep mode to the reception mode, and a support mode in which data is received from the can bus on behalf of the can bus receiver when the can bus receiver malfunctions Low power receiver; An emergency mode support unit for operating the can bus receiver and the low power receiver to compare received data with each other to determine whether the received data is normal data, and to process the received data into emergency mode data if determined to be normal data; And a control unit for operating the emergency mode support unit in an emergency mode after power on and transmitting the processed data to an MCU (Micro Controller Unit).

Description

긴급 모드를 지원하는 전자 제어 장치 및 그 동작 방법{ELECTRONIC CONTROL APPARATUS FOR SUPPORTING EMERGENCY MODE AND OPERATING METHOD THEREOF}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic control apparatus for supporting an emergency mode,

본 명세서는 차량의 전자 제어 장치 및 그 동작 방법에 관한 것으로서, 더욱 상세하게는 저전력 트랜시버(Low power transceiver)가 포함된 차량의 전자 제어 장치에서 긴급 모드를 지원할 수 있는, 긴급 모드를 지원하는 전자 제어 장치 및 그 동작 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic control apparatus for a vehicle and an operation method thereof and, more particularly, to an electronic control apparatus for a vehicle including a low power transceiver, And a method of operating the same.

최근 차량에는 엔진 계통, 구동 계통, 제동 계통, 조향 계통 등 차량의 각 부분을 전자 제어하기 위하여 전자 제어 장치(ECU: ELECTRONIC CONTROL UNIT)가 탑재된다. 또한, 차량의 전자 제어 장치(ECU)들 간의 효율적인 데이터 통신 및 제어를 위해, 도 1과 같이 캔(CAN: Controller Area Network) 통신 시스템이 구성될 수 있다.BACKGROUND ART In recent years, an electronic control unit (ECU) is mounted on a vehicle in order to electronically control each part of a vehicle such as an engine system, a drive system, a braking system, and a steering system. In addition, a CAN (Controller Area Network) communication system can be configured as shown in FIG. 1 for efficient data communication and control between electronic control units (ECUs) of a vehicle.

도 1은 일반적인 차량의 캔 통신 시스템의 구성도이다.1 is a configuration diagram of a can communication system of a general vehicle.

도 1과 같이, 차량의 각종 전자 제어 장치들(106)은 캔 버스(104)를 통해 서로 연결될 수 있다. 캔 버스(104)의 캔 하이 통신 라인(CAN_H)과 캔 로우 통신 라인(CAN_L)을 통해 각종 데이터가 전송되면, 전자 제어 장치(106)는 캔 트랜시버(102)를 통해 캔 버스(104)로부터 데이터를 수신할 수 있다. 또한, 전자 제어 장치(106)의 데이터를 캔 트랜시버(102)를 통해 캔 버스(104)로 전송하고, 캔 버스(104)를 통해 다른 전자 제어 장치에서 데이터를 수신할 수 있다.1, the various electronic control devices 106 of the vehicle may be connected to each other via the CAN bus 104. [ When various data are transmitted through the CAN high communication line CAN_H and the CAN low communication line CAN_L of the CAN bus 104, the electronic control device 106 transmits data from the CAN bus 104 through the CAN transceiver 102 Lt; / RTI > Data of the electronic control unit 106 can also be transferred to the can bus 104 via the can transceiver 102 and data can be received from other electronic control units via the can bus 104. [

이러한 캔 통신 시스템은 각 전자 제어 장치의 데이터의 우선 순위에 따라 데이터를 전송한다. 예를 들어, 다수의 전자 제어 장치가 캔 버스(104)를 통해 동시에 데이터를 전송하고자 하는 경우 미리 정의된 식별자(ID)에 따라 캔 버스(104)로의 접근을 제한할 수 있다. 즉, 이와 같은 캔 통신 시스템에서는 각 노드의 데이터가 우선 순위에 따라 전송되며, 어느 하나의 캔 트랜시버에 오동작이 발생하는 경우에는 다른 노드의 데이터가 전송될 수 없어 전체적으로 데이터 전송이 지연되는 문제점이 존재한다.This can communication system transmits data according to the priority of data of each electronic control device. For example, when a plurality of electronic control apparatuses desire to simultaneously transmit data via the can bus 104, access to the can bus 104 may be restricted according to a predefined identifier (ID). That is, in such a CAN communication system, data of each node is transmitted according to a priority order. When a malfunction occurs in any one of the CAN transceivers, data of other nodes can not be transmitted, do.

또한, 캔 통신 시스템에는 각종 보호 회로 및 블록이 존재한다. 이러한 각종 보호 회로 및 블록은 에러를 감지하여 MCU(Micro control unit) 또는 외부 회로로 에러 코드 및 신호를 전달하게 된다. 에러 코드를 수신한 MCU는 시스템 설정 및 조건에 따라 리셋 명령을 내리며 전체 시스템은 초기화된다. 이때, 초기화된 시스템은 각 신호의 정상 동작을 위해 일정 시간이 필요하고 가장 불안정한 상태가 된다.There are various kinds of protection circuits and blocks in the CAN communication system. These various protection circuits and blocks detect errors and transmit error codes and signals to an MCU (Micro Control Unit) or an external circuit. Upon receiving the error code, the MCU issues a reset command according to the system settings and conditions, and the entire system is initialized. At this time, the initialized system needs a certain time for normal operation of each signal and becomes the most unstable state.

본 명세서의 실시 예들은 저전력 트랜시버(Low power transceiver)가 포함된 차량의 전자 제어 장치에서 긴급 모드를 지원할 수 있는, 긴급 모드를 지원하는 전자 제어 장치 및 그 동작 방법을 제공하고자 한다.Embodiments of the present invention provide an electronic control device supporting an emergency mode and an operation method thereof that can support an emergency mode in an electronic control device of a vehicle including a low power transceiver.

또한, 본 명세서의 실시 예들은 전자 제어 장치의 파워 온이 된 후, 긴급 모드로 동작하여 캔 트랜시버에 포함된 캔 버스 수신기 및 저전력 수신기를 각각 동작시켜 수신된 데이터를 비교하여 정상 데이터인지를 판단하고, 정상 데이터로 판단되면 그 수신된 데이터를 긴급 모드 데이터로 처리함으로써, 초기 파워 온 및 리셋 후의 불안정한 기간 동안 수신된 데이터의 정확성 여부를 판별하여 캔 트랜시버의 동작 안정성을 확보할 수 있는, 긴급 모드를 지원하는 전자 제어 장치 및 그 동작 방법을 제공하고자 한다.In addition, in the embodiments of the present invention, after the electronic control device is powered on, the CAN controller operates in the emergency mode, operates the CAN bus receiver and the low power receiver included in the CAN transceiver, respectively, And if it is determined that the received data is normal data, the received data is processed as emergency mode data to determine whether the received data is correct for an unstable period after the initial power-on and reset, thereby ensuring the operation stability of the can transceiver. And an operation method thereof.

본 명세서의 제1 측면에 따르면, 캔 버스로부터 데이터를 수신하는 수신 모드 및 상기 캔 버스로부터 데이터가 수신되지 않으면 상기 데이터를 수신하는 동작을 정지하는 슬립 모드 중 어느 하나의 모드로 동작하는 캔 버스 수신기; 상기 캔 버스 수신기를 상기 슬립 모드에서 상기 수신 모드로 전환시키는 웨이크업 모드 및 상기 캔 버스 수신기의 오동작시 상기 캔 버스 수신기를 대신하여 상기 캔 버스로부터 데이터를 수신하는 지원 모드 중 어느 하나의 모드로 동작하는 저전력 수신기; 긴급 모드 시, 상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터를 비교하여 정상 데이터인지를 판단하고, 정상 데이터로 판단되면 상기 수신된 데이터를 긴급 모드 데이터로 처리하는 긴급 모드 지원부; 및 파워 온이 된 후 상기 긴급 모드 지원부를 긴급 모드로 동작시켜 상기 처리된 데이터를 MCU(Micro Controller Unit)로 전송하는 제어부를 포함하는 전자 제어 장치가 제공될 수 있다.According to a first aspect of the present invention, there is provided a can bus receiver that operates in any one of a reception mode for receiving data from a can bus and a sleep mode for stopping the operation for receiving data from the can bus if no data is received from the can bus ; A wake-up mode in which the can bus receiver is switched from the sleep mode to the reception mode, and a support mode in which data is received from the can bus on behalf of the can bus receiver when the can bus receiver malfunctions Low power receiver; An emergency mode support unit for operating the can bus receiver and the low power receiver to compare received data with each other to determine whether the received data is normal data, and to process the received data into emergency mode data if determined to be normal data; And a control unit for operating the emergency mode support unit in an emergency mode after power on and transmitting the processed data to an MCU (Micro Controller Unit).

상기 긴급 모드 지원부는 상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터의 중간값(Median value) 또는 평균값(Average value)을 긴급 모드 데이터로 계산하여 상기 제어부로 전달할 수 있다.The emergency mode support unit may operate the can bus receiver and the low power receiver to calculate the median value or the average value of the received data as the emergency mode data and transmit the calculated emergency mode data to the controller.

상기 제어부는 상기 긴급 모드 지원부가 상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터 분석을 통해 기설정된 안정화 조건을 만족하는지를 확인하고, 상기 기설정된 안정화 조건을 만족하지 않으면, 상기 캔 버스 수신기 및 상기 저전력 수신기를 리셋(Reset)시키고, 파워 온이 된 후 상기 긴급 모드 지원부를 긴급 모드로 재동작시킬 수 있다.Wherein the control unit operates the can bus receiver and the low power receiver to check whether the emergency condition support unit satisfies a predetermined stabilization condition by analyzing the received data and if the predetermined stabilization condition is not satisfied, And resetting the low power receiver, and after the power is turned on, the emergency mode support unit can be restarted to the emergency mode.

상기 제어부는 상기 긴급 모드 지원부가 긴급 모드로 동작하는 도중에 상기 처리된 데이터를 분석하여 기설정된 안정화 조건을 만족하면 긴급 모드를 해제하여 상기 긴급 모드 지원부의 동작을 정지시키고, 상기 캔 버스 수신기가 캔 버스를 통해 데이터를 수신하도록 상기 캔 버스 수신기를 노멀 모드(Normal mode)로 동작시킬 수 있다.Wherein the controller analyzes the processed data while the emergency mode support unit is operating in the emergency mode and releases the emergency mode to stop the operation of the emergency mode support unit when the predetermined stabilization condition is satisfied, The CAN bus receiver can be operated in a normal mode to receive data via the CAN bus.

상기 장치는, 상기 캔 버스 수신기의 오류 정보를 검출하는 오류 검출부; 및 SPI(Serial Peripheral Interface) 통신을 통해 상기 검출된 오류 정보를 상기 MCU로 전송하고, 상기 오류 정보에 따라 상기 캔 버스 수신기 및 상기 저전력 수신기를 제어하기 위한 제어 신호를 수신하는 SPI 통신부를 더 포함할 수 있다.The apparatus comprises: an error detector for detecting error information of the can bus receiver; And an SPI communication unit for transmitting the detected error information to the MCU through SPI (Serial Peripheral Interface) communication and receiving a control signal for controlling the CAN bus receiver and the low power receiver according to the error information .

한편, 본 명세서의 제2 측면에 따르면, 캔 버스 수신기 및 저전력 수신기를 포함하는 전자 제어 장치의 동작 방법에 있어서, 상기 전자 제어 장치가 파워 온(Power ON)되는 단계; 파워 온이 된 후 상기 캔 버스 수신기 및 저전력 수신기를 긴급 모드로 동작시키는 단계; 긴급 모드로 동작 시, 상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터를 비교하여 정상 데이터인지를 판단하는 단계; 정상 데이터로 판단되면 상기 수신된 데이터를 긴급 모드 데이터로 처리하는 단계; 및 상기 긴급 모드에서 처리된 긴급 모드 데이터를 MCU로 전송하는 단계를 포함하는 전자 제어 장치의 동작 방법이 제공될 수 있다.According to a second aspect of the present invention, there is provided a method of operating an electronic control device including a can bus receiver and a low-power receiver, the method comprising: power-on the electronic control device; Operating the can bus receiver and the low-power receiver in an emergency mode after power-on; Operating the can bus receiver and the low-power receiver, respectively, to compare received data to determine whether the received data is normal data; Processing the received data into emergency mode data if it is determined to be normal data; And transmitting the emergency mode data processed in the emergency mode to the MCU.

상기 긴급 모드 데이터로 처리하는 단계는 상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터의 중간값 또는 평균값을 긴급 모드 데이터로 계산할 수 있다.The step of processing with the emergency mode data may calculate the intermediate value or the average value of the received data as the emergency mode data by operating the can bus receiver and the low power receiver, respectively.

상기 방법은, 상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터 분석을 통해 기설정된 안정화 조건을 만족하는지를 확인하는 단계; 및 상기 기설정된 안정화 조건을 만족하지 않으면, 상기 캔 버스 수신기 및 상기 저전력 수신기를 리셋(Reset)시키는 단계를 더 포함하고, 상기 리셋시키는 단계는 상기 파워 온시키는 단계부터 다시 수행할 수 있다.The method comprising the steps of: operating the can bus receiver and the low power receiver, respectively, and verifying whether a predetermined stabilization condition is satisfied through analysis of received data; And resetting the can bus receiver and the low power receiver if the predetermined stabilization condition is not satisfied, wherein the step of resetting can be performed again from the step of powering on.

상기 방법은, 긴급 모드로 동작하는 도중에 상기 처리된 데이터의 분석 통해 기설정된 안정화 조건이 만족되면 긴급 모드를 해제하는 단계; 및 상기 캔 버스 수신기가 캔 버스를 통해 데이터를 수신하도록 상기 캔 버스 수신기를 노멀 모드로 동작시키는 단계를 더 포함할 수 있다.Releasing the emergency mode when the predetermined stabilization condition is satisfied through the analysis of the processed data during operation in the emergency mode; And operating the can bus receiver in the normal mode so that the can bus receiver receives data via the can bus.

상기 방법은, 상기 캔 버스 수신기의 오류 정보를 검출하는 단계; SPI 통신을 통해 상기 검출된 오류 정보를 상기 MCU로 전송하는 단계; 및 상기 오류 정보에 따라 상기 캔 버스 수신기 및 상기 저전력 수신기를 제어하기 위한 제어 신호를 수신하는 단계를 더 포함할 수 있다.The method includes detecting error information of the CAN bus receiver; Transmitting the detected error information to the MCU through SPI communication; And receiving a control signal for controlling the can bus receiver and the low power receiver according to the error information.

본 명세서의 실시 예들은 저전력 트랜시버가 포함된 차량의 전자 제어 장치에서 긴급 모드를 지원할 수 있다.Embodiments of the present disclosure can support an emergency mode in an electronic control unit of a vehicle including a low-power transceiver.

또한, 본 명세서의 실시 예들은 전자 제어 장치의 파워 온이 된 후, 긴급 모드로 동작하여 캔 트랜시버에 포함된 캔 버스 수신기 및 저전력 수신기를 각각 동작시켜 수신된 데이터를 비교하여 정상 데이터인지를 판단하고, 정상 데이터로 판단되면 그 수신된 데이터를 긴급 모드 데이터로 처리함으로써, 초기 파워 온 및 리셋 후의 불안정한 기간 동안 수신된 데이터의 정확성 여부를 판별하여 캔 트랜시버의 동작 안정성을 확보할 수 있다.In addition, in the embodiments of the present invention, after the electronic control device is powered on, the CAN controller operates in the emergency mode, operates the CAN bus receiver and the low power receiver included in the CAN transceiver, respectively, , And if the data is determined to be normal data, the received data is processed as emergency mode data, so that the operation stability of the can transceiver can be ensured by determining whether the received data is correct during the initial power-on and the unstable period after the reset.

도 1은 일반적인 차량의 캔 통신 시스템의 구성도이다.
도 2는 본 명세서의 일 실시 예에 따른 긴급 모드를 지원하는 전자 제어 장치의 구성도이다.
도 3은 긴급 모드를 지원하는 전자 제어 장치에서의 동작 모드에 대한 설명도이다.
도 4는 본 명세서의 일 실시 예에 따른 긴급 모드를 지원하는 전자 제어 장치에서의 동작 방법에 대한 흐름도이다.
1 is a configuration diagram of a can communication system of a general vehicle.
FIG. 2 is a block diagram of an electronic control device supporting an emergency mode according to an embodiment of the present invention.
3 is an explanatory diagram of an operation mode in an electronic control device supporting an emergency mode.
4 is a flowchart of an operation method in an electronic control device supporting an emergency mode according to an embodiment of the present invention.

이하, 본 명세서의 실시 예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

실시 예를 설명함에 있어서 본 명세서가 속하는 기술 분야에 익히 알려져 있고 본 명세서와 직접적으로 관련이 없는 기술 내용에 대해서는 설명을 생략한다. 이는 불필요한 설명을 생략함으로써 본 명세서의 요지를 흐리지 않고 더욱 명확히 전달하기 위함이다.In describing the embodiments, descriptions of techniques which are well known in the technical field to which this specification belongs and which are not directly related to this specification are not described. This is for the sake of clarity without omitting the unnecessary explanation and without giving the gist of the present invention.

마찬가지 이유로 첨부 도면에 있어서 일부 구성요소는 과장되거나 생략되거나 개략적으로 도시되었다. 또한, 각 구성요소의 크기는 실제 크기를 전적으로 반영하는 것이 아니다. 각 도면에서 동일한 또는 대응하는 구성요소에는 동일한 참조 번호를 부여하였다.For the same reason, some of the components in the drawings are exaggerated, omitted, or schematically illustrated. Also, the size of each component does not entirely reflect the actual size. In the drawings, the same or corresponding components are denoted by the same reference numerals.

우선, 전자 제어 장치에 포함된 캔 트랜시버를 설명하기로 한다. 캔 트랜시버는 캔 버스 송신기, 저전력 수신기 및 캔 버스 송신기로 이루어질 수 있다. 즉, 일반적으로, 캔 트랜시버는 캔 버스로부터 데이터를 수신하여 전자 제어 장치로 전송하는 캔 버스 수신기, 전자 제어 장치의 데이터를 캔 버스를 통해 다른 전자 제어 장치로 전송하는 캔 버스 송신기 및 캔 버스 수신기와 캔 버스 송신기를 제어하기 위한 제어부로 이루어질 수 있다.First, the can transceiver included in the electronic control apparatus will be described. The can transceiver can be a CAN bus transmitter, a low power receiver and a CAN bus transmitter. That is, in general, the can transceiver includes a can bus receiver that receives data from the can bus and transmits it to the electronic control device, a can bus transmitter that transmits data from the electronic control device to another electronic control device via the can bus, And a control unit for controlling the CAN bus transmitter.

캔 트랜시버는 전자 제어 장치와 캔 버스 간의 데이터를 송수신하는 기능을 수행한다.The CAN transceiver performs the function of transmitting and receiving data between the electronic control unit and the CAN bus.

한편, 전자 제어 장치들 간에 데이터 송수신이 없는 경우에는 캔 트랜시버의 전력 소모를 최소화하기 위하여 캔 버스 수신기 또는 캔 버스 송신기를 슬립 모드로 제어하는 캔 트랜시버가 저전력 동작을 수행할 수 있다. 저전력 동작을 수행하는 캔 트랜시버의 캔 버스 수신기는 캔 버스로부터 데이터를 수신하여 전자 제어 장치로 전송하는 수신 모드와 캔 버스로부터 데이터가 수신되지 않으면 데이터 수신 동작을 정지하는 슬립 모드로 동작할 수 있다. 또한, 저전력 동작을 수행하는 캔 트랜시버는 캔 버스 수신기가 슬립 모드로 동작할 때 캔 버스 수신기를 웨이크업시키는 저전력 수신기를 포함할 수 있다.Meanwhile, if there is no data transmission / reception among the electronic control devices, the can transceiver that controls the can bus receiver or the can bus transmitter to the sleep mode can perform the low power operation in order to minimize the power consumption of the can transceiver. The can bus receiver of the can transceiver performing the low power operation can operate in the receiving mode in which data is received from the can bus and transmitted to the electronic control apparatus and in the sleep mode in which the data receiving operation is stopped if data is not received from the can bus. In addition, a can transceiver that performs low power operation may include a low power receiver that wakes up the can bus receiver when the can bus receiver is operating in the sleep mode.

도 2는 본 명세서의 일 실시 예에 따른 긴급 모드를 지원하는 전자 제어 장치의 구성도이다.FIG. 2 is a block diagram of an electronic control device supporting an emergency mode according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 본 명세서의 일 실시 예에 따른 긴급 모드를 지원하는 전자 제어 장치(200)는 캔 버스 수신기(210), 저전력 수신기(220), 긴급 모드 지원부(230), 오류 검출부(240), 제어부(250), SPI 통신부(260), 캔 버스 송신기(270) 및 MCU(Micro control unit)(280)를 포함한다. 여기서, 저전력 동작을 수행하는 저전력 캔 트랜시버는 캔 버스 수신기(210), 저전력 수신기(220), 제어부(250) 및 캔 버스 송신기(270)로 이루어질 수 있다.2, the electronic controller 200 supporting the emergency mode according to an embodiment of the present invention includes a CAN bus receiver 210, a low power receiver 220, an emergency mode support unit 230, A control unit 250, an SPI communication unit 260, a CAN bus transmitter 270, and a micro control unit (MCU) 280. Here, the low-power can transceiver that performs the low-power operation may be a can bus receiver 210, a low-power receiver 220, a controller 250, and a CAN bus transmitter 270.

이하, 도 2의 긴급 모드를 지원하는 전자 제어 장치(200)의 각 구성요소들의 구체적인 구성 및 동작을 설명한다.Hereinafter, the specific configuration and operation of each component of the electronic control device 200 supporting the emergency mode of FIG. 2 will be described.

본 명세서의 일 실시 예에 따른 전자 제어 장치(200)는 저전력 캔 트랜시버를 통해 캔 버스(202)와 연결된다. 저전력 캔 트랜시버는 전자 제어 장치(200)와 캔 버스(202) 간의 데이터를 송수신하는 기능을 수행한다. 이를 위하여, 저전력 캔 트랜시버는 전자 제어 장치(200)의 데이터를 캔 버스(202)를 통해 차량의 다른 전자 제어 장치로 캔 버스 송신기(270)를 통해 전송할 수 있다.The electronic control device 200 according to one embodiment of the present disclosure is connected to the CAN bus 202 through a low power can transceiver. The low power can transceiver performs a function of transmitting and receiving data between the electronic control device 200 and the CAN bus 202. [ To this end, the low power can transceiver may transmit data of the electronic control unit 200 via the CAN bus 202 to another electronic control unit of the vehicle via the CAN bus transmitter 270.

여기서, 전자 제어 장치(200)는 엔진 계통, 구동 계통, 제동 계통, 조향 계통을 마이크로 컴퓨터를 이용하여 전자적으로 제어하는 장치를 의미한다. 예를 들어, 전자 제어 장치(200)는 변속 제어장치(TCU: Transmission Control Unit), ABS 시스템과 같은 유닛, 시스템 등 캔 통신으로 연결되어 데이터 송수신이 가능한 제어 장치를 모두 포함할 수 있다.Here, the electronic control unit 200 means an apparatus for electronically controlling the engine system, the drive system, the braking system, and the steering system using a microcomputer. For example, the electronic control unit 200 may include a transmission control unit (TCU), a unit such as an ABS system, and a controller connected to the CAN communication system and capable of transmitting and receiving data.

캔 버스(202)는 캔 하이 통신 라인(CAN_H)과 캔 로우 통신 라인(CAN_L)으로 이루어질 수 있다. 차량의 전자 제어 장치들로부터 캔 하이 통신 라인(CAN_H) 및 캔 로우 통신 라인(CAN_L)에 인가되는 데이터는 저전력 캔 트랜시버를 통해 전자 제어 장치(200)로 전송될 수 있다. 또한, 전자 제어 장치(200)의 데이터는 저전력 캔 트랜시버를 통해 차량의 다른 전자 제어 장치들로 전송될 수 있다.The CAN bus 202 may be comprised of a CAN high communication line CAN_H and a CAN low communication line CAN_L. Data applied to the CAN high communication line CAN_H and the CAN low communication line CAN_L from the electronic control devices of the vehicle can be transmitted to the electronic control unit 200 through the low power CAN transceiver. Further, the data of the electronic control unit 200 can be transmitted to other electronic control units of the vehicle through the low power can transceiver.

캔 버스 수신기(210)는 캔 버스(202)로부터 수신한 데이터를 전자 제어 장치(200)로 전송하는 수신 모드 및 데이터 수신 동작을 정지하는 슬립 모드 중 어느 하나의 모드로 동작할 수 있다. 구체적으로, 캔 버스 수신기(210)가 수신 모드로 동작할 때, 캔 버스 수신기(210)는 캔 버스(202)로부터 데이터를 수신하여 전자 제어 장치(200)로 전송할 수 있다. 또한, 캔 버스 수신기(210)가 슬립 모드로 동작할 때 캔 버스 수신기(210)는 캔 버스(202)로부터 데이터를 수신하는 동작을 정지할 수 있다.The can bus receiver 210 can operate in any one of a reception mode for transmitting data received from the CAN bus 202 to the electronic control unit 200 and a sleep mode for stopping the data reception operation. Concretely, when the can bus receiver 210 operates in the receiving mode, the can bus receiver 210 can receive data from the can bus 202 and transmit it to the electronic control unit 200. Further, when the can bus receiver 210 operates in the sleep mode, the can bus receiver 210 can stop the operation of receiving data from the can bus 202. [

캔 버스 수신기(210)는 일정 시간 동안 캔 버스로부터 데이터가 수신되지 않으면 수신 모드에서 슬립 모드로 전환하거나, 제어부(250)의 제어에 의하여 수신 모드에서 슬립 모드로 전환될 수 있다. 캔 버스 수신기(210)가 슬립 모드로 동작하면 캔 버스 수신기(210)는 저전력 수신기(220)의 웨이크업 신호에만 응답하며, 그에 따라 캔 버스 수신기(210)는 웨이크업 신호의 응답에 필요한 최소의 전력만을 소모할 수 있다. 캔 버스 수신기(210)는 저전력 수신기(220)로부터 웨이크업 신호를 수신하면 슬립 모드에서 수신 모드로 전환하며, 캔 버스(202)로부터 수신한 데이터를 전자 제어 장치(200)로 전송할 수 있다.The can bus receiver 210 can switch from the receiving mode to the sleep mode or from the receiving mode to the sleep mode under the control of the controller 250 if no data is received from the can bus for a predetermined time. When the can bus receiver 210 operates in the sleep mode, the can bus receiver 210 responds only to the wake up signal of the low power receiver 220 so that the can bus receiver 210 can receive the minimum Only power can be consumed. When the can bus receiver 210 receives the wake up signal from the low power receiver 220, it switches from the sleep mode to the receiving mode and can transmit the data received from the can bus 202 to the electronic control unit 200.

저전력 수신기(220)는 캔 버스 수신기(210)를 슬립 모드에서 수신 모드로 전환시키는 웨이크업 모드 및 캔 버스 수신기의 오동작시 캔 버스 수신기(210)를 대신하여 캔 버스(202)로부터 수신한 데이터를 전자 제어 장치(200)로 전송하는 지원 모드 중 어느 하나의 모드로 동작할 수 있다.The low-power receiver 220 is configured to receive data received from the CAN bus 202 on behalf of the can bus receiver 210 in the wake-up mode for switching the can bus receiver 210 from the sleep mode to the receive mode, And to the electronic control unit 200. [0050] FIG.

상세하게는, 저전력 수신기(220)가 웨이크업 모드로 동작할 때 캔 버스(202)로부터 데이터가 수신되는지를 감지하고, 캔 버스(202)로부터 데이터가 수신되면 캔 버스 수신기(210)에 웨이크업 신호를 전송할 수 있다. 전술한 바와 같이 캔 버스 수신기(210)는 저전력 수신기(220)로부터 웨이크업 신호를 수신하면 슬립 모드에서 수신 모드로 전환하며, 캔 버스(202)로부터 수신한 데이터를 전자 제어 장치(200)로 전송한다.Specifically, when the low-power receiver 220 is operating in the wake-up mode, it senses whether data is received from the CAN bus 202, and when the data is received from the CAN bus 202, Signal can be transmitted. As described above, when the can bus receiver 210 receives the wake up signal from the low power receiver 220, the can bus receiver 210 switches from the sleep mode to the receiving mode and transmits the data received from the can bus 202 to the electronic control unit 200 do.

또한, 저전력 수신기(220)가 지원 모드로 동작할 때 캔 버스 수신기(210)의 오동작이 발생하면 저전력 수신기(220)가 캔 버스 수신기(210)를 대신하여 캔 버스 수신기(210)와 동일한 동작을 수행할 수 있다. 즉, 저전력 수신기(220)가 지원 모드로 동작할 때 캔 버스 수신기(210)의 오동작이 발생하면 캔 버스 수신기(210)를 대신하여 캔 버스(202)로부터 데이터를 수신하고, 수신한 데이터를 전자 제어 장치(200)로 전송하는 기능을 수행할 수 있다.When the low power receiver 220 operates in the support mode and the can bus receiver 210 malfunctions, the low power receiver 220 performs the same operation as the can bus receiver 210 on behalf of the can bus receiver 210 Can be performed. That is, when the low power receiver 220 operates in the support mode, if the can bus receiver 210 malfunctions, it receives data from the can bus 202 instead of the can bus receiver 210, To the control device (200).

한편, 긴급 모드에 대해서 구체적으로 살펴보면, 긴급 모드 지원부(230)는 긴급 모드 시, 캔 버스 수신기(210) 및 저전력 수신기(220)를 각각 동작시켜 수신된 데이터를 비교하여 정상 데이터인지를 판단한다. 상기 판단 결과, 긴급 모드 지원부(230)는 정상 데이터로 판단되면 그 수신된 데이터를 긴급 모드 데이터로 처리한다.In the emergency mode, the emergency mode support unit 230 operates the can bus receiver 210 and the low-power receiver 220 in the emergency mode to compare the received data and determine whether the data is normal data. If it is determined that the data is normal data, the emergency mode support unit 230 processes the received data as emergency mode data.

여기서, 긴급 모드 지원부(230)는 캔 버스 수신기(210) 및 저전력 수신기(220)를 각각 동작시켜 수신된 데이터의 중간값(Median value)을 긴급 모드 데이터로 계산하여 제어부(250)로 전달할 수 있다. 또한, 긴급 모드 지원부(230)는 캔 버스 수신기(210) 및 저전력 수신기(220)를 각각 동작시켜 수신된 데이터의 평균값(Average value)을 긴급 모드 데이터로 계산하여 제어부(250)로 전달할 수 있다.The emergency mode support unit 230 may operate the can bus receiver 210 and the low power receiver 220 to calculate the median value of the received data as the emergency mode data and transmit the calculated emergency mode data to the controller 250 . The emergency mode support unit 230 may operate the can bus receiver 210 and the low power receiver 220 to calculate the average value of the received data as the emergency mode data and transmit the calculated average value to the control unit 250.

제어부(250)는 캔 버스 수신기(210)의 제어 모드에 따라 저전력 수신기(220)의 모드를 제어하는 기능을 수행한다. 상세하게는, 캔 버스 수신기(210)가 슬립 모드일 때 저전력 수신기(220)를 웨이크업 모드로 제어하고, 캔 버스 수신기(210)가 수신 모드일 때 저전력 수신기(220)를 지원 모드로 제어할 수 있다.The control unit 250 controls the mode of the low power receiver 220 according to the control mode of the can bus receiver 210. The low power receiver 220 is controlled in the wakeup mode when the can bus receiver 210 is in the sleep mode and the low power receiver 220 is controlled in the support mode when the can bus receiver 210 is in the receive mode .

긴급 모드 동작 시, 제어부(250)는 파워 온이 된 후 긴급 모드 지원부(230)를 긴급 모드로 동작시킨다. 그러면, 긴급 모드 지원부(230)에서 처리된 데이터를 MCU(280)로 전송한다.In the emergency mode operation, the control unit 250 operates the emergency mode support unit 230 in the emergency mode after power on. Then, the emergency mode support unit 230 transmits the processed data to the MCU 280.

긴급 모드 동작 시, 제어부(250)는 긴급 모드 지원부(230)에서 비정상 데이터로 판단되면 캔 버스 수신기(210) 및 저전력 수신기(220)를 리셋(Reset)시킨다. 그리고 전자 제어 장치(200) 또는 저전력 캔 트랜시버가 파워 온이 된 후, 제어부(250)는 긴급 모드 지원부(230)를 긴급 모드로 재동작시킬 수 있다.In operation of the emergency mode, the control unit 250 resets the can bus receiver 210 and the low power receiver 220 when the emergency mode support unit 230 determines that the data is abnormal. After the electronic control unit 200 or the low-power can transceiver is powered on, the controller 250 can restart the emergency mode support unit 230 in the emergency mode.

제어부(250)는 긴급 모드 지원부(230)가 긴급 모드로 동작하는 도중에 긴급 모드 지원부(230)에서 처리된 데이터를 분석하여 기설정된 안정화 조건을 만족하는지를 확인할 수 있다. 상기 확인 결과, 제어부(250)는 긴급 모드를 해제하여 긴급 모드 지원부(230)의 동작을 정지시킬 수 있다. 그리고 제어부(250)는 캔 버스 수신기(210)가 캔 버스(202)를 통해 데이터를 수신하도록 캔 버스 수신기(210)를 노멀 모드(Normal mode)로 동작시킬 수 있다.The control unit 250 may analyze the data processed by the emergency mode support unit 230 during the operation of the emergency mode support unit 230 in the emergency mode to confirm whether or not the predetermined stabilization condition is satisfied. As a result of checking, the controller 250 can cancel the emergency mode and stop the operation of the emergency mode support unit 230. The control unit 250 may operate the can bus receiver 210 in the normal mode so that the can bus receiver 210 receives data via the can bus 202. [

한편, 오류 검출부(240)는 캔 버스 수신기(210)의 오류 정보를 검출하는 기능을 수행한다. 여기서, 오류 정보는 캔 버스 수신기(210)의 전원 단락, 접지 단락, 과전류 및 과온도 중 적어도 하나를 포함할 수 있다.On the other hand, the error detector 240 detects error information of the can-bus receiver 210. Here, the error information may include at least one of a power short circuit, a ground short circuit, an over current, and an over temperature of the can bus receiver 210.

SPI 통신부(260)는 SPI(Serial Peripheral Interface) 통신 방식을 이용하여 오류 정보를 MCU(280)로 전송하고, MCU(280)로부터 캔 버스 수신기(210) 및 저전력 수신기(220)를 제어하기 위한 제어 신호를 수신할 수 있다.The SPI communication unit 260 transmits error information to the MCU 280 using the SPI (Serial Peripheral Interface) communication method and controls the MCU 280 to control the CAN bus receiver 210 and the low- Signal can be received.

저전력 수신기(220)가 지원 모드로 동작할 때 캔 버스 수신기(210)의 오동작이 발생하면 오류 검출부(240)가 캔 버스 수신기(210)의 오류 정보를 검출할 수 있다. SPI 통신부(260)는 검출된 오류 정보를 SPI 통신을 통해 MCU(280)로 전송할 수 있다. MCU(280)는 저전력 수신기(220)가 캔 버스 수신기(210)를 대신하여 캔 버스(202)로부터 데이터를 수신하고, 수신한 데이터를 전자 제어 장치(200)로 전송하도록 제어하기 위한 제어 신호를 SPI 통신부(260)에 전송할 수 있다.When the low power receiver 220 operates in the support mode, if the can bus receiver 210 malfunctions, the error detector 240 can detect the error information of the can bus receiver 210. The SPI communication unit 260 can transmit the detected error information to the MCU 280 through the SPI communication. The MCU 280 receives a control signal for controlling the low power receiver 220 to receive data from the can bus 202 on behalf of the can bus receiver 210 and to transmit the received data to the electronic control unit 200 To the SPI communication unit 260.

한편, 캔 버스(202)로부터 데이터가 수신되지 않는 경우 캔 버스 수신기(210)는 슬립 모드로 전환하며, 제어부(250)는 저전력 수신기(220)를 웨이크업 모드로 제어할 수 있다.On the other hand, if no data is received from the can bus 202, the can bus receiver 210 switches to the sleep mode, and the controller 250 can control the low power receiver 220 in the wake up mode.

이 경우, 캔 버스 수신기(210)는 캔 버스(202)로부터 데이터를 수신하는 동작을 정지하고, 저전력 수신기(220)의 웨이크업 신호에만 응답한다. 저전력 수신기(220)는 캔 버스(202)로부터 데이터가 수신되면 캔 버스 수신기(210)에 웨이크업 신호를 전송할 수 있다. 그 결과, 캔 버스 수신기(210)는 웨이크업 신호를 수신하여 슬립 모드에서 수신 모드로 전환하며, 캔 버스(202)로부터 수신한 데이터를 전자 제어 장치(200)로 전송한다.In this case, the CANBASE receiver 210 stops the operation of receiving data from the CAN bus 202 and responds only to the wake-up signal of the low-power receiver 220. The low power receiver 220 may send a wake up signal to the can bus receiver 210 upon receipt of data from the can bus 202. As a result, the can bus receiver 210 receives the wake up signal, switches from the sleep mode to the receiving mode, and transmits the data received from the can bus 202 to the electronic control unit 200.

캔 버스 수신기(210)가 수신 모드로 동작할 때 오류 검출부(240)가 캔 버스 수신기(210)의 오류 정보를 검출한다. SPI 통신부(260)는 SPI 통신을 통해 오류 정보를 MCU(280)로 전송하고, MCU(280)부터 제어 신호를 수신한다.When the can bus receiver 210 operates in the receiving mode, the error detector 240 detects the error information of the can bus receiver 210. The SPI communication unit 260 transmits error information to the MCU 280 through the SPI communication and receives a control signal from the MCU 280.

제어부(250)는 MCU(280)로부터 수신한 제어 신호에 따라 저전력 수신기(220)를 제어하며, 저전력 수신기(220)는 제어부(250)의 제어 신호에 따라 캔 버스 수신기(210)를 대신하여 캔 버스(202)로부터 데이터를 수신하고, 수신한 데이터를 전자 제어 장치(200)로 전송한다.The control unit 250 controls the low power receiver 220 in accordance with the control signal received from the MCU 280. The low power receiver 220 receives the CAN bus receiver 210 in place of the CAN bus receiver 210, Receives data from the bus (202), and transmits the received data to the electronic control unit (200).

그 결과, 저전력 캔 트랜시버에 의하면, 캔 버스 수신기(210)에 오작동이 발생하더라도 저전력 수신기(220)가 캔 버스 수신기(210)의 동작을 대신하므로 캔 통신의 데이터 전송에 지연이 발생하지 않는다.As a result, according to the low power can transceiver, since the low power receiver 220 replaces the operation of the can bus receiver 210 even if a malfunction occurs in the can bus receiver 210, no delay occurs in data transmission of the can communication.

저전력 수신기(220)는 캔 버스 수신기(210)가 수신 모드로 동작할 때, 캔 버스 수신기(210)에 오작동이 발생하면 캔 버스 수신기(210)를 대신하여 데이터를 수신하는 동작을 수행한다. 따라서, MCU(280)가 오작동이 발생한 저전력 캔 트랜시버를 리셋시키지 않고도 저전력 수신기(220)를 통해 데이터 전송이 수행될 수 있으며, 종래의 저전력 캔 트랜시버에서 발생하는 데이터 전송 지연의 문제가 발생하지 않는다. 동시에, 캔 버스 수신기(210)가 슬립 모드로 동작할 때 저전력 수신기(220)가 웨이크업 모드로 동작하므로, 전자 제어 장치들 간의 캔 통신을 최소 전력으로 유지할 수 있는 장점이 있다.The low power receiver 220 performs an operation of receiving data in place of the can bus receiver 210 when a malfunction occurs in the can bus receiver 210 when the can bus receiver 210 operates in the receiving mode. Therefore, data transmission can be performed through the low power receiver 220 without resetting the low power can transceiver in which the MCU 280 malfunctions, and there is no problem of data transmission delay occurring in the conventional low power can transceiver. At the same time, since the low power receiver 220 operates in the wakeup mode when the can bus receiver 210 operates in the sleep mode, there is an advantage that the can communication between the electronic control devices can be kept at the minimum power.

변형 예에 따르면, 본 명세서의 일 실시 예에 따른 전자 제어 장치(200)의 구성부 중 해당 변형 예에 불필요한 기능 및 구성부가 생략되거나, 일부 구성부가 통합될 수 있다. 일례로, 긴급 모드로 동작 시, 캔 버스 수신기(210) 및 저전력 수신기(220)에서 각각 수신된 데이터를 비교하여 정상 데이터인지를 판단하고, 정상 데이터로 판단되면 그 수신된 데이터를 긴급 모드 데이터로 처리하는 긴급 모드 지원부(230)는 제어부(250)에 통합될 수 있다.According to the modified example, unnecessary functions and components of the configuration of the electronic control unit 200 according to the embodiment of the present invention may be omitted, or some configuration units may be incorporated. For example, when operating in the emergency mode, the can bus receiver 210 and the low-power receiver 220 compare the received data with each other to determine whether the data is normal data. If the data is determined to be normal data, The emergency mode support unit 230 may be integrated into the control unit 250.

도 3은 긴급 모드를 지원하는 전자 제어 장치에서의 동작 모드에 대한 설명도이다.3 is an explanatory diagram of an operation mode in an electronic control device supporting an emergency mode.

도 3에 도시된 바와 같이, 저전력 캔 트랜시버를 통해 캔 버스(202)와 연결된 전자 제어 장치(200)는 파워 온(Power ON) 이후에 긴급 모드(Emergency mode)로 동작한다. 이때, 전자 제어 장치(200)는 긴급 모드로 동작 시에 안정화되지 않으면, 리셋 이후에 다시 파워 온 단계부터 동작하게 된다.As shown in FIG. 3, the electronic control unit 200 connected to the CAN bus 202 through the low-power CAN transceiver operates in an emergency mode after power-on. At this time, if the electronic control unit 200 is not stabilized at the time of operation in the emergency mode, the electronic control unit 200 operates from the power-on step after the reset.

긴급 모드 동작 시, 전자 제어 장치(200)는 캔 버스 수신기(210) 및 저전력 수신기(220)에서 각각 수신된 데이터를 비교하여 정상 데이터인지를 판단하는 동작과, 정상 데이터로 판단되면 그 수신된 데이터를 긴급 모드 데이터로 처리하는 동작을 수행할 수 있다.In the emergency mode operation, the electronic controller 200 compares the data received by the can bus receiver 210 and the low power receiver 220 to determine whether the received data is normal data. If the data is determined to be normal data, To the emergency mode data.

그리고 긴급 모드가 해제되면, 전자 제어 장치(200)는 대기 모드(Stand-by mode), 노멀 모드(Normal operation mode), 수신 모드(Receive only mode) 및 슬립 모드(Sleep mode) 중에서 어느 하나의 모드로 동작할 수 있다.When the emergency mode is canceled, the electronic control unit 200 determines whether any one of a standby mode, a normal operation mode, a receive only mode, and a sleep mode .

도 4는 본 명세서의 일 실시 예에 따른 긴급 모드를 지원하는 전자 제어 장치에서의 동작 방법에 대한 흐름도이다.4 is a flowchart of an operation method in an electronic control device supporting an emergency mode according to an embodiment of the present invention.

전자 제어 장치(200)는 파워 온(Power ON)된다(S402).The electronic control unit 200 is powered on (S402).

파워 온(S402)이 된 후, 전자 제어 장치(200)는 캔 버스 수신기(210) 및 저전력 수신기(220)를 긴급 모드로 동작시킨다(S404).After the power-on operation S402, the electronic control unit 200 operates the can-bus receiver 210 and the low-power receiver 220 in the emergency mode (S404).

이때, 전자 제어 장치(200)는 긴급 모드로 동작 시, 캔 버스 수신기(210) 및 저전력 수신기(220)를 각각 동작시켜 수신된 데이터를 긴급 모드 지원부(230)를 통해 비교하여 정상 데이터인지를 판단한다. 상기 판단 결과, 정상 데이터로 판단되면, 전자 제어 장치(200)는 수신된 데이터를 긴급 모드 데이터로 처리한다. 여기서, 전자 제어 장치(200)는 캔 버스 수신기(210) 및 저전력 수신기(220)를 각각 동작시켜 수신된 데이터의 중간값 또는 평균값을 긴급 모드 데이터로 계산할 수 있다.At this time, when the electronic control unit 200 operates in the emergency mode, the CAN bus receiver 210 and the low-power receiver 220 are operated to compare the received data through the emergency mode support unit 230, do. If it is determined that the data is normal data, the electronic control unit 200 processes the received data as emergency mode data. Here, the electronic control unit 200 can operate the can bus receiver 210 and the low-power receiver 220 to calculate the median value or the average value of the received data as the emergency mode data.

이후, 전자 제어 장치(200)는 캔 버스 수신기(210) 및 저전력 수신기(220)를 각각 동작시켜 수신된 데이터 분석을 통해 기설정된 안정화 조건을 만족하는지를 확인한다(S406).Thereafter, the electronic control unit 200 operates the can bus receiver 210 and the low-power receiver 220, respectively, and checks whether the predetermined condition is satisfied through analysis of the received data (S406).

상기 확인 결과(S406), 기설정된 안정화 조건을 만족하지 않으면, 전자 제어 장치(200)는 전자 제어 장치(200) 또는 저전력 캔 트랜시버를 리셋시킨다(S408). 이어서, 전자 제어 장치(200)는 파워 온 단계(S402)부터 다시 수행한다.If the predetermined stabilization condition is not satisfied (S406), the electronic control unit 200 resets the electronic control unit 200 or the low power can transceiver (S408). Then, the electronic control device 200 performs the power-on step S402 again.

한편, 상기 확인 결과(S406), 기설정된 안정화 조건을 만족하면, 전자 제어 장치(200)는 캔 버스 수신기(210) 및 저전력 수신기(220)를 노멀 모드로 동작시킨다(S410).If the predetermined stabilization condition is satisfied (S406), the electronic controller 200 operates the can bus receiver 210 and the low-power receiver 220 in the normal mode (S410).

그리고 전자 제어 장치(200)는 오류 검출부(240)를 통해 캔 버스 수신기(210)의 오류 정보를 검출한다(S412).Then, the electronic control unit 200 detects error information of the can-bus receiver 210 through the error detection unit 240 (S412).

이후, 전자 제어 장치(200)는 오류 검출 결과에 따라 기설정된 초기화 조건을 만족하는지를 확인한다(S414).Thereafter, the electronic control apparatus 200 confirms whether or not the predetermined initialization condition is satisfied according to the error detection result (S414).

상기 확인 결과(S414), 기설정된 초기화 조건을 만족하지 않으면, 전자 제어 장치(200)는 캔 버스 수신기(210) 및 저전력 수신기(220)를 노멀 모드로 동작시키는 S410 단계부터 반복하여 수행한다.If the initialization condition is not satisfied (S414), the electronic controller 200 repeatedly performs the operation from the step S410 for operating the can-bus receiver 210 and the low-power receiver 220 in the normal mode.

한편, 상기 확인 결과(S414), 기설정된 안정화 조건을 만족하면, 전자 제어 장치(200)는 전자 제어 장치(200) 또는 저전력 캔 트랜시버를 리셋시키는 S408 및 S402 단계부터 다시 수행한다.On the other hand, if it is determined in step S414 that the predetermined stabilization condition is satisfied, the electronic control apparatus 200 repeats steps S408 and S402 for resetting the electronic control unit 200 or the low power can transceiver.

본 명세서가 속하는 기술분야의 통상의 지식을 가진 자는 본 명세서가 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시 예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 본 명세서의 범위는 상기 상세한 설명보다는 후술하는 특허청구의 범위에 의하여 나타내어지며, 특허청구의 범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 명세서의 범위에 포함되는 것으로 해석되어야 한다.It will be understood by those skilled in the art that the present specification may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive. The scope of the present specification is defined by the appended claims rather than the foregoing detailed description, and all changes or modifications derived from the meaning and scope of the claims and their equivalents are included in the scope of the present specification Should be interpreted.

한편, 본 명세서와 도면에는 본 명세서의 바람직한 실시 예에 대하여 개시하였으며, 비록 특정 용어들이 사용되었으나, 이는 단지 본 명세서의 기술 내용을 쉽게 설명하고 발명의 이해를 돕기 위한 일반적인 의미에서 사용된 것이지, 본 명세서의 범위를 한정하고자 하는 것은 아니다. 여기에 개시된 실시 예 외에도 본 명세서의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은 본 명세서가 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명한 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, It is not intended to limit the scope of the specification. It will be apparent to those skilled in the art that other modifications based on the technical idea of the present invention are possible in addition to the embodiments disclosed herein.

200: 전자 제어 장치
202: 캔 버스
210: 캔 버스 수신기
220: 저전력 수신기
230: 긴급 모드 지원부
240: 오류 검출부
250: 제어부
260: SPI 통신부
270: 캔 버스 송신기
280: MCU
200: Electronic control device
202: Can Bus
210: CAN bus receiver
220: Low Power Receiver
230: Emergency mode support
240: Error detector
250:
260: SPI communication unit
270: CAN bus transmitter
280: MCU

Claims (10)

캔 버스로부터 데이터를 수신하는 수신 모드 및 상기 캔 버스로부터 데이터가 수신되지 않으면 상기 데이터를 수신하는 동작을 정지하는 슬립 모드 중 어느 하나의 모드로 동작하는 캔 버스 수신기;
상기 캔 버스 수신기를 상기 슬립 모드에서 상기 수신 모드로 전환시키는 웨이크업 모드 및 상기 캔 버스 수신기의 오동작시 상기 캔 버스 수신기를 대신하여 상기 캔 버스로부터 데이터를 수신하는 지원 모드 중 어느 하나의 모드로 동작하는 저전력 수신기;
긴급 모드 시, 상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터를 비교하여 정상 데이터인지를 판단하고, 정상 데이터로 판단되면 상기 수신된 데이터를 긴급 모드 데이터로 처리하는 긴급 모드 지원부; 및
파워 온이 된 후 상기 긴급 모드 지원부를 긴급 모드로 동작시켜 상기 처리된 데이터를 MCU(Micro Controller Unit)로 전송하는 제어부
를 포함하는 전자 제어 장치.
A CAN bus receiver operating in any one of a reception mode for receiving data from the CAN bus and a sleep mode for stopping the operation for receiving the data if no data is received from the CAN bus;
A wake-up mode in which the can bus receiver is switched from the sleep mode to the reception mode, and a support mode in which data is received from the can bus on behalf of the can bus receiver when the can bus receiver malfunctions Low power receiver;
An emergency mode support unit for operating the can bus receiver and the low power receiver to compare received data with each other to determine whether the received data is normal data, and to process the received data into emergency mode data if determined to be normal data; And
A control unit for operating the emergency mode support unit in an emergency mode and transmitting the processed data to an MCU (Micro Controller Unit)
And an electronic control unit.
제1항에 있어서,
상기 긴급 모드 지원부는
상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터의 중간값(Median value) 또는 평균값(Average value)을 긴급 모드 데이터로 계산하여 상기 제어부로 전달하는 전자 제어 장치.
The method according to claim 1,
The emergency mode support unit
The canbus receiver and the low-power receiver, respectively, and calculates a median value or an average value of the received data as emergency mode data, and transmits the calculated emergency mode data to the controller.
제1항에 있어서,
상기 제어부는
상기 긴급 모드 지원부가 상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터 분석을 통해 기설정된 안정화 조건을 만족하는지를 확인하고, 상기 기설정된 안정화 조건을 만족하지 않으면, 상기 캔 버스 수신기 및 상기 저전력 수신기를 리셋(Reset)시키고, 파워 온이 된 후 상기 긴급 모드 지원부를 긴급 모드로 재동작시키는 전자 제어 장치.
The method according to claim 1,
The control unit
Wherein the emergency mode support unit operates each of the can bus receiver and the low power receiver to check whether or not a predetermined stabilization condition is satisfied through analysis of received data and if the predetermined stabilization condition is not satisfied, Resetting the receiver, and re-operating the emergency mode support unit to the emergency mode after the power is turned on.
제1항에 있어서,
상기 제어부는
상기 긴급 모드 지원부가 긴급 모드로 동작하는 도중에 상기 처리된 데이터를 분석하여 기설정된 안정화 조건을 만족하면 긴급 모드를 해제하여 상기 긴급 모드 지원부의 동작을 정지시키고, 상기 캔 버스 수신기가 캔 버스를 통해 데이터를 수신하도록 상기 캔 버스 수신기를 노멀 모드(Normal mode)로 동작시키는 전자 제어 장치.
The method according to claim 1,
The control unit
Wherein the emergency mode support unit analyzes the processed data while the emergency mode support unit is operating in the emergency mode, and stops the operation of the emergency mode support unit by canceling the emergency mode if the predetermined stabilization condition is satisfied, To operate the can bus receiver in a normal mode.
제1항에 있어서,
상기 캔 버스 수신기의 오류 정보를 검출하는 오류 검출부; 및
SPI(Serial Peripheral Interface) 통신을 통해 상기 검출된 오류 정보를 상기 MCU로 전송하고, 상기 오류 정보에 따라 상기 캔 버스 수신기 및 상기 저전력 수신기를 제어하기 위한 제어 신호를 수신하는 SPI 통신부
를 더 포함하는 전자 제어 장치.
The method according to claim 1,
An error detector for detecting error information of the CANBASE receiver; And
An SPI communication unit for transmitting the detected error information to the MCU through SPI (Serial Peripheral Interface) communication and receiving a control signal for controlling the CAN bus receiver and the low power receiver according to the error information,
And an electronic control unit.
캔 버스 수신기 및 저전력 수신기를 포함하는 전자 제어 장치의 동작 방법에 있어서,
상기 전자 제어 장치가 파워 온(Power ON)되는 단계;
파워 온이 된 후 상기 캔 버스 수신기 및 저전력 수신기를 긴급 모드로 동작시키는 단계;
긴급 모드로 동작 시, 상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터를 비교하여 정상 데이터인지를 판단하는 단계;
정상 데이터로 판단되면 상기 수신된 데이터를 긴급 모드 데이터로 처리하는 단계; 및
상기 긴급 모드에서 처리된 긴급 모드 데이터를 MCU로 전송하는 단계
를 포함하는 전자 제어 장치의 동작 방법.
A method of operating an electronic control device including a can bus receiver and a low power receiver,
A step in which the electronic control unit is powered on;
Operating the can bus receiver and the low-power receiver in an emergency mode after power-on;
Operating the can bus receiver and the low-power receiver, respectively, to compare received data to determine whether the received data is normal data;
Processing the received data into emergency mode data if it is determined to be normal data; And
Transmitting the emergency mode data processed in the emergency mode to the MCU
And a control unit for controlling the operation of the electronic control unit.
제6항에 있어서,
상기 긴급 모드 데이터로 처리하는 단계는
상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터의 중간값 또는 평균값을 긴급 모드 데이터로 계산하는 전자 제어 장치의 동작 방법.
The method according to claim 6,
The step of processing with the emergency mode data
And operating the can bus receiver and the low power receiver to calculate an intermediate value or an average value of the received data as the emergency mode data.
제6항에 있어서,
상기 캔 버스 수신기 및 상기 저전력 수신기를 각각 동작시켜 수신된 데이터 분석을 통해 기설정된 안정화 조건을 만족하는지를 확인하는 단계; 및
상기 기설정된 안정화 조건을 만족하지 않으면, 상기 캔 버스 수신기 및 상기 저전력 수신기를 리셋시키는 단계를 더 포함하고,
상기 리셋시키는 단계는 상기 파워 온시키는 단계부터 다시 수행하는 전자 제어 장치의 동작 방법.
The method according to claim 6,
Operating the can bus receiver and the low power receiver, respectively, and checking whether the predetermined condition is satisfied through data analysis; And
Further comprising resetting the can bus receiver and the low power receiver if the predetermined stabilization condition is not satisfied,
Wherein the step of resetting is performed again from the power-on step.
제6항에 있어서,
긴급 모드로 동작하는 도중에 상기 처리된 데이터의 분석 통해 기설정된 안정화 조건이 만족되면 긴급 모드를 해제하는 단계; 및
상기 캔 버스 수신기가 캔 버스를 통해 데이터를 수신하도록 상기 캔 버스 수신기를 노멀 모드로 동작시키는 단계
를 더 포함하는 전자 제어 장치의 동작 방법.
The method according to claim 6,
Releasing the emergency mode when the predetermined stabilization condition is satisfied through the analysis of the processed data during operation in the emergency mode; And
Operating the can bus receiver in a normal mode so that the can bus receiver receives data via the can bus
Further comprising the steps of:
제6항에 있어서,
상기 캔 버스 수신기의 오류 정보를 검출하는 단계;
SPI 통신을 통해 상기 검출된 오류 정보를 상기 MCU로 전송하는 단계; 및
상기 오류 정보에 따라 상기 캔 버스 수신기 및 상기 저전력 수신기를 제어하기 위한 제어 신호를 수신하는 단계
를 더 포함하는 전자 제어 장치의 동작 방법.
The method according to claim 6,
Detecting error information of the CANBASE receiver;
Transmitting the detected error information to the MCU through SPI communication; And
Receiving a control signal for controlling the can bus receiver and the low power receiver according to the error information
Further comprising the steps of:
KR1020140183213A 2014-12-18 2014-12-18 Electronic control apparatus for supporting emergency mode and operating method thereof KR101647695B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140183213A KR101647695B1 (en) 2014-12-18 2014-12-18 Electronic control apparatus for supporting emergency mode and operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140183213A KR101647695B1 (en) 2014-12-18 2014-12-18 Electronic control apparatus for supporting emergency mode and operating method thereof

Publications (2)

Publication Number Publication Date
KR20160074199A KR20160074199A (en) 2016-06-28
KR101647695B1 true KR101647695B1 (en) 2016-08-11

Family

ID=56366180

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140183213A KR101647695B1 (en) 2014-12-18 2014-12-18 Electronic control apparatus for supporting emergency mode and operating method thereof

Country Status (1)

Country Link
KR (1) KR101647695B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102471007B1 (en) * 2018-04-09 2022-11-25 현대자동차주식회사 In-vehicle controller and method for controlling the same
CN111284424A (en) * 2018-12-10 2020-06-16 大陆汽车电子(连云港)有限公司 Power management method and power management system
CN110341723B (en) * 2019-06-27 2021-12-03 东软睿驰汽车技术(沈阳)有限公司 Vehicle control method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009532949A (en) 2006-03-31 2009-09-10 フリースケール セミコンダクター インコーポレイテッド Message buffering method and unit for a receiving device on a communication bus
JP2011039702A (en) 2009-08-07 2011-02-24 Autonetworks Technologies Ltd Control system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990033006A (en) * 1997-10-22 1999-05-15 구자홍 How to change micom operation mode
KR101512493B1 (en) * 2009-02-06 2015-04-15 삼성전자주식회사 Low power system-on-chip

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009532949A (en) 2006-03-31 2009-09-10 フリースケール セミコンダクター インコーポレイテッド Message buffering method and unit for a receiving device on a communication bus
JP2011039702A (en) 2009-08-07 2011-02-24 Autonetworks Technologies Ltd Control system

Also Published As

Publication number Publication date
KR20160074199A (en) 2016-06-28

Similar Documents

Publication Publication Date Title
KR101393539B1 (en) Integrated network system for vehicle
US9251632B2 (en) Vehicle diagnostic system
US20130285445A1 (en) Circuit Arrangement Comprising a Monitoring Device
JP2011189918A (en) Vehicular control device
KR101526413B1 (en) Transceiver ic and operationg mwethod thereof
US9128719B2 (en) Controlling circuit with power saving mechanism and method thereof
KR101647695B1 (en) Electronic control apparatus for supporting emergency mode and operating method thereof
US9411609B2 (en) Electronic control apparatus
US20190184774A1 (en) Tire pressure monitoring system
JP2015199444A (en) Electronic control device
US9162540B2 (en) Apparatus for tire pressure monitoring, information transmissing method thereof and integrated receiver system
US9659415B2 (en) Apparatus for warning of occurrence of error of device
JP6384332B2 (en) Electronic control unit
US8804750B2 (en) Field device
KR101919208B1 (en) Method for monitoring an apparatus connected to a communication channel
KR101173087B1 (en) Control apparatus and control method of vehicle
US10601235B2 (en) Electronic control unit including a forcible power supply interruption determination
KR101558387B1 (en) System and method for sleep control of vehicle
KR101372215B1 (en) A electrical apparatus controlling system of car
KR101568095B1 (en) Low power can transeiver and operating method thereof
JP2009248711A (en) On-vehicle communication system
KR101765128B1 (en) Method and apparatus for avoiding noise in no contact charging system
JP2009267853A (en) Communication system and communication method
JP5867350B2 (en) Electronic control device for vehicle
KR101524143B1 (en) An electronic control unit and a movement control method for partial communication networking

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
FPAY Annual fee payment

Payment date: 20190725

Year of fee payment: 4