KR20080016241A - Control system of flexray and rs-232 and method thereof - Google Patents

Control system of flexray and rs-232 and method thereof Download PDF

Info

Publication number
KR20080016241A
KR20080016241A KR1020060078067A KR20060078067A KR20080016241A KR 20080016241 A KR20080016241 A KR 20080016241A KR 1020060078067 A KR1020060078067 A KR 1020060078067A KR 20060078067 A KR20060078067 A KR 20060078067A KR 20080016241 A KR20080016241 A KR 20080016241A
Authority
KR
South Korea
Prior art keywords
data
flexray
communication
received
gateway
Prior art date
Application number
KR1020060078067A
Other languages
Korean (ko)
Other versions
KR100818930B1 (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 KR1020060078067A priority Critical patent/KR100818930B1/en
Publication of KR20080016241A publication Critical patent/KR20080016241A/en
Application granted granted Critical
Publication of KR100818930B1 publication Critical patent/KR100818930B1/en

Links

Images

Classifications

    • 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/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)

Abstract

A system and a method for controlling a FlexRay and RS(Recommended Standard)-232 are provided to make data communication between different communication protocols by converting data received in a FlexRay communication mode into an RS-232 data frame and converting the data received in the RS-232 communication mode into a FlexRay data frame. An RS-232 communicator(20) supports the data communication with external RS-232 devices. A FlexRay communicator(30) supports the data communication with the external FlexRay. A gateway(40) supports data interconnection between the different communication protocols used in the RS-232 and FlexRay communicator. The gateway includes an RS-232 transceiver relating RS-232 type data, an RS-232 buffer storing the RS-232 type data, a data converter converting the data into another protocol by extracting data information from the data frame received from one protocol, a FlexRay buffer storing FlexRay type data, and a FlexRay transceiver relaying the FlexRay type data. The data information includes at least one payload data and payload data length information.

Description

플렉스레이와 RS-232의 제어 시스템 및 그 제어 방법{Control System of FlexRay and RS-232 And Method Thereof}Control system of FlexRay and RS-232 and its control method {Control System of FlexRay and RS-232 And Method Thereof}

도 1은 본 발명의 일실시예에 따른 플렉스레이와 RS-232의 제어 시스템을 도시한 블록도,1 is a block diagram showing a control system of the FlexRay and RS-232 according to an embodiment of the present invention,

도 2는 본 발명의 일실시예에 따른 게이트웨이수단을 도시한 블록도,2 is a block diagram showing a gateway means according to an embodiment of the present invention;

도 3은 본 발명의 일실시예에 따른 플렉스레이와 RS-232의 제어 방법을 설명하는 흐름도,3 is a flow chart illustrating a control method of a FlexRay and RS-232 according to an embodiment of the present invention;

도 4는 본 발명에 따른 통신 데이터 포맷을 도시한 도면.4 illustrates a communication data format in accordance with the present invention.

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

10: ECU 임베디드 시스템 20: RS-232 통신수단10: ECU embedded system 20: RS-232 communication means

30: 플렉스레이 통신수단 40: 게이트웨이수단30: flexray communication means 40: gateway means

41: RS-232 송수신 트랜시버부 42: RS-232 송수신 버퍼부41: RS-232 transceiver transceiver 42: RS-232 transceiver buffer

43: 데이터 변환부 44: 플렉스레이 송수신 버퍼부43: data conversion unit 44: FlexRay transmission and reception buffer unit

45: 플렉스레이 송수신 트랜시버부 50: 외부 RS-23245: FlexRay transceiver transceiver 50: External RS-232

60: 외부 플렉스레이60: outer flexlay

본 발명은 플렉스레이와 RS-232의 제어 시스템 및 그 제어 방법에 관한 것으로, 특히 전자제어장치(Electronic Control Unit, 이하 'ECU'라 한다) 시스템에 이용되는 통신(Network)인 플렉스레이(FlexRay)와 RS-232간에 데이터 송수신이 가능하도록 지원하는 플렉스레이와 RS-232의 제어 시스템 및 그 제어 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control system of a FlexRay and RS-232 and a control method thereof, and in particular, a FlexRay which is a communication network used in an Electronic Control Unit (ECU) system. The present invention relates to a flexible ray and RS-232 control system for supporting data transmission and reception between RS-232 and a control method thereof.

전자기술의 발달은 자동차의 발전에도 영향을 미치게 되었다. 수많은 센서 및 제어 시스템을 이용하여 사용자에게 편익과 고도의 기능을 줄 수 있는 자동차를 제공하게 된 것이다. 이를 실현하기 위해 ECU와 같이 자동차에 구비되는 다양한 전자장치들을 제어할 수 있는 통신기술이 사용된다. 일반적으로 차량에 이용되는 통신표준으로는 크게 3가지를 들 수 있으며, 이는 컨트롤러 영역망(Controller Area Network, 이하 '캔'이라 한다), 로컬 상호연결망(Local Interconnect Network, 이하 'LIN'이라 한다), 플렉스레이이다. 각각의 통신표준에 대한 설명은 다음과 같다.The development of electronic technology has also affected the development of automobiles. A number of sensors and control systems have been used to provide vehicles that offer the user convenience and high functionality. In order to realize this, communication technology capable of controlling various electronic devices provided in an automobile such as an ECU is used. In general, there are three communication standards used in a vehicle. These include a controller area network (hereinafter referred to as "can") and a local interconnect network (hereinafter referred to as "LIN"). , Flexlay. Description of each communication standard is as follows.

우선, 캔은 독일의 로버트 보쉬(Robert Bosch)사(社)가 개발한 차량용 근거리 통신망(Local Area Network, 이하 'LAN'이라 한다)의 표준 인터페이스(Interface) 규격으로 가장 많이 보급되고 있다. 캔의 전송속도는 최대 1Mbps로 단일 채널을 이용하며, 이벤트 트리거(Event Trigger) 형식으로 1개의 노드(Node)가 통신경로를 점거하여 지연이 발생할 수도 있는 단점을 갖는다. 주로 엔진이나 자동변속기와 같은 파워트레인 시스템(Powertrain System) 제어, 도어(Door) 개폐나 에어컨 제어와 같은 바디 시스템(Body System) 제어에 사용된다. 자동차 이외에도 공장자동화(Factory Automation), 선박 의료기기, 산업기기 등 산업분야에서도 이용된다. First, the can is most widely used as a standard interface standard of a local area network (LAN) for cars developed by Robert Bosch of Germany. The transmission speed of the can uses a single channel at a maximum of 1 Mbps, and has a disadvantage in that a delay may occur because one node occupies a communication path in the form of an event trigger. It is mainly used for powertrain system control such as engine or automatic transmission, body system control such as door opening and closing or air conditioner control. In addition to automobiles, it is also used in industrial fields such as factory automation, marine medical equipment, and industrial equipment.

다음으로, LIN은 가격 대 성능비가 뛰어난 단선의 차량 LAN 통신표준이다. LIN의 전송속도는 최대 20kbps이며, 주로 스위치(Switch) 입력, 센서(Sensor) 입력, 액츄에이터(Actuator) 제어 등과 같이 저속 통신이 문제가 되지 않는 바디(Body) 제어용으로 사용된다. 악조건에서도 정확하게 동작하기 때문에 신뢰성을 높다.Next, LIN is a single-line automotive LAN communications standard with an excellent price-performance ratio. The transmission speed of LIN is up to 20kbps and is mainly used for body control where low speed communication is not a problem such as switch input, sensor input, actuator control. High reliability due to accurate operation even under adverse conditions.

마지막으로, 플렉스레이는 원래 항공기에서 사용되던 기술로서, 차세대 엑스 바이 와이어(Anything by Wire, 이하 'X-by-Wire'라 한다) 시스템용 통신표준이다. 여기서, X-by-Wire 시스템이란 기계식 연결이 아닌 전기적 신호를 이용한 시스템을 말한다. 플렉스레이의 전송속도는 채널당 최대 10Mbps로 2개의 채널을 이용한다. 데이터 전송방식은 지연이 발생하기 어려운 타임 트리거(Time Trigger)를 채택하는데, 이는 각 노드마다 일정한 타이밍(Timing)으로 송신권을 분배하는 방식이다. 플렉스레이에서는 컨트롤러 고밀도집적회로(Controller Large Scale Integrated Circuit)나 송수신 고밀도집적회로를 1 노드당 2개씩 탑재하고, 전송 매체도 2중화함으로써 신뢰성을 높여 노드에 고장이 발생하면 1계통이 백업(Back up)으로 움직인다. 이러한 플렉스레이는 데이터의 양이 증가됨에 따라 기존의 캔 통신에서 대응의 한계를 갖게 되어 많은 데이터를 높은 신뢰성으로 송수신하기 위해 등장하게 되 었다. 주로 브레이크 페달(Break Pedal)과 브레이크간의 연결, 핸들(Handle)과 바퀴간의 연결을 제어하는데 사용된다.Finally, FlexRay was originally used in aircraft, and is the communications standard for the next generation of By-Wire (X-by-Wire) systems. Here, the X-by-Wire system refers to a system using an electrical signal rather than a mechanical connection. FlexRay uses two channels at up to 10Mbps per channel. The data transmission method adopts a time trigger in which delay is hard to occur, which is a method of distributing transmission rights at a predetermined timing for each node. In FlexRay, two controller large scale integrated circuits or two transmit / receive high density integrated circuits are mounted per node, and the transmission medium is also doubled to increase reliability, so if a node fails, one system is backed up. Move to). As the amount of data increases, the FlexRay has a limit of correspondence in conventional CAN communication, and has emerged to transmit and receive a lot of data with high reliability. It is mainly used to control the connection between the brake pedal and the brake, and the connection between the handle and the wheel.

또한, RS-232 기술의 일례가 대한민국 특허 공개공보 제2002-0053381호(2002.07.05 공개, 시리얼 통신 장치)에 개시되어 있다.In addition, an example of RS-232 technology is disclosed in Korean Patent Laid-Open Publication No. 2002-0053381 (published on July 5, 2002, serial communication device).

상기 대한민국 특허 공개공보 제2002-0053381호에 개시된 기술은 차량에 내재된 전자장치간의 신호를 송수신하는 장치에 관한 것으로, 인가되는 신호를 RS-232 방식에 해당하는 신호로 변환하여 출력하는 제1 전압 변환부, 인가되는 신호를 RS-422 방식에 해당하는 신호로 변환하여 출력하는 제2 전압 변환부, 전자장치로부터 출력되는 선택 신호에 따라 해당 전압 변환부를 선택하여 전자장치로부터 인가되는 신호를 출력하는 멀티플렉서로 구성된다고 기재되어 있다. 상기 공보 제2002-0053381호에 개시된 기술에서는 위와 같이 구성된 장치들을 이용하여 전자 제어장치간에 통신하는 경우에 하나의 전자 제어장치가 RS-232 및 RS-422 방식을 선택적으로 모두 사용하여 통신할 수 있어 별도의 인터페이스 회로의 추가없이 저렴한 통신장치를 제공할 수 있는 시리얼 통신 장치에 대해 기재되어 있다.The technology disclosed in Korean Patent Laid-Open Publication No. 2002-0053381 relates to a device for transmitting and receiving a signal between electronic devices embedded in a vehicle. The first voltage converts an applied signal into a signal corresponding to an RS-232 method and outputs the signal. A second voltage converter converting the applied signal into a signal corresponding to the RS-422 method and outputting the signal; and a corresponding voltage converter according to a selection signal output from the electronic device to output a signal applied from the electronic device It is described as consisting of a multiplexer. In the technique disclosed in the above-mentioned publication No. 2002-0053381, when an electronic control device communicates using the above-configured devices, one electronic control device can selectively communicate using both RS-232 and RS-422 methods. A serial communication device capable of providing an inexpensive communication device without the addition of a separate interface circuit is described.

또, 차량 네트워크 기술의 일례가 대한민국 특허 공개공보 제2006-0058602호(2006.05.30 공개, 동적 우선순위에 기반한 메시지 전달 장치 및 그를 이용한 우선순위 조정 장치와 동적 우선순위 메시지 처리 방법)에 개시되어 있다.In addition, an example of a vehicle network technology is disclosed in Korean Patent Laid-Open Publication No. 2006-0058602 (published on May 30, 2006, a message delivery device based on dynamic priority, a priority adjustment device and a dynamic priority message processing method using the same). .

상기 대한민국 특허 공개공보 제2006-0058602호에 개시된 기술은 데이터를 송수신하고자 하는 다수의 노드에 대한 각각의 우선순위를 동적으로 조정하여 메시지를 처리하는 방법에 관한 것으로, 노드의 우선순위를 기록하는 최소 우선순위 저장수단, 통신버스를 감시하는 통신버스 감시수단, 노드의 우선순위를 비교하여 우선순위가 높은 메시지를 전송하는 메시지 충돌 해소수단, 처리할 메시지인지의 여부를 판단하는 메시지 필터링수단, 각 노드의 우선순위를 조정하는 우선순위 조정수단으로 구성된다고 기재되어 있다. 상기 공보 제2006-0058602호에 개시된 기술에서는 메시지의 최소 전송 지연 시간을 보장하고, 각 노드가 우선순위에 따라 언제든지 데이터 송수신이 가능하게 하여 우선순위가 낮은 메시지가 무한정 지연되는 이벤트 트리거드 방식의 단점을 개선할 수 있는 동적 우선순위에 기반한 메시지 전달 장치 및 그를 이용한 우선순위 조정 장치와 동적 우선순위 메시지 처리 방법에 대해 기재되어 있다.The technique disclosed in Korean Patent Laid-Open Publication No. 2006-0058602 relates to a method of processing a message by dynamically adjusting respective priorities of a plurality of nodes to which data is to be transmitted and received. Priority storage means, communication bus monitoring means for monitoring the communication bus, message conflict resolution means for transmitting a high priority message by comparing the priority of the nodes, message filtering means for determining whether the message to be processed, each node It is described that it consists of a priority adjusting means for adjusting the priority of the. The technique disclosed in the above-mentioned publication No. 2006-0058602 guarantees a minimum transmission delay time of a message, and enables each node to transmit and receive data at any time according to the priority, so that a low priority message is infinitely delayed. It describes a message delivery device based on the dynamic priority that can be improved, a priority adjustment device using the same and a dynamic priority message processing method.

또, 차량 네트워크의 다른 예가 대한민국 특허 공개공보 제2001-0103907호(2001.11.24 공개, 통신 네트워크를 이용한 자동차 자가진단 시스템)에 개시되어 있으며, 차량 네트워크의 연동 기술의 일예로서 대한민국 특허 등록공보 제0436162호(2004.06.04 등록, 모스트-캔 게이트웨이 시스템) 및 대한민국 특허 공개공보 제2006-0003392호(2006.01.11 공개, 차량용 통합 네트워크 시스템)가 개시되어 있다.In addition, another example of a vehicle network is disclosed in Korean Patent Laid-Open Publication No. 2001-0103907 (opened Nov. 24, 2001, a self-diagnosis system for a vehicle using a communication network), and as an example of a linking technology of a vehicle network, Korean Patent Registration Publication No. 0436162 Korean Patent Publication No. 2006-0003392 (published Jan. 11, 2006, integrated network system for a vehicle) is disclosed.

그러나, 상기 공보 제2002-0053381호, 제2006-0058602호 및 제2001-0103907호에 개시된 기술들을 비롯하여 종래의 차량 네트워크에 관한 기술에 있어서는 이 종 통신간의 데이터 송수신이 어려운 문제가 있었다. 즉, 종래의 RS-232는 RS-232간의 송수신만, 플렉스레이는 플렉스레이간의 송수신만 가능했다. 물론, 상기 공보 제0436162호나 제2006-0003392호에 이종 통신간의 연동 기술에 대해 개시되어 있으나 이는 모스트(Media Oriented Systems Transport, MOST) 통신과 캔 통신간의 데이터 송수신에 관해 국한된 기술이었다.However, in the technology related to the conventional vehicle network, including the techniques disclosed in the above-mentioned publications 2002-0053381, 2006-0058602 and 2001-0103907, data transmission and reception between heterogeneous communications has been difficult. In other words, the conventional RS-232 only transmits and receives between the RS-232 and the FlexRay only transmits and receives between the FlexRays. Of course, the publication No. 0436162 or 2006-0003392 discloses an interworking technique between heterogeneous communications, but it is a technique limited to data transmission and reception between a medium (Media Oriented Systems Transport, MOST) communication and can communication.

또, 서로 연동되지 않는 여러 통신표준을 이용해야하므로 차량 내부에 많은 와이어를 구비해야 하는 문제가 있었다.In addition, since there is a need to use a number of communication standards that do not interoperate with each other, there was a problem that a lot of wires should be provided inside the vehicle.

본 발명의 목적은 상술한 바와 같은 문제점을 해결하기 위한 것으로서, RS-232와 플렉스레이간의 데이터 송수신이 가능한 플렉스레이와 RS-232의 제어 시스템 및 그 제어 방법을 제공하는 것이다. 즉, 플렉스레이 통신방식으로 전송된 데이터를 RS-232 데이터 프레임으로 변환하고, RS-232 통신방식으로 전송된 데이터는 플렉스레이 데이터 프레임으로 변환함으로써 이종 통신간의 데이터 송수신이 가능하도록 한다.An object of the present invention is to solve the problems described above, and to provide a control system and a control method of the flex-ray and RS-232 capable of transmitting and receiving data between the RS-232 and the flex-lay. In other words, by converting the data transmitted in the Flex-Ray communication method into an RS-232 data frame, and converts the data transmitted in the RS-232 communication method to a FlexRay data frame to enable data transmission and reception between heterogeneous communication.

본 발명의 다른 목적은 차량 내부 네트워크를 통합할 수 있는 기반을 제공하는 플렉스레이와 RS-232의 제어 시스템 및 그 제어 방법을 제공하는 것이다. Another object of the present invention is to provide a control system of a FlexRay and RS-232 and a control method thereof, which provide a foundation for integrating an in-vehicle network.

상기 목적을 달성하기 위해 본 발명에 따른 플렉스레이와 RS-232의 제어 시스템은 ECU 시스템에 이용되는 다수의 이종 통신을 제어하는 시스템에 있어서, 외부의 RS-232와의 데이터 송수신을 지원하는 RS-232 통신수단, 외부의 플렉스레이와의 데이터 송수신을 지원하는 플렉스레이 통신수단, 상기 RS-232 통신수단과 상기 플렉스레이 통신수단에 이용되는 이종 통신간에 데이터가 연동되도록 지원하는 게이트웨이수단을 포함하는 것을 특징으로 한다.In order to achieve the above object, the control system of the FlexRay and RS-232 according to the present invention is a system for controlling a plurality of heterogeneous communications used in an ECU system, and RS-232 supporting data transmission and reception with an external RS-232. And communication means, a flex ray communication means for supporting data transmission and reception with an external flex ray, and a gateway means for supporting data interworking between heterogeneous communication used in the RS-232 communication means and the flex ray communication means. It is done.

또, 본 발명에 따른 플렉스레이와 RS-232의 제어 시스템에 있어서, 상기 게이트웨이수단은 상기 RS-232형 데이터를 중계하는 RS-232 송수신 트랜시버부, 상기 RS-232형 데이터를 저장하는 RS-232 송수신 버퍼부, 상기 다수의 이종 통신 중 한 종류의 통신으로부터 수신된 데이터 프레임에서 데이터 정보를 추출하여 전송할 다른 종류의 통신 데이터 포맷으로 변환하는 데이터 변환부, 상기 플렉스레이형 데이터를 저장하는 플렉스레이 송수신 버퍼부, 상기 플렉스레이형 데이터를 중계하는 플렉스레이 송수신 트랜시버부를 포함하는 것을 특징으로 한다.In the control system of the FlexRay and RS-232 according to the present invention, the gateway means includes: an RS-232 transceiver module for relaying the RS-232 data, and an RS-232 for storing the RS-232 data. A transmission / reception buffer unit, a data conversion unit for extracting data information from a data frame received from one type of communication among the plurality of heterogeneous communication, and converting the data information into another type of communication data format to be transmitted, and a flex-ray transmission / reception storing the flex-type data And a buffer unit, and a transceiver for transmitting and receiving the Flex Ray data.

또, 본 발명에 따른 플렉스레이와 RS-232의 제어 시스템에 있어서, 상기 데이터 정보는 페이로드 데이터와 페이로드 데이터 길이 정보 중 어느 하나를 포함하는 것을 특징으로 한다.In the control system of the FlexRay and RS-232 according to the present invention, the data information includes any one of payload data and payload data length information.

또, 본 발명에 따른 플렉스레이와 RS-232의 제어 시스템에 있어서, 상기 시스템은 차량에 장착되어 차량 내부를 제어하는 것을 특징으로 한다.In addition, in the control system of the FlexRay and RS-232 according to the present invention, the system is mounted on a vehicle, characterized in that for controlling the inside of the vehicle.

또, 상기 목적을 달성하기 위해 본 발명에 따른 플렉스레이와 RS-232의 제어 방법은 RS-232 통신수단, 플렉스레이 통신수단, 게이트웨이수단을 포함하는 플렉스레이와 RS-232의 제어 시스템으로 ECU 시스템에 이용되는 다수의 이종 통신을 제어하는 방법에 있어서, (a) 상기 RS-232 통신수단이 외부의 RS-232 버스로부터 RS-232형 데이터가 수신되는지 판단하는 단계, (b) 상기 플렉스레이 통신수단이 외부의 플렉스레이 버스로부터 플렉스레이형 데이터가 수신되는지 판단하는 단계, (c) 상기 (a)단계 또는 상기 (b)단계에서 데이터가 수신되면 상기 게이트웨이수단이 수신된 데이터를 이종 통신 형식으로 변환하여 외부 통신으로 전송하는 단계를 포함하는 것을 특징으로 한다.In addition, in order to achieve the above object, the control method of the FlexRay and the RS-232 according to the present invention is an ECU system as a control system of the FlexRay and RS-232 including RS-232 communication means, flex-ray communication means, and gateway means. A method for controlling a plurality of heterogeneous communications used in the method, the method comprising: (a) the RS-232 communication means determining whether RS-232 type data is received from an external RS-232 bus; Means for determining if flexray-type data is received from an external flexray bus; (c) if data is received in step (a) or step (b), the gateway means converts the received data into a heterogeneous communication format. Converting and transmitting to an external communication.

또, 본 발명에 따른 플렉스레이와 RS-232의 제어 방법에 있어서, 상기 (c) 단계는 상기 (a)단계에서 상기 RS-232형 데이터가 수신되면 (c10) 상기 게이트웨이수단의 RS-232 송수신 트랜시버부가 수신된 상기 RS-232형 데이터를 전달받아 상기 게이트웨이수단의 RS-232 송수신 버퍼부에 저장하는 단계, (c11) 상기 게이트웨이수단의 데이터 변환부가 상기 RS-232 송수신 버퍼부에 저장된 상기 RS-232형 데이터의 데이터 프레임에서 데이터 정보를 추출하는 단계, (c12) 상기 데이터 변환부가 추출된 상기 데이터 정보를 이용하여 플렉스레이형 데이터 프레임을 생성하여 상기 게이트웨이수단의 플렉스레이 송수신 버퍼부에 저장하는 단계, (c13) 상기 게이트웨이수단의 플렉스레이 송수신 트랜시버부가 저장된 상기 플렉스레이형 데이터를 상기 플렉스레이 통신수단으로 전달하는 단계, (c14) 상기 플렉스레이 통신수단이 외부의 플렉스레이 버스와 연결되어 있는지 확인하는 단계, (c15) 상기 (c14)단계에서 연결되어있다고 판단되면 상기 플렉스레이 통신수단이 전달된 상기 플렉스레이형 데이터를 외부의 플렉스레이 버스로 전송하는 단계를 포함하는 것을 특징으로 한다.In the control method of the FlexRay and RS-232 according to the present invention, in step (c), when the RS-232 type data is received in step (a), (c10) RS-232 transmission and reception of the gateway means is performed. Receiving, by the transceiver unit, the RS-232 data received and storing the RS-232 transmission / reception buffer unit of the gateway means, (c11) the data conversion unit of the gateway means stored in the RS-232 transmission / reception buffer unit Extracting data information from the data frame of the 232-type data, (c12) generating a FlexRay-type data frame using the extracted data information by the data converter and storing the FlexRay-type data frame in the FlexRay transmission / reception buffer unit of the gateway means; (c13) Delivering the FlexRay-type data stored in the FlexRay transceiver unit of the gateway unit to the FlexRay communication unit Step (c14) Checking whether the FlexRay communication means is connected to an external FlexRay bus, (C15) If it is determined in step (c14) that the FlexRay communication means is delivered And transmitting the type data to an external FlexRay bus.

또, 본 발명에 따른 플렉스레이와 RS-232의 제어 방법에 있어서, 상기 (b)단계에서 상기 플렉스레이형 데이터가 수신되면 (c20) 상기 게이트웨이수단의 플렉스레이 송수신 트랜시버부가 수신된 상기 플렉스레이형 데이터를 전달받아 상기 게이 트웨이수단의 플렉스레이 송수신 버퍼부에 저장하는 단계, (c21) 상기 게이트웨이수단의 데이터 변환부가 상기 플렉스레이 송수신 버퍼부에 저장된 상기 플렉스레이형 데이터의 데이터 프레임에서 데이터 정보를 추출하는 단계, (c22) 상기 데이터 변환부가 추출된 상기 데이터 정보를 이용하여 RS-232형 데이터 프레임을 생성하여 상기 게이트웨이수단의 RS-232 송수신 버퍼부에 저장하는 단계, (c23) 상기 게이트웨이수단의 RS-232 송수신 트랜시버부가 저장된 상기 RS-232형 데이터를 상기 RS-232 통신수단으로 전달하는 단계, (c24) 상기 RS-232 통신수단이 외부의 RS-232 버스와 연결되어 있는지 확인하는 단계, (c25) 상기 (c24)단계에서 연결되어있다고 판단되면 상기 RS-232 통신수단이 전달된 상기 RS-232형 데이터를 외부의 RS-232 버스로 전송하는 단계를 포함하는 것을 특징으로 한다.In the control method of the FlexRay and RS-232 according to the present invention, when the FlexRay type data is received in the step (b), the FlexRay type receiving the FlexRay transceiver of the gateway means is received. Receiving data and storing the data in the flexray transmit / receive buffer unit of the gateway means, (c21) the data converter of the gateway means extracts data information from the data frame of the flexlay data stored in the flexray transmit / receive buffer unit; (C22) generating an RS-232 data frame using the extracted data information, and storing the RS-232 data frame in the RS-232 transmission / reception buffer unit of the gateway means; (c23) RS of the gateway means -RS 232 transmitting and receiving the RS-232 data stored in the transceiver unit stored in the RS-232 communication means (c24) checking whether the RS-232 communication means is connected to an external RS-232 bus; (c25) if it is determined that the connection is made in step (c24), the RS to which the RS-232 communication means is transmitted. And transmitting the -232 type data to an external RS-232 bus.

또, 본 발명에 따른 플렉스레이와 RS-232의 제어 방법에 있어서, 상기 데이터 정보는 페이로드 데이터와 페이로드 데이터 길이 정보 중 어느 하나를 포함하는 것을 특징으로 한다.In the control method of the FlexRay and RS-232 according to the present invention, the data information includes any one of payload data and payload data length information.

또, 본 발명에 따른 플렉스레이와 RS-232의 제어 방법에 있어서, 상기 시스템은 차량에 장착되어 차량 내부를 제어하는 것을 특징으로 한다.In addition, in the control method of the FlexRay and RS-232 according to the present invention, the system is mounted on a vehicle, characterized in that for controlling the interior of the vehicle.

이하, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 가장 바람직한 실시 예를 첨부한 도면을 참조하여 상세하게 설명한다. 또한, 본 발명을 설명하는데 있어서 동일 부분은 동일 부호를 붙이고, 그 반복 설명은 생략한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. In addition, in describing this invention, the same code | symbol is attached | subjected and the repeated description is abbreviate | omitted.

본 발명에 따른 플렉스레이와 RS-232의 제어 시스템에 대해 도 1 내지 도 2에 따라 설명한다. The control system of the FlexRay and RS-232 according to the present invention will be described with reference to Figs.

도 1은 본 발명의 일실시예에 따른 플렉스레이와 RS-232의 제어 시스템을 도시한 블록도이다.1 is a block diagram illustrating a control system of a FlexRay and RS-232 according to an embodiment of the present invention.

도 1에서 도시한 바와 같이, 본 발명에 따른 플렉스레이와 RS-232의 제어 시스템은 외부의 RS-232(50)와의 데이터 송수신을 지원하는 RS-232 통신수단(20), 외부의 플렉스레이(60)와의 데이터 송수신을 지원하는 플렉스레이 통신수단(30), RS-232 통신수단(20)과 플렉스레이 통신수단(30)에 이용되는 이종 통신간에 데이터가 연동되도록 지원하는 게이트웨이수단(40)으로 구성된다.As shown in Figure 1, the control system of the Flex-Ray and RS-232 according to the present invention is RS-232 communication means 20 for supporting data transmission and reception with the external RS-232 (50), the external FlexRay ( 60 to the gateway means 40 for supporting data interworking between the heterogeneous communication used in the Flex-ray communication means 30, the RS-232 communication means 20 and the Flex-ray communication means 30 to support data transmission and reception with the 60) It is composed.

본 실시예에서는 MPC5554 기반의 ECU 임베디드 시스템(10) 내에 RS-232 통신수단(20)이 외부의 RS-232(50) 버스와 연결되어 통신을 수행한다. 또한, MFR4200 기반의 플렉스레이 통신수단(30)이 외부의 플렉스레이(60) 버스와 연결되어 통신을 수행한다. RS-232 통신수단(20)과 플렉스레이 통신수단 사이에 위치한 게이트웨이수단(40)은 RS-232 통신과 플렉스레이 통신간에 데이터가 송수신될 수 있도록 데이터 프레임을 변환시킨다.In this embodiment, the RS-232 communication means 20 is connected to an external RS-232 50 bus in the ECU embedded system 10 based on the MPC5554 to perform communication. In addition, the MFR4200 based FlexRay communication means 30 is connected to the external FlexRay 60 bus to perform communication. The gateway means 40 located between the RS-232 communication means 20 and the flexray communication means converts a data frame so that data can be transmitted and received between the RS-232 communication and the flexray communication.

도 2는 본 발명의 일실시예에 따른 게이트웨이수단을 도시한 블록도이다.2 is a block diagram showing a gateway means according to an embodiment of the present invention.

도 2에서 도시하는 바와 같이, 본 발명에 따른 게이트웨이수단(40)은 RS-232형 데이터를 중계하는 RS-232 송수신 트랜시버부(41), RS-232형 데이터를 저장하는 RS-232 송수신 버퍼부(42), 다수의 이종 통신 중 한 종류의 통신으로부터 수신된 데이터 프레임에서 데이터 정보를 추출하여 전송할 다른 종류의 통신 데이터 포맷으로 변환하는 데이터 변환부(43), 플렉스레이형 데이터를 저장하는 플렉스레이 송수신 버퍼부(44), 플렉스레이형 데이터를 중계하는 플렉스레이 송수신 트랜시버부(45)로 구성된다.As shown in FIG. 2, the gateway means 40 according to the present invention includes an RS-232 transceiver module 41 for relaying RS-232 data and an RS-232 transceiver buffer for storing RS-232 data. (42), a data conversion unit (43) for extracting data information from a data frame received from one type of communication among a plurality of heterogeneous communication and converting the data information into another type of communication data format to be transmitted, and a flex ray for storing flex-ray data A transmission / reception buffer section 44 and a flex-ray transmission / reception transceiver section 45 for relaying the flex-lay data.

도 2에 도시된 RS-232 송수신 트랜시버부(41)와 플렉스레이 송수신 트랜시버부(45)는 각각 외부의 RS-232(50) 버스와 플렉스레이 버스에 연결된다. 외부의 RS-232(50) 버스를 통해 수신되는 RS-232형 데이터는 RS-232 송수신 트랜시버부(41)를 통과해 RS-232 송수신 버퍼부(42)에 저장된다. RS-232 송수신 버퍼부(42)에 저장된 RS-232형 데이터 프레임은 데이터 변환부(43)에 의해 데이터 정보인 페이로드 데이터 및 페이로드 데이터 길이 정보가 추출된 후, 추출된 데이터 정보를 기반으로 플렉스레이형 데이터 프레임으로 생성된다. 생성된 플렉스레이형 데이터 프레임은 플렉스레이 송수신 버퍼부(44)에 저장되고, 플렉스레이 송수신 트랜시버부(45)를 통해 외부 플렉스레이 버스로 전달된다. 플렉스레이 송수신 트랜시버부(45)를 통해 플렉스레이형 데이터가 수신되는 역과정 역시 RS-232형 데이터 수신의 경우와 동일하므로 구체적 설시는 생략한다. The RS-232 transmit / receive transceiver unit 41 and the flex-ray transmit / receive transceiver unit 45 shown in FIG. 2 are connected to an external RS-232 (50) bus and a flex-lay bus, respectively. RS-232 type data received through an external RS-232 (50) bus is stored in the RS-232 transmit / receive buffer unit 42 through the RS-232 transmit / receive transceiver unit 41. The RS-232 type data frame stored in the RS-232 transmission / reception buffer unit 42 is extracted by payload data and payload data length information, which are data information, by the data converter 43, and then based on the extracted data information. Generated as a FlexRay data frame. The generated FlexRay type data frame is stored in the FlexRay transmit / receive buffer unit 44 and transferred to the external FlexRay bus through the FlexRay transmit / receive transceiver unit 45. Since the reverse process of receiving the FlexRay-type data through the FlexRay transceiver unit 45 is also the same as in the case of RS-232-type data reception, a detailed description thereof will be omitted.

또, RS-232 송수신 버퍼부(42)와 플렉스레이 송수신 버퍼부(44)는 RS-232 통신과 플렉스레이 통신간의 전송 속도차를 극복하기 위해 사용된다.In addition, the RS-232 transmit / receive buffer section 42 and the flex-ray transmit / receive buffer section 44 are used to overcome the transmission speed difference between the RS-232 communication and the flex-ray communication.

다음에 본 발명에 따른 플렉스레이와 RS-232의 제어 방법에 대해 도 3에 따 라 설명한다.Next, a control method of the flexlay and RS-232 according to the present invention will be described with reference to FIG. 3.

도 3은 본 발명의 일실시예에 따른 플렉스레이와 RS-232의 제어 방법을 설명하는 흐름도이다.3 is a flowchart illustrating a method of controlling a flexlay and RS-232 according to an embodiment of the present invention.

본 실시예에서는 차량에 장착된 ECU가 RS-232와 플렉스레이를 통해 차량 내부의 장치들을 제어하는 경우, 도 3에서 도시한 바와 같이 본 발명에 따른 플렉스레이와 RS-232의 제어 방법에 의해 이종 통신을 제어하는 과정을 설명한다. In the present embodiment, when the ECU mounted on the vehicle controls the devices in the vehicle through the RS-232 and the FlexRay, as shown in FIG. Describe the process of controlling communication.

우선, RS-232 통신수단(20)이 외부의 RS-232(50) 버스로부터 RS-232형 데이터가 수신되는지 여부를 판단한다(ST3010). 또, 플렉스레이 통신수단(30) 역시 외부의 플렉스레이(60) 버스로부터 플렉스레이형 데이터가 수신되는지 여부를 판단한다(ST3020). 본 발명에 따른 플렉스레이와 RS-232 통신의 제어 시스템은 RS-232와 플렉스레이 양측에 대한 데이터 송수신을 제어하므로 양측의 감시가 ST3010 단계와 ST3020 단계와 같이 수행된다. First, the RS-232 communication means 20 determines whether RS-232 type data is received from an external RS-232 50 bus (ST3010). In addition, the flex-ray communication means 30 also determines whether or not the flex-lay data is received from the external flex-lay bus 60 (ST3020). Since the control system of the FlexRay and the RS-232 communication according to the present invention controls data transmission and reception on both sides of the RS-232 and the FlexRay, monitoring of both sides is performed as in the steps ST3010 and ST3020.

먼저, RS-232형 데이터가 수신되는 경우에 대해 설명한다. ST3010 단계에서 RS-232형 데이터가 수신되면 게이트웨이수단(40)의 RS-232 송수신 트랜시버부(41)가 수신된 RS-232형 데이터를 전달받아 RS-232 송수신 버퍼부(42)에 저장한다(ST3030). 데이터 변환부(43)는 RS-232 송수신 버퍼부(44)에 저장된 RS-232형 데이터의 데이터 프레임에서 데이터 정보를 추출한다(ST3031). 데이터 변환부(43)는 추출된 데이터 정보를 이용하여 플렉스레이형 데이터 프레임을 생성하고(ST3032), 생성된 플렉스레이형 데이터 프레임을 플렉스레이 송수신 버퍼부(44)에 저장한다(ST3033). 플렉스레이 송수신 트랜시버부(45)는 플렉스레이 송수신 버퍼부(44)에 저장된 플렉스레이형 데이터를 플렉스레이 통신수단(30)으로 전달한다. 플렉스레이 통신수단(30)은 외부의 플렉스레이(60) 버스와 연결되어 있는지 확인하고(ST3034), 연결되어있다고 판단되면 전달된 플렉스레이형 데이터를 외부의 플렉스레이(60) 버스로 전송한다(ST3035).First, the case where RS-232 type data is received will be described. When the RS-232 type data is received in step ST3010, the RS-232 transmit / receive transceiver unit 41 of the gateway means 40 receives the received RS-232 type data and stores it in the RS-232 transmit / receive buffer unit 42 ( ST3030). The data converter 43 extracts data information from a data frame of RS-232 data stored in the RS-232 transmit / receive buffer unit 44 (ST3031). The data converting unit 43 generates a FlexRay type data frame using the extracted data information (ST3032), and stores the generated FlexRay type data frame in the FlexRay transmitting and receiving buffer unit 44 (ST3033). The FlexRay Transceiver Transceiver 45 transmits the FlexRay type data stored in the FlexRay Transceiver Buffer 44 to the FlexRay communication means 30. The FlexRay communication means 30 checks whether it is connected to the external FlexRay 60 bus (ST3034), and if determined to be connected, transmits the transmitted FlexRay-type data to the external FlexRay 60 bus ( ST3035).

다음으로, 플렉스레이형 데이터가 수신되는 경우에 대해 설명한다. ST3010 단계에서 플렉스레이형 데이터가 수신되면 게이트웨이수단(40)의 플렉스레이 송수신 트랜시버부(45)가 수신된 플렉스레이형 데이터를 전달받아 플렉스레이 송수신 버퍼부(44)에 저장한다(ST3030). 데이터 변환부(43)는 플렉스레이 송수신 버퍼부(44)에 저장된 플렉스레이형 데이터의 데이터 프레임에서 데이터 정보를 추출한다(ST3031). 데이터 변환부(43)는 추출된 데이터 정보를 이용하여 RS-232형 데이터 프레임을 생성하고(ST3032), 생성된 RS-232형 데이터 프레임을 RS-232 송수신 버퍼부(42)에 저장한다(ST3033). RS-232 송수신 트랜시버부(41)는 RS-232 송수신 버퍼부(41)에 저장된 RS-232형 데이터를 RS-232 통신수단(20)으로 전달한다. RS-232 통신수단(20)은 외부의 RS-232(50) 버스와 연결되어 있는지 확인하고(ST3034), 연결되어있다고 판단되면 전달된 RS-232형 데이터를 외부의 RS-232(50) 버스로 전송한다(ST3035).Next, the case where the flex-ray data is received will be described. When the FlexRay type data is received in step ST3010, the FlexRay transceiver unit 45 of the gateway means 40 receives the received FlexRay type data and stores the received FlexRay type data in the FlexRay transmit / receive buffer unit 44 (ST3030). The data converter 43 extracts data information from the data frame of the FlexRay-type data stored in the FlexRay transmit / receive buffer unit 44 (ST3031). The data converter 43 generates an RS-232 data frame using the extracted data information (ST3032), and stores the generated RS-232 data frame in the RS-232 transmit / receive buffer unit 42 (ST3033). ). The RS-232 transceiver module 41 transmits the RS-232 data stored in the RS-232 transceiver module 41 to the RS-232 communication means 20. The RS-232 communication means 20 checks whether it is connected to an external RS-232 (50) bus (ST3034), and if it is determined that it is connected, transmits the transmitted RS-232 type data to an external RS-232 (50) bus. To the computer (ST3035).

다음에, 본 발명에 이용되는 RS-232형 데이터 및 플렉스레이형 데이터의 포맷에 대해 설명한다. Next, the formats of the RS-232 data and the flex-ray data used in the present invention will be described.

도 4는 본 발명에 따른 통신 데이터 포맷을 도시한 도면이다.4 illustrates a communication data format according to the present invention.

도 4a에 도시된 RS-232형 데이터 프레임은 시작비트, 종료비트, 실제 페이로드 데이터로 구성된다. 또, 도 4b에 도시된 플렉스레이형 데이터 프레임은 헤더, 페이로드, 트레일러로 구분되며, 헤더부분은 프레임 ID(Frame ID), 페이로드 길이(DLC), 헤더 CRC(H-CRC), 사이클 수(CYCO) 등으로 구성된다. 프레임 ID는 프레임을 식별하고 이벤트 트리거 프레임의 우선 순위를 지정하는데 사용되고, 페이로드 길이는 프레임에서 전송된 단어 수이고, 헤더 CRC는 전송 중 오류를 감지하는데 사용되며, 사이클 수는 통신 주기가 시작될 때마다 증가하는 카운터 값이다. 페이로드부분에는 데이터 프레임에서 전송하는 실제 데이터가 들어 있으며, 트레일러부분은 오류를 감지하는 3개의 8비트 CRC로 구성된다.The RS-232 type data frame shown in FIG. 4A is composed of a start bit, an end bit, and actual payload data. In addition, the FlexRay type data frame shown in FIG. 4B is divided into a header, a payload, and a trailer, and a header part includes a frame ID (Frame ID), a payload length (DLC), a header CRC (H-CRC), and the number of cycles. (CYCO) and the like. The frame ID is used to identify the frame and to prioritize the event trigger frame, the payload length is the number of words transmitted in the frame, the header CRC is used to detect errors during transmission, and the number of cycles when the communication cycle begins. It is a counter value that increases every time. The payload section contains the actual data transmitted in the data frame, and the trailer section consists of three 8-bit CRCs that detect errors.

플렉스레이형 데이터 프레임에서 프레임 ID나 페이로드 길이, CRC 체크 등의 정보들은 실제 RS-232 통신에서 사용되지 않는다. 따라서 RS-232 통신과 플렉스레이간의 데이터 교환은 플렉스레이형 데이터 프레임에서 페이로드 데이터 부분만을 추출하여 RS-232 페이로드 데이터에 실어주는 것으로 이루어진다. 그러므로, 데이터 변환부(43)는 데이터 변환을 위해서 데이터 프레임의 전체 구조 중에서 페이로드 데이터만을 추출한다. In a FlexRay data frame, information such as frame ID, payload length, CRC check, etc. is not actually used in RS-232 communication. Therefore, data exchange between the RS-232 communication and the FlexRay consists of extracting only the payload data portion from the FlexRay data frame and loading it on the RS-232 payload data. Therefore, the data converter 43 extracts only payload data from the entire structure of the data frame for data conversion.

이상, 본 발명자에 의해서 이루어진 발명을 상기 실시 예에 따라 구체적으로 설명하였지만, 본 발명은 상기 실시 예에 한정되는 것은 아니고, 그 요지를 이탈하지 않는 범위에서 여러 가지로 변경 가능한 것은 물론이다.As mentioned above, although the invention made by this inventor was demonstrated concretely according to the said Example, this invention is not limited to the said Example and can be variously changed in the range which does not deviate from the summary.

즉, 상기 실시예에 있어서는 차량에서의 실시예에 대해 설명하였지만, 이에 한정되는 것은 아니며 다수의 이종 통신을 이용하여 ECU를 통해 내부 장치들을 제어하는 모든 분야에서 실현할 수 있음은 물론이다.That is, in the above embodiment, the embodiment of the vehicle has been described, but the present invention is not limited thereto, and it can be realized in all fields of controlling internal devices through the ECU using a plurality of heterogeneous communications.

상술한 바와 같이, 본 발명에 따른 플렉스레이와 RS-232의 제어 시스템 및 그 제어 방법에 의하면, 차량 내에서 사용되는 여러 통신표준간의 메시지 송수신이 가능해져 네트워크를 통합할 수 있는 효과도 얻어진다.As described above, according to the control system of the FlexRay and the RS-232 and the control method thereof according to the present invention, it is possible to send and receive messages between various communication standards used in the vehicle, and the effect of integrating the network is also obtained.

또, 본 발명에 따른 플렉스레이와 RS-232의 제어 시스템 및 그 제어 방법에 의하면, 차량 내부 네트워크 통합화의 기반이 됨으로써 기존의 많은 와이어로 연결된 차량 내부에 간단한 버스 선만을 연결하여 통합적으로 ECU를 제어할 수 있다는 효과도 얻어진다.In addition, according to the control system of the FlexRay and the RS-232 according to the present invention and the control method thereof, as a basis for the integration of the in-vehicle network, the ECU is integrated by controlling only a simple bus line inside a vehicle connected by many wires. The effect that can be obtained is also acquired.

또, 본 발명에 따른 플렉스레이와 RS-232의 제어 시스템 및 그 제어 방법에 의하면, ECU의 급성장과 차량 이용자의 다양한 욕구에 따라 늘어나는 서비스 요구량에 대해 다양한 서비스를 제공할 수 있는 외부 네트워크와 연동할 수 있다는 효과도 얻어진다.In addition, according to the control system of the FlexRay and RS-232 according to the present invention and the control method thereof, it is possible to interoperate with an external network capable of providing various services for increasing service demands according to the rapid growth of ECUs and various needs of vehicle users. The effect can also be obtained.

Claims (9)

ECU(Electronic Control Unit) 시스템에 이용되는 다수의 이종 통신을 제어하는 시스템에 있어서,In the system for controlling a plurality of heterogeneous communication used in the ECU (Electronic Control Unit) system, 외부의 RS-232와의 데이터 송수신을 지원하는 RS-232 통신수단,RS-232 communication means for supporting data transmission and reception with external RS-232, 외부의 플렉스레이(FlexRay)와의 데이터 송수신을 지원하는 플렉스레이 통신수단,FlexRay communication means for supporting data transmission and reception with an external FlexRay, 상기 RS-232 통신수단과 상기 플렉스레이 통신수단에 이용되는 이종 통신간에 데이터가 연동되도록 지원하는 게이트웨이수단을 포함하는 것을 특징으로 하는 플렉스레이와 RS-232의 제어 시스템.And a gateway means for supporting data interworking between the heterogeneous communication used in the RS-232 communication means and the flex-ray communication means. 제 1항에 있어서,The method of claim 1, 상기 게이트웨이수단은The gateway means 상기 RS-232형 데이터를 중계하는 RS-232 송수신 트랜시버부,RS-232 transceiver transceiver for relaying the RS-232 data, 상기 RS-232형 데이터를 저장하는 RS-232 송수신 버퍼부,RS-232 transmission and reception buffer unit for storing the RS-232 data, 상기 다수의 이종 통신 중 한 종류의 통신으로부터 수신된 데이터 프레임에서 데이터 정보를 추출하여 전송할 다른 종류의 통신 데이터 포맷으로 변환하는 데이터 변환부,A data conversion unit for extracting data information from a data frame received from one type of communication among the plurality of heterogeneous communication and converting the data information into another type of communication data format for transmission; 상기 플렉스레이형 데이터를 저장하는 플렉스레이 송수신 버퍼부,A flex-ray transceiving buffer unit for storing the flex-lay data; 상기 플렉스레이형 데이터를 중계하는 플렉스레이 송수신 트랜시버부를 포함 하는 것을 특징으로 하는 플렉스레이와 RS-232의 제어 시스템.And a flex-ray transceiver unit for relaying the flex-ray data. 제 2항에 있어서,The method of claim 2, 상기 데이터 정보는 페이로드 데이터와 페이로드 데이터 길이 정보 중 어느 하나를 포함하는 것을 특징으로 하는 플렉스레이와 RS-232의 제어 시스템.And the data information includes any one of payload data and payload data length information. 제 1항 내지 제 3항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 시스템은 차량에 장착되어 차량 내부를 제어하는 것을 특징으로 하는 플렉스레이와 RS-232의 제어 시스템.The system is a control system of the FlexRay and RS-232, characterized in that mounted on the vehicle to control the interior of the vehicle. RS-232 통신수단, 플렉스레이 통신수단, 게이트웨이수단을 포함하는 플렉스레이와 RS-232의 제어 시스템으로 ECU 시스템에 이용되는 다수의 이종 통신을 제어하는 방법에 있어서,In a method for controlling a plurality of heterogeneous communications used in an ECU system by a control system of a FlexRay and an RS-232 including RS-232 communication means, flexray communication means, and gateway means, (a) 상기 RS-232 통신수단이 외부의 RS-232 버스로부터 RS-232형 데이터가 수신되는지 판단하는 단계,(a) the RS-232 communication means determining whether RS-232 type data is received from an external RS-232 bus; (b) 상기 플렉스레이 통신수단이 외부의 플렉스레이 버스로부터 플렉스레이형 데이터가 수신되는지 판단하는 단계,(b) the FlexRay communication means determining whether FlexRay data is received from an external FlexRay bus, (c) 상기 (a)단계 또는 상기 (b)단계에서 데이터가 수신되면 상기 게이트웨이수단이 수신된 데이터를 이종 통신 형식으로 변환하여 외부 통신으로 전송하는 단계를 포함하는 것을 특징으로 하는 플렉스레이와 RS-232의 제어 방법.(c) when the data is received in the step (a) or the step (b), the gateway means converting the received data into a heterogeneous communication format and transmitting the data to an external communication. -232 control method. 제 5항에 있어서,The method of claim 5, 상기 (c) 단계는 상기 (a)단계에서 상기 RS-232형 데이터가 수신되면In step (c), if the RS-232 data is received in step (a), (c10) 상기 게이트웨이수단의 RS-232 송수신 트랜시버부가 수신된 상기 RS-232형 데이터를 전달받아 상기 게이트웨이수단의 RS-232 송수신 버퍼부에 저장하는 단계,(c10) receiving the RS-232 data received by the RS-232 transceiver unit of the gateway unit and storing the received RS-232 type data in the RS-232 transceiver unit of the gateway unit; (c11) 상기 게이트웨이수단의 데이터 변환부가 상기 RS-232 송수신 버퍼부에 저장된 상기 RS-232형 데이터의 데이터 프레임에서 데이터 정보를 추출하는 단계,(c11) extracting data information from a data frame of the RS-232 data stored in the RS-232 transmission / reception buffer unit by the data conversion unit of the gateway means; (c12) 상기 데이터 변환부가 추출된 상기 데이터 정보를 이용하여 플렉스레이형 데이터 프레임을 생성하여 상기 게이트웨이수단의 플렉스레이 송수신 버퍼부에 저장하는 단계,(c12) generating a FlexRay type data frame using the extracted data information by the data converting unit and storing the FlexRay type data frame in the FlexRay transmitting and receiving buffer unit of the gateway means; (c13) 상기 게이트웨이수단의 플렉스레이 송수신 트랜시버부가 저장된 상기 플렉스레이형 데이터를 상기 플렉스레이 통신수단으로 전달하는 단계,(c13) transferring the flexray-type data stored in the flexray transmission / reception transceiver unit of the gateway means to the flexray communication means, (c14) 상기 플렉스레이 통신수단이 외부의 플렉스레이 버스와 연결되어 있는지 확인하는 단계,(c14) checking whether the flexray communication means is connected to an external flexray bus, (c15) 상기 (c14)단계에서 연결되어있다고 판단되면 상기 플렉스레이 통신수단이 전달된 상기 플렉스레이형 데이터를 외부의 플렉스레이 버스로 전송하는 단계를 포함하는 것을 특징으로 하는 플렉스레이와 RS-232의 제어 방법.(c15) if it is determined that the connection is made in step (c14), the flexlay and RS-232 transmitting the flexray-type data transmitted to the external flexray bus, wherein the flexray communication means is transmitted. Control method. 제 5항에 있어서,The method of claim 5, 상기 (b)단계에서 상기 플렉스레이형 데이터가 수신되면If the FlexRay data is received in step (b) (c20) 상기 게이트웨이수단의 플렉스레이 송수신 트랜시버부가 수신된 상기 플렉스레이형 데이터를 전달받아 상기 게이트웨이수단의 플렉스레이 송수신 버퍼부에 저장하는 단계,(c20) receiving the FlexRay type data received by the FlexRay transceiver unit of the gateway unit and storing the received FlexRay type data in the FlexRay transceiver unit of the gateway unit; (c21) 상기 게이트웨이수단의 데이터 변환부가 상기 플렉스레이 송수신 버퍼부에 저장된 상기 플렉스레이형 데이터의 데이터 프레임에서 데이터 정보를 추출하는 단계,(c21) extracting data information from a data frame of the FlexRay-type data stored in the FlexRay transmission / reception buffer unit by the data conversion unit of the gateway means; (c22) 상기 데이터 변환부가 추출된 상기 데이터 정보를 이용하여 RS-232형 데이터 프레임을 생성하여 상기 게이트웨이수단의 RS-232 송수신 버퍼부에 저장하는 단계,(c22) generating an RS-232 type data frame using the extracted data information and storing the RS-232 transmission / reception buffer unit of the gateway means; (c23) 상기 게이트웨이수단의 RS-232 송수신 트랜시버부가 저장된 상기 RS-232형 데이터를 상기 RS-232 통신수단으로 전달하는 단계,(c23) transmitting the RS-232 data stored in the RS-232 transmission / reception transceiver unit of the gateway means to the RS-232 communication means, (c24) 상기 RS-232 통신수단이 외부의 RS-232 버스와 연결되어 있는지 확인하는 단계,(c24) checking whether the RS-232 communication means is connected to an external RS-232 bus, (c25) 상기 (c24)단계에서 연결되어있다고 판단되면 상기 RS-232 통신수단이 전달된 상기 RS-232형 데이터를 외부의 RS-232 버스로 전송하는 단계를 포함하는 것을 특징으로 하는 플렉스레이와 RS-232의 제어 방법.and (c25) if it is determined that the connection is made in step (c24), transmitting the RS-232 data transmitted by the RS-232 communication means to an external RS-232 bus. RS-232 control method. 제 6항 또는 제 7항에 있어서,The method according to claim 6 or 7, 상기 데이터 정보는 페이로드 데이터와 페이로드 데이터 길이 정보 중 어느 하나를 포함하는 것을 특징으로 하는 플렉스레이와 RS-232의 제어 방법.And the data information includes any one of payload data and payload data length information. 제 8항에 있어서,The method of claim 8, 상기 시스템은 차량에 장착되어 차량 내부를 제어하는 것을 특징으로 하는 플렉스레이와 RS-232의 제어 방법.And the system is mounted on a vehicle to control the interior of the vehicle.
KR1020060078067A 2006-08-18 2006-08-18 Control System of FlexRay and RS-232 And Method Thereof KR100818930B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060078067A KR100818930B1 (en) 2006-08-18 2006-08-18 Control System of FlexRay and RS-232 And Method Thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060078067A KR100818930B1 (en) 2006-08-18 2006-08-18 Control System of FlexRay and RS-232 And Method Thereof

Publications (2)

Publication Number Publication Date
KR20080016241A true KR20080016241A (en) 2008-02-21
KR100818930B1 KR100818930B1 (en) 2008-04-04

Family

ID=39384402

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060078067A KR100818930B1 (en) 2006-08-18 2006-08-18 Control System of FlexRay and RS-232 And Method Thereof

Country Status (1)

Country Link
KR (1) KR100818930B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187597A (en) * 2020-08-31 2021-01-05 山东嘉航电子信息技术有限公司 Vehicle-mounted ground end data chain based on FlexRay bus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0148412B1 (en) * 1994-10-26 1998-11-16 김주용 Auto-testing system and method for electronic control unit
KR100774731B1 (en) * 2006-11-24 2007-11-08 현대자동차주식회사 Vehicle ecu for program upgrade and method for operating the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187597A (en) * 2020-08-31 2021-01-05 山东嘉航电子信息技术有限公司 Vehicle-mounted ground end data chain based on FlexRay bus

Also Published As

Publication number Publication date
KR100818930B1 (en) 2008-04-04

Similar Documents

Publication Publication Date Title
CN109491357B (en) Apparatus for performing diagnostic operations on a plurality of controllers and related method and vehicle
CN109240970B (en) Method for transmitting data via a serial communication bus, bus interface and computer program
KR101095583B1 (en) System and Method for Monitoring Integrated Gateway in ???
US10511668B2 (en) Method of transmitting and receiving data in vehicle network and apparatus for the same
US10523462B2 (en) Communication network for transmission of messages
Talbot et al. Comparision of fieldbus systems can, ttcan, flexray and lin in passenger vehicles
US20160224501A1 (en) Adaptation device for a bus system, and method for operating a can subscriber station and a can fd subscriber station in a bus system
US10216687B2 (en) Subscriber station for a bus system, and method for increasing the data rate of a bus system
CN112823496B (en) Frame masking unit, subscriber station for a serial bus system and method for communication in a serial bus system
JP2008277873A (en) Relay connection system
WO2007024370A2 (en) System and method of optimizing the bandwidth of a time triggered communication protocol with homogeneous slot sizes
KR100775516B1 (en) Control system of flexray and can and method thereof
Hartwich et al. Introducing can xl into can networks
US20060083266A1 (en) Initial access signaling method in synchronous ethernet device
KR100818930B1 (en) Control System of FlexRay and RS-232 And Method Thereof
CN107181783B (en) Method and device for transmitting data in a vehicle using Ethernet
Umair et al. Communication technologies and network protocols of automotive systems
WO2001045329A1 (en) Gateway and distributed system using the gateway
WO2021251149A1 (en) Onboard device, onboard communication system, and communication control method
KR20110075665A (en) Network integration device between media oriented systems transports (most) for vehicle, and method thereof
KR100609493B1 (en) Method for transmitting multiple sensors data with a CAN message
CN111555946B (en) Subscriber station for a bus system and method for data transmission in a bus system
US11831466B2 (en) User station for a serial bus system, and method for transmitting a message in a serial bus system
Manoj et al. Automotive Networks: A Review
US20220393715A1 (en) Transceiver for a user station of a serial bus system and method for communicating in a serial bus system

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

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20130111

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee