KR101021914B1 - FlexRay Communication Transmission/Reception Method and Apparatus - Google Patents
FlexRay Communication Transmission/Reception Method and Apparatus Download PDFInfo
- Publication number
- KR101021914B1 KR101021914B1 KR1020080129567A KR20080129567A KR101021914B1 KR 101021914 B1 KR101021914 B1 KR 101021914B1 KR 1020080129567 A KR1020080129567 A KR 1020080129567A KR 20080129567 A KR20080129567 A KR 20080129567A KR 101021914 B1 KR101021914 B1 KR 101021914B1
- Authority
- KR
- South Korea
- Prior art keywords
- payload
- frame
- flexray
- transmission
- communication
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40052—High-speed IEEE 1394 serial bus
- H04L12/40071—Packet processing; Packet format
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40241—Flexray
Abstract
본 발명은 플렉스레이 통신 전송/수신 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for transmitting / receiving flexray communications.
본 발명은 플렉스레이 통신을 위한 페이로드를 생성하는 페이로드 생성기; 페이로드를 압축하는 압축기; 압축된 페이로드에 헤더 세그먼트와 트레일러 세그먼트를 추가하여 플렉스레이 프레임을 생성하는 프레임 생성기; 플렉스레이 프레임에 전송 시작 시퀀스 및 바이트 시작 시퀀스를 삽입하여 전송 프레임을 생성하는 프레임 엔코더; 및 전송 프레임을 전송하는 전송기를 포함하는 것을 특징으로 하는 플렉스레이 통신 전송 장치를 제공한다.The present invention provides a payload generator for generating a payload for FlexRay communication; A compressor for compressing the payload; A frame generator that adds a header segment and a trailer segment to the compressed payload to generate a FlexRay frame; A frame encoder for generating a transmission frame by inserting a transmission start sequence and a byte start sequence into the FlexRay frame; And a transmitter for transmitting a transmission frame.
본 발명에 의하면, 플렉스레이 통신에서 전송되는 물리적인 프레임의 크기를 줄일 수 있으므로, 시간 결정적인 응용에서 데이터 전송의 신뢰성과 확정성을 보장할 수 있을 뿐만 아니라, 통신 선로의 점유 시간을 줄여 통신 효율을 높일 수 있다.According to the present invention, it is possible to reduce the size of the physical frame transmitted in the FlexRay communication, not only to ensure the reliability and determinism of the data transmission in time-critical applications, but also to reduce the communication time to reduce the communication line efficiency It can increase.
플렉스레이, 페이로드, 압축, FlexRay, Payload, Compression FlexRay, Payload, Compression, FlexRay, Payload, Compression
Description
본 발명은 플렉스레이 통신 전송/수신 방법 및 장치에 관한 것이다. 더욱 상세하게는, 플렉스레이(FlexRay) 통신을 위한 전송 프레임을 전송하고 수신하는 데 있어서, 전송 프레임의 크기를 줄여 통신 효율을 높이기 위한 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for transmitting / receiving flexray communications. More particularly, the present invention relates to a method and apparatus for increasing communication efficiency by reducing the size of a transmission frame in transmitting and receiving a transmission frame for FlexRay communication.
차량 내부에 구비되는 장치들 간의 통신을 위한 통신 기술로서는 CAN(Controller Area Network) 통신이 주로 사용되고 있다. 하지만, CAN 통신은 CSMA/CD+AMP(Carrier Sense Access/Collision Detection with Arbitration on Message Priority) 방식의 한계로 인해 시간 확정적이며 신뢰성 있는 데이터 전송에 적용하기에는 어려운 문제점이 있다.CAN (Controller Area Network) communication is mainly used as a communication technology for communication between devices provided in a vehicle. However, CAN communication is difficult to apply to time-deterministic and reliable data transmission due to limitations of carrier sense access / collation detection with arbitration on message priority (CSMA / CD + AMP).
이러한 CAN 통신의 대안으로 TDMA(Time Division Multiple Access) 방식을 채택하고 있는 플렉스레이(FlexRay) 통신이 대두되고 있다. 이러한 플렉스레이 통신의 등장으로 관련 업계에서는 파워트레인(Power Train), 새시 컨트롤(Chassis Control) 또는 차량 내부 네트워크의 기간망에 플렉스레이 통신을 적용하려는 움직 임이 활발하다. As an alternative to such CAN communication, FlexRay communication, which adopts a time division multiple access (TDMA) method, is emerging. With the advent of FlexRay, the industry is actively moving to apply FlexRay to the backbone of Power Train, Chassis Control or in-vehicle networks.
플렉스레이 통신에서 프레임 전송은 하나의 통신 사이클 내의 정해진 슬롯 내에서 이루어져야 한다. 이때, 최대 프레임 크기는 263 바이트가 될 수 있는데, 프레임이 최대 크기의 페이로드(Payload)로 전송되는 경우, 채널 점유가 과다해져서 통신의 효율성이 떨어지는 문제점이 있다.In FlexRay communication, frame transmission must occur within a given slot within one communication cycle. In this case, the maximum frame size may be 263 bytes. When the frame is transmitted in the payload of the maximum size, the channel occupancy becomes excessive, thereby reducing communication efficiency.
전술한 문제점을 해결하기 위해 본 발명은, 플렉스레이 통신에서 프레임 내의 페이로드를 압축하여 전송함으로써 데이터 전송의 확정성과 안정성을 확보하는 데 주된 목적이 있다.In order to solve the above-mentioned problem, the present invention has a main object to ensure the determinism and stability of data transmission by compressing and transmitting a payload in a frame in a FlexRay communication.
전술한 목적을 달성하기 위해 본 발명은, 플렉스레이 통신을 위한 페이로드를 생성하는 페이로드 생성기; 페이로드를 압축하는 압축기; 압축된 페이로드에 헤더 세그먼트와 트레일러 세그먼트를 추가하여 플렉스레이 프레임을 생성하는 프레임 생성기; 플렉스레이 프레임에 전송 시작 시퀀스 및 바이트 시작 시퀀스를 삽입하여 전송 프레임을 생성하는 프레임 엔코더; 및 전송 프레임을 전송하는 전송기를 포함하는 것을 특징으로 하는 플렉스레이 통신 전송 장치를 제공한다.In order to achieve the above object, the present invention provides a payload generator for generating a payload for FlexRay communication; A compressor for compressing the payload; A frame generator that adds a header segment and a trailer segment to the compressed payload to generate a FlexRay frame; A frame encoder for generating a transmission frame by inserting a transmission start sequence and a byte start sequence into the FlexRay frame; And a transmitter for transmitting a transmission frame.
또한, 본 발명의 다른 목적에 의하면, 플렉스레이 통신을 위한 페이로드를 생성하는 단계; 페이로드를 압축하는 단계; 압축된 페이로드에 헤더 세그먼트와 트레일러 세그먼트를 추가하여 플렉스레이 프레임을 생성하는 단계; 플렉스레이 프레 임에 전송 시작 시퀀스 및 바이트 시작 시퀀스를 삽입하여 전송 프레임을 생성하는 단계; 및 전송 프레임을 전송하는 단계를 포함하는 것을 특징으로 하는 플렉스레이 통신 전송 방법을 제공한다.In addition, according to another object of the present invention, generating a payload for the FlexRay communication; Compressing the payload; Generating a FlexRay frame by adding a header segment and a trailer segment to the compressed payload; Inserting a transmission start sequence and a byte start sequence into the FlexRay frame to generate a transmission frame; And transmitting a transmission frame.
또한, 본 발명의 또 다른 목적에 의하면, 전송 프레임을 수신하는 수신기; 전송 프레임으로부터 전송 시작 시퀀스 및 바이트 시작 시퀀스를 제거하여 플렉스레이 프레임을 복원하는 프레임 디코더; 복원된 플렉스레이 프레임을 헤더 세그먼트, 압축된 페이로드 및 트레일러 세그먼트로 분리하는 프레임 분리기; 및 압축된 페이로드를 압축해제하여 페이로드를 복원하는 압축해제기를 포함하는 것을 특징으로 하는 플렉스레이 통신 수신 장치를 제공한다.In addition, according to another object of the present invention, a receiver for receiving a transmission frame; A frame decoder to restore the flexray frame by removing the transmission start sequence and the byte start sequence from the transmission frame; A frame separator that separates the recovered FlexRay frames into header segments, compressed payloads, and trailer segments; And a decompressor which decompresses the compressed payload to recover the payload.
또한, 본 발명의 또 다른 목적에 의하면, 전송 프레임을 수신하는 단계; 전송 프레임으로부터 전송 시작 시퀀스 및 바이트 시작 시퀀스를 제거하여 플렉스레이 프레임을 복원하는 단계; 복원된 플렉스레이 프레임을 헤더 세그먼트, 압축된 페이로드 및 트레일러 세그먼트로 분리하는 단계; 및 압축된 페이로드를 압축해제하여 페이로드를 복원하는 단계를 포함하는 것을 특징으로 하는 플렉스레이 통신 수신 방법을 제공한다.In addition, according to another object of the present invention, a step of receiving a transmission frame; Restoring the flexlay frame by removing the transmission start sequence and the byte start sequence from the transmission frame; Separating the recovered flexlay frame into header segments, compressed payloads and trailer segments; And recovering the payload by decompressing the compressed payload.
이상에서 설명한 바와 같이 본 발명에 의하면, 플렉스레이 통신에서 전송되는 물리적인 프레임의 크기를 줄일 수 있으므로, 시간 결정적인 응용에서 데이터 전송의 신뢰성과 확정성을 보장할 수 있을 뿐만 아니라, 통신 선로의 점유 시간을 줄여 통신 효율을 높일 수 있다.As described above, according to the present invention, it is possible to reduce the size of the physical frame transmitted in the FlexRay communication, not only to ensure the reliability and reliability of data transmission in time-critical applications, but also to occupy the communication line Can reduce the communication efficiency.
이하, 본 발명의 일부 실시예들을 예시적인 도면을 통해 상세하게 설명한다. 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, some embodiments of the present invention will be described in detail through exemplary drawings. In adding reference numerals to the components of each drawing, it should be noted that the same reference numerals are assigned to the same components as much as possible even though they are shown in different drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.
또한, 본 발명의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다. In addition, in describing the component of this invention, terms, such as 1st, 2nd, A, B, (a), (b), can be used. These terms are only for distinguishing the components from other components, and the nature, order or order of the components are not limited by the terms. If a component is described as being "connected", "coupled" or "connected" to another component, that component may be directly connected or connected to that other component, but between components It will be understood that may be "connected", "coupled" or "connected".
도 1은 플렉스레이 통신의 사이클 구성을 나타낸 예시도이다.1 is an exemplary diagram showing a cycle configuration of the FlexRay communication.
플렉스레이 통신은 정적 세그먼트(Static Segment)에 대한 TDMA(Time Division Multiple Access) 방식 및 동적 세그먼트(Dynamic Segment)에 대한 FTDMA(Flexible Time-Division Multiple Access) 방식을 사용하는 것으로 규정된다. 플렉스레이 통신은 0~254 바이트의 크기를 가지는 데이터를 특정 노드가 자신에게 할당된 시간에만 보내도록 하는 정적 슬롯(Static Slot) 방식 및 우선 순위에 기반한 동적 슬롯(Dynamic Slot) 방식으로 네트워크에 전송한다. 이러한 플렉스레이 통신은 시분할 및 우선 순위 기반의 다중 접속 방식을 동시에 지원하여 유연한 네트워크 구성이 가능하고, 네트워크 토폴로지(Topology)는 버스 및 스타 형태를 가지며, 싱글 채널(Single Channel)과 듀얼 채널(Dual Channel)이 적용될 수 있다.Flexlay communication is defined to use a time division multiple access (TDMA) scheme for static segments and a flexible time-division multiple access (FTDMA) scheme for dynamic segments. FlexRay communication transmits data with a size of 0 ~ 254 bytes to the network in the static slot method and the dynamic slot method based on the priority so that a specific node sends only the time allocated to it. . This FlexRay communication supports time division and priority-based multiple access methods simultaneously, enabling flexible network configuration, and the network topology has bus and star shapes, and single channel and dual channel. ) May be applied.
도 1에서는 듀얼 채널(Dual Channel)이 적용된 예를 나타낸 것이며, '3a', '1b', '2c' 등에서 나타낸 '3'과 같은 숫자(Number)는 메시지를 송신하는 노드(Node)에 따라 표기될 수 있으며, 'b'와 같은 문자(Letter)는 보내지고 있는 메시지에 따라 표기될 수 잇다.1 shows an example in which a dual channel is applied, and a number such as '3' shown in '3a', '1b', and '2c' is indicated according to a node transmitting a message. Letters such as 'b' may be displayed depending on the message being sent.
도 2는 플렉스레이 프레임의 구조를 나타낸 예시도이다.Figure 2 is an exemplary view showing the structure of a FlexRay frame.
플렉스레이의 프레임은 헤더 세그먼트(Header Segment), 페이로드 세그먼트(Payload Segment) 및 트레일러 세그먼트(Trailer Segment)를 포함한다.The frame of the FlexRay includes a header segment, a payload segment, and a trailer segment.
여기서, 헤더 세그먼트는 인디케이터(Indicator), 프레임 ID 필드(Frame ID Field), 페이로드 길이 필드(Payload Length Field), 헤더 CRC 필드(Header Cyclic Redundancy Check Field), 사이클 카운트 필드(Cycle Count Field)로 구성된다. 프레임 ID 필드의 프레임 ID는 프레임을 식별하고 이벤트 트리거 프레임의 우선 순위를 지정하는 데 사용되며, 페이로드 길이 필드의 페이로드 길이는 프레임에서 전송되는 페이로드의 크기를 지정하는 데 사용되며, 헤더 CRC 필드의 헤더 CRC는 전송 중 오류를 감지하는 데 사용되며, 사이클 카운트 필드의 사이클 카운트는 통신 주기가 시작될 때마다 증가되는 카운터값이다.In this case, the header segment includes an indicator, a frame ID field, a payload length field, a header cyclic redundancy check field, and a cycle count field. do. The frame ID in the Frame ID field is used to identify the frame and to prioritize the event triggered frame. The payload length in the Payload Length field is used to specify the size of the payload transmitted in the frame. Header CRC The header CRC of the field is used to detect an error during transmission, and the cycle count of the cycle count field is a counter value that is incremented each time the communication period begins.
페이로드 세그먼트는 복수 개의 데이터 필드(Data Field)로 구성되는데, 데 이터 필드에는 프레임을 통해 전송하고자 하는 실제의 데이터가 삽입된다. 트레일러 세그먼트는 3 개의 CRC 필드(Cyclic Redundancy Check Field)로 이루어지는데, 각 필드에는 오류를 감지하기 위한 비트가 할당된다.The payload segment is composed of a plurality of data fields, in which actual data to be transmitted through a frame is inserted. The trailer segment consists of three Cyclic Redundancy Check Fields, each of which is assigned a bit to detect an error.
도 2와 같은 플렉스레이 프레임의 구조에서 최대 프레임의 크기는 263바이트가 될 수 있는데, 플렉스레이 프레임이 최대 크기의 페이로드(Payload)로 전송될 경우 채널 점유가 과다해져 통신의 효율성이 떨어질 수 있다.In the structure of the FlexRay frame as shown in FIG. 2, the maximum frame size may be 263 bytes. When the FlexRay frame is transmitted in the payload of the maximum size, the occupancy of the channel may be excessive, thereby reducing communication efficiency. .
도 3은 본 발명의 일 실시예에 따른 플렉스레이 통신 전송 장치를 간략하게 타나낸 블록 구성도이다.3 is a block diagram schematically illustrating a flexray communication transmission apparatus according to an embodiment of the present invention.
본 발명의 일 실시예에 따른 플렉스레이 통신 전송 장치(300)는 페이로드 생성기(Payload Creator, 310), 압축기(Compressor, 320), 프레임 생성기(Frame Creator, 330), 프레임 엔코더(Frame Encoder, 340) 및 전송기(Transmitter, 350)를 포함하여 구성될 수 있다. 이러한 플렉스레이 통신 전송 장치(300) 또는 각 구성 요소는 차량 등에 탑재되는 제어 장치들, 센서들과 액츄에이터 내에서 데이터 교환을 위한 통신 장치로서 구현될 수 있다. 여기서, 통신 장치는 호스트 프로세서(Host Processor), 플렉스레이 컨트롤러(Flexray Controller)와 버스 보호자(Bus Guardian) 등의 하드웨어와 하드웨어를 동작시키는 프로그램을 저장하는 메모리를 포함하여 구성될 수 있다.The FlexRay
페이로드 생성기(310)는 플렉스레이 통신을 위한 페이로드를 생성한다. 즉, 페이로드 생성기(310)는 플렉스레이 통신을 통해 전송할 페이로드를 생성한다.
압축기(320)는 페이로드를 압축한다. 즉, 압축기(320)는 페이로드 생성 기(310)에 의해 생성되는 페이로드를 압축하여 페이로드의 데이터 크기를 줄인다. 여기서, 압축기(320)는 무손실 압축(Lossless Compression) 기법을 이용하여 페이로드를 압축할 수 있는데, 무손실 압축 기법은 RLC(Run-Length Coding) 알고리즘, LZC(Lempel-Ziv Coding) 알고리즘 및 LZW(Lampel-Ziv-Welch) 알고리즘 중 하나 이상일 수 있다. 따라서, 압축기(320)는 이러한 무손실 압축 기법을 이용하여 페이로드의 반복적인 시퀀스(연속해서 반복하는 '1' 또는 '0')의 크기를 줄임으로써 페이로드를 압축할 수 있다.
프레임 생성기(330)는 압축된 페이로드에 헤더 세그먼트와 트레일러 세그먼트를 추가하여 플렉스레이 프레임(FlexRay Frame)을 생성한다. 즉, 프레임 생성기(330)는 압축기(320)에 의해 압축된 페이로드에 도 2에 도시한 바와 같은 헤더 세그먼트와 트레일러 세그먼트를 추가하여 플렉스레이 프레임을 생성한다.The
프레임 엔코더(340)는 플렉스레이 프레임에 전송 시작 시퀀스 및 바이트 시작 시퀀스를 삽입하여 전송 프레임을 생성한다. 즉, 프레임 엔코더(340)는 프레임 생성기(330)에 의해 생성된 플렉스레이 프레임에 전송 시작 시퀀스 및 바이트 시작 시퀀스를 삽입하여 통신 매체를 통해 전송된 최종적인 전송 프레임을 생성한다.The
전송기(350)는 전송 프레임을 전송한다. 즉, 전송기(350)는 프레임 엔코더(340)에 의해 생성된 전송 프레임을 전기적인 신호로 변환하여 통신 선로 등을 통해 전송한다.The
도 4는 본 발명의 일 실시예에 따른 플렉스레이 통신 전송 방법을 설명하기 위한 순서도이다.4 is a flowchart illustrating a method for transmitting a FlexRay communication according to an embodiment of the present invention.
플렉스레이 통신 전송 장치(300)는 플렉스레이 통신을 위한 페이로드를 생성하고(S410), 생성된 페이로드를 압축하며(S420), 압축된 페이로드에 헤더 세그먼트와 트레일러 세그먼트를 추가하여 플렉스레이 프레임을 생성하며(S430), 플렉스레이 프레임에 전송 시작 시퀀스 및 바이트 시작 시퀀스를 삽입하여 전송 프레임을 생성하고(S440), 전송 프레임을 전송한다(S450).The FlexRay
단계 S420에서, 플렉스레이 통신 전송 장치(300)는 무손실 압축 기법을 이용하여 페이로드를 압축할 수 있으며, 무손실 압축 기법은 RLC(Run-Length Coding) 알고리즘, LZC(Lempel-Ziv Coding) 알고리즘 및 LZW(Lampel-Ziv-Welch) 알고리즘 중 하나 이상일 수 있다.In operation S420, the FlexRay
통상적으로 플렉스레이 통신에서, 페이로드가 전송 프레임에서 차지하는 비율이 약 97%이고, 무손실 압축 기법의 압축률이 약 1/2 내지 1/3이므로, 본 발명의 일 실시예에 따라 페이로드를 압축하면, 전송 프레임의 크기를 35% 내지 51% 정도만큼 감소할 수 있다. 따라서, 페이로드의 크기가 대부분을 차지하는 플렉스레이의 전송 프레임에서 페이로드를 압축하여 크기를 줄이게 되면 전체의 전송 프레임의 크기를 상당히 줄일 수 있다는 것을 알 수 있다.Typically, in FlexRay communication, since the payload occupies about 97% of the transmission frame and the compression ratio of the lossless compression technique is about 1/2 to 1/3, compressing the payload according to an embodiment of the present invention Therefore, the size of the transmission frame can be reduced by about 35% to 51%. Therefore, it can be seen that if the payload is reduced in the transmission frame of the FlexRay where the payload is the largest, the size of the entire transmission frame can be significantly reduced.
따라서, 플렉스레이 통신을 위해 하나의 프레임을 전송하는 데 있어서, 통신 선로의 점유 시간을 약 1/2 내지 1/3 수준으로 줄일 수 있으며, 이를 통해 플렉스레이 통신을 이용하는 시스템의 전체의 통신 효율을 향상시킬 수 있을 뿐만 아니라, 시간 확정적인 데이터의 전송에서 더욱 유리한 결과를 얻을 수 있다.Therefore, in transmitting one frame for FlexRay communication, the occupancy time of the communication line can be reduced to about 1/2 to 1/3, thereby improving the overall communication efficiency of the system using the FlexRay communication. Not only can it be improved, but more advantageous results can be obtained in the transmission of time-determined data.
이상에서 전술한 바와 같이, 페이로드를 무손실 압축 기법 등을 이용하여 압 축하여 생성된 전송 프레임은 통신 선로 등을 통해 후술할 플렉스레이 통신 수신 장치로 전송되어, 플렉스레이 통신 수신 장치에서 전송 프레임에 포함된 압축된 페이로드를 압축해제하여 복원된 페이로드를 활용할 수 있다.As described above, the transmission frame generated by compressing the payload using a lossless compression technique or the like is transmitted to a flex ray communication receiving apparatus to be described later through a communication line, and included in the transmission frame in the flex ray communication receiving apparatus. Compressed payloads can be decompressed to utilize the recovered payloads.
도 5는 본 발명의 일 실시예에 따른 플렉스레이 통신 수신 장치를 간략하게 나타낸 블록 구성도이다.5 is a block diagram schematically illustrating an apparatus for receiving a FlexRay communication according to an embodiment of the present invention.
본 발명의 일 실시예에 따른 플렉스레이 통신 수신 장치(500)는 수신기(Receiver, 510), 프레임 디코더(Frame Decoder, 520), 프레임 분리기(Frame Seperator, 530) 및 압축해제기(Decompressor, 540)를 포함하여 구성될 수 있다. 이러한 플렉스레이 통신 수신 장치(500) 또는 각 구성 요소는 차량 등에 탑재되는 제어 장치들, 센서들과 액츄에이터들 간의 데이터 교환을 위한 통신 장치로서 구현될 수 있다. 여기서, 통신 장치는 호스트 프로세서(Host Processor), 플렉스레이 컨트롤러(Flexray Controller)와 버스 보호자(Bus Guardian) 등의 하드웨어와 하드웨어를 동작시키는 프로그램을 저장하는 메모리를 포함하여 구성될 수 있다.The
수신기(510)는 전송 프레임을 수신한다. 즉, 수신기(510)는 통신 선로 등을 통해 플렉스레이 통신 전송 장치(300) 등으로부터 전기적인 신호로 변환되어 전송되는 프레임을 수신한다(S510).
프레임 디코더(520)는 전송 프레임으로부터 전송 시작 시퀀스 및 바이트 시작 시퀀스를 제거하여 플렉스레이 프레임을 복원한다. 즉, 프레임 디코더(520)는 수신기(510)에 의해 수신된 전송 프레임에서 전송 시작 시퀀스와 바이트 시작 시퀀스를 제거함으로써 압축된 페이로드를 포함하는 플렉스레이 프레임을 복원한다.The
프레임 분리기(530)는 복원된 플렉스레이 프레임을 헤더 세그먼트, 압축된 페이로드 및 트레일러 세그먼트로 분리한다. 즉, 프레임 분리기(530)는 프레임 디코더(520)에 의해 복원된 플렉스레이 프레임을 각 세그먼트 단위로 분리하여 헤더 세그먼트, 압축된 페이로드를 포함하는 페이로드 세그먼트 및 트레일러 세그먼트를 추출한다.
압축해제기(540)는 압축된 페이로드를 압축해제하여 페이로드를 복원한다. 즉, 압축해제기(540)는 프레임 분리기(530)에 의해 분리되어 추출된 페이로드 세그먼트의 압축된 페이로드를 압축해제하여 페이로드를 복원한다. 여기서, 압축해제기(540)는 압축된 페이로드에 무손실 압축 기법의 역과정을 수행함으로써 페이로드를 복원할 수 있다. 이러한 무손실 압축 기법은 RLC 알고리즘, LZC 알고리즘 및 LZW 알고리즘 중 하나 이상일 수 있는데, 플렉스레이 통신 전송 장치(300)에서 페이로드를 압축하는 데 이용한 무손실 압축 기법과 동일한 압축 기법을 사용할 수 있다.The
이를 위해, 플렉스레이 통신 전송 장치(300)와 플렉스레이 통신 수신 장치(500)는 미리 약속한 무손실 압축 기법을 이용하여 페이로드를 압축하고 압축된 페이로드를 압축해제할 수 있다. 또한, 플렉스레이 통신 전송 장치(300)와 플렉스레이 통신 수신 장치(500) 간에 미리 약속된 무손실 압축 기법을 설정하지 않은 경우에는, 플렉스레이 통신 전송 장치(300)에서는 헤더 세그먼트 또는 페이로드 세그먼트 내의 여러 필드 중 하나의 필드에 어떠한 무손실 압축 기법을 이용하여 압축하였는지를 식별하기 위한 식별 정보를 삽입할 수 있으며, 플렉스레이 통신 수신 장치(500)는 수신한 전송 프레임에서 해당 필드로부터 식별 정보를 추출하여 어떠한 무손실 압축 기법이 이용되었는지를 식별하고 식별된 무손실 압축 기법을 이용하여 압축된 페이로드를 압축해제할 수 있다.To this end, the FlexRay
도 6은 본 발명의 일 실시예에 따른 플렉스레이 통신 수신 방법을 설명하기 위한 순서도이다.6 is a flowchart illustrating a method for receiving a FlexRay communication according to an embodiment of the present invention.
플렉스레이 통신 수신 장치(500)는 전송 프레임을 수신하면(S610), 전송 프레임으로부터 전송 시작 시퀀스 및 바이트 시작 시퀀스를 제거하여 플렉스레이 프레임을 복원하고(S620), 복원된 플렉스레이 프레임을 헤더 세그먼트, 압축된 페이로드 및 트레일러 세그먼트로 분리하며(S630), 압축된 페이로드를 압축해제하여 페이로드를 복원한다(S640). 이와 같이 복원된 페이로드는 페이로드에 포함된 데이터를 필요로하는 곳으로 분배되어 활용될 수 있다.When receiving the transmission frame (S610), the FlexRay
이상에서, 본 발명의 실시예를 구성하는 모든 구성 요소들이 하나로 결합하거나 결합하여 동작하는 것으로 설명되었다고 해서, 본 발명이 반드시 이러한 실시예에 한정되는 것은 아니다. 즉, 본 발명의 목적 범위 안에서라면, 그 모든 구성 요소들이 하나 이상으로 선택적으로 결합하여 동작할 수도 있다. 또한, 그 모든 구성 요소들이 각각 하나의 독립적인 하드웨어로 구현될 수 있지만, 각 구성 요소들의 그 일부 또는 전부가 선택적으로 조합되어 하나 또는 복수 개의 하드웨어에서 조합된 일부 또는 전부의 기능을 수행하는 프로그램 모듈을 갖는 컴퓨터 프로그램으로서 구현될 수도 있다. 그 컴퓨터 프로그램을 구성하는 코드들 및 코드 세그먼트들은 본 발명의 기술 분야의 당업자에 의해 용이하게 추론될 수 있을 것이다. 이 러한 컴퓨터 프로그램은 컴퓨터가 읽을 수 있는 저장매체(Computer Readable Media)에 저장되어 컴퓨터에 의하여 읽혀지고 실행됨으로써, 본 발명의 실시예를 구현할 수 있다. 컴퓨터 프로그램의 저장매체로서는 자기 기록매체, 광 기록매체, 캐리어 웨이브 매체 등이 포함될 수 있다.While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments. In other words, within the scope of the present invention, all of the components may be selectively operated in combination with one or more. In addition, although all of the components may be implemented in one independent hardware, each or all of the components may be selectively combined to perform some or all functions combined in one or a plurality of hardware. It may be implemented as a computer program having a. Codes and code segments constituting the computer program may be easily inferred by those skilled in the art. Such a computer program is stored in a computer readable storage medium, which is read and executed by a computer, thereby implementing embodiments of the present invention. The storage medium of the computer program may include a magnetic recording medium, an optical recording medium, a carrier wave medium, and the like.
또한, 이상에서 기재된 "포함하다", "구성하다" 또는 "가지다" 등의 용어는, 특별히 반대되는 기재가 없는 한, 해당 구성 요소가 내재할 수 있음을 의미하는 것이므로, 다른 구성 요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있는 것으로 해석되어야 한다. 기술적이거나 과학적인 용어를 포함한 모든 용어들은, 다르게 정의되지 않는 한, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미가 있다. 사전에 정의된 용어와 같이 일반적으로 사용되는 용어들은 관련 기술의 문맥상의 의미와 일치하는 것으로 해석되어야 하며, 본 발명에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.In addition, the terms "comprise", "comprise" or "having" described above mean that the corresponding component may be inherent unless specifically stated otherwise, and thus excludes other components. It should be construed that it may further include other components instead. All terms, including technical and scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. Terms used generally, such as terms defined in a dictionary, should be interpreted to coincide with the contextual meaning of the related art, and shall not be interpreted in an ideal or excessively formal sense unless explicitly defined in the present invention.
이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention but to describe the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The protection scope of the present invention should be interpreted by the following claims, and all technical ideas within the equivalent scope should be interpreted as being included in the scope of the present invention.
도 1은 플렉스레이 통신의 사이클 구성을 나타낸 예시도,1 is an exemplary diagram showing a cycle configuration of a flexray communication;
도 2는 플렉스레이 프레임의 구조를 나타낸 예시도,2 is an exemplary view showing the structure of a FlexRay frame;
도 3은 본 발명의 일 실시예에 따른 플렉스레이 통신 전송 장치를 간략하게 타나낸 블록 구성도,3 is a block diagram briefly showing a flex-ray communication transmission apparatus according to an embodiment of the present invention,
도 4는 본 발명의 일 실시예에 따른 플렉스레이 통신 전송 방법을 설명하기 위한 순서도,4 is a flowchart for explaining a flexray communication transmission method according to an embodiment of the present invention;
도 5는 본 발명의 일 실시예에 따른 플렉스레이 통신 수신 장치를 간략하게 나타낸 블록 구성도,FIG. 5 is a block diagram schematically illustrating an apparatus for receiving a FlexRay communication according to an embodiment of the present invention; FIG.
도 6은 본 발명의 일 실시예에 따른 플렉스레이 통신 수신 방법을 설명하기 위한 순서도이다.6 is a flowchart illustrating a method for receiving a FlexRay communication according to an embodiment of the present invention.
< 도면의 주요 부분에 대한 부호의 설명 ><Description of Symbols for Main Parts of Drawings>
300: 플렉스레이 통신 전송 장치 310: 페이로드 생성기300: FlexRay communication transmitter 310: Payload generator
320: 압축기 330: 프레임 생성기320: compressor 330: frame generator
340: 프레임 엔코더 350: 전송기340: frame encoder 350: transmitter
500: 플렉스레이 통신 수신 장치 510: 수신기500: FlexRay communication receiver 510: Receiver
520: 프레임 디코더 530: 프레임 분리기520: frame decoder 530: frame separator
540: 압축해제기540: decompressor
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080129567A KR101021914B1 (en) | 2008-12-18 | 2008-12-18 | FlexRay Communication Transmission/Reception Method and Apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080129567A KR101021914B1 (en) | 2008-12-18 | 2008-12-18 | FlexRay Communication Transmission/Reception Method and Apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100070837A KR20100070837A (en) | 2010-06-28 |
KR101021914B1 true KR101021914B1 (en) | 2011-03-18 |
Family
ID=42368521
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080129567A KR101021914B1 (en) | 2008-12-18 | 2008-12-18 | FlexRay Communication Transmission/Reception Method and Apparatus |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101021914B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8832331B2 (en) * | 2011-08-29 | 2014-09-09 | Ati Technologies Ulc | Data modification for device communication channel packets |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050223116A1 (en) | 2004-03-31 | 2005-10-06 | Pak-Lung Seto | Data encoding and decoding in a data storage system |
US20050254518A1 (en) * | 2004-05-12 | 2005-11-17 | Nec Electronics Corporation | Communication message conversion device, communication method and communication system |
-
2008
- 2008-12-18 KR KR1020080129567A patent/KR101021914B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050223116A1 (en) | 2004-03-31 | 2005-10-06 | Pak-Lung Seto | Data encoding and decoding in a data storage system |
US20050254518A1 (en) * | 2004-05-12 | 2005-11-17 | Nec Electronics Corporation | Communication message conversion device, communication method and communication system |
JP2005328119A (en) * | 2004-05-12 | 2005-11-24 | Nec Electronics Corp | Communication message converter, communication method, and communication system |
Also Published As
Publication number | Publication date |
---|---|
KR20100070837A (en) | 2010-06-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9577788B2 (en) | Coding apparatus, coding method, data communication apparatus, and data communication method | |
US5376969A (en) | Method and apparatus for conveying compressed video data over a noisy communication channel | |
KR100667739B1 (en) | Apparatus for transmitting/receiving wireless data and method thereof | |
US9467165B2 (en) | Physical layer encoding and decoding method and apparatuses thereof | |
EP1811710A2 (en) | Apparatus and method for processing bursts in a wireless communication system | |
US8103942B2 (en) | Data transmission apparatus, data transmission device, data reception device and data transmission system | |
JP2001308712A (en) | Decoding method of packeted serial data, and decoder | |
JP4844632B2 (en) | Bus station and system and method for maintaining bus station synchronization | |
WO2000078054A1 (en) | Encoding method of multimedia data and device thereof | |
CN110875797B (en) | Data transmission method, device and equipment for intelligently driving automobile | |
US10015285B2 (en) | System and method for multi-stream compression and decompression | |
BR112015014405B1 (en) | Communications method for an optical network system, optical network device and communications system | |
KR101021914B1 (en) | FlexRay Communication Transmission/Reception Method and Apparatus | |
JP2010219869A (en) | Communication apparatus and communication method, computer program, and communication system | |
EP1986363A1 (en) | Method, device and network element for decoding an information word from a coded word | |
US9438411B1 (en) | Method and apparatus for synchronizing digital messages | |
US20110255470A1 (en) | Data processing device, system and method for data processing, recording medium with program recorded therein, data transfer device, system and method for data transfer, and recording medium with program recorded therein | |
KR101543029B1 (en) | A communication method using code packet in wireless network | |
JPH06324719A (en) | Programmable controller | |
JP2008124998A (en) | Packet emulation apparatus | |
JP2002261737A (en) | Transmission data loss detection system | |
EP2485420A1 (en) | Data transmitting apparatus, data generating program and data transmitting/receiving method | |
CN114598756B (en) | ALP data packet processing method, storage medium and electronic equipment | |
EP4304136A1 (en) | Control area network devices and method | |
JP2005286641A (en) | Communication device, communication system, and receiving method |
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: 20140303 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20150304 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20160225 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20170314 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20181212 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20191203 Year of fee payment: 10 |