KR20100086211A - Gateway device for car - Google Patents

Gateway device for car Download PDF

Info

Publication number
KR20100086211A
KR20100086211A KR1020090005451A KR20090005451A KR20100086211A KR 20100086211 A KR20100086211 A KR 20100086211A KR 1020090005451 A KR1020090005451 A KR 1020090005451A KR 20090005451 A KR20090005451 A KR 20090005451A KR 20100086211 A KR20100086211 A KR 20100086211A
Authority
KR
South Korea
Prior art keywords
microcontroller
gateway device
messages
priority
vehicle
Prior art date
Application number
KR1020090005451A
Other languages
Korean (ko)
Other versions
KR100976710B1 (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 KR1020090005451A priority Critical patent/KR100976710B1/en
Publication of KR20100086211A publication Critical patent/KR20100086211A/en
Application granted granted Critical
Publication of KR100976710B1 publication Critical patent/KR100976710B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40143Bus networks involving priority mechanisms
    • H04L12/4015Bus networks involving priority mechanisms by scheduling the transmission of messages at the communication node
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4208Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being a system bus, e.g. VME bus, Futurebus, Multibus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40234Local Interconnect Network LIN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40241Flexray

Abstract

PURPOSE: A gateway device for a vehicle is provided to ensure the reliability of a gateway for a vehicle by detecting hardware defects and errors of a micro controller through an auxiliary micro controller. CONSTITUTION: A first microcontroller(100) converts and exchanges a message from a heterogeneous communication, and a second microcontroller(200) judges the state of the first microcontroller depending on the response of the first microcontroller. If the first microcontroller has an abnormality, the second microcontroller performs the recovery of the first microcontroller. An SPI(Serial to Parallel Interface)(300) inputs/outputs a message having priority between the first and second microcontrollers.

Description

차량용 게이트웨이 장치{GATEWAY DEVICE FOR CAR} Gateway device for vehicles {GATEWAY DEVICE FOR CAR}

본 발명은 차량용 게이트웨이 장치에 관한 것으로, 고신뢰성을 요구하는 차량용 게이트웨이 장치의 설계에 있어서 fault-tolerant, fail-safe 시스템의 구조를 적용하여 차량의 안정성을 향상시키는 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicular gateway device, and in the design of a vehicular gateway device requiring high reliability, by applying a structure of a fault-tolerant and fail-safe system to improve the stability of the vehicle.

종래 차량용 게이트웨이는 단일 마이크로컨트롤러를 사용하기 때문에 하드웨어의 결함이나 오류가 발생할 경우 소프트웨어적이 처리밖에 할 수 없는 문제점이 있었다. The conventional vehicle gateway uses a single microcontroller, there is a problem that can only be done software if hardware defects or errors occur.

따라서 본 발명은 상기와 같은 종래의 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 차량용 게이트웨이의 설계에 사용되는 마이크로컨트롤러의 하드웨어 결함 및 오류를 보조 마이크로컨트롤러를 통해 검출하고, 마이크로컨트롤러의 동작을 대신하여 차량용 게이트웨이의 신뢰성을 확보할 수 있는 차량용 게이트웨이 장치를 제공하는 것이다. Therefore, the present invention is to solve the above-mentioned conventional problems, an object of the present invention is to detect the hardware defects and errors of the microcontroller used in the design of the vehicle gateway through the auxiliary microcontroller, and instead of the operation of the microcontroller It is to provide a vehicle gateway device that can ensure the reliability of the vehicle gateway.

상기한 목적을 달성하기 위한 본 발명의 실시 예에 따른 차량용 게이트웨이 장치의 일 측면에 따르면, LIN(Local Interconnect Network), CAN(Controller Area Network), FlexRay 이종 통신간 메시지 변환 및 정보 교환을 수행하는 제 1 마이크로컨트롤러; 제 1 마이크로컨트롤러보다 데이터 처리 용량이 적은 비대칭 처리 프로세서이며, 주기적으로 제 1 마이크로컨트롤러의 상태를 요청하여 제 1 마이크로컨트롤러의 응답 여부에 따라 제 1 마이크로컨트롤러의 상태를 판단하여 이상이 발생할 경우 상기 제 1 마이크로컨트롤러의 복구를 수행하는 제 2 마이크로컨트롤러; 상기 제 1 마이크로컨트롤러와 상기 제 2 마이크로컨트롤러간의 우선순위를 갖는 메시지를 입/출력하기 위한 SPI(Serial to Parallel Interface)/SCI(Serial Communication Interface); 및 상기 제 1 마이크로컨트롤러의 동작이 정상이면 FlexRay 인터페이스, LIN 트렌시버, 및 CAN 트렌시버를 상기 제 1 마이크로컨트롤러와 연결하고, 상기 제 1 마이크로컨트롤러에 이상이 발생하면 FlexRay 인터페이스, LIN 트렌시버, 및 CAN 트렌시버를 제 2 마이크로컨트롤러에 연결하는 적어도 하나 이상의 스위칭부를 포함할 수 있다. According to an aspect of a vehicular gateway device according to an embodiment of the present invention for achieving the above object, the first to perform the message conversion and information exchange between the local interconnect network (LIN), controller area network (CAN), FlexRay heterogeneous communication 1 microcontroller; It is an asymmetric processor with less data processing capacity than the first microcontroller, and periodically requests the state of the first microcontroller to determine the state of the first microcontroller according to the response of the first microcontroller. A second microcontroller for performing recovery of the first microcontroller; Serial to Parallel Interface (SPI) / SCI (Serial Communication Interface) for inputting / outputting a message having a priority between the first microcontroller and the second microcontroller; And connecting the FlexRay interface, the LIN transceiver, and the CAN transceiver with the first microcontroller if the operation of the first microcontroller is normal, and if the first microcontroller has an error, the FlexRay interface, the LIN transceiver, and It may include at least one switching unit for connecting the CAN transceiver to the second microcontroller.

상기 제 2 마이크로컨트롤러는, 제 1 마이크로컨트롤러가 비정상적일 경우 상기 제 1 마이크로컨트롤러의 메모리에 저장된 우선순위를 갖는 메시지들을 저장하기 위한 제 2 저장부를 더 포함할 수 있다. The second microcontroller may further include a second storage unit for storing messages having a priority stored in a memory of the first microcontroller when the first microcontroller is abnormal.

또한, 상기 제 2 마이크로컨트롤러는, 상기 제 1 마이크로컨트롤러의 이상을 감지할 경우, 제 2 저장부에 저장중인 메시지를 상기 제 1 마이크로컨트롤러로 제공함과 동시에 리셋 제어신호를 전송하여 상기 제 1 마이크로컨트롤러의 복구 작업 을 수행할 수 있다. When the second microcontroller detects an abnormality of the first microcontroller, the second microcontroller provides a message stored in a second storage unit to the first microcontroller and simultaneously transmits a reset control signal to the first microcontroller. Recovery can be done.

이러한, 상기 제 2 마이크로컨트롤러는, 기 설정된 횟수만큼 복구 작업을 수행한 후에도 상기 제 1 마이크로컨트롤러에 이상이 있을 경우, 상기 제 1 마이크로컨트롤러를 대신하여 처리한다. The second microcontroller processes the first microcontroller instead of the first microcontroller when the first microcontroller has an error even after performing the recovery operation a predetermined number of times.

반면, 상기 제 2 마이크로컨트롤러는, LIN, CAN, 및 FlexRay 메시지의 우선순위를 설정하고, LIN, CAN, 및 FlexRay 메시지 중 우선순위가 높은 메시지만을 처리한다. On the other hand, the second microcontroller sets the priority of the LIN, CAN, and FlexRay messages, and processes only the high priority messages among the LIN, CAN, and FlexRay messages.

한편, 상기 스위칭부는, 상기 제 1 마이크로컨트롤러가 정상적으로 동작중인 상태에서 상기 제 1 마이크로컨트롤러로 제공되는 메시지 중 우선순위를 갖는 메시지를 복사하여 제 2 마이크로컨트롤러의 제 2 저장부로 제공하여 저장할 수 있다. The switching unit may copy and store a message having a priority among the messages provided to the first microcontroller in a state in which the first microcontroller is normally operated, and provide the second microcontroller to the second storage unit of the second microcontroller.

그리고 상기 제 2 마이크로컨트롤러는, 상기 제 1 마이크로컨트롤러로 제공되는 전원의 상태를 판단하기 위한 ADC 컨버터를 더 포함하며, 이를 통해 제 1 마이크로컨트롤러에 제공되는 전원의 상태를 판단하여 상기 제 1 마이크로컨트롤러의 이상 유무를 판단할 수 있다. The second microcontroller further includes an ADC converter for determining a state of the power provided to the first microcontroller, and thereby determining the state of the power provided to the first microcontroller. You can determine if there is an abnormality.

상술한 바와 같이 본 발명에 의한 차량용 게이트웨이 장치에 의하면, 고신뢰성을 요구하는 차량용 게이트웨이 장치 설계에 있어 fault-tolerant, fail-safe 시스템 구조를 적용하여 차량의 안정성을 제공해줄 수 있는 뛰어난 효과가 있다.As described above, the vehicular gateway device according to the present invention has an excellent effect of providing a vehicle stability by applying a fault-tolerant and fail-safe system structure in the vehicular gateway device design requiring high reliability.

이하, 본 발명에 따른 차량용 게이트웨이 장치에 대한 바람직한 실시 예에 대하여 첨부한 도면을 참조하여 상세하게 살펴보기로 한다. 이 때, 아래에서 설명하는 시스템 구성은 본 발명의 설명을 위해서 인용한 시스템으로써 아래 시스템으로 본 발명을 한정하지 않음을 이 분야의 통상의 지식을 가진 자라면 이해해야할 것이다. Hereinafter, a preferred embodiment of a vehicle gateway device according to the present invention will be described in detail with reference to the accompanying drawings. At this time, it will be understood by those of ordinary skill in the art that the system configuration described below is a system cited for the purpose of the present invention and does not limit the present invention to the following system.

도 1은 본 발명의 실시 예에 따른 차량용 게이트웨이 장치의 구성을 나타낸 도면이며, 본 발명에 따른 차량용 게이트웨이 장치는 제 1 마이크로컨트롤러(100), 제 2 마이크로컨트롤러(200), SPI/SCI(300), 및 적어도 하나 이상의 스위칭부(400)를 더 포함한다. 이때, 제 1 마이크로컨트롤러(100)와 FlexRay 인터페이스(10)에 연결되는 스위칭부(400)를 제 1 스위칭부(400-1)라 하고, 데이터 입출력 버스를 통해 LIN(Local Interconnect Network) 트렌시버(20)와 CAN(Controller Area Network) 트렌시버(30)에 연결된 스위칭부(400)를 제 2 스위칭부(400-2)라 한다. 1 is a view showing the configuration of a vehicle gateway device according to an embodiment of the present invention, the vehicle gateway device according to the present invention is the first microcontroller 100, the second microcontroller 200, SPI / SCI (300) And at least one switching unit 400. In this case, the switching unit 400 connected to the first microcontroller 100 and the FlexRay interface 10 is referred to as a first switching unit 400-1, and a local interconnect network (LIN) transceiver (LIN) through a data input / output bus. 20 and the switching unit 400 connected to the controller area network (CAN) transceiver 30 are referred to as a second switching unit 400-2.

제 1 마이크로컨트롤러(100)는 일측이 제 1 스위칭부(400-1)를 통해 FlexRay 인터페이스(10)와 연결되고 데이터 입출력 버스를 통해 LIN 트렌시버(20)와 CAN 트렌시버(30)에 연결된다. One side of the first microcontroller 100 is connected to the FlexRay interface 10 through the first switching unit 400-1 and is connected to the LIN transceiver 20 and the CAN transceiver 30 through a data input / output bus. .

또한 제 1 마이크로컨트롤러(100)는 SPI/SCI(300)를 통해 제 2 마이크로컨트롤러(200)와 연결된다. 이러한 제 1 마이크로컨트롤러(100)는 LIN와 CAN, 및 FlexRay 이종 통신간 메시지 변환 및 정보 교환을 수행한다. In addition, the first microcontroller 100 is connected to the second microcontroller 200 through the SPI / SCI (300). The first microcontroller 100 performs message conversion and information exchange between LIN and CAN, and FlexRay heterogeneous communication.

그리고 제 2 마이크로컨트롤러(200)는 제 1 스위칭부(400-1)를 통해 FlexRay 인터페이스(10)에 연결되고, 제 2 스위칭부(400-2)와 데이터 입출력 버스를 통해 LIN 트렌시버(20)와 CAN 트렌시버(30)에 연결된다. The second microcontroller 200 is connected to the FlexRay interface 10 through the first switching unit 400-1, and the LIN transceiver 20 through the data switching bus with the second switching unit 400-2. And CAN transceiver 30.

이러한 제 2 마이크로컨트롤러(200)는 SPI/SCI(300)를 통해 주기적으로 제 1 마이크로컨트롤러(100)의 상태를 요청하여 제 1 마이크로컨트롤러(100)의 응답 여부에 따라 제 1 마이크로컨트롤러(100)의 상태를 판단하여 이상이 발생할 경우 제 1 마이크로컨트롤러(100)의 복구를 수행한다. The second microcontroller 200 periodically requests the state of the first microcontroller 100 through the SPI / SCI 300 and according to whether the first microcontroller 100 responds to the first microcontroller 100. If the abnormality is determined by determining the state of the controller, the first microcontroller 100 performs recovery.

그리고 제 2 마이크로컨트롤러(200)의 제 2 저장부(210)는 제 1 마이크로컨트롤러(100)가 비정상적일 경우, 제 1 마이크로컨트롤러(100)의 메모리에 저장된 우선순위를 갖는 메시지들을 저장한다. 여기서, 우선순위를 갖는 메시지들은 엔진, 브레이크 또는 트랜스미션으로부터 전송되는 메시지이며, 이러한 메시지의 설정은 사용자에 의해 변경될 수 있다. In addition, when the first microcontroller 100 is abnormal, the second storage unit 210 of the second microcontroller 200 stores messages having a priority stored in the memory of the first microcontroller 100. Here, the prioritized messages are messages transmitted from an engine, a brake or a transmission, and the setting of such a message can be changed by a user.

따라서 제 2 마이크로컨트롤러(200)는 제 1 마이크로컨트롤러(100)의 이상을 감지할 경우, 제 2 저장부(210)에 저장중인 메시지를 SPI/SCI(300)을 통해 제 1 마이크로컨트롤러(100)로 제공함과 동시에 리셋 제어신호를 전송하여 제 1 마이크로컨트롤러(100)의 복구 작업을 수행한다. Therefore, when the second microcontroller 200 detects an abnormality of the first microcontroller 100, the first microcontroller 100 receives a message stored in the second storage 210 through the SPI / SCI 300. At the same time, the reset control signal is transmitted to perform a recovery operation of the first microcontroller 100.

이러한, 제 2 마이크로컨트롤러(200)는 기 설정된 횟수만큼 복구 작업을 수행한 후에도 제 1 마이크로컨트롤러(100)에 이상이 있을 경우, 제 1 마이크로컨트롤러(100)를 대신하여 처리한다. 그러나 제 2 마이크로컨트롤러(200)는 제 1 마이크로컨트롤러(100)보다 데이터 처리 용량이 적은 비대칭 처리 프로세서이기 때문에 제 1 마이크로컨트롤러(100)를 통해 처리되는 데이터를 모두 처리할 수 없다. The second microcontroller 200 processes the first microcontroller 100 instead of the first microcontroller 100 when there is an error in the first microcontroller 100 even after the recovery operation is performed a predetermined number of times. However, since the second microcontroller 200 is an asymmetric processing processor having a smaller data processing capacity than the first microcontroller 100, the second microcontroller 200 may not process all data processed by the first microcontroller 100.

따라서, 제 2 마이크로컨트롤러(200)는, LIN, CAN, 및 FlexRay 메시지의 우선순위를 설정하고, LIN, CAN, 및 FlexRay 메시지 중 우선순위가 높은 메시지만을 처리한다. Therefore, the second microcontroller 200 sets the priority of LIN, CAN, and FlexRay messages, and processes only the high priority messages among the LIN, CAN, and FlexRay messages.

SPI/SCI(300)는 제 1 마이크로컨트롤러(100)와 제 2 마이크로컨트롤러(200)간의 우선순위를 갖는 메시지가 입/출력된다. The SPI / SCI 300 inputs / outputs a message having a priority between the first microcontroller 100 and the second microcontroller 200.

그리고 적어도 하나 이상의 스위칭부(400)는 제 1 마이크로컨트롤러(100)의 동작이 정상이면 FlexRay 인터페이스(10), LIN 트렌시버(20), 및 CAN 트렌시버(30)를 제 1 마이크로컨트롤러(100)와 연결하고, 제 1 마이크로컨트롤러(100)에 이상이 발생하면 FlexRay 인터페이스(10), LIN 트렌시버(20), 및 CAN 트렌시버(30)를 제 2 마이크로컨트롤러(200)에 연결한다. 이때, 스위칭부(400)는 제 1 마이크로컨트롤러(100)에 설정된 메시지의 우선순위 정보를 가지고 있으며, 제 1 마이크로컨트롤러(100)가 정상적으로 동작중인 상태에서 제 1 마이크로컨트롤러(100)로 제공되는 메시지 중 우선순위에 따라 우선순위를 갖는 메시지를 복사하여 제 2 마이크로컨트롤러(200)의 제 2 저장부(210)로 제공하여 저장할 수도 있다. 여기서, 스위칭부(400)는 CPLD(Complex Programmable Logic Device)를 이용할 수 있다. The at least one switching unit 400 controls the FlexRay interface 10, the LIN transceiver 20, and the CAN transceiver 30 when the operation of the first microcontroller 100 is normal. When the first microcontroller 100 has an error, the FlexRay interface 10, the LIN transceiver 20, and the CAN transceiver 30 are connected to the second microcontroller 200. In this case, the switching unit 400 has priority information of a message set in the first microcontroller 100, and a message provided to the first microcontroller 100 in a state in which the first microcontroller 100 is normally operating. The message having a priority according to the priority may be copied to the second storage unit 210 of the second microcontroller 200 and stored. Here, the switching unit 400 may use a CPLD (Complex Programmable Logic Device).

한편, 도 2에 도시된 바와 같이 제 2 마이크로컨트롤러(200)가 전원부(40)로부터 제 1 마이크로컨트롤러(100)로 제공되는 전원의 상태를 판단하기 위한 ADC 컨버터(220)를 더 포함하며, 이를 통해 전원부(40)로부터 제 1 마이크로컨트롤러(100)에 제공되는 전원의 상태를 판단하여 기 설정된 임계치 이하로 전압이 떨어질 경우 제 1 마이크로컨트롤러(100)를 이상으로 판단한다. Meanwhile, as shown in FIG. 2, the second microcontroller 200 further includes an ADC converter 220 for determining a state of power provided from the power supply unit 40 to the first microcontroller 100. By determining the state of the power supplied from the power supply unit 40 to the first microcontroller 100, if the voltage drops below a predetermined threshold value, the first microcontroller 100 is determined to be abnormal.

이렇게 판단될 경우, 제 2 마이크로컨트롤러(200)는 상기에서와 같이 제 1 마이크로컨트롤러(100)의 복구를 수행하거나 제 1 마이크로컨트롤러(100)의 동작을 대신 처리한다. In this case, the second microcontroller 200 performs the recovery of the first microcontroller 100 or processes the operation of the first microcontroller 100 as described above.

상기한 각 구성들에 대한 일반적인 기능 및 각각의 상세한 동작에 대하여는 그 설명을 생략하고, 본 발명에 상응하는 동작 위주로 그 동작들을 설명하기로 한다. General functions and detailed operations of the above-described elements will be omitted, and the operations will be described based on operations corresponding to the present invention.

먼저, 제 1 마이크로컨트롤러(100)는 LIN, CAN, FlexRay 이종 통신 간 메시지 변환 및 정보 교환을 수행한다. First, the first microcontroller 100 performs message conversion and information exchange between LIN, CAN, and FlexRay heterogeneous communication.

이렇게 제 1 마이크로컨트롤러(100)가 정상적으로 동작되고 있는 상태에서 제 2 마이크로컨트롤러(200)는 주기적으로 제 1 마이크로컨트롤러(100)의 상태를 요청한다. 일반적으로 제 1 마이크로컨트롤러(100)는 정상일 경우 도시하지 않은 자신의 메모리에 처리되는 메시지를 저장한다. In this state in which the first microcontroller 100 is normally operating, the second microcontroller 200 periodically requests the state of the first microcontroller 100. In general, the first microcontroller 100 stores a message processed in its own memory (not shown) when it is normal.

이후, 제 2 마이크로컨트롤러(200)는 제 1 마이크로컨트롤러(100)가 비정상일 경우, 제 1 마이크로컨트롤러(100)의 메모리에 저장되는 메시지들을 제 2 저장부(210)에 저장하여 블랙박스의 역할을 수행할 수도 있다. After that, when the first microcontroller 100 is abnormal, the second microcontroller 200 stores the messages stored in the memory of the first microcontroller 100 in the second storage unit 210 to serve as a black box. You can also do

한편, 제 1 마이크로컨트롤러(100)의 응답이 정상적으로 이루어져 제 1 마이크로컨트롤러(100)가 정상으로 판단되면 제 2 마이크로컨트롤러(200)는 제 1 마이크로컨트롤러(100)로부터 SPI/SCI(300)를 통해 제 1 마이크로컨트롤러(100)의 우선순위를 갖는 메시지들을 입력받아 제 2 저장부(210)에 저장하여 동기화를 수행할 수도 있다. On the other hand, when the response of the first microcontroller 100 is normal and the first microcontroller 100 is determined to be normal, the second microcontroller 200 may be transferred from the first microcontroller 100 through the SPI / SCI 300. The message having the priority of the first microcontroller 100 may be input and stored in the second storage unit 210 to perform synchronization.

반면에, 제 1 마이크로컨트롤러(100)가 응답하지 않으면 제 2 마이크로컨트롤러(200)는 제 1 마이크로컨트롤러(100)가 이상이라 판단한다. On the other hand, if the first microcontroller 100 does not respond, the second microcontroller 200 determines that the first microcontroller 100 is abnormal.

만약, 제 1 마이크로컨트롤러(100)가 이상이면, 제 2 마이크로컨트롤러(200)는 제 1 마이크로컨트롤러(100)의 복구를 수행한다. 즉, 제 2 마이크로컨트롤러(200)는 제 2 저장부(210)에 저장중인 메시지를 제 1 마이크로컨트롤러(100)로 제공함과 동시에 리셋 제어신호를 전송하여 제 1 마이크로컨트롤러(100)의 복구 작업을 수행할 수 있다. If the first microcontroller 100 is abnormal, the second microcontroller 200 performs recovery of the first microcontroller 100. That is, the second microcontroller 200 provides a message stored in the second storage unit 210 to the first microcontroller 100 and simultaneously transmits a reset control signal to restore the first microcontroller 100. Can be done.

한편, 제 2 마이크로컨트롤러(200)가 기 설정된 횟수만큼 제 1 마이크로컨트롤러(100)의 복구 작업을 수행한 후에도 제 1 마이크로컨트롤러(100)에 이상이 있을 경우, 제 2 마이크로컨트롤러(200)는 제 1 마이크로컨트롤러(100)를 대신하여 처리한다. 여기서 제 2 마이크로컨트롤러(200)는 제 1 마이크로컨트롤러(100)보다 데이터 처리 용량이 적은 비대칭 처리 프로세서이다. On the other hand, even after the second microcontroller 200 performs the recovery operation of the first microcontroller 100 by a predetermined number of times, if there is an error in the first microcontroller 100, the second microcontroller 200 may be configured to include the second microcontroller 200. 1 The microcontroller 100 is to replace the process. Here, the second microcontroller 200 is an asymmetric processor having a smaller data processing capacity than the first microcontroller 100.

따라서 제 1 스위칭부(400-1) 또는 제 2 스위칭부(400-2)는 LIN, CAN, FlexRay를 통해 입력되는 메시지 중 기 설정된 우선순위를 갖는 메시지들을 제 2 마이크로컨트롤러(200)로 전송하고 나머지 메시지는 폐기한다. Accordingly, the first switching unit 400-1 or the second switching unit 400-2 transmits messages having a predetermined priority among the messages input through LIN, CAN, and FlexRay to the second microcontroller 200. Discard the remaining messages.

그러면, 제 2 마이크로컨트롤러(200)는 제 1 스위칭부(400-1) 또는 제 2 스위칭부(400-2)를 수신되는 우선순위를 갖는 메시지들에 대하여 LIN, CAN, FlexRay 이종 통신 간 메시지 변환 및 정보 교환을 수행한다. Then, the second microcontroller 200 converts messages between LIN, CAN, and FlexRay heterogeneous communications for the messages having the priority of receiving the first switching unit 400-1 or the second switching unit 400-2. And exchange information.

한편, 제 2 마이크로컨트롤러(200)는 제 1 마이크로컨트롤러(100)로 제공되 는 전원의 상태를 판단하기 위한 ADC 컨버터(220)를 더 포함하고 있다. Meanwhile, the second microcontroller 200 further includes an ADC converter 220 for determining a state of the power provided to the first microcontroller 100.

따라서 제 2 마이크로컨트롤러(200)는 제 1 마이크로컨트롤러(100)에 제공되는 전원의 상태를 판단하여 제 1 마이크로컨트롤러(100)의 이상 유무를 판단할 수 있다. 이와 같이 판단될 경우 제 2 마이크로컨트롤러(200)는 제 1 마이크로컨트롤러(100)의 복구 작업을 수행하거나 제 1 마이크로컨트롤러(100)를 대신하여 메시지의 변환 및 정보 교환을 수행한다. Therefore, the second microcontroller 200 may determine the abnormality of the first microcontroller 100 by determining the state of the power provided to the first microcontroller 100. In this case, the second microcontroller 200 performs a recovery operation of the first microcontroller 100 or converts a message and exchanges information on behalf of the first microcontroller 100.

이상에서 본 발명은 기재된 구체적인 실시 예에 대해서만 상세히 설명하였지만 본 발명의 기술 사상 범위 내에서 다양한 변형 및 수정이 가능함은 당업자에게 있어서 명백한 것이며, 이러한 변형 및 수정이 첨부된 특허청구범위에 속함은 당연한 것이다. Although the present invention has been described in detail only with respect to the specific embodiments described, it will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the present invention, and such modifications and modifications belong to the appended claims. .

도 1은 본 발명에 따른 차량용 게이트웨이 장치의 구성을 나타낸 기능블록도. 1 is a functional block diagram showing the configuration of a gateway device for a vehicle according to the present invention.

도 2는 도 1에 따른 차량용 게이트웨이 장치 중 제 1 마이크로컨트롤러의 전원 이상 여부를 판단하기 위한 구성을 나타낸 기능블록도. FIG. 2 is a functional block diagram illustrating a configuration for determining whether a power failure of a first microcontroller of the vehicle gateway device of FIG. 1 occurs. FIG.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

100 : 제 1 마이크로컨트롤러 200 : 제 2 마이크로컨트롤러100: first microcontroller 200: second microcontroller

210 : 제 2 저장부 220 : ADC 컨버터 210: second storage unit 220: ADC converter

300 : SPI/SCI 300: SPI / SCI

400 : 적어도 하나 이상의 스위칭부 400: at least one switching unit

Claims (8)

차량용 게이트웨이 장치에 있어서, In the gateway device for a vehicle, LIN(Local Interconnect Network), CAN(Controller Area Network), FlexRay 이종 통신간 메시지 변환 및 정보 교환을 수행하는 제 1 마이크로컨트롤러; A first microcontroller for performing message conversion and information exchange between a local interconnect network (LIN), a controller area network (CAN), and a FlexRay heterogeneous communication; 제 1 마이크로컨트롤러보다 데이터 처리 용량이 적은 비대칭 처리 프로세서이며, 주기적으로 제 1 마이크로컨트롤러의 상태를 요청하여 제 1 마이크로컨트롤러의 응답 여부에 따라 제 1 마이크로컨트롤러의 상태를 판단하여 이상이 발생할 경우 상기 제 1 마이크로컨트롤러의 복구를 수행하는 제 2 마이크로컨트롤러; It is an asymmetric processor with less data processing capacity than the first microcontroller, and periodically requests the state of the first microcontroller to determine the state of the first microcontroller according to the response of the first microcontroller. A second microcontroller for performing recovery of the first microcontroller; 상기 제 1 마이크로컨트롤러와 상기 제 2 마이크로컨트롤러간의 우선순위를 갖는 메시지를 입/출력하기 위한 SPI(Serial to Parallel Interface)/SCI(Serial Communication Interface); 및 Serial to Parallel Interface (SPI) / SCI (Serial Communication Interface) for inputting / outputting a message having a priority between the first microcontroller and the second microcontroller; And 상기 제 1 마이크로컨트롤러의 동작이 정상이면 FlexRay 인터페이스, LIN 트렌시버, 및 CAN 트렌시버를 상기 제 1 마이크로컨트롤러와 연결하고, 상기 제 1 마이크로컨트롤러에 이상이 발생하면 FlexRay 인터페이스, LIN 트렌시버, 및 CAN 트렌시버를 제 2 마이크로컨트롤러에 연결하는 적어도 하나 이상의 스위칭부를 포함하는 차량용 게이트웨이 장치. If the operation of the first microcontroller is normal, the FlexRay interface, the LIN transceiver, and the CAN transceiver are connected to the first microcontroller. If the first microcontroller fails, the FlexRay interface, the LIN transceiver, and the CAN Vehicle gateway device comprising at least one switching unit for connecting the transceiver to the second microcontroller. 제 1항에 있어서, The method of claim 1, 상기 제 2 마이크로컨트롤러는,The second microcontroller, 제 1 마이크로컨트롤러가 비정상적일 경우, 상기 제 1 마이크로컨트롤러의 메모리에 저장된 우선순위를 갖는 메시지들을 저장하기 위한 제 2 저장부를 더 포함하는 것을 특징으로 하는 차량용 게이트웨이 장치. And a second storage unit for storing messages having a priority stored in a memory of the first microcontroller when the first microcontroller is abnormal. 제 2항에 있어서, 3. The method of claim 2, 상기 우선순위를 갖는 메시지들은, Messages with the priority are 엔진, 브레이크 또는 트랜스미션으로부터 전송되는 메시지인 것을 특징으로 하는 차량용 게이트웨이 장치. Gateway device for a vehicle, characterized in that the message transmitted from the engine, brake or transmission. 제 2항에 있어서, 3. The method of claim 2, 상기 제 2 마이크로컨트롤러는, The second microcontroller, 상기 제 1 마이크로컨트롤러의 이상을 감지할 경우, 제 2 저장부에 저장중인 메시지를 상기 제 1 마이크로컨트롤러로 제공함과 동시에 리셋 제어신호를 전송하여 상기 제 1 마이크로컨트롤러의 복구 작업을 수행하는 것을 특징으로 하는 차량용 게이트웨이 장치. In case of detecting an abnormality of the first microcontroller, a message stored in a second storage unit is provided to the first microcontroller, and at the same time, a reset control signal is transmitted to restore the first microcontroller. Vehicle gateway device. 제 4항에 있어서, The method of claim 4, wherein 상기 제 2 마이크로컨트롤러는, The second microcontroller, 기 설정된 횟수만큼 복구 작업을 수행한 후에도 상기 제 1 마이크로컨트롤러에 이상이 있을 경우, 상기 제 1 마이크로컨트롤러를 대신하여 처리하는 것을 특징 으로 하는 차량용 게이트웨이 장치. And if the first microcontroller has an abnormality even after the recovery operation has been performed a predetermined number of times, the vehicle gateway device of claim 1, wherein the gateway controller processes the first microcontroller instead of the first microcontroller. 제 5항에 있어서, The method of claim 5, 상기 제 2 마이크로컨트롤러는, The second microcontroller, LIN, CAN, 및 FlexRay 메시지의 우선순위를 설정하고, LIN, CAN, 및 FlexRay 메시지 중 우선순위가 높은 메시지만을 처리하는 것을 특징으로 하는 차량용 게이트웨이 장치. A priority gateway for LIN, CAN, and FlexRay messages is set, and the gateway device for a vehicle characterized in that it processes only the higher priority messages among LIN, CAN, and FlexRay messages. 제 2항에 있어서, 3. The method of claim 2, 상기 스위칭부는, The switching unit, 상기 제 1 마이크로컨트롤러가 정상적으로 동작중인 상태에서 상기 제 1 마이크로컨트롤러로 제공되는 메시지 중 우선순위를 갖는 메시지를 복사하여 제 2 마이크로컨트롤러의 제 2 저장부로 제공하여 저장하는 것을 특징으로 하는 차량용 게이트웨이 장치. And copy the message having a priority among the messages provided to the first microcontroller in a state in which the first microcontroller is normally operated, to provide the second microcontroller to the second storage unit for storage. 제 1항에 있어서, The method of claim 1, 상기 제 2 마이크로컨트롤러는, The second microcontroller, 상기 제 1 마이크로컨트롤러로 제공되는 전원의 상태를 판단하기 위한 ADC 컨버터를 더 포함하며, Further comprising an ADC converter for determining the state of the power provided to the first microcontroller, 이를 통해 제 1 마이크로컨트롤러에 제공되는 전원의 상태를 판단하여 상기 제 1 마이크로컨트롤러의 이상 유무를 판단하는 것을 특징으로 하는 차량용 게이트웨이 장치. The vehicle gateway device according to claim 1, wherein the first microcontroller determines whether there is an abnormality by determining a state of power provided to the first microcontroller.
KR1020090005451A 2009-01-22 2009-01-22 Gateway device for car KR100976710B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090005451A KR100976710B1 (en) 2009-01-22 2009-01-22 Gateway device for car

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090005451A KR100976710B1 (en) 2009-01-22 2009-01-22 Gateway device for car

Publications (2)

Publication Number Publication Date
KR20100086211A true KR20100086211A (en) 2010-07-30
KR100976710B1 KR100976710B1 (en) 2010-08-18

Family

ID=42644825

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090005451A KR100976710B1 (en) 2009-01-22 2009-01-22 Gateway device for car

Country Status (1)

Country Link
KR (1) KR100976710B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130016809A (en) * 2011-08-09 2013-02-19 현대자동차주식회사 Method for processing data of a gateway for a vehicle network system
KR101526413B1 (en) * 2014-01-10 2015-06-05 현대자동차 주식회사 Transceiver ic and operationg mwethod thereof

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101173087B1 (en) 2011-04-01 2012-08-13 주식회사 만도 Control apparatus and control method of vehicle
KR101572940B1 (en) 2014-12-08 2015-11-30 현대자동차주식회사 Method and system for restoring communication disruption using gateway
KR101640054B1 (en) 2015-06-24 2016-07-22 현대자동차주식회사 Gateway device, vehicle including the same, and control method for the same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10250920B4 (en) * 2002-10-31 2005-05-04 Siemens Ag Output unit, receiving unit, arrangement for data transmission in a motor vehicle and method
KR100726081B1 (en) * 2005-07-06 2007-06-08 주식회사 현대오토넷 Network system and method thereof using inter-integrated circuit for vehicle
KR100696889B1 (en) * 2005-09-06 2007-03-20 (재)대구경북과학기술연구원 inner vehicle communication system and gateway
KR100900882B1 (en) * 2007-06-11 2009-06-04 성균관대학교산학협력단 Gateway device, network system and data converting method applied to vehicle using plurality of network protocol different from each other

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130016809A (en) * 2011-08-09 2013-02-19 현대자동차주식회사 Method for processing data of a gateway for a vehicle network system
KR101526413B1 (en) * 2014-01-10 2015-06-05 현대자동차 주식회사 Transceiver ic and operationg mwethod thereof
US9515906B2 (en) 2014-01-10 2016-12-06 Hyundai Motor Company Transceiver integrated circuit device and method of operation thereof

Also Published As

Publication number Publication date
KR100976710B1 (en) 2010-08-18

Similar Documents

Publication Publication Date Title
CN103825791B (en) Method for controlling parallel redundancy of MVB master
KR100976710B1 (en) Gateway device for car
CN107070731B (en) Master-slave arbitration method and system
JP7030742B2 (en) Communication system and communication control method
CN103678031A (en) Double 2-vote-2 redundant system and method
CN111585835B (en) Control method and device for out-of-band management system and storage medium
CN109104347B (en) Gateway rotation method, system and device for transmitting data based on CANopen protocol
JP6410914B1 (en) Serial communication system
JP2009111911A (en) Communication apparatus, communication system, and communication method
CN101605076B (en) Testing access point and data link monitoring method
CN114880266B (en) Fault processing method and device, computer equipment and storage medium
US20150154130A1 (en) Method for operating an automation device
JP6134720B2 (en) Connection method
KR20160107990A (en) Apparatus for multiplexing connection of ethernet backbone switch for vehicle
JP2019009678A (en) On-vehicle communication network system
JP2017114406A (en) Network system
JP7271973B2 (en) VEHICLE CONTROL DEVICE AND OPERATING CLOCK SWITCHING METHOD
JP6032174B2 (en) Communication control device
JP2011182161A (en) Information processor, and method of diagnosis
JP2010136038A (en) Transmitter, and method for switching system in redundant configuration
JP7205439B2 (en) electronic controller
JP2003140704A (en) Process controller
JP2018160030A (en) Control device, control method and fault-tolerant device
JP2016058944A (en) node
CN113169908B (en) Line monitoring device and network switch

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: 20130530

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20140617

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee