KR101301078B1 - System, Device and Method for Controlling FlexRay Network - Google Patents

System, Device and Method for Controlling FlexRay Network Download PDF

Info

Publication number
KR101301078B1
KR101301078B1 KR1020120008610A KR20120008610A KR101301078B1 KR 101301078 B1 KR101301078 B1 KR 101301078B1 KR 1020120008610 A KR1020120008610 A KR 1020120008610A KR 20120008610 A KR20120008610 A KR 20120008610A KR 101301078 B1 KR101301078 B1 KR 101301078B1
Authority
KR
South Korea
Prior art keywords
data
area
static
dynamic
signal
Prior art date
Application number
KR1020120008610A
Other languages
Korean (ko)
Other versions
KR20130087326A (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 KR1020120008610A priority Critical patent/KR101301078B1/en
Publication of KR20130087326A publication Critical patent/KR20130087326A/en
Application granted granted Critical
Publication of KR101301078B1 publication Critical patent/KR101301078B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40241Flexray

Abstract

본 발명은 플렉스레이 네트워크 제어 시스템, 장치 및 방법에 관한 것으로서, 본 발명의 실시예에 따른 플렉스레이 네트워크 제어 시스템은 복수의 노드, 및 복수의 노드를 서로 연결하는 버스(bus)를 포함하되, 복수의 노드 각각은, 기 정해진 사이즈의 정적(static) 영역 및 동적(dynamic)으로 결정되는 동적 영역을 포함하는 신호를 구성하며, 구성한 신호를 버스를 통해 주변 노드로 전송하도록 제어하는 제어부를 포함하며, 제어부는 정적 영역에 기록될 데이터의 사이즈가 정적 영역에 할당된 사이즈를 초과하면, 초과 데이터를 동적 영역에 기록하여 신호를 구성하는 것을 특징으로 한다.The present invention relates to a FlexRay network control system, apparatus, and method, wherein a FlexRay network control system according to an embodiment of the present invention includes a plurality of nodes and a bus connecting the plurality of nodes to each other, Each of the nodes of s constitute a signal including a static area of a predetermined size and a dynamic area determined to be dynamic, and include a control unit for controlling the transmitted signal to be transmitted to neighboring nodes through a bus. If the size of the data to be recorded in the static area exceeds the size allocated to the static area, the controller is configured to configure the signal by recording the excess data in the dynamic area.

Description

플렉스레이 네트워크 제어 시스템, 장치 및 방법{System, Device and Method for Controlling FlexRay Network}System, Device and Method for Controlling FlexRay Network

본 발명은 플렉스레이 네트워크 제어 시스템, 장치 및 방법에 관한 것으로서, 더 상세하게는 플렉스레이 네트워크(FlexRay Network)에서 정보를 전송할 때 예컨대 미리 할당된 정적 세그먼트의 크기를 초과하는 데이터를 해당 통신 주기에서 동적 세그먼트의 데이터 적재공간에 실어 전송하려는 플렉스레이 네트워크 제어 시스템, 장치 및 방법에 관한 것이다.The present invention relates to a FlexRay network control system, apparatus, and method, and more particularly, when transmitting information in a FlexRay Network, for example, data that exceeds the size of a pre-allocated static segment can be dynamically changed in a corresponding communication period. The present invention relates to a FlexRay network control system, an apparatus, and a method for carrying a data load in a segment.

오늘날 차량에는 무수히 많은 제어장치 및 센서와 액츄에이터, 컨트롤러, 애플리케이션 시스템이 구성된다. 이와 같이 분리된 개별적인 시스템을 함께 연결하기 위해 보통 사용되는 배선 장치는 길이만 수 킬로미터, 무게로는 수십 킬로그램에 이르는 양의 케이블들을 필요로 하게 되며, 이것은 전체적인 차량의 무게와 제조비용에서 적지 않은 부분을 차지하게 된다. 이와 같은 문제의 해결책은 모든 시스템들을 차량 둘레에서 실행되는 한 개 혹은 두 개의 전선들로 구성된 하나의 공통 네트워크 버스에 연결하는 것이다. 이를 통해 배선 자체의 무게를 감소시키는 것은 물론 비용이 낮은 네트워크 인터페이스 칩으로 차량의 총 제조비용도 감소시키는 것이 가능하게 되는 것이다.Today's vehicles contain a myriad of controls, sensors, actuators, controllers, and application systems. Commonly used wiring harnesses to connect these separate systems together require cables of only a few kilometers in length and tens of kilograms in weight, which is a significant part of the overall vehicle weight and manufacturing cost. Will occupy. The solution to this problem is to connect all systems to one common network bus consisting of one or two wires running around the vehicle. This not only reduces the weight of the wiring itself, but also makes it possible to reduce the total manufacturing cost of the vehicle with low-cost network interface chips.

이와 같은 취지에서 오늘날 자동차에는 CAN(Controller Area Network) 프로토콜이 사용되고 있다. CAN은 1980년대 후반 독일의 로베르트보슈(Robert Bosch GmbH)에 의해 개발된 것으로 마이크로컨트롤러 간의 통신을 위해 설계되었다. CAN에서 사용되고 있는 통신 방식은 이더넷(Ethernet)과 같은 CSMA(Carrier Sense Multiple Access) 방식으로 버스에 연결된 노드가 데이터를 전송하기 위해서는 버스에 전송되고 있는 데이터가 없을 때까지 기다려야 하는 단점이 있다. 이와 같은 버스 진입에 대한 예측 불가능성은 차량에서 전자장치의 증가에 따른 데이터 전송량의 증가를 감안했을 때, 데이터 전송속도의 지연을 초래할 수 있다.To this end, today's cars use the Controller Area Network (CAN) protocol. CAN was developed by Robert Bosch GmbH of Germany in the late 1980s and was designed for communication between microcontrollers. The communication method used in CAN is a carrier sense multiple access (CSMA) method such as Ethernet, which requires a node connected to the bus to wait until there is no data transmitted on the bus in order to transmit data. Such unpredictability of entering a bus may cause a delay in data transmission rate in consideration of an increase in data transmission amount due to an increase in electronic devices in a vehicle.

이러한 CAN의 단점을 보완하기 위해 개발된 것이 플렉스레이다. 플렉스레이는 TDMA(Time Division Multiple Access) 방식으로 동작한다. 버스에 연결된 노드들은 독점적인 진입 권한이 허용되는 고정된 시간 슬롯을 할당받는다. 시간 슬롯들은 정의된 간격으로 반복되어 이를 통해 데이터가 버스 상에 있는 시간은 정확히 계산되고, 버스 진입에 대한 예측도 가능해진다. 이와 같은 장점으로 인해 CAN과 같은 데이터 전송속도의 지연을 방지할 수 있게 된다. 뿐만 아니라 플렉스레이의 비트 전송률은 최대 10 MBit/s로서, 이론적으로 CAN(최대 1MBit/s)보다 10배 이상 빠른 데이터 전송 속도를 가질 수 있다.Flexure was developed to make up for the shortcomings of CAN. The flexlay operates in a time division multiple access (TDMA) manner. Nodes connected to the bus are assigned a fixed time slot that allows exclusive entry rights. The time slots are repeated at defined intervals so that the time the data is on the bus is accurately calculated and predictable for bus entry. This advantage prevents delays in data rates such as CAN. In addition, the FlexRate's bit rate is up to 10 MBit / s, which can theoretically be 10 times faster than CAN (up to 1MBit / s).

ASV(Active Safety Vehicle)와 같이 안전에 직결된 제어 시스템의 경우, 차량에서 운전자가 실제 주행과 관련된 스티어링(steering), 브레이킹(braking)과 같은 조작을 수행했을 때 해당 컨트롤 신호가 정해진 시간 내에 목적지로 전송되는 것이 반드시 보장되어야 하는데, 기존의 CAN 네트워크로는 한계가 있다. 따라서 동작 안전성을 보장받기 위해 메시지의 버스 진입과 전송 시간이 정확하게 정해진 플렉스레이를 필수적으로 사용하는 추세이다.In a safety-controlled control system such as an active safety vehicle (ASV), when a driver performs an operation such as steering or braking related to actual driving, the control signal is sent to a destination within a predetermined time. Transmission must be guaranteed, but there are limitations with existing CAN networks. Therefore, in order to guarantee the operation safety, the trend is to use a FlexRay that is accurately determined the bus entry and transmission time of the message.

그런데 이와 같은 종래의 플렉스레이는 규격상 정적 세그먼트와 동적 세그먼트의 주기와 데이터의 크기가 미리 결정되어 있기 때문에 차량 내 노드 간 송수신되는 데이터가 미리 설정된 데이터의 크기를 초과하는 경우에는 시스템 오류가 발생하는 문제가 있다. 또한 이러한 시스템의 오류를 줄이기 위하여 플렉스레이 네트워크를 재설계하는 경우에는 추가적인 비용이 발생하게 된다.However, in the conventional FlexRay, since the period and data size of the static segment and the dynamic segment are predetermined according to the specification, a system error occurs when the data transmitted / received between nodes in the vehicle exceeds the preset data size. there is a problem. There is also an additional cost associated with redesigning the FlexRay network to reduce errors in these systems.

본 발명의 실시예는 플렉스레이 네트워크에서 정보를 전송할 때 정보가 정적 세그먼트의 데이터 적재 공간을 초과하더라도 시스템의 오류나 네트워크의 재설계 없이 유연하게 데이터를 처리할 수 있는 플렉스레이 네트워크 제어 시스템, 장치 및 방법을 제공함에 그 목적이 있다.Embodiments of the present invention provide a FlexRay network control system, apparatus, and method that can flexibly process data when transmitting information in a FlexRay network, even if the information exceeds the data storage space of a static segment without system error or network redesign. The purpose is to provide.

본 발명의 실시예에 따른 플렉스레이 네트워크 제어 시스템은 복수의 노드; 및 상기 복수의 노드를 서로 연결하는 버스(bus)를 포함하되, 상기 복수의 노드 각각은, 기 정해진 사이즈의 정적(static) 영역 및 동적(dynamic)으로 결정되는 동적 영역을 포함하는 신호를 구성하며, 상기 구성한 신호를 상기 버스를 통해 주변 노드로 전송하도록 제어하는 제어부를 포함하며, 상기 제어부는 상기 정적 영역에 기록될 데이터의 사이즈가 상기 정적 영역에 할당된 사이즈를 초과하면, 초과 데이터를 상기 동적 영역에 기록하여 상기 신호를 구성하는 것을 특징으로 한다.The FlexRay network control system according to the embodiment of the present invention includes a plurality of nodes; And a bus connecting the plurality of nodes to each other, each of the plurality of nodes constituting a signal including a static area of a predetermined size and a dynamic area determined to be dynamic. And a controller for controlling the configured signal to be transmitted to a neighboring node through the bus, wherein the controller is configured to transmit excess data to the dynamic area when the size of data to be recorded in the static area exceeds the size allocated to the static area. The signal is configured by recording in an area.

상기 제어부는, 플렉스레이 통신 주기에 따라 하나의 사이클 타임 동안, 복수의 타임 슬롯으로 분할된 상기 신호를 구성하고, 상기 복수의 타임 슬롯은 상기 정적 영역, 상기 동적 영역, 심볼 윈도우(symbol window) 영역, 네트워크 아이들 타임(network idle time)으로 구분되며, 상기 복수의 노드는 상기 제어부와 동기화되어, 각 노드에 대응되는 타임 슬롯에 상기 신호를 수신하여 처리하는 것을 특징으로 한다.The control unit configures the signal divided into a plurality of time slots during one cycle time according to a FlexRay communication period, and the plurality of time slots are the static area, the dynamic area, and a symbol window area. And a network idle time, wherein the plurality of nodes are synchronized with the controller to receive and process the signal in a time slot corresponding to each node.

또한 본 발명의 실시예에 따른 플렉스레이 네트워크 제어 장치는 플렉스레이 네트워크에 연결된 제어 장치에 있어서, 기 정해진 사이즈의 정적(static) 영역 및 동적(dynamic)으로 결정되는 동적 영역을 포함하는 신호를 상기 플렉스레이 네트워크에 연결된 각 노드들로 전송하는 전송부; 및 상기 신호를 구성하여 상기 전송부로 제공하며, 상기 정적 영역에 기록될 데이터의 사이즈가 상기 정적 영역에 할당된 사이즈를 초과하는지를 판단하며, 판단 결과 초과하면 초과 데이터를 상기 동적 영역에 기록하여 상기 신호를 구성하는 제어부를 포함하는 것을 특징으로 한다.In addition, the FlexRay network control device according to an embodiment of the present invention, in the control device connected to the FlexRay network, the flex signal is a signal including a static area of a predetermined size and a dynamic area determined to be dynamic (dynamic) Transmitter for transmitting to each node connected to the ray network; And configures the signal and provides the signal to the transmission unit, and determines whether the size of data to be recorded in the static area exceeds the size allocated to the static area. Characterized in that it comprises a control unit for configuring.

상기 제어부는, 상기 초과 데이터가 상기 동적 영역에 기록되는 경우, 상기 정적 영역 내에 상기 동적 영역의 사용 여부를 통지하는 인디케이터(indicator)를 추가하는 것을 특징으로 한다.The control unit may add an indicator for notifying whether the dynamic area is used in the static area when the excess data is recorded in the dynamic area.

나아가 본 발명의 실시예에 따른 플렉스레이 네트워크 제어 방법은 정적 영역에 기록될 데이터의 사이즈가 상기 정적 영역에 할당된 사이즈를 초과하는지 판단하는 단계; 상기 데이터의 사이즈가 상기 정적 영역에 할당된 사이즈를 초과하면, 상기 데이터를 정적 영역 및 동적 영역에 분산하여 신호를 구성하는 단계; 및 주변 노드로 상기 구성한 신호를 전송하는 단계를 포함하는 것을 특징으로 한다.Furthermore, a method of controlling a flexlay network according to an embodiment of the present invention includes determining whether a size of data to be recorded in a static area exceeds a size allocated to the static area; If the size of the data exceeds the size allocated to the static region, distributing the data into the static region and the dynamic region to construct a signal; And transmitting the configured signal to a neighboring node.

상기 신호를 구성하는 단계는, 상기 정적 영역에 할당된 사이즈만큼의 데이터를 상기 정적 영역에 기록하고, 초과 데이터를 상기 동적 영역에 기록하여 상기 신호를 구성하는 것을 특징으로 한다.The configuring of the signal may include recording the data corresponding to the size allocated to the static area in the static area and recording the excess data in the dynamic area to configure the signal.

상기 초과 데이터가 상기 동적 영역에 기록되는 경우, 상기 정적 영역 내에 상기 동적 영역의 사용 여부를 통지하는 인디케이터(indicator)를 추가하는 것을 특징으로 한다.When the excess data is recorded in the dynamic area, an indicator for notifying whether the dynamic area is used is added to the static area.

상기 신호를 구성하는 단계는, 플렉스레이 통신 주기에 따라 하나의 사이클 타임 동안, 복수의 타임 슬롯으로 분할된 상기 신호를 구성하고, 상기 복수의 타임 슬롯은 상기 정적 영역, 상기 동적 영역, 심볼 윈도우 영역, 네트워크 아이들 타임으로 구분되는 것을 특징으로 한다.The configuring of the signal may include configuring the signal divided into a plurality of time slots during one cycle time according to a FlexRay communication period, wherein the plurality of time slots comprise the static area, the dynamic area, and a symbol window area. It is characterized by being divided into network idle time.

도 1은 본 발명의 실시예에 따른 플렉스레이 네트워크 제어 시스템을 나타내는 도면,
도 2는 도 1의 시스템에 적용된 플렉스레이 통신 주기를 설명하기 위한 도면,
도 3은 도 1에 나타낸 노드의 구조를 예시한 블록다이어그램,
도 4는 도 3의 제어부의 세부 구조를 나타내는 블록다이어그램,
도 5는 본 발명의 실시예에 따른 플렉스레이 네크워크 제어 방법을 나타내는 도면이다.
1 is a diagram illustrating a flexray network control system according to an embodiment of the present invention;
FIG. 2 is a view for explaining a FlexRay communication cycle applied to the system of FIG. 1;
3 is a block diagram illustrating the structure of a node shown in FIG.
4 is a block diagram illustrating a detailed structure of a controller of FIG. 3;
5 is a diagram illustrating a method of controlling a flexlay network according to an exemplary embodiment of the present invention.

이하, 도면을 참조하여 본 발명의 실시예에 대하여 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

도 1은 본 발명의 실시예에 따른 플렉스레이 네트워크 제어 시스템을 나타내는 도면이다.1 is a diagram illustrating a flexray network control system according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 본 발명의 실시예에 따른 플렉스레이 네트워크 제어 시스템은 복수의 노드(100) 및 버스(110)를 포함한다.As shown in FIG. 1, a FlexRay network control system according to an embodiment of the present invention includes a plurality of nodes 100 and a bus 110.

차세대 차량 내부 네트워크인 플렉스레이를 위한 시스템은 공통의 버스(110)에 연결되어 상호 간 통신을 수행하는 복수의 노드(100)를 포함할 수 있다. 이때 복수의 노드(100)란 차량 내 무수히 많은 제어장치 및 센서와 액츄에이터, 컨트롤러, 애플리케이션 시스템 등을 나타낸다.The system for the FlexRay, which is a next-generation in-vehicle network, may include a plurality of nodes 100 connected to a common bus 110 to communicate with each other. In this case, the plurality of nodes 100 represents a myriad of control devices, sensors, actuators, controllers, application systems, and the like in the vehicle.

본 발명의 실시예에 따라 이러한 공통의 버스(110)에 연결된 각각의 노드(100)는 TDMA 방식으로 동작하는 것이 바람직하며, 플렉스레이의 규격상 버스(110)에 연결된 노드들은 독점적인 진입 권한이 허용되는 고정된 시간 슬롯을 할당받는다. 이를 위해 자동차 제조업체나 주요 공급업체에 의해 생성되는 프로그램 또는 애플리케이션은 네트워크 표준을 만족해야 하는 것이다. 또한 각각의 노드(100)는 미리 정의된 공간에 정적 및 동적 데이터를 제공하기 위하여 미리 설정된 통신 주기를 통해 코어 정적 프레임과 동적 프레임을 혼합하여 구현하게 된다. 통신 주기와 관련해서는 이후에 자세히 설명하겠지만, 정적 또는 동적 세그먼트는 헤더, 페이로드(혹은 데이터 프레임), 트레일러를 포함하는 의미이므로 본 발명의 실시예에서 프레임은 페이로드를 지칭하는 것으로 이해될 수 있으며, 정적 영역은 정적 세그먼트 또는 페이로드를 지칭하는 것으로 이해될 수도 있을 것이다.According to an embodiment of the present invention, each node 100 connected to such a common bus 110 preferably operates in a TDMA manner, and nodes connected to the bus 110 according to the specification of FlexRay have exclusive access rights. Allocated fixed time slots are allowed. To do this, a program or application generated by an automobile manufacturer or a major supplier must meet network standards. In addition, each node 100 is implemented by mixing a core static frame and a dynamic frame through a predetermined communication period to provide static and dynamic data in a predefined space. As will be described in detail later with respect to the communication cycle, since a static or dynamic segment is meant to include a header, payload (or data frame), trailer, in the embodiment of the present invention it can be understood that the frame refers to the payload , A static region may be understood to refer to a static segment or payload.

나아가 각각의 노드(100)는 플렉스레이 통신 과정에서 안전성 등을 반드시 보장해야 하는데, 이를 위해 본 발명의 실시예에서는 가령 주변에 위치하는 노드(100)로의 데이터 전송시 정적 세그먼트에 적재하여 전송하기 위한 데이터가 할당된 사이즈를 초과하는지를 판단하게 되고, 판단 결과 초과하는 경우에는 해당 주기의 동적 세그먼트의 데이터 적재 공간에 실어 전송하게 된다. 이때 노드(100)는 해당 주기에서 동적 세그먼트에 정적 세그먼트의 데이터가 적재되어 전송되었음을 주변의 노드(100)가 알 수 있도록 가령 정적 세그먼트에 부가 정보 즉 인디케이터(indicator)를 삽입하여 전송할 수 있다. 이때 부가 정보는 헤더에 삽입되는 것이 바람직하다. 또한 위의 내용에 근거해 볼 때, 각각의 노드(100)는 전송된 데이터의 사이즈를 판단하는 것 이외에도 수신된 데이터가 있을 때에는 해당 데이터의 부가 정보를 확인함으로써 데이터의 가변 적재가 이루어졌는지를 추가로 판단하여 수신된 데이터를 처리할 수 있을 것이다. 여기서 가변 적재란 매 통신주기마다 동적 영역을 사용하거나 사용하지 않는 과정을 반복하는 것을 의미한다.Furthermore, each node 100 must guarantee safety in the FlexRay communication process. For this purpose, in the embodiment of the present invention, for example, in order to load and transmit data in a static segment when transmitting data to a node 100 located nearby, It is determined whether the data exceeds the allocated size. If the data exceeds the determined size, the data is loaded on the data load space of the dynamic segment of the period. In this case, the node 100 may insert additional information, that is, an indicator, into the static segment so that the neighboring node 100 may know that the static segment data is loaded and transmitted in the dynamic segment in the corresponding period. In this case, the additional information is preferably inserted in the header. Also, based on the above, in addition to determining the size of the transmitted data, each node 100 checks the additional information of the data when there is received data, and adds whether variable loading of the data has been performed. It may be determined that the received data can be processed. In this case, variable loading means repeating a process using or not using a dynamic area every communication cycle.

버스(110)는 복수의 노드(100)가 플렉스레이 통신을 수행할 수 있도록 하는 일종의 통신 선로로서 도 1에서는 비교적 간단한 멀티드롭 버스와 스타 네트워크가 통합된 하이브리드 토폴로지를 형성하는 하이브리드 네트워크를 예시하였다. 그러나 본 발명의 실시예는 하이브리드 네트워크뿐 아니라 멀티드롭 버스 및 스타 네트워크 등 다양한 네트워크에 적용될 수 있으므로 특정 네트워크에 특별히 한정하지는 않을 것이다. 여기서, 스타 네트워크는 중앙 활성 노드에 연결되는 개별 링크로 구성된 '스타'구성을 지원하게 되는 것을 의미한다.The bus 110 is a kind of communication line that allows a plurality of nodes 100 to perform FlexRay communication. In FIG. 1, the bus 110 illustrates a hybrid network forming a hybrid topology in which a relatively simple multidrop bus and a star network are integrated. However, the embodiment of the present invention may be applied to various networks such as a multidrop bus and a star network as well as a hybrid network, and thus the present invention will not be limited to a specific network. Here, the star network means to support a 'star' configuration composed of individual links connected to a central active node.

도 2는 도 1의 시스템에 적용된 플렉스레이 통신 주기를 설명하기 위한 도면이다.FIG. 2 is a diagram for describing a FlexRay communication cycle applied to the system of FIG. 1.

플렉스레이 통신 주기는 플렉스레이 내에서 미디어 액세스 구조의 근본적인 요소이다. 네트워크가 설계되었을 때 주기의 기간은 고정되지만, 일반적으로 1-5 ms 정도에 해당되는 것이 바람직하다.The FlexRay communication cycle is a fundamental element of the media access structure within the FlexRay. The period of the cycle is fixed when the network is designed, but it is generally preferred to be in the order of 1-5 ms.

도 2에 도시된 바와 같이, 통신 주기에는 4가지 주요 부분이 있다. 정적 세그먼트는 정해진 기간에 도착하는 결정성 있는 데이터를 위해 확보된 슬롯이며, 동적 세그먼트는 CAN과 유사한 방식으로 동작하고 결정성을 요구하지 않는 광범위한 다양한 이벤트 기반 데이터에 사용된다. 또한 심볼 윈도우는 네트워크 유지와 시작을 위한 시그널링에 사용되며, 네트워크 비작동 시간은 소위 "조용한" 시간으로 알려져 있는데 노드 클럭 간 동기화를 유지하는 데 사용된다. 플렉스레이 네트워크의 가장 작은 실용성 있는 시간 단위는 매크로틱(macrotick)이다. 플렉스레이 컨트롤러는 스스로 능동적으로 동기화하며 로컬 클럭을 조정하므로 매크로틱이 네트워크에서 모든 노드에 대해 동일 지점에서 발생한다. 매크로틱이 특정 네트워크에 대해 구성 가능하지만, 보통은 1 마이크로초이며, 매크로틱이 동기화되므로 매크로틱에 의존하는 데이터 또한 동기화된다.As shown in Fig. 2, there are four main parts of the communication period. Static segments are reserved slots for deterministic data arriving over a fixed period of time, and dynamic segments are used for a wide variety of event-based data that operates in a CAN-like manner and does not require determinism. The symbol window is also used for signaling to maintain and start the network, and the network downtime is known as the so-called "quiet" time, which is used to maintain synchronization between node clocks. The smallest practical unit of time in a FlexRay network is a macrotick. The FlexRay controller actively synchronizes itself and adjusts the local clock so that macroticks occur at the same point for all nodes in the network. Although macrotick is configurable for a particular network, it is usually 1 microsecond, and since macroticks are synchronized, data that depends on macroticks is also synchronized.

좀더 구체적으로 살펴보면, 정적 세그먼트는 여러 시간 트리거(time-triggered) 프레임 스케쥴링에 전용인 주기의 공간이다. 세그먼트는 슬롯으로 나누어지며 각 슬롯은 확보된 데이터 프레임을 보유한다. 각 슬롯이 시간 내에 발생하면 확보된 ECU(Electronic Control Unit)는 이러한 슬롯으로 데이터를 전송할 기회를 갖는다. 일단 그 시간이 지나면 ECU는 반드시 슬롯에서 데이터를 전송하기 위해 다음 주기까지 기다려야 한다. 주기에서 시간 내의 정확한 포인트가 알려져 있으므로 데이터는 결정성이 있으며 프로그램은 데이터가 얼마나 오래된 것인지 정확하게 파악한다. 이는 일관성있는 공간 데이터에 의존하는 컨트롤 루프를 계산할 때 매우 유용하다. 실제 플렉스레이 네트워크는 최대 수십 개의 정적 슬롯을 포함할 수 있다. ECU가 오프라인이거나 데이터를 전송하지 않게 되면, 슬롯은 개방된 채로 유지되며 다른 ECU가 사용하지는 않는다.More specifically, a static segment is a space of periods dedicated to scheduling multiple time-triggered frames. Segments are divided into slots, each slot holding a reserved data frame. If each slot occurs in time, the secured Electronic Control Unit (ECU) has the opportunity to send data to these slots. Once that time has passed, the ECU must wait until the next cycle to transmit data in the slot. Since the exact point in time in the cycle is known, the data is deterministic and the program knows exactly how old the data is. This is very useful when calculating control loops that rely on consistent spatial data. A real flexlay network can contain up to dozens of static slots. If the ECU is offline or not transmitting data, the slot remains open and not used by other ECUs.

동적 세그먼트와 관련해 보면, 대부분의 임베디드 네트워크는 적은 수의 고속 메시지와 다량의 저속이면서 중요도가 떨어지는 네트워크를 보유한다. 과도한 수의 정적 슬롯에서 플렉스레이 주기의 속도를 떨어뜨리지 않은 채 광범위한 데이터를 수용하기 위해서 동적 세그먼트는 전송된 데이터를 허용할 때도 있다. 세그먼트는 고정된 길이이므로, 주기당 동적 세그먼트에 배치되는 고정된 데이터량에 대한 제한이 있다. 데이터의 우선순위를 정하기 위하여 미니슬롯(minislot)은 동적 세그먼트에서 전송 가능한 각 데이터 프레임에 미리 지정되어 있다. 미니슬롯은 일반적으로 매크로틱(예. 마이크로초) 길이이다. 높은 우선순위의 데이터는 동적 프레임의 시작 가까이에서 미니슬롯을 받는다. 미니슬롯이 발생하면 ECU는 프레임을 브로드캐스트하는 간략한 기회가 있다. 브로드캐스트를 하지 않을 경우 동적 프레임의 공간을 잃게 되고 다음 미니슬롯이 발생한다. 이러한 과정은 ECU가 데이터를 브로드캐스트 하도록 선택할 때까지 미니슬롯을 따라 이동한다. 데이터가 브로드캐스트되면 미래의 미니슬롯은 ECU가 데이터 브로드캐스트를 완료할 때까지 반드시 기다려야 한다. 동적 프레임 윈도우가 종료되면, 그 후 낮은 우선순위의 미니슬롯은 다음 주기의 브로드캐스트 기회까지 반드시 기다려야 한다. 동적 세그먼트의 최종 결과는 CAN에서 사용되는 중재 구조와 유사하다.When it comes to dynamic segments, most embedded networks have fewer high-speed messages and a lot of slower, less critical networks. In order to accommodate a wide range of data without slowing down the FlexRay period in an excessive number of static slots, dynamic segments sometimes allow for transmitted data. Since segments are of fixed length, there is a limit to the amount of fixed data placed in dynamic segments per period. In order to prioritize data, minislots are previously assigned to each data frame that can be transmitted in the dynamic segment. Minislots are generally macroticks (eg microseconds) long. High priority data receives a minislot near the beginning of the dynamic frame. When a minislot occurs, the ECU has a brief opportunity to broadcast the frame. If you don't broadcast, you lose space in dynamic frames and you get the next minislot. This process moves along the minislot until the ECU chooses to broadcast the data. When data is broadcast, future minislots must wait for the ECU to complete the data broadcast. When the dynamic frame window ends, the low priority minislot must then wait for the next cycle of broadcast opportunities. The final result of the dynamic segment is similar to the arbitration structure used in CAN.

심볼 윈도우는 콜드 스타트(cold-start) 주기와 같은 특수 주기의 유지와 파악에 주로 사용된다. 대부분의 하이 레벨 애플리케이션은 심볼 윈도우와 연동하지 않는다.Symbol windows are often used to maintain and track special periods, such as cold-start periods. Most high level applications do not work with symbol windows.

네트워크 비작동 시간은 미리 정의된 ECU가 알고 있는 길이이다. ECU는 이전 주기 중에 일어났을 수도 있는 드리프트에 대해 조정을 가할 수 있도록 이러한 비작동 시간을 사용한다.Network downtime is the length that a predefined ECU knows about. The ECU uses this downtime to make adjustments for drift that may have occurred during the previous cycle.

프레임 포맷에 대하여 살펴보면, 정적 또는 동적 세그먼트의 각 슬롯에는 플렉스레이 프레임이 있다. 프레임은 앞서 간략하게 언급하였듯이 헤더(Header), 페이로드(Payload), 트레일러(Trailer)의 세 가지 세그먼트로 나뉘어진다.As for the frame format, each slot of a static or dynamic segment has a FlexRay frame. As briefly mentioned above, a frame is divided into three segments: a header, a payload, and a trailer.

헤더는 5 바이트, 즉 40 비트의 길이로 구성될 수 있는데, 5비트의 상태비트, 11비트의 프레임 ID, 7비트의 페이로드 길이, 11비트의 헤더 CRC, 6비트의 주기 카운트와 같은 필드를 포함한다. 여기서, 프레임 ID는 프레임이 전송되어야 하는 슬롯이며, 이벤트 트리거 프레임을 우선순위화하는 데 사용된다. 페이로드 길이는 프레임에서 전송되는 문자 개수를 포함하며, 헤더 CRC는 전송 중 에러를 감지하는 데 사용된다. 주기 카운트에는 카운터의 값이 포함되며, 통신 주기가 시작하는 각 시간마다 증가한다.The header may consist of 5 bytes, or 40 bits in length. Fields such as 5 bits of status bits, 11 bits of frame ID, 7 bits of payload length, 11 bits of header CRC, and 6 bits of cycle count Include. Here, the frame ID is a slot to which a frame should be transmitted and is used to prioritize an event triggered frame. The payload length includes the number of characters transmitted in the frame, and the header CRC is used to detect errors during transmission. The cycle count includes the value of the counter and increments each time the communication cycle begins.

페이로드에는 프레임이 전송하는 실제 데이터가 포함된다. 플렉스레이 페이로드 또는 데이터 프레임의 길이는 최고 127자, 즉 254 바이트이며 이는 CAN과 비교하여 30배 이상의 수치이다.The payload contains the actual data that the frame transmits. The length of a FlexRay payload or data frame is up to 127 characters, or 254 bytes, which is more than 30 times that of CAN.

트레일러에는 에러 감지를 위한 세 개의 8 비트 CRC가 있다.The trailer has three 8-bit CRCs for error detection.

이제 프레임-신호 변환에 대하여 간략히 살펴본다. 플렉스레이 데이터는 바이트로 표현된다. 대부분의 애플리케이션은 데이터가 유닛, 스케일링, 리미트 등으로 실제 10진 값으로 표현되어야 한다. 플렉스레이 프레임으로부터 하나 또는 그 이상의 비트/바이트를 채택하고, 스케일링 및 오프셋을 적용하면 ECU간 실제 파라미터 통신에 유용한 신호를 얻을 수 있다. 대부분의 ECU 프로그램은 플렉스레이 데이터를 신호로 작동하며, 원시 프레임 데이터로의 신호 변환을 드라이버 또는 로우 레벨 통신 프로토콜에 맡긴다.Now let's look briefly at frame-to-signal conversion. FlexRay data is represented in bytes. Most applications require data to be represented as actual decimal values in units, scaling, limits, and so on. By adopting one or more bits / bytes from the FlexRay frame and applying scaling and offsets, a signal can be obtained that is useful for actual parameter communication between ECUs. Most ECU programs operate on FlexRay data as signals, leaving the driver or low-level communication protocol to convert the signals into raw frame data.

일반 차량에는 수백에서 수천 개의 신호가 있다. 이 같은 신호의 스케일링, 오프셋, 정의, 위치가 바뀔 수 있으므로, 플렉스레이 네트워크는 네트워크를 정의하는 FIBEX 데이터베이스에 이러한 정의를 저장한다. 이를 통해 플렉스레이 네트워크에 대한 프로그램을 작성하는 것이 편리해진다. 설계자들이 코드에서 신호 명을 간단하게 참조할 수 있기 때문이다. 그 후 컴파일러나 드라이버는 프로그램이 ECU 또는 테스트 시스템에 대해 업데이트될 때 가장 최신 스케일링 및 오프셋 정보를 추출하게 되는 것이다.The average car has hundreds to thousands of signals. Since the scaling, offset, definition, and position of these signals can change, the FlexRay network stores these definitions in the FIBEX database that defines the network. This makes it easy to write a program for the FlexRay network. This is because designers can simply refer to signal names in code. The compiler or driver then extracts the most recent scaling and offset information when the program is updated for the ECU or test system.

도 3은 도 1에 나타낸 노드의 구조를 예시한 블록다이어그램이고, 도 4는 도 3의 제어부의 세부 구조를 나타내는 블록다이어그램이다.3 is a block diagram illustrating the structure of a node shown in FIG. 1, and FIG. 4 is a block diagram showing a detailed structure of the controller of FIG.

도 3 및 도 4를 도 1과 함께 참조하면, 본 발명의 실시예에 따른 노드(혹은 제어장치)는 인터페이스부(300), 제어부(혹은 신호처리부)(310) 및 데이터 송수신부(320)의 일부 또는 전부를 포함할 수 있다. 본 발명의 실시예에서는 발명의 충분한 이해를 돕기 위하여 전부 포함하는 것으로 설명한다.3 and 4 together with FIG. 1, a node (or control device) according to an embodiment of the present invention may include the interface unit 300, the control unit (or signal processing unit) 310, and the data transmission / reception unit 320. It may include some or all of them. In the embodiments of the present invention will be described as including all in order to facilitate a sufficient understanding of the invention.

인터페이스부(300)는 가령 BDM(Background Debug Mode) 툴을 적용하기 위한 연결부로서, 실질적으로 모든 노드(100)에 포함되지 않을 수 있다. 이와 같은 BDM 연결부는 임의의 툴을 적용하여 노드(100)를 검사할 수 있는 표준적인 방법을 제공하기 위하여 사용될 수 있으며, 플렉스레이 통신을 수행하기 위한 특정 프로그램을 저장 혹은 써넣기 위하여 사용될 수 있으므로 본 발명의 실시예에서는 그러한 사용 여부에 특별히 한정하지는 않을 것이다.The interface unit 300 is, for example, a connection for applying a background debug mode (BDM) tool, and may not be substantially included in all nodes 100. The BDM connection unit may be used to provide a standard method for inspecting the node 100 by applying any tool, and may be used to store or write a specific program for performing the FlexRay communication. In the embodiment of will not be specifically limited to such use.

제어부(310)는 플렉스레이 통신을 수행하기 위하여 예컨대 차량 내 운전자가 실제 주행과 관련된 스티어링, 브레이킹 등의 조작을 수행했을 때 그 요청 즉 조작에 따른 데이터를 생성할 수 있고, 이때 생성되는 데이터는 플렉스레이 규격에 따라 미리 할당받은 시간만을 사용할 수 있는 정적 세그먼트와 시간 제약 내에서 자유롭게 사용할 수 있는 동적 세그먼트 부분으로 나누어 각 세그먼트를 주기적으로 반복하게 된다. 이의 과정에서 제어부(310)는 정적 세그먼트, 더 정확하게는 정적 영역에 해당 데이터를 적재하기 전 정적 영역에 할당된 크기를 초과하는지를 먼저 판단하고, 판단 결과 초과한다고 판단될 때 초과하는 데이터는 해당 주기에서 동적 영역에 적재하여 전송할 수 있다. 제어부(310)는 매 통신 주기마다 이와 같은 동작을 반복함으로써 가변적으로 데이터를 적재하여 주변의 노드(100)로 데이터를 전송하게 된다.The controller 310 may generate data according to the request, that is, when the driver in the vehicle performs an operation such as steering or braking related to actual driving, in order to perform the FlexRay communication. According to the ray specification, each segment is repeated periodically by dividing into a static segment that can use only a predetermined time and a dynamic segment that can be freely used within a time constraint. In this process, the controller 310 first determines whether or not the size allocated to the static area is exceeded before loading the corresponding data in the static segment, more precisely, in the corresponding period. It can be loaded and transmitted in the dynamic area. The control unit 310 transmits data to the surrounding node 100 by loading data variably by repeating such an operation every communication period.

위와 같은 기능을 수행하기 위하여, 제어부(310)는 도 4에 도시된 바와 같이 판단부(400), 신호 가변부(410) 및 마이크로프로세서(420)의 일부 또는 전부를 포함할 수 있는데, 저장부(미도시) 등을 더 포함할 수도 있다. 물론 본 발명의 실시예에서는 전부를 포함하는 것으로 설명하고 있지만, 판단부(400)와 신호 가변부(410)는 서로 통합되어 구성될 수도 있는 것이다.In order to perform the above functions, the controller 310 may include some or all of the determination unit 400, the signal variable unit 410, and the microprocessor 420 as shown in FIG. 4. (Not shown) may be further included. Of course, in the embodiment of the present invention is described as including all, the determination unit 400 and the signal variable unit 410 may be configured to be integrated with each other.

판단부(400)는 가령 데이터가 생성될 때, 그 생성되는 데이터의 크기가 플렉스레이 통신 주기를 위한 정적 영역의 데이터 적재 공간을 넘어서는지를 판단한다. 예를 들어, 판단부(400)는 실질적으로 생성되는 데이터의 크기를 정적 영역의 데이터 적재량에 대한 기준 값과 비교할 수 있는데, 이를 위해 판단부(400)는 비교기를 포함할 수 있으며, 기준 값을 저장하기 위한 저장부에 연동할 수 있다.For example, when the data is generated, the determination unit 400 determines whether the size of the generated data exceeds the data loading space of the static region for the flexlay communication period. For example, the determination unit 400 may compare the size of the data generated substantially with a reference value for the data load of the static area. For this purpose, the determination unit 400 may include a comparator, and the reference value It can be linked to a storage unit for storing.

판단부(400)에서의 판단 결과, 해당 주기에서 정적 영역의 데이터 적재 공간을 초과한다고 판단되면, 마이크로프로세서(420)는 신호 가변부(410)를 제어하여 신호 구성시 정적 영역의 데이터 적재 공간을 초과하는 데이터에 대하여는 동적 영역에 적재하게 된다. 이의 과정에서 신호 가변부(410)는 정적 영역의 데이터가 동적 영역에 포함되어 있음을 주변의 노드(100)로 알리기 위한 부가 정보를 생성할 수 있다. 이에 따라 신호 가변부(410)는 신호 구성부와 부가정보 생성부를 포함할 수 있을 것이다.As a result of the determination by the determination unit 400, when it is determined that the data loading space of the static area is exceeded in the corresponding period, the microprocessor 420 controls the signal variable unit 410 to determine the data loading space of the static area in the signal configuration. Any excess data will be loaded into the dynamic area. In this process, the signal variable unit 410 may generate additional information for notifying the neighboring node 100 that the data of the static region is included in the dynamic region. Accordingly, the signal variable unit 410 may include a signal component and an additional information generator.

마이크로프로세서(420)는 노드(100) 내의 전반적인 제어를 담당하게 된다. 다시 말해, 도 4에 도시된 바 있는 판단부(400) 및 신호 가변부(410)를 제어할 수 있을 뿐만 아니라 도 3의 인터페이스부(300) 및 데이터 송수신부(320)도 제어할 수 있을 것이다.The microprocessor 420 is responsible for the overall control in the node 100. In other words, in addition to controlling the determination unit 400 and the signal variable unit 410 as shown in FIG. 4, the interface unit 300 and the data transceiver 320 of FIG. 3 may also be controlled. .

데이터 송수신부(320)는 플렉스레이 및 CAN 통신을 위한 송수신부를 포함할 수 있으며, 나아가 LIN 통신을 위한 송수신부를 더 포함할 수 있다. 이와 같은 데이터 송수신부(320)는 제어부(310), 더 정확하게는 제어부(310)를 구성하는 마이크로프로세서(420)의 제어하에 제공되는 가변된 데이터를 주변의 노드(100)로 전송하게 된다. 이때 데이터 송수신부(320)는 제어부(310)의 제어에 따라 플렉스레이 통신을 위한 특정 송수신부에 고장이 발생한 경우 다른 송수신부를 이용하여 데이터를 전송할 수도 있을 것이다. 이는 도 4에서 J30 및 J31로 표기하여 나타내었다.The data transceiver 320 may include a transceiver for FlexRay and CAN communication, and may further include a transceiver for LIN communication. The data transmission / reception unit 320 transmits the variable data provided under the control of the control unit 310, more precisely, the microprocessor 420 constituting the control unit 310 to the neighboring nodes 100. In this case, the data transmitting and receiving unit 320 may transmit data using another transmitting and receiving unit when a failure occurs in a specific transmitting and receiving unit for the flex ray communication under the control of the control unit 310. This is represented by the notation J30 and J31 in FIG.

상기의 구성 결과 본 발명의 실시예는 결정성 있는 데이터를 정적 영역뿐 아니라 동적 영역을 가변적으로 이용하여 제공함으로써 운전자의 안전성 등을 보장할 수 있게 되고, 또한 종래 대비 신호 오류 및 플렉스레이 네트워크 재설계에 따르는 추가 비용을 절약할 수 있게 된다.As a result of the above configuration, the embodiment of the present invention can guarantee the driver's safety by providing deterministic data not only in the static region but also in the dynamic region, and also redesigns the signal error and the FlexRay network. You can save additional costs.

도 5는 본 발명의 실시예에 따른 플렉스레이 네트워크 제어 방법을 나타내는 도면이다.5 is a diagram illustrating a method for controlling a flexlay network according to an embodiment of the present invention.

설명의 편의상 도 5를 도 1 및 도 2와 함께 참조하면, 노드(100) 즉 제어장치는 도 2의 통신 주기에서 정적 영역의 데이터 사이즈를 먼저 판단할 수 있다(S501). 다시 말해 차량 내 운전자가 브레이킹과 같은 요청을 했을 때, 특정 기능을 수행하기 위한 노드(100)는 해당 기능을 수행하기 위하여 주변의 노드(100)로 전송해야 하는 결정성 있는 데이터가 정적 영역의 할당된 기준을 초과하는지를 판단하게 되는 것이다. 여기서 정적 영역은 정적 세그먼트를 나타내지만, 정적 세그먼트를 구성하는 페이로드만을 나타낼 수도 있으므로 본 발명의 실시예에서는 그것에 특별히 한정하지는 않을 것이다.For convenience of description, referring to FIG. 5 together with FIGS. 1 and 2, the node 100, that is, the control device, may first determine the data size of the static area in the communication period of FIG. 2 (S501). In other words, when a driver in a vehicle makes a request such as braking, the deterministic data that should be transmitted to the neighboring node 100 to perform a specific function is allocated to a node 100 for performing a specific function. It will be judged if the standard is exceeded. Here, the static region represents a static segment, but since only the payload constituting the static segment may be represented, embodiments of the present invention will not be limited thereto.

판단 결과 할당된 기준을 초과한다면(S503), 노드(100)는 초과하는 결정성 있는 데이터에 대하여는 동적 영역으로 분산하여 신호 즉 데이터를 구성하게 된다(S505). 이와 같은 과정은 해당 주기에서 이루어지는 것이 바람직하며, 각각의 노드(100)는 매 주기마다 이와 같은 과정을 수행할 수 있다. 나아가 노드(100)는 이의 과정에서 신호의 분산이 이루어지는 경우 이를 주변의 노드(100)로 알리기 위한 부가 정보를 생성하여 삽입할 수 있다.If the determination result exceeds the allocated criterion (S503), the node 100 is configured to distribute the excess deterministic data to the dynamic domain to configure a signal, that is, the data (S505). Such a process is preferably performed in a corresponding cycle, and each node 100 may perform such a process every cycle. Furthermore, the node 100 may generate and insert additional information for informing the neighboring node 100 when the signal is distributed in the process.

이후 신호를 발생한 임의의 노드(100)는 주변의 노드(100)로 신호를 전송하게 된다(S507).Thereafter, any node 100 generating the signal transmits the signal to the surrounding node 100 (S507).

반면 S503 단계에서 결정성 있는 데이터가 정적 영역의 사이즈를 초과하지 않는다고 판단되는 경우에는 정적 영역에만 해당 데이터를 적재하여 주변 노드(100)로 전송해 준다.On the other hand, if it is determined in step S503 that the deterministic data does not exceed the size of the static region, the data is loaded only in the static region and transmitted to the peripheral node 100.

한편, 주변의 노드(100)로부터 신호가 수신될 때 임의의 노드(100)는 정적 세그먼트의 슬롯에 구성된 프레임을 분석하여 동적 세그먼트로 신호 분산이 이루어졌는지 판단할 수 있고, 판단 결과에 따라 데이터를 처리할 수 있을 것이다.On the other hand, when a signal is received from the surrounding node 100, any node 100 can analyze the frame configured in the slot of the static segment to determine whether the signal is distributed to the dynamic segment, and according to the determination result You will be able to handle it.

이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어서는 안 될 것이다.While the invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention.

100: 노드 110: 버스
300: 인터페이스부 310: 제어부
320: 데이터 송수신부 400: 판단부
410: 신호 가변부 420: 마이크로프로세서
100: node 110: bus
300: interface unit 310: control unit
320: data transmission and reception unit 400: determination unit
410: signal variable unit 420: microprocessor

Claims (8)

복수의 노드; 및
상기 복수의 노드를 서로 연결하는 버스(bus)를 포함하되,
상기 복수의 노드 각각은,
기 정해진 사이즈의 정적(static) 영역 및 동적(dynamic)으로 결정되는 동적 영역을 포함하는 신호를 구성하며, 상기 구성한 신호를 상기 버스를 통해 주변 노드로 전송하도록 제어하는 제어부를 포함하고,
상기 제어부는 상기 정적 영역에 기록될 데이터의 사이즈가 상기 정적 영역에 할당된 사이즈를 초과하면, 초과 데이터를 상기 동적 영역에 기록하여 상기 신호를 구성하며,
상기 정적 영역은 사용자의 안전을 보장하기 위한 결정성 있는 데이터를 처리하는 것을 특징으로 하는 플렉스레이 네트워크 제어 시스템.
A plurality of nodes; And
Including a bus (bus) for connecting the plurality of nodes to each other,
Each of the plurality of nodes,
Comprising a signal comprising a static area of the predetermined size and a dynamic area determined to be dynamic (dynamic), and comprises a control unit for controlling to transmit the configured signal to the peripheral node through the bus,
If the size of data to be recorded in the static area exceeds the size allocated to the static area, the control unit configures the signal by recording the excess data in the dynamic area,
And said static area processes deterministic data to ensure user safety.
제1항에 있어서,
상기 제어부는,
플렉스레이 통신 주기에 따라 하나의 사이클 타임 동안, 복수의 타임 슬롯으로 분할된 상기 신호를 구성하고, 상기 복수의 타임 슬롯은 상기 정적 영역, 상기 동적 영역, 심볼 윈도우(symbol window) 영역, 네트워크 아이들 타임(network idle time)으로 구분되며,
상기 복수의 노드는 상기 제어부와 동기화되어, 각 노드에 대응되는 타임 슬롯에 상기 신호를 수신하여 처리하는 것을 특징으로 하는 플렉스레이 네트워크 제어 시스템.
The method of claim 1,
The control unit,
Configure the signal divided into a plurality of time slots during one cycle time according to a FlexRay communication period, wherein the plurality of time slots comprise the static area, the dynamic area, a symbol window area, and a network idle time. divided into (network idle time),
And the plurality of nodes are synchronized with the control unit to receive and process the signal in a time slot corresponding to each node.
플렉스레이 네트워크에 연결된 제어 장치에 있어서,
기 정해진 사이즈의 정적(static) 영역 및 동적(dynamic)으로 결정되는 동적 영역을 포함하는 신호를 상기 플렉스레이 네트워크에 연결된 각 노드들로 전송하는 전송부; 및
상기 신호를 구성하여 상기 전송부로 제공하며, 상기 정적 영역에 기록될 데이터의 사이즈가 상기 정적 영역에 할당된 사이즈를 초과하는지를 판단하며, 판단 결과 초과하면 초과 데이터를 상기 동적 영역에 기록하여 상기 신호를 구성하는 제어부를 포함하되,
상기 정적 영역은 사용자의 안전을 보장하는 결정성 있는 데이터를 처리하는 것을 특징으로 하는 플렉스레이 네트워크 제어 장치.
A control device connected to a flexlay network,
A transmitter for transmitting a signal including a static area of a predetermined size and a dynamic area determined to be dynamic to each node connected to the FlexRay network; And
The signal is configured and provided to the transmission unit, and it is determined whether the size of data to be recorded in the static area exceeds the size allocated to the static area. Including a control unit,
And said static area processes deterministic data to ensure user safety.
제3항에 있어서,
상기 제어부는,
상기 초과 데이터가 상기 동적 영역에 기록되는 경우, 상기 정적 영역 내에 상기 동적 영역의 사용 여부를 통지하는 인디케이터(indicator)를 추가하는 것을 특징으로 하는 플렉스레이 네트워크 제어 장치.
The method of claim 3,
The control unit,
And when the excess data is recorded in the dynamic area, an indicator for notifying whether the dynamic area is used or not is added to the static area.
정적 영역에 기록될 데이터의 사이즈가 상기 정적 영역에 할당된 사이즈를 초과하는지 판단하는 단계;
상기 데이터의 사이즈가 상기 정적 영역에 할당된 사이즈를 초과하면, 상기 데이터를 정적 영역 및 동적 영역에 분산하여 신호를 구성하는 단계; 및
주변 노드로 상기 구성한 신호를 전송하는 단계를 포함하되,
상기 정적 영역은 사용자의 안전을 보장하기 위한 결정성 있는 데이터를 처리하는 것을 특징으로 하는 플렉스레이 네트워크 제어 방법.
Determining whether the size of data to be recorded in the static area exceeds the size allocated to the static area;
If the size of the data exceeds the size allocated to the static region, distributing the data into the static region and the dynamic region to construct a signal; And
Transmitting the configured signal to a peripheral node,
And said static zone processes deterministic data to ensure user safety.
제5항에 있어서,
상기 신호를 구성하는 단계는,
상기 정적 영역에 할당된 사이즈만큼의 데이터를 상기 정적 영역에 기록하고, 초과 데이터를 상기 동적 영역에 기록하여 상기 신호를 구성하는 것을 특징으로 하는 플렉스레이 네트워크 제어 방법.
The method of claim 5,
Comprising the signal,
And as much data as the size allocated to the static area is recorded in the static area, and excess data is recorded in the dynamic area to configure the signal.
제5항에 있어서,
상기 초과 데이터가 상기 동적 영역에 기록되는 경우, 상기 정적 영역 내에 상기 동적 영역의 사용 여부를 통지하는 인디케이터(indicator)를 추가하는 것을 특징으로 하는 플렉스레이 네트워크 제어 방법.
The method of claim 5,
And when the excess data is recorded in the dynamic area, an indicator for notifying whether the dynamic area is used or not is added to the static area.
제5항에 있어서,
상기 신호를 구성하는 단계는,
플렉스레이 통신 주기에 따라 하나의 사이클 타임 동안, 복수의 타임 슬롯으로 분할된 상기 신호를 구성하고,
상기 복수의 타임 슬롯은 상기 정적 영역, 상기 동적 영역, 심볼 윈도우 영역, 네트워크 아이들 타임으로 구분되는 것을 특징으로 하는 플렉스레이 네트워크 제어 방법.
The method of claim 5,
Comprising the signal,
Configure the signal divided into a plurality of time slots during one cycle time according to the FlexRay communication period,
And the plurality of time slots are divided into the static region, the dynamic region, a symbol window region, and a network idle time.
KR1020120008610A 2012-01-27 2012-01-27 System, Device and Method for Controlling FlexRay Network KR101301078B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120008610A KR101301078B1 (en) 2012-01-27 2012-01-27 System, Device and Method for Controlling FlexRay Network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120008610A KR101301078B1 (en) 2012-01-27 2012-01-27 System, Device and Method for Controlling FlexRay Network

Publications (2)

Publication Number Publication Date
KR20130087326A KR20130087326A (en) 2013-08-06
KR101301078B1 true KR101301078B1 (en) 2013-09-03

Family

ID=49214201

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120008610A KR101301078B1 (en) 2012-01-27 2012-01-27 System, Device and Method for Controlling FlexRay Network

Country Status (1)

Country Link
KR (1) KR101301078B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101507018B1 (en) * 2013-12-18 2015-04-01 부산대학교 산학협력단 FIBEX generation method for FlexRay network

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100027795A (en) * 2008-09-03 2010-03-11 현대자동차주식회사 A data sending system usin flexray network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100027795A (en) * 2008-09-03 2010-03-11 현대자동차주식회사 A data sending system usin flexray network

Also Published As

Publication number Publication date
KR20130087326A (en) 2013-08-06

Similar Documents

Publication Publication Date Title
Park et al. FlexRay network parameter optimization method for automotive applications
JP3657999B2 (en) Deterministic serial bus communication system with "controller area (CAN)" protocol
EP2678831B1 (en) Data rewriting support system and data rewriting support method for vehicle control apparatus
Kim et al. Industrial sensors and controls in communication networks
Navet et al. In-vehicle communication networks-a historical perspective and review
US8571044B2 (en) Gateway for data transfer between serial buses
US10397332B2 (en) In-vehicle communication system
EP2882146B1 (en) Data transmission device, communication control method, and communication control program
Cummings et al. Exploring use of Ethernet for in-vehicle control applications: AFDX, TTEthernet, EtherCAT, and AVB
US10602530B2 (en) Access method with access slots and priority resolution
CN106921546A (en) CAN control method and the communication system using CAN
Navet Controller area network [automotive applications]
Jang et al. Design framework for FlexRay network parameter optimization
KR101301078B1 (en) System, Device and Method for Controlling FlexRay Network
Migliavacca et al. RTCAN-A real-time CAN-bus protocol for robotic applications
KR102313636B1 (en) Operation method of communication node for time sinchronizating in vehicle network
KR101288925B1 (en) System and Method for Designing FlexRay Network
US10797854B1 (en) Synchronization system for controller area networks
Marques et al. Efficient transient error recovery in FlexRay using the dynamic segment
Herpel et al. Routing of safety-relevant messages in automotive ECU networks
Cummings Easing the transition of system designs from CAN to FlexRay
Wey et al. Enhancement of Controller Area Network (CAN) bus arbitration mechanism
Rahim et al. Comparison of CAN, TTP and Flexray Communication Protocols
Cena et al. Protocols and Services in Controller Area Networks
KR101058414B1 (en) Method and apparatus of locating slot in static segment for reliability in flexray communication

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

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20180724

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20190725

Year of fee payment: 7