KR102543531B1 - Apparatus and method for CAN communication load control - Google Patents

Apparatus and method for CAN communication load control Download PDF

Info

Publication number
KR102543531B1
KR102543531B1 KR1020160041599A KR20160041599A KR102543531B1 KR 102543531 B1 KR102543531 B1 KR 102543531B1 KR 1020160041599 A KR1020160041599 A KR 1020160041599A KR 20160041599 A KR20160041599 A KR 20160041599A KR 102543531 B1 KR102543531 B1 KR 102543531B1
Authority
KR
South Korea
Prior art keywords
message
communication
timing
timing data
period
Prior art date
Application number
KR1020160041599A
Other languages
Korean (ko)
Other versions
KR20170114526A (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 KR1020160041599A priority Critical patent/KR102543531B1/en
Publication of KR20170114526A publication Critical patent/KR20170114526A/en
Application granted granted Critical
Publication of KR102543531B1 publication Critical patent/KR102543531B1/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/40052High-speed IEEE 1394 serial bus
    • H04L12/40071Packet processing; Packet format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/50Overload detection or protection within a single switching element
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

본 발명은 CAN Timing DATA를 수집하는 하는 CAN Timing RECEIVER, 상기 CAN Timing data를 포함하는 CAN Message의 주기 값과 패턴 길이를 정상상태 값과 비교하는 CAN Timing ANALYZER, 상기 CAN Timing ANALYZER에서 비정상적인 CAN 환경이 감지되었을 때 각 ECU에 달린 회로의 일부분으로 CAN 통신의 차단 역할을 수행하는 CAN Safety Operator를 포함하는 CAN 통신 부하 제어 장치에 관한 것이다.
본 발명은 CAN timing DATA 수집하는 단계, 상기 CAN timing DATA의 CAN Message ID 별 주기 변동이 있는가 판단하는 단계, 상기 CAN Message ID 별 주기 변동이 있을 시에, CAN Message ID 별 패턴 길이에 에러가 있는지 판단하는 단계, 상기 에러에 따른 상기 CAN 부하 상태를 구분하여, 상황에 맞는 CAN 부하 경고등이 동작하는 단계, 상기 CAN 부하 상태에 따라 운행 안전 모드를 구분하는 단계, 상기 운행 안전 모드에 따라 CAN 통신을 차단하는 단계를 포함하는 CAN 통신 부하 제어 방법에 관한 것아다
The present invention is a CAN Timing RECEIVER that collects CAN Timing DATA, a CAN Timing ANALYZER that compares the period value and pattern length of a CAN message including the CAN Timing data with a normal state value, and detects an abnormal CAN environment in the CAN Timing ANALYZER It relates to a CAN communication load control device including a CAN safety operator that performs a role of blocking CAN communication as a part of the circuit attached to each ECU when the
In the present invention, the step of collecting CAN timing DATA, the step of determining whether there is a change in the period of each CAN Message ID of the CAN timing DATA, and the step of determining whether there is an error in the pattern length of each CAN Message ID when there is a change in the period of each CAN Message ID classifying the CAN load state according to the error and operating a CAN load warning light suitable for the situation, classifying a driving safety mode according to the CAN load state, blocking CAN communication according to the driving safety mode It relates to a CAN communication load control method comprising the steps of

Description

CAN 통신 부하 제어 장치 및 방법{Apparatus and method for CAN communication load control}CAN communication load control apparatus and method {Apparatus and method for CAN communication load control}

본 발명은 CAN 통신 부하 제어 장치에 관한 것으로, 보다 상세하게는 CAN Message의 에러를 파악하여 CAN bus의 부하를 줄여주는 CAN 통신 부하 제어 장치 및 방법에 관한 것이다.The present invention relates to a CAN communication load control device, and more particularly, to a CAN communication load control device and method for reducing the load of a CAN bus by recognizing an error in a CAN message.

일반적으로 차량의 전자화에 따라 많은 기능이 차량에 집약된다 각 부품을 개발하는 단계에서 CAN bus에 모이는 Message 양을 전부 수용하기는 힘들다 따라서 CAN 과부하와 같은 오류를 초래하게 된다. 잘못된 Message가 전달되거나 딜레이가 생긴다면 이는 운전자에게 치명적인 영향을 초래할 수 있다. 또한, 멀티미디어 장치를 통한 외부 오염된 Message의 유입은 안전, 보안에 심각한 위험성을 야기하는 문제점이 있다.In general, many functions are integrated into the vehicle according to the electronicization of the vehicle. It is difficult to accommodate all the amount of messages gathered in the CAN bus at the stage of developing each part. Therefore, it causes errors such as CAN overload. If a wrong message is delivered or if there is a delay, it can have a fatal effect on the driver. In addition, the inflow of externally contaminated messages through multimedia devices poses a serious risk to safety and security.

상기와 같은 종래 기술의 문제점을 해결하기 위하여, 본 발명은 별도의 CAN 전용 통합 모듈 장치에서 각 ECU의 CAN Message 전달 속도를 감시하고, CAN DATA의 과부하를 인식하는 동시에 CAN Message의 주기 및 패턴의 변경을 잡아낸다. 만약 오류가 인식되었을 때 안전에 민감하지 않은 ECU 순으로 물리적으로 차단해서 CAN bus의 여유도를 확보하는 것에 그 목적이 있다.In order to solve the problems of the prior art as described above, the present invention monitors the CAN Message delivery speed of each ECU in a separate CAN dedicated integrated module device, recognizes the overload of CAN DATA, and changes the cycle and pattern of the CAN Message catch the The purpose is to secure the redundancy of the CAN bus by physically blocking the ECUs that are not safety sensitive when an error is recognized.

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 실시례에 의해 보다 명확하게 이행될 수 있을 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects not mentioned may be more clearly achieved by the following examples. It will also be readily apparent that the objects and advantages of the present invention may be realized by means of the instrumentalities and combinations indicated in the claims.

상기 목적을 달성하기 위하여, 본 발명의 실시례에 따른 CAN 통신 부하 제어 장치는 CAN Timing DATA를 수집하는 하는 CAN Timing RECEIVER, CAN Message 주기 값과 패턴 길이를 정상상태 값과 비교하는 CAN TIMING ANALYZER, In order to achieve the above object, the CAN communication load control device according to an embodiment of the present invention includes a CAN Timing RECEIVER for collecting CAN Timing DATA, a CAN TIMING ANALYZER for comparing a CAN Message cycle value and a pattern length with a steady state value,

상기 비정상적인 CAN 환경이 감지되었을 때 각 ECU에 달린 회로의 일부분으로 CAN통신의 차단 역할을 수행하는 CAN SAFETY OPERATOR를 포함하고, 상기 CAN TIMING ANALYZER는 동일 CAN bus 내에 상기 CAN Message가 과부하되거나 의도되지 않은 CAN Message가 들어온 경우에 패턴 길이 및 주기에 생긴 변화를 파악한다.When the abnormal CAN environment is detected, it is a part of the circuit attached to each ECU and includes a CAN SAFETY OPERATOR that blocks CAN communication, and the CAN TIMING ANALYZER detects that the CAN message is overloaded or unintended CAN within the same CAN bus. When a message comes in, grasp the change in pattern length and cycle.

본 발명의 실시례에 따른 CAN 통신 부하 제어 방법은 CAN timing DATA 수집하는 단계, 동일 CAN bus 내에 CAN Message가 과부하되거나 또는 의도되지 않은 CAN Message가 들어오면 상기 CAN timing DATA의 CAN Message ID 별 주기 변동이 있는가 판단하는 단계, 상기 CAN Message ID 별 주기 변동이 있을 시에, CAN Message ID 별 패턴 길이에 에러가 있는지 판단하는 단계, 상기 에러가 있을 시 CAN 부하 경고등이 켜지는 단계, 상기 CAN 부하 상태를 구분하는 단계, 상기 CAN 부하 상태를 구분하는 단계에 따라 CAN 통신을 차단하는 단계를 포함한다. CAN communication load control method according to an embodiment of the present invention is the step of collecting CAN timing DATA, when the CAN Message is overloaded or an unintended CAN Message is received in the same CAN bus, the periodic variation for each CAN Message ID of the CAN timing DATA Determining whether there is an error in the pattern length for each CAN Message ID when there is a cycle change for each CAN Message ID, Step for turning on a CAN load warning light when there is an error, Classifying the CAN load state and blocking CAN communication according to the step of classifying the CAN load state.

기타 실시례들의 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Details of other embodiments are included in the detailed description and drawings.

본 발명의 CAN 통신 부하 제어 장치에 따르면 다음과 같은 효과가 있다.According to the CAN communication load control device of the present invention has the following effects.

각 ECU 간의 통합적인 안전 기능을 가지는 CAN 통신 안전장치를 통해 ECU의 이상현상을 발견하고 이를 조치하여 성능의 향상을 가져오는 장점이 있다. It has the advantage of improving performance by detecting abnormalities in ECUs and taking action through CAN communication safety devices with integrated safety functions between each ECU.

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시례에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects and advantages of the present invention not mentioned above can be understood by the following description and will be more clearly understood by the examples of the present invention. It will also be readily apparent that the objects and advantages of the present invention may be realized by means of the instrumentalities and combinations indicated in the claims.

도 1은 본 발명의 일 실시례에 따른 CAN 통신 부하 제어 장치의 구성을 나타내는 구성도.
도 2는 본 발명의 일 실시례에 따른 Timing DATA의 프레임 구조도.
도 3은 본 발명의 일 실시례에 따른 Timing DATA의 DB 저장 값 테이블.
도 3은 본 발명의 일 실시례에 따른 CAN message 전달 형태를 표시한 도면.
도 4는 본 발명의 일 실시례에 따른 CAN SAFETY OPERATOR 회로를 도시한 회로도.
도 5는 본 발명의 일 실시례에 따른 CAN 통신 부하 제어 방법을 도시한 흐름도.
1 is a configuration diagram showing the configuration of a CAN communication load control device according to an embodiment of the present invention.
2 is a frame structure diagram of Timing DATA according to an embodiment of the present invention.
3 is a DB storage value table of Timing DATA according to an embodiment of the present invention.
3 is a diagram showing a form of CAN message delivery according to an embodiment of the present invention.
4 is a circuit diagram showing a CAN SAFETY OPERATOR circuit according to an embodiment of the present invention.
5 is a flowchart illustrating a CAN communication load control method according to an embodiment of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시례들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시례들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시례들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Advantages and features of the present invention, and methods for achieving them, will become clear with reference to the detailed description of the following embodiments in conjunction with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but may be implemented in various different forms, and only these embodiments make the disclosure of the present invention complete, and common knowledge in the art to which the present invention belongs. It is provided to completely inform the person who has the scope of the invention, and the present invention is only defined by the scope of the claims. Like reference numbers designate like elements throughout the specification.

이하, 첨부된 도면을 참조하여 본 발명에 따른 실시례를 설명한다.Hereinafter, embodiments according to the present invention will be described with reference to the accompanying drawings.

도 1은 본 발명의 일 실시례에 따른 CAN 통신 부하 제어 장치의 구성을 나타내는 구성도이다. 도 1을 참조하면, CAN 통신 부하 제어 장치는 CAN TIMING RECEIVER (100), CAN TIMING ANALYZER (200), CAN SAFETY OPERATOR (300)를 포함한다. 1 is a configuration diagram showing the configuration of a CAN communication load control apparatus according to an embodiment of the present invention. Referring to FIG. 1, the CAN communication load control device includes a CAN TIMING RECEIVER (100), a CAN TIMING ANALYZER (200), and a CAN SAFETY OPERATOR (300).

CAN TIMING RECEIVER(100)는 CAN bus(310)의 통신 신호를 중계하는 CAN 트랜시버를 통해 CAN Timing DATA를 수집한다. CAN Message는 CAN ID(210), 주기 및 패턴 타입(220), 패턴 길이(230)와 메시지 주기(240)를 포함하는 상기 CAN Timing DATA를 포함한다.The CAN TIMING RECEIVER 100 collects CAN Timing DATA through a CAN transceiver relaying a communication signal of the CAN bus 310. The CAN Message includes the CAN Timing DATA including the CAN ID 210, period and pattern type 220, pattern length 230 and message period 240.

CAN TIMING ANALYZER(120)는 상기 CAN Message의 주기 값과 패턴 길이를 정상상태 값과 비교할 수 있다. CAN Message 주기 변동 및 패턴 인식하고, 이는 CAN Message 과부하뿐만 아니라 보안적으로 CAN Timing Data의 결함을 감지하는 역할을 수행할 수 있다. 상기 CAN TIMING ANALYZER(120)는 CAN timing detector을 통해 상기 CAN Message의 패턴 및 주기의 변화를 감지할 수 있다. The CAN TIMING ANALYZER 120 may compare the period value and pattern length of the CAN message with a steady state value. Recognizing CAN Message period variation and pattern, it can play a role in detecting defects in CAN Timing Data in a secure manner as well as CAN Message overload. The CAN TIMING ANALYZER 120 can detect changes in the pattern and period of the CAN message through a CAN timing detector.

CAN SAFETY OPERATOR(130)는 비정상적인 CAN 환경이 감지되었을 때 각 ECU에 달린 회로의 MCU를 이용하여 CAN 통신을 차단 역할을 수행한다. 상기 CAN SAFETY OPERATOR(130)에서는 상기 각 ECU 타겟 중 위험 지수가 낮은 타겟 순으로 CAN 통신을 물리적으로 차단한다. 상기 위험 지수가 낮은 타겟이란 실제 운전에 영향을 미치지 않는 멀티미디어, 운행보조기능 제품 등이 포함될 수 있다.The CAN SAFETY OPERATOR (130) performs a role of blocking CAN communication by using the MCU of the circuit attached to each ECU when an abnormal CAN environment is detected. The CAN SAFETY OPERATOR 130 physically blocks CAN communication in the order of low risk index among the ECU targets. Targets with a low risk index may include multimedia and driving assistance function products that do not affect actual driving.

도 2는 본 발명의 일 실시례에 따른 Timing DATA의 프레임 구조도이다. 2 is a frame structure diagram of Timing DATA according to an embodiment of the present invention.

상기 도 2는 Timing DATA의 기본 단위가 되는 패킷의 구조가 도시되어있다. 패킷은 CAN ID(210), 주기 및 패턴 타입(220), 패턴 길이(230), 메시지 주기(340)를 포함할 수 있다.2 shows the structure of a packet that is a basic unit of Timing DATA. A packet may include a CAN ID 210 , period and pattern type 220 , pattern length 230 , and message period 340 .

도 3은 본 발명의 일 실시례에 따른 Timing DATA의 DB 저장 값 테이블이다. 도 3을 참조하면, DB는 고유한 값을 갖는 CAN ID(210)와 일정한 값을 갖는 주기 및 패턴 타입(220), 패턴 길이(230), 메시지 주기(240)를 저장한다. 3 is a DB storage value table of Timing DATA according to an embodiment of the present invention. Referring to FIG. 3 , the DB stores a CAN ID 210 having a unique value, a period having constant values, a pattern type 220, a pattern length 230, and a message period 240.

상기 CAN ID(210)는 메시지를 구분하는 고유의 값으로 구성된다. 상기 주기 및 패턴 타입은 "0"과 "1" 값으로 구성된다. 상기 패턴 길이(230)와 상기 메시지 주기(240)는 CAN Message가 CAN bus(310)에 전달되는 시기와 길이를 나타내는 값으로 구성된다.The CAN ID 210 is composed of a unique value for distinguishing messages. The period and pattern type are composed of “0” and “1” values. The pattern length 230 and the message period 240 are composed of values indicating the time and length of the CAN message being transmitted to the CAN bus 310.

도 4는 본 발명의 일 실시례에 따른 CAN message 전달 형태를 표시한 도면이다.4 is a diagram showing a form of CAN message transmission according to an embodiment of the present invention.

본 발명에 의한 실시례에 따르면 도 4는 CAN message을 사용한 DATA 통신에서 상기 CAN message가 CAN bus(310)상에 여러 개의 ECU가 연결되어 통신하는 것을 나타낸다. 상기 CAN bus(310) 상에 있는 각 ECU는 주기적 혹은 이벤트 방식으로 CAN message를 송수신한다According to an embodiment according to the present invention, FIG. 4 shows that the CAN message is communicated by connecting several ECUs on the CAN bus 310 in DATA communication using the CAN message. Each ECU on the CAN bus 310 transmits and receives CAN messages in a periodic or event manner.

도 4a는 정상 CAN Message 전달 상태를 도시하고 있다. CAN bus(310)는 상기 여러 개의 ECU가 주기적으로 송신을 하고, 메시지를 수신한다. 상기 ECU에서 상태 변화가 없을 때에는 정상 CAN message를 전달한다. 상기 정상 CAN Message 는 CAN ID 별로 패턴 길이가 전달되고, 상기 DATA와 패턴 길이는 상기 CAN ID 별 주기에 따라 전달된다. Figure 4a shows a normal CAN Message delivery state. In the CAN bus 310, the plurality of ECUs periodically transmit and receive messages. When there is no state change in the ECU, a normal CAN message is transmitted. The normal CAN Message is delivered with a pattern length for each CAN ID, and the DATA and pattern length are delivered according to a cycle for each CAN ID.

도 4b는 비정상 CAN Message 전달 상태를 도시하고 있다. 상기 여러 개의 ECU에서 에러로 인하여 CAN DATA 변형이 이루어진 비정상 CAN message를 CAN bus에 전달할 수 있다. 상기 비정상 DATA 전달 상태를 CAN Message 과부화 상태와 외부 CAN message 유입 상태를 포함한다.Figure 4b shows an abnormal CAN Message delivery state. An abnormal CAN message in which CAN DATA is transformed due to an error in the plurality of ECUs may be transmitted to the CAN bus. The abnormal DATA transmission state includes a CAN Message overload state and an external CAN message inflow state.

상기 CAN Message 과부하 상태는 동일 CAN bus 내에 CAN Message가 과부하되어 주기값에 딜레이가 생겨 주기 에러를 발생된다.In the CAN Message overload state, a CAN Message is overloaded in the same CAN bus, and a period value is delayed, resulting in a period error.

상기 외부 CAN message 유입 상태는 동일 CAN bus(310) 내에 허용되지 않은 혹은 의도되지 않은 CAN Message가 들어온다면 패턴 길이 및 주기에 변화가 생겨 에러가 발생한다. In the external CAN message flow state, if an unacceptable or unintended CAN message enters the same CAN bus 310, a pattern length and cycle change and an error occurs.

상기 패턴 길이 에러(320)는 동일 CAN bus(310) 내에 허용되지 않은 혹은 의도되지 않은 CAN Message가 들어와 패턴의 일부 DATA가 주어진 패턴 길이(230)를 벗어나는 에러가 발생된다.The pattern length error 320 occurs when an unacceptable or unintentional CAN message enters the same CAN bus 310 and some data of the pattern deviate from the given pattern length 230.

상기 주기 에러(330)는 상기 메시지 can 과부하나 상기 외부 can 메시지 유입에 의해 상기 can 메시지의 주기 값이 점점 변화되어, 상기 변화된 주기 값에 따라 패턴의 전체의 DATA의 위치가 변경되어, 패턴 길이(230)를 넘어가는 에러가 발생한다.The period error 330 is caused by a gradual change in the period value of the can message due to the message can overload or the inflow of the external can message, so that the position of the entire DATA of the pattern is changed according to the changed period value, resulting in a pattern length ( 230) occurs.

상기 패턴길이 에러(320)와 상기 주기 에러(330)가 발생 되면 CAN Timing Dector에서 해당 에러를 인식하고 이를 CAN SAFETY OPERATOR(130) 에 전달한다.When the pattern length error 320 and the period error 330 occur, the CAN Timing Dector recognizes the error and transmits it to the CAN SAFETY OPERATOR 130.

도 5는 본 발명의 일 실시례에 따른 CAN SAFETY OPERATOR 회로를 도시한 회로도이다.5 is a circuit diagram showing a CAN SAFETY OPERATOR circuit according to an embodiment of the present invention.

CAN SAFETY OPERATOR(300)에서는 ECU 타겟 중 위험지수가 낮은 타겟순으로 CAN TX를 물리적으로 차단한다. 위험지수가 낮은 타겟이란 실제 운전에 영향을 미치지 않는 멀티미디어, 운행보조기능 제품이 해당된다. In the CAN SAFETY OPERATOR (300), CAN TX is physically blocked in the order of low risk index among ECU targets. Targets with a low risk index include products with multimedia and driving assistance functions that do not affect actual driving.

도 5를 참조하면, ECU의 통신 전달은 CAN H(520)와 CAN L(530)로 이루어지고 이를 통해 DATA를 송수신한다. 이때, CAN DATA는 ECU가 제어를 수행하기 위한 정보를 포함할 수 있다.Referring to FIG. 5, communication transmission of the ECU is made of CAN H 520 and CAN L 530, and data is transmitted and received through them. At this time, CAN DATA may include information for the ECU to perform control.

CAN TIMING ANALYZER(120)가 CAN bus(310)에 수신된 DATA가 정상으로 전달되는지를 판단하고, 상기 수신된 DATA가 비정상으로 전달되는 것으로 판단되는 경우, 상기 CAN SAFETY OPERATOR(300)는 CAN H(520), CAN L(530) 회로와 MCU(510)에 연결된 스위치 회로를 이용하여 비정상 CAN Message가 전달되었을 때 CAN data를 풀다운 방식으로 상기 CAN Message가 CAN bus(310)로 전달되는 것을 차단한다. The CAN TIMING ANALYZER 120 determines whether the DATA received in the CAN bus 310 is normally delivered, and if it is determined that the received DATA is abnormally delivered, the CAN SAFETY OPERATOR 300 transmits the CAN H ( 520), the CAN L 530 circuit and the switch circuit connected to the MCU 510 block transmission of the CAN message to the CAN bus 310 by pulling down CAN data when an abnormal CAN message is transmitted.

도 6은 본 발명의 일 실시례에 따른 CAN 통신 부하 제어 방법을 도시한 흐름도이다. 6 is a flowchart illustrating a CAN communication load control method according to an embodiment of the present invention.

CAN TIMING RECEIVER(110)는 CAN 트랜시버를 통해 CAN TIMING DATA를 수집한다. (S110). 상기 수집된 DATA를 CAN TIMING ANALYZER(120)에 전달한다.CAN TIMING RECEIVER (110) collects CAN TIMING DATA through a CAN transceiver. (S110). The collected DATA is delivered to the CAN TIMING ANALYZER (120).

상기 CAN TIMING ANALYZER(120)는 상기 CAN bus(310)로 전달되는 CAN Message의 ID에서 CAN Message ID 별 주기 변동이 있는지 판단한다(S120). The CAN TIMING ANALYZER 120 determines whether there is a periodic change for each CAN Message ID in the ID of the CAN Message transmitted to the CAN bus 310 (S120).

상기 주기 변동이 있다고 판단되면, CAN Message ID 별 패턴 길이에 에러가 있는지 판단한다(S130). CAN Timing Detector에서 해당 위험을 인식한다. 상기 에러 상황을 CAN SAFETY OPERATOR 장치에 전달한다.If it is determined that there is the period variation, it is determined whether there is an error in the pattern length for each CAN Message ID (S130). The CAN Timing Detector recognizes that risk. The error situation is delivered to the CAN SAFETY OPERATOR device.

상기 CAN TIMING ANALYZER(120)는 상기 CAN Message의 패턴길이에 에러가 있다고 판단되면, CAN 과부하 감지 혹은 타 CAN message 유입 경고등을 상황에 맞게 CAN 부하 경고등 출력한다 (S140). If the CAN TIMING ANALYZER 120 determines that there is an error in the pattern length of the CAN Message, it outputs a CAN overload warning light or a CAN load warning light according to the situation (S140).

CAN SAFETY OPERATOR는(130) 상기 에러의 위험지수를 판단하여 운행 안전 모드를 판단한다 (S150). The CAN SAFETY OPERATOR (130) determines the driving safety mode by determining the risk index of the error (S150).

상기 CAN SAFETY OPERATOR(130)는 에러의 위험 지수에 따라 운행 안전 모드 1단계를 실행한다(S160). 상기 운행 안전 모드는 ECU 타겟 중 위험지수가 낮은 장치의 부하를 차단한다. 상기 1단계는 멀티미디어 ECU 등이 포함 될수 있다.The CAN SAFETY OPERATOR 130 executes the driving safety mode step 1 according to the error risk index (S160). In the driving safety mode, the load of a device having a low risk index among ECU targets is cut off. The first step may include a multimedia ECU and the like.

또한, 상기 CAN SAFETY OPERATOR(130)는 에러의 위험 지수에 따라 운행 안전 모드 2단계를 실행할 수 있다(S170). 상기 1단계는 운전 편의장치 등이 포함될 수 있다.In addition, the CAN SAFETY OPERATOR 130 may execute the operation safety mode step 2 according to the error risk index (S170). The first step may include driving convenience devices and the like.

이상에서는 본 발명의 바람직한 실시례에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시례에 한정되지 아니하며, 특허청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어서는 안될 것이다.Although the preferred embodiments of the present invention have been shown and described above, the present invention is not limited to the specific embodiments described above, and in the technical field to which the present invention belongs without departing from the gist of the present invention claimed in the claims. Various modifications and implementations are possible by those skilled in the art, and these modifications should not be individually understood from the technical spirit or perspective of the present invention.

110 : CAN TIMING RECEIVER
120 : CAN TIMING ANALYZER
130 : CAN SAFETY OPERATOR
310 : CAN bus
510 : MCU
110 : CAN TIMING RECEIVER
120 : CAN TIMING ANALYZER
130 : CAN SAFETY OPERATOR
310: CAN bus
510: MCU

Claims (6)

CAN Timing data를 수집하는 하는 CAN Timing RECEIVER;
상기 CAN Timing data를 포함하는 CAN Message의 주기 값과 패턴 길이를 정상상태 값과 비교하는 CAN TIMING ANALYZER;
상기 CAN TIMING ANALYZER에서 비정상적인 CAN 환경이 감지되었을 때 각 ECU에 달린 회로의 일부분으로 CAN 통신의 차단 역할을 수행하는 CAN SAFETY OPERATOR를 포함하고,
상기 CAN TIMING ANALYZER는 동일 CAN bus 내에 상기 CAN Message가 과부하되거나 의도되지 않은 CAN Message가 들어온 경우에 패턴 길이 및 주기에 생긴 변화를 파악하는 CAN 통신 부하 제어 장치.
CAN Timing RECEIVER that collects CAN Timing data;
a CAN TIMING ANALYZER that compares a period value and a pattern length of the CAN Message including the CAN Timing data with a steady state value;
When an abnormal CAN environment is detected in the CAN TIMING ANALYZER, a part of the circuit attached to each ECU includes a CAN SAFETY OPERATOR that blocks CAN communication,
The CAN TIMING ANALYZER is a CAN communication load control device that identifies changes in pattern length and cycle when the CAN Message is overloaded or an unintended CAN Message is received within the same CAN bus.
제 1항에 있어서,
상기 CAN Message는 CAN ID, 주기 및 패턴 타입, 패턴 길이, 메시지 주기로 이루어진 CAN Timing DATA를 포함하는 것을 특징으로 하는 CAN 통신 부하 제어 장치.
According to claim 1,
The CAN Message includes CAN Timing DATA consisting of a CAN ID, period and pattern type, pattern length, and message period.
삭제delete 제 1항에 있어서
상기 CAN SAFETY OPERATOR는 ECU 타겟 중 위험지수가 낮은 타겟순으로 CAN 통신을 물리적으로 차단시키는 것을 특징으로 하는 CAN 통신 부하 제어 장치.
According to claim 1
The CAN SAFETY OPERATOR is a CAN communication load control device, characterized in that for physically blocking CAN communication in the order of low risk index among ECU targets.
CAN timing DATA 수집하는 단계;
동일 CAN bus 내에 CAN Message가 과부하되거나 또는 의도되지 않은 CAN Message가 들어오면 상기 CAN timing DATA의 CAN Message ID 별 주기 변동이 있는가 판단하는 단계;
상기 CAN Message ID 별 주기 변동이 있을 시에, CAN Message ID 별 패턴 길이에 에러가 있는지 판단하는 단계;
상기 에러에 따른 상기 CAN 부하 상태를 구분하여, 상황에 맞는 CAN 부하 경고등이 동작하는 단계;
상기 CAN 부하 상태에 따라 운행 안전 모드를 구분하는 단계; 및
상기 운행 안전 모드에 따라 CAN 통신을 차단하는 단계를 포함하는 CAN 통신 부하 제어 방법.
Collecting CAN timing DATA;
Determining whether there is a change in cycle per CAN message ID of the CAN timing DATA when a CAN message is overloaded or an unintended CAN message is received in the same CAN bus;
determining whether there is an error in the pattern length for each CAN Message ID when there is a periodic change for each CAN Message ID;
Classifying the CAN load state according to the error, and operating a CAN load warning light suitable for the situation;
classifying a driving safety mode according to the CAN load state; and
CAN communication load control method comprising the step of blocking CAN communication according to the driving safety mode.
제 5항에 있어서,
상기 CAN 부하 상태에 따라 운행 안전 모드를 구분하는 단계는
멀티미디어 CAN 부하를 차단하는 운행 안전모드 1단계; 및
운전 편의 장치 CAN 통신을 차단하는 운행 안전모드 2단계를 구분하는 것을 특징으로 하는 CAN 통신 부하 제어 방법.
According to claim 5,
The step of classifying the driving safety mode according to the CAN load state is
1st stage of driving safety mode blocking multimedia CAN load; and
A CAN communication load control method characterized by distinguishing two stages of a driving safety mode in which CAN communication of a driving convenience device is blocked.
KR1020160041599A 2016-04-05 2016-04-05 Apparatus and method for CAN communication load control KR102543531B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160041599A KR102543531B1 (en) 2016-04-05 2016-04-05 Apparatus and method for CAN communication load control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160041599A KR102543531B1 (en) 2016-04-05 2016-04-05 Apparatus and method for CAN communication load control

Publications (2)

Publication Number Publication Date
KR20170114526A KR20170114526A (en) 2017-10-16
KR102543531B1 true KR102543531B1 (en) 2023-06-15

Family

ID=60295772

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160041599A KR102543531B1 (en) 2016-04-05 2016-04-05 Apparatus and method for CAN communication load control

Country Status (1)

Country Link
KR (1) KR102543531B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101544887B1 (en) * 2014-07-22 2015-08-17 현대오트론 주식회사 Apparatus And Method for diagnosing CAN communication error

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101544887B1 (en) * 2014-07-22 2015-08-17 현대오트론 주식회사 Apparatus And Method for diagnosing CAN communication error

Also Published As

Publication number Publication date
KR20170114526A (en) 2017-10-16

Similar Documents

Publication Publication Date Title
US10277598B2 (en) Method for detecting and dealing with unauthorized frames in vehicle network system
US20180144119A1 (en) Misuse detection method, misuse detection electronic control unit, and misuse detection system
JP3633092B2 (en) Microcomputer failure monitoring device
US10917441B2 (en) Communications system that detects an occurrence of an abnormal state of a network
JP6964277B2 (en) Communication blocking system, communication blocking method and program
US11621967B2 (en) Electronic control unit, electronic control system, and recording medium
CN108063687B (en) Method for judging fault node in CAN bus network
JP6388433B2 (en) Network device, communication method, program, recording medium
US10008824B2 (en) Optical module for preventing laser beam leakage and control method thereof
CN110147090B (en) Method and system for processing controller local area network bus closing fault
US8737419B2 (en) Network concentrator and method of controlling the same
KR102543531B1 (en) Apparatus and method for CAN communication load control
CN106647351A (en) Redundancy switching circuit
JP7392586B2 (en) Log sending control device
US20050268166A1 (en) Circuit for detecting ground offset of parts of a network
US20170272451A1 (en) Monitoring apparatus and communication system
JP6913869B2 (en) Surveillance equipment, surveillance systems and computer programs
CN105978718A (en) Refrigerator and signal connection error report method and system of WiFi refrigerator
US10515039B2 (en) Vehicle USB hub system
JP6388436B2 (en) Network device, communication method, program, recording medium
US9787532B2 (en) Module, system and method of switching modules
US20100158007A1 (en) Method and apparatus for aggregating single packets in a single session
JP4308974B2 (en) Elevator control system
JP2000174733A (en) Light reception circuit
CN116431377B (en) Watchdog circuit

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right