KR100460905B1 - Identifier establish method of can message in vehicle - Google Patents

Identifier establish method of can message in vehicle Download PDF

Info

Publication number
KR100460905B1
KR100460905B1 KR10-2002-0055579A KR20020055579A KR100460905B1 KR 100460905 B1 KR100460905 B1 KR 100460905B1 KR 20020055579 A KR20020055579 A KR 20020055579A KR 100460905 B1 KR100460905 B1 KR 100460905B1
Authority
KR
South Korea
Prior art keywords
message
priority
area
nodes
vehicle
Prior art date
Application number
KR10-2002-0055579A
Other languages
Korean (ko)
Other versions
KR20040024078A (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 KR10-2002-0055579A priority Critical patent/KR100460905B1/en
Publication of KR20040024078A publication Critical patent/KR20040024078A/en
Application granted granted Critical
Publication of KR100460905B1 publication Critical patent/KR100460905B1/en

Links

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
    • 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/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

  • Small-Scale Networks (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)

Abstract

차량에서 CAN 프로토콜 메시지의 ID를 정의하기 위하여 현재 차량에서 적용하고 있는 CAN 버스(BUS)를 분석하고 CAN 메시지의 ID를 설정하는 표준 방법을 제시하여, CAN 버스를 효율적으로 운용할 수 있도록 하는 것으로,In order to define the ID of the CAN protocol message in the vehicle, it is possible to analyze the CAN bus currently applied in the vehicle and to present a standard method of setting the ID of the CAN message so that the CAN bus can be operated efficiently.

11비트의 기준 ID를 사용하는 CAN 메시지에 대하여 우선 순위를 결정하는 우선 순위 영역을 5비트의 ID로 정의하고, 수신 노드를 나타내는 영역의 Rx 필터를 6비트의 ID로 정의하는 것을 특징으로 한다.The priority area for determining the priority of the CAN message using the 11-bit reference ID is defined as a 5-bit ID, and the Rx filter in the area indicating the receiving node is defined as a 6-bit ID.

Description

차량에서 캔 메시지의 아이디 설정방법{IDENTIFIER ESTABLISH METHOD OF CAN MESSAGE IN VEHICLE}How to set ID of can message in vehicle {IDENTIFIER ESTABLISH METHOD OF CAN MESSAGE IN VEHICLE}

본 발명은 CAN 메시지의 아이디(ID) 설정 방법에 관한 것으로, 더 상세하게는 현재 차량에서 적용하고 있는 CAN 버스(BUS)를 분석하고 CAN 메시지의 ID를 설정하는 표준 방법을 제시하여, CAN 버스를 효율적으로 운용할 수 있도록 하는 차량에서 캔 메시지의 아이디 설정방법에 관한 것이다.The present invention relates to a method of setting an ID of a CAN message. More particularly, the present invention proposes a standard method of analyzing a CAN bus applied to a vehicle and setting an ID of a CAN message. The present invention relates to an ID setting method of a can message in a vehicle that can be efficiently operated.

전자제어 기술의 발달과 마이크로 콘트롤러의 성능 향상에 따라 차량에 사용되어지는 전자제어 장치들의 수는 갈수록 증가되고 있으며, 이들 전자제어 장치들은 기능에 있어서의 모듈화와 효과적이고 체계적인 개발 프로세스 및 최적의 시스템 구성을 필요로 하며, 제어 시스템 설계기술과 통신기술의 선진화를 위하여 차량의 네트워크 표준화 및 관련자료의 데이터 베이스화는 필수적이다.With the development of electronic control technology and the improvement of microcontroller performance, the number of electronic control devices used in vehicles is increasing. These electronic control devices are modular in function, effective and systematic development process, and optimal system configuration. In order to advance control system design technology and communication technology, standardization of network of vehicle and database of related data are essential.

차량의 네트워크 시스템의 설계는 국제 표준화기구(ISO)에서 정의하는 네트워크의 계층 구조 기반의 CAN 프로토콜로 구성되는데, CAN 프로토콜을 이용하여 차량의 네트워크 시스템을 구축할 때 메시지의 ID(식별자)를 결정하는 것은 네트워크 설계에서 가장 중요한 일중의 하나이다.The design of the vehicle network system consists of the CAN protocol based on the hierarchical structure of the network defined by the International Organization for Standardization (ISO), which determines the ID (identifier) of the message when constructing the vehicle network system using the CAN protocol. This is one of the most important tasks in network design.

이것은 ID(식별자)에 의하여 메시지의 우선순위가 결정되며, 이에 따라 시스템의 응답 시간이 변환하고, ID(식별자)가 내포하고 있는 정보에 따라 메시지의 처리 방법이 달라지기 때문이다.This is because the priority of the message is determined by the ID (identifier), and thus the response time of the system is converted, and the method of processing the message varies according to the information contained in the ID (identifier).

CAN 프로토콜은 ISO/OSI 7계층 중에서 물리계층과 데이터 링크 계층에 대한 표준의 하나로 각각 ISO 11898과 ISO 11519-2에 정의되어 있다.The CAN protocol is defined in ISO 11898 and ISO 11519-2 as one of the standards for the physical layer and data link layer among the seven ISO / OSI layers.

CAN 프로토콜은 브로드캐스팅 방식으로 통신이 이루어지며, 데이터의 전송은 프레임 단위로 이루어지는데, 모든 프레임은 고유의 ID(식별자)를 가지고 있어 네트워크 상의 모든 노드들은 이 프레임의 ID(식별자)를 판별하여 전송된 메시지에 대한 통신여부를 판단한다.The CAN protocol communicates by broadcasting, and data is transmitted in units of frames. Every frame has a unique ID (identifier), so all nodes on the network determine the ID (identifier) of the frame and transmit it. It is determined whether or not to communicate the message.

또한, 각 프레임에 우선순위를 부여하여 통신 버스상에서 충돌이 발생하였을 경우에 중재하는 역할을 수행한다.In addition, priority is given to each frame to mediate when a collision occurs on the communication bus.

네트워크를 통하여 전달되는 CAN 메시지의 데이터는 전송되어야 하는 신호들로 구성되는데, 신호는 센서나 구동기의 입/출력 또는 제어 입력 등과 같이 네트워크상에서 의미를 가지는 최소한의 단위를 의미한다.The data of the CAN message transmitted through the network consists of signals to be transmitted. The signal means a minimum unit having meaning in the network, such as an input / output or a control input of a sensor or a driver.

이러한 신호를 CAN 네트워크에서는 메시지를 이용하여 전송하는데, 메시지란 신호의 송신자와 수신자, 신호의 길이, 전송 주기 및 마감시간과 같은 시간에 대한 특성 등을 고려하여 CAN 버스로 올릴 수 있는 형태로 재구성한 것으로 의미한다.In CAN networks, these signals are transmitted using messages, which are reconfigured into a CAN bus, taking into account the sender and receiver of the signal, the length of the signal, and the characteristics of the time such as the transmission cycle and deadline. Means that.

즉, 네트워크를 통하여 전달되어야 하는 모든 데이터는 신호라 하고, 이것을 CAN을 매개로 전송할 수 있는 형태로 재구성한 것을 메시지라 한다.In other words, all data to be transmitted through the network is called a signal, and the message reconfigured into a form that can be transmitted via CAN is called a message.

통상적으로 차량에서 CAN 메시지는 파워 트레인 계통에 연결되는 ECU, TCU, TCS 등의 제어기에서 그 활용이 가장 많은데, 종래의 E㎳(Electronic Meassage System) 업체에서 설정한 기준의 파워 트레인 계통의 CAN 메시지의 ID 구조는 첨부된 도 3과 같은 도표로 구성된다.In general, the CAN message in the vehicle is most used by controllers such as ECUs, TCUs, and TCSs connected to the power train system. The ID structure consists of a diagram as shown in FIG.

도 3에서 ID 설정 영역을 살펴보면 우선순위를 나타내는 영역과 메시지의 구분을 위한 영역으로 구성된 것으로 분석된다.Referring to FIG. 3, the ID setting area is analyzed to include an area indicating priority and an area for distinguishing a message.

상기에서 우선 순위의 영역의 경우 송신 노드에 대한 ID로 'ID 10 ~ ID 8' 이 할당되고, 동일 노드 내에서 메시지의 ID로 'ID 7 ~ ID 6'이 할당된다.In the above priority area, 'ID 10 to ID 8' are allocated as IDs for the transmitting nodes, and 'ID 7 to ID 6' are assigned as IDs of messages in the same node.

그리고, 메시지의 구분을 위한 영역으로 'ID 5 ~ ID 0'이 할당된다.Then, 'ID 5 to ID 0' are allocated as an area for message classification.

또한, 도 3의 도표에서 알 수 있는 바와 같이, 파워 트레인 계통에서 사용되는 메시지들 중에서 TCS 제어기 모듈에서 발생하는 메시지가 가장 우선순위가 높으며, ECU 제어기의 메시지(E㎳) 그리고 TCU 제어기의 메시지 순으로 우선 순위가 정의되어 있다.In addition, as shown in the diagram of FIG. 3, among the messages used in the power train system, the messages generated by the TCS controller module have the highest priority, followed by the message of the ECU controller (E () and the message of the TCU controller. Priority is defined.

또한, 수신 노드간의 우선 순위를 정의한 부분이 'ID 10 ~ ID 8' 영역이며, 동일한 노드에 포함되어 있는 메시지간의 우선 순위는 'ID 7 ~ ID 6'의 영역에서 정의되어 있어 동일한 노드에서 메시지의 우선 순위는 메시지의 전송주기를 기준으로 순위가 결정되어 있다.In addition, the part defining priority between receiving nodes is 'ID 10 ~ ID 8' area, and the priority between messages included in the same node is defined in the area of 'ID 7 ~ ID 6'. Priority is determined based on the transmission period of the message.

그러나, 같은 ECU 제어기의 메시지(E㎳1~E㎳4)에서 E㎳4의 경우 메시지의 규칙을 따르지 않고 있는바, 이 경우 CAN 버스의 이용률은 12%미만이다.However, in the same ECU controller messages (E # 1 to E4), E4 does not follow the rules of the message, in which case the utilization of the CAN bus is less than 12%.

상기와 같은 방법을 적용하여 메시지의 우선순위를 결정하는 것은 메시지의 ID 결정에 있어 가장 중요한 고려사항인 메시지를 구성하고 있는 신호나 메시지의 전송 주기 등에 대한 것을 우선적으로 고려하지 않는 것이므로 CAN 메시지의 ID 설정 규칙으로 바람직한 못한 단점이 있다.Determining the priority of a message by applying the method described above does not give priority to the signal constituting the message or the transmission period of the message, which is the most important consideration in determining the ID of a message. There are disadvantages that are not desirable as a set rule.

또한, 새로운 전자 제어 유니트의 추가로 인한 신규 메시지가 발생하는 경우 메시지의 ID를 부여할 방법이 제시되어 있지 않으며, 사양 관리의 측면에서도 E㎳ 업체에 의존하여야 하므로 표준 사양 없이 통신 사양이 다수로 존재하게 되는 문제점이 발생하게 된다.In addition, when a new message occurs due to the addition of a new electronic control unit, there is no method to assign a message ID, and in terms of specification management, there are many communication specifications without a standard specification because it has to rely on the E㎳ company. The problem occurs.

본 발명은 상기와 같은 문제점을 해결하기 위하여 발명한 것으로, 그 목적은 현재 차량에서 적용하고 있는 CAN 버스(BUS)를 분석하여 사용중인 CAN 메시지에 대한 데이터 베이스를 구축하고, 이를 기반으로 추가되는 CAN 메시지의 ID를 설정하는 표준화 방법을 제시하여, CAN 버스의 운용에 효율성을 제공하도록 한 것이다.The present invention has been invented to solve the above problems, the purpose of which is to analyze the CAN bus (BUS) currently applied in the vehicle to build a database for the CAN message in use, and based on this CAN A standardization method for setting the ID of a message is presented to provide efficiency in the operation of the CAN bus.

즉, 네트워크 메시지에 대한 메시지의 송신자 및 수신자, 전송주기 및 메시지를 구성하고 있는 신호 등의 자료를 이용하여 기능의 효율성과 확장성을 제공하도록 한 것이다.In other words, it provides the efficiency and extensibility of the function by using the data such as the sender and receiver of the message for the network message, the transmission period and the signal constituting the message.

도 1은 본 발명에 따른 차량에서 캔 메시지의 아이디 설정에 대한 데이터 포맷의 구성도.1 is a block diagram of a data format for ID setting of a can message in a vehicle according to the present invention.

도 2는 일 실시예로 하이브리드 차량에서 사용되는 메시지의 구성을 도시한 도표.2 is a diagram illustrating the configuration of a message used in a hybrid vehicle in one embodiment.

도 3은 일 실시예로 하이브리드 차량에서 사용되는 메시지에 대하여 본 발명의 아이디 설정방법을 통해 정의한 수신 노드의 메시지 정의 도표.3 is a message definition diagram of a receiving node defined through the ID setting method of the present invention for a message used in a hybrid vehicle according to one embodiment.

도 4는 일 실시예로 하이브리드 차량에서 사용되는 메시지에 대하여 본 발명을 통해 정의한 메시지 정의 도표.4 is a message definition diagram defined through the present invention for a message used in a hybrid vehicle in one embodiment.

도 5는 종래의 차량에서 파워 트레인 계통의 제어기에 대한 CAN 메시지의 아이디 설정 구조도.5 is a structure diagram of ID setting of a CAN message for a controller of a power train system in a conventional vehicle.

상기와 같은 목적을 실현하기 위한 본 발명은 차량에서 CAN 프로토콜 메시지의 ID 정의 방법에 있어서,The present invention for realizing the above object is a method of defining the ID of a CAN protocol message in a vehicle,

11비트의 기준 ID를 사용하는 CAN 메시지에 대하여 우선 순위를 결정하는 우선 순위 영역을 5비트의 ID로 정의하고, 수신 노드를 나타내는 영역의 Rx 필터를 6비트의 ID로 정의하는 것을 특징으로 한다.The priority area for determining the priority of the CAN message using the 11-bit reference ID is defined as a 5-bit ID, and the Rx filter in the area indicating the receiving node is defined as a 6-bit ID.

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

도 1에서 알 수 있는 바와 같이 본 발명에 따른 차량에서 캔 메시지의 아이디 설정은 11비트의 표준 ID(식별자)를 사용하는 CAN 메시지에 대하여 ID(식별자) 설정을 정의한다.As can be seen in Figure 1 the ID setting of the can message in the vehicle according to the present invention defines the ID (identifier) setting for the CAN message using a standard ID (identifier) of 11 bits.

도면에서 알 수 있는 바와 같이, 11비트로 구성되는 CAN 메시지의 ID(식별자)는 우선 순위를 결정하는 부분(Priority)과 수신 노드를 나타내는 영역(Rx Filter)으로 이루어지는데, 우선 순위를 결정하는 부분은 전송 주기와 메시지 데이터의 길이 그리고 수신 신호의 개수에 따른 메시지의 우선 순위를 표시하는 것으로, 5 비트의 ID(식별자)로 구성되어, 최대 32개의 메시지에 대한 정의가 가능하도록 정의한다.As can be seen from the figure, the ID (identifier) of the 11-bit CAN message is composed of a priority (Priority) to determine the priority and a region (Rx Filter) indicating the receiving node, the priority is determined It indicates the priority of the message according to the transmission period, the length of the message data, and the number of received signals. It consists of a 5-bit ID (identifier), which defines up to 32 messages.

상기 우선 순위 영역을 결정하는 규칙은 다음과 같다.The rule for determining the priority area is as follows.

ⅰ). 메시지의 주기가 가장 짧은 메시지를 최우선 순위로 한다.Iii). The message with the shortest period of messages is the highest priority.

ⅱ). 고정 우선 순위 스케즐링 방식으로 결정하며, 그 영역은 0x00 ~ 0x1F로 한다.Ii). The fixed priority scheduling method is used, and the area is set to 0x00 to 0x1F.

ⅲ). 메시지의 주기가 동일할 경우에는 메시지의 전송시간을 고려하여 데이터의 길이가 긴 메시지에 높은 우선 순위를 부여한다.Iii). If the message periods are the same, high priority is given to a message with a long data length in consideration of the transmission time of the message.

ⅳ). 메시지의 전송 주기와 데이터의 길이가 같은 경우에는 메시지가 포함하고 있는 신호의 수가 많은 메시지에 높은 우선 순위를 부여한다.Iii). If the transmission period of the message and the data length are the same, a high priority is given to the message having a large number of signals included in the message.

ⅴ). 위의 모든 조건이 모두 동일할 경우에는 수신 노드의 우선 순위가 높은 메시지에 높은 우선 순위를 부여한다.Iii). If all of the above conditions are the same, high priority is given to the high priority message of the receiving node.

또한, 상기 6비트로 구성되는 수신 노드의 영역을 결정하는 규칙은 다음과 같다.In addition, the rule for determining the area of the receiving node consisting of the six bits is as follows.

ⅰ). 하나의 비트가 하나의 수신 노드를 표시한다.Iii). One bit represents one receiving node.

ⅱ). 6비트의 ID(식별자) 영역을 가지므로 최대 6 노드까지 표현한다.Ii). Since it has an ID (identifier) area of 6 bits, up to 6 nodes are represented.

ⅲ). 수신 노드에서 소프트웨어에 의한 수신 메시지의 분류 작업을 수반하지 않는다.Iii). It does not involve classifying incoming messages by software at the receiving node.

ⅳ). 노드의 수가 6 노드 이상일 경우에는 수신 노드 간에 설정된 특정의 조건을 만족하는 노드들을 그룹화하여 표현한다.Iii). When the number of nodes is 6 or more, the nodes satisfying a specific condition set between the receiving nodes are grouped and represented.

상기에서 노드들을 그룹화하기 위한 조건은 수신 메시지의 처리 주기가 같은 노드이고, 처리하여야 할 공통의 신호를 가진 노드들이다.The conditions for grouping nodes are nodes having the same processing period of a received message and nodes having a common signal to be processed.

상기한 바와 같은 정의를 기반으로 하는 CAN 메시지의 ID 정의를 통해 일 실시예를 들어 하이브리드 차량의 파워 트레인 계통에서의 CAN 메시지에 대한 ID 정의를 살펴보면 다음과 같다.Looking at the ID definition of the CAN message in the powertrain system of the hybrid vehicle, for example, through the ID definition of the CAN message based on the definition as described above is as follows.

하이브리드 차량의 파워 트레인 계통에 사용되는 CAN 메시지는 첨부된 도 2와 같은 설정되는데, 이에 대하여 상기한 11비트의 표준안을 통해 메시지 ID를 재정의하면, 수신 노드의 Rx 필터는 첨부된 도 3과 같은 도표로 표현된다.The CAN message used in the power train system of the hybrid vehicle is set as shown in FIG. 2 attached thereto. If the message ID is redefined through the 11-bit standard described above, the Rx filter of the receiving node is shown in FIG. It is expressed as

또한, 이후에 추가될 메시지들을 고려하여 10㎳와 160㎳의 주기를 가지는 메시지의 우선 순위 영역을 각각 0x09와 0x19로 정의한다.In addition, in consideration of messages to be added later, priority areas of a message having a period of 10 ms and 160 ms are defined as 0x09 and 0x19, respectively.

즉, 10㎳ 보다 작은 주기를 가지는 메시지의 경우 우선순위 영역의 값은 0x00 ~ 0x08의 값을 가질 수 있으며, 10㎳와 160㎳ 사이의 주기를 가지는 메시지의 경우 우선 순위 영역의 값은 0x12 ~ 0x18의 값을 가질 수 있으며, 160㎳ 이상의 주기를 가지는 메시지일 경우 우선 순위 영역의 값은 0x1C ~ 0x1F의 값을 가질 수 있다.That is, in the case of a message having a period less than 10 ms, the value of the priority area may have a value of 0x00 ~ 0x08. In the case of a message having a period between 10 ms and 160 ms, the value of the priority area is 0x12 ~ 0x18 The value of the priority area may have a value of 0x1C to 0x1F when the message has a period of 160 ms or more.

또한, 수신 노드의 Rx 필터 영역은 메시지의 수신 노드를 나타내는 비트를 '1'로 하여 그 값을 결정한다.In addition, the Rx filter area of the receiving node determines its value by setting the bit representing the receiving node of the message as '1'.

하이브리드 차량의 파워 트레인 계통에 사용되는 메시지 중에서 B㎳1, B㎳2, B㎳3을 제외한 모든 메시지의 주기는 10㎳를 가지고 있는데, 주기가 10㎳인 메시지들 가운데 전송 데이터의 길이는 MCU2가 8바이트로 가장 길어 가장 높은 우선 순위를 가지게 되므로 우선 순위 영역의 값은 '9'가 되고, 이 메시지의 수신 노드는 HCU이므로 Rx 필터의 값은 '1'이 되어 MCU2의 ID는 0x241 로 정의된다.Among the messages used in the powertrain system of the hybrid vehicle, all messages except B㎳1, B㎳2, and B㎳3 have a period of 10 ms. Among the messages having a period of 10 ms, the length of transmitted data is MCU2. Since it has the longest priority with 8 bytes and has the highest priority, the value of the priority area is '9'. Since the receiving node of this message is the HCU, the Rx filter value is '1' and the ID of MCU2 is defined as 0x241. .

다음으로 TCU1과 ECU1메시지가 각각 7바이트의 데이터를 가지는데, TCU1이 포함하는 신호의 개수가 ECU1가 가진 신호의 개수보다 많으므로 TCU1이 더 높은 우선 순위를 가진다.Next, the TCU1 and ECU1 messages each have 7 bytes of data. Since the number of signals included in the TCU1 is greater than the number of signals contained in the ECU1, the TCU1 has a higher priority.

그러므로 우선 순위 영역의 값은 각각 0xA 와 0xB 가 된다.Therefore, the values of the priority range are 0xA and 0xB, respectively.

또한, TCU1은 HCU와 ECU 노드가, ECU1은 HCU 노드가 수신 노드이므로 Rx 필터의 값은 각각 0x11 과 0x1 으로 정의되고, TCU1의 ID는 0x291, ECU1의 ID는 0x2C1 로 정의된다.In addition, since TCU1 is an HCU and an ECU node, and ECU1 is an HCU node, a Rx filter value is defined as 0x11 and 0x1, and an ID of TCU1 is defined as 0x291 and an ID of ECU1 is defined as 0x2C1.

상기와 같이 메시지 ID의 우선 순위를 정의하여 최종적으로 정리하면 첨부된 도 4와 같은 도표로 표현된다.When the priority of message IDs is defined and finally arranged as described above, it is represented by a diagram as shown in FIG.

따라서, 상기한 표준화 정의를 통해 CAN 메시지의 ID를 정의하면 노드의 개수 및 메시지의 수가 증가하여도 버스 사용율은 대략적으로 20% 이상 증가한다.Therefore, if the ID of the CAN message is defined through the above standardization definition, the bus utilization increases approximately 20% or more even if the number of nodes and the number of messages increase.

이상에서 설명한 바와 같이 본 발명은 CAN 메시지의 ID를 정의함에 있어, 메시지를 전송 주기가 빠른 메시지를 우선으로 정의함으로써 실시간 제어어 있어 전송 주기가 늦은 메시지의 버스 선점에 의한 중요 메시지의 처리 지연이 배제되며, 이에 따라 버스의 사용 효율성이 높아진다.As described above, in the present invention, in defining the ID of a CAN message, the message is first defined by a message having a fast transmission period, thereby eliminating a delay in processing a critical message due to a bus preemption of a message having a slow transmission period. As a result, the use efficiency of the bus is increased.

또한, CAN 통신을 사용하는 유니트의 추가나 통신 메시지의 신규 발생시에 ID를 적용하는 표준화를 통해 E㎳ 업체에 의존하지 않고 자체적으로 효율적인 설계및 사양 관리를 수행한다.In addition, through the standardization of the addition of a unit using CAN communication or the identification of new communication messages, efficient design and specification management can be carried out without relying on the E㎳ company.

Claims (13)

차량에서 CAN 프로토콜 메시지의 ID 정의 방법에 있어서,In the method of defining the ID of a CAN protocol message in a vehicle 11비트의 기준 ID를 사용하는 CAN 메시지에 대하여 우선 순위를 결정하며, 전송 주기와 메시지 데이터의 길이 그리고 수신 신호의 개수에 따른 메시지의 우선 순위 정보가 포함되는 우선 순위 영역을 5비트의 ID로 정의하고, 수신 노드를 나타내는 영역의 수신 필터는 하나의 비트가 하나의 수신 노드를 표시하도록 하며, 6비트의 ID로 정의하는 것을 특징으로 하는 차량에서 캔 메시지의 아이디 설정방법.Priority is determined for CAN messages using 11-bit reference ID, and the priority area including priority information of the message according to the transmission cycle, the length of the message data, and the number of received signals is defined as a 5-bit ID. And the reception filter of the region representing the reception node has one bit indicating one reception node and is defined by an ID of 6 bits. 삭제delete 제1항에 있어서,The method of claim 1, 상기 우선 순위 영역은 최대 32개의 메시지에 대한 정의가 표시되는 것을 특징으로 하는 차량에서 캔 메시지의 아이디 설정방법.The priority area is a method for setting the ID of the can message in a vehicle, characterized in that for defining a maximum of 32 messages are displayed. 제1항에 있어서,The method of claim 1, 상기 우선 순위 영역은 메시지의 주기가 가장 짧은 메시지를 최우선 순위로 정의하는 것을 특징으로 하는 차량에서 캔 메시지의 아이디 설정방법.And the priority area defines a message having the shortest period of the message as the highest priority. 제1항에 있어서,The method of claim 1, 상기 우선 순위 영역은 고정 우선 순위 스케즐링 방식으로 결정하며, 그 영역은 0x00 ~ 0x1F로 정의하는 것을 특징으로 하는 차량에서 캔 메시지의 아이디 설정방법.The priority area is determined by a fixed priority scheduling method, and the area is defined as 0x00 to 0x1F. 제1항에 있어서,The method of claim 1, 상기 우선 순위 영역은 메시지의 주기가 동일할 경우에는 메시지의 전송시간을 고려하여 데이터의 길이가 긴 메시지에 높은 우선 순위를 부여하여 정의하는 것을 특징으로 하는 차량에서 캔 메시지의 아이디 설정방법.And the priority area is defined by giving a high priority to a message having a long data length in consideration of the transmission time of the message when the message periods are the same. 제1항에 있어서,The method of claim 1, 상기 우선 순위 영역은 메시지의 전송 주기와 데이터의 길이가 같은 경우에는 메시지가 포함하고 있는 신호의 수가 많은 메시지에 높은 우선 순위를 부여하여 정의하는 것을 특징으로 하는 차량에서 캔 메시지의 아이디 설정방법.And the priority area is defined by giving a high priority to a message having a large number of signals included in the message when the message transmission period and the data length are the same. 제1항에 있어서,The method of claim 1, 상기 우선 순위 영역은 상기한 모든 조건이 모두 동일할 경우에는 수신 노드의 우선 순위가 높은 메시지에 높은 우선 순위를 부여하여 정의하는 것을 특징으로 하는 차량에서 캔 메시지의 아이디 설정방법.And the priority area is defined by assigning a high priority to a message having a high priority of a receiving node when all of the above conditions are the same. 삭제delete 제1항에 있어서,The method of claim 1, 상기 수신 노드의 영역은 6비트의 ID 영역을 가지므로 최대 6 노드까지 표현되는 것을 특징으로 하는 차량에서 캔 메시지의 아이디 설정방법.The area of the receiving node has a 6-bit ID area, so up to 6 nodes are represented. 제1항에 있어서,The method of claim 1, 상기 수신 노드의 영역은 소프트웨어에 의한 수신 메시지의 분류 작업을 수반하지 않는 것을 특징으로 하는 차량에서 캔 메시지의 아이디 설정방법.And the area of the receiving node does not involve sorting a received message by software. 제1항에 있어서,The method of claim 1, 상기 수신 노드의 영역은 노드의 수가 6 노드 이상일 경우에는 수신 노드 간에 설정된 특정의 조건을 만족하는 노드들을 그룹화하여 정의하는 것을 특징으로 하는 차량에서 캔 메시지의 아이디 설정방법.And the area of the receiving node is defined by grouping nodes satisfying a specific condition set between the receiving nodes when the number of nodes is 6 or more nodes. 제12항에 있어서,The method of claim 12, 상기 노드들을 그룹화하기 위한 조건은 수신 메시지의 처리 주기가 같은 노드이고, 처리하여야 할 공통의 신호를 가진 노드들로 정의하는 것을 특징으로 하는차량에서 캔 메시지의 아이디 설정방법.The condition for grouping the nodes is defined as nodes having the same processing cycle of the received message and having a common signal to be processed.
KR10-2002-0055579A 2002-09-13 2002-09-13 Identifier establish method of can message in vehicle KR100460905B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0055579A KR100460905B1 (en) 2002-09-13 2002-09-13 Identifier establish method of can message in vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0055579A KR100460905B1 (en) 2002-09-13 2002-09-13 Identifier establish method of can message in vehicle

Publications (2)

Publication Number Publication Date
KR20040024078A KR20040024078A (en) 2004-03-20
KR100460905B1 true KR100460905B1 (en) 2004-12-09

Family

ID=37327356

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0055579A KR100460905B1 (en) 2002-09-13 2002-09-13 Identifier establish method of can message in vehicle

Country Status (1)

Country Link
KR (1) KR100460905B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101693892B1 (en) 2011-11-24 2017-01-06 현대자동차주식회사 Can network system for vehicle
KR200487616Y1 (en) 2017-05-12 2018-10-12 오의식 Pumping-up power generation system
KR102364656B1 (en) * 2017-08-02 2022-02-21 한국전자통신연구원 Apparatus and method for generating and operating dynamic can id based on hmac
KR102179686B1 (en) 2017-11-01 2020-11-17 주식회사 엘지화학 Can-cummunication method between ess battery and power manage unit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930703774A (en) * 1991-03-28 1993-11-30 페페아, 베렌즈; 이. 파우. 프리드만 Structured message method for synchronization of data exchange and / or signal processing in data processing apparatus
US5854454A (en) * 1996-09-16 1998-12-29 Otis Elevator Company Message routing in control area network (CAN) protocol
US6363083B1 (en) * 1999-03-12 2002-03-26 Otis Elevator Company Bilevel node identifiers in control area network (CAN) protocol
KR20020042139A (en) * 2000-11-30 2002-06-05 이계안 Method for message frame operation of can system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930703774A (en) * 1991-03-28 1993-11-30 페페아, 베렌즈; 이. 파우. 프리드만 Structured message method for synchronization of data exchange and / or signal processing in data processing apparatus
US5854454A (en) * 1996-09-16 1998-12-29 Otis Elevator Company Message routing in control area network (CAN) protocol
US6363083B1 (en) * 1999-03-12 2002-03-26 Otis Elevator Company Bilevel node identifiers in control area network (CAN) protocol
KR20020042139A (en) * 2000-11-30 2002-06-05 이계안 Method for message frame operation of can system

Also Published As

Publication number Publication date
KR20040024078A (en) 2004-03-20

Similar Documents

Publication Publication Date Title
Raji Smart networks for control
US6697379B1 (en) System for transmitting messages to improved stations, and corresponding processing
JP4401239B2 (en) Communication message converter, communication method, and communication system
Syed et al. Dynamic scheduling and routing for TSN based in-vehicle networks
US20030070019A1 (en) Method and device for transmitting information on a bus system, and a bus system
CN100525233C (en) CAN bus based signal real-time processing method
CN106162528B (en) LoRa signal and Bluetooth signal conversion module, conversion method and sender unit
US10666457B2 (en) Relay device
CN101610192A (en) A kind of communication slave, bus cascade method and system
US6363083B1 (en) Bilevel node identifiers in control area network (CAN) protocol
JP2000196700A (en) Start-stop synchronization data transmitting method
KR100460905B1 (en) Identifier establish method of can message in vehicle
US7283488B2 (en) J1850 application specific integrated circuit (ASIC) and messaging technique
CN104683353A (en) Security information adaptive communication system for internet of vehicles
US20040153859A1 (en) Communication method for the realization of event channels in a time-driven communication system
CN106063301B (en) Method and system for determining the number of vehicle-to-X messages to discard
KR100583811B1 (en) The can message identifier allocation method and the can message transfer arbitration method for the humanoid robot
CN117480499A (en) Method for configuring an internal signaling of a device in a control device on the basis of the operating time, correspondingly operable control device and motor vehicle
CN114915515A (en) CAN communication method and system based on SOC
Park et al. Optimal priority assignment for scheduling mixed can and can-fd frames
KR20050053060A (en) Identifier establish method of can message in vehicle
CN113169995A (en) Method for configuring an Ethernet switch of a vehicle-mounted network of a motor vehicle
KR20020042139A (en) Method for message frame operation of can system
KR102595722B1 (en) Communication network, method and apparatus for identifying node connected thereto
CN112235195B (en) Method for processing reported data and related equipment

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
LAPS Lapse due to unpaid annual fee