KR101481132B1 - Apparatus and method for synchronizing data output time in vehicle network - Google Patents
Apparatus and method for synchronizing data output time in vehicle network Download PDFInfo
- Publication number
- KR101481132B1 KR101481132B1 KR20130152833A KR20130152833A KR101481132B1 KR 101481132 B1 KR101481132 B1 KR 101481132B1 KR 20130152833 A KR20130152833 A KR 20130152833A KR 20130152833 A KR20130152833 A KR 20130152833A KR 101481132 B1 KR101481132 B1 KR 101481132B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- time
- transmission
- node
- data output
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/4013—Management of data rate on the bus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
Abstract
Description
본 발명은 네트워크를 구성하는 노드들 사이에 데이터 출력 시간을 동기화시키는 장치 및 방법에 관한 것이다. 보다 상세하게는, 차량용 네트워크를 구성하는 노드들 사이에 데이터 출력 시간을 동기화시키는 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for synchronizing data output time between nodes constituting a network. More particularly, the present invention relates to an apparatus and method for synchronizing data output time between nodes constituting a vehicular network.
CAN(Controller Area Network)은 현재 보편적으로 사용되고 있는 차량용 네트워크이다. CAN 데이터의 전송은 브로드캐스팅 방식을 사용하여 네트워크에 연결된 전체 노드로 동시 전송하게 되며, 데이터의 수신은 수신 노드에 의해 결정된다. CAN은 최고 속도 125Kbps까지의 활용을 위해 ISO 11519로 표준화되어 있으며, 1Mbps까지의 활용을 위해 ISO 19898로 표준화되어 있다.CAN (Controller Area Network) is a widely used automotive network. The transmission of CAN data is simultaneously transmitted to all the nodes connected to the network by using the broadcasting method, and the reception of data is determined by the receiving node. CAN is standardized to ISO 11519 for use at speeds up to 125 Kbps and standardized to ISO 19898 for utilization up to 1 Mbps.
그런데 카메라 센서, 레이더 센서, 레이저 센서 등 각종 센서들이 차량에 장착되고 ACC(Adaptive Cruise Control)/SCC(Smart Cruise Control), FCM(Forward Collision Mitigation), AEB(Autonomous Emergency Braking) 등 각종 ADAS(Advanced Driver Assistance System)가 개발되면서 차량 내 기기들 간에 송수신할 데이터의 양이 많아지고 있다. ADAS가 적용된 차량에서 교통사고 등에 능동적으로 대처하기 위해서는 많은 양의 데이터를 빠른 시간 내에 처리해야 한다. 그런데 CAN은 전송 속도에 한계가 있기 때문에 많은 양의 데이터를 빠른 시간 내에 처리하는 데에 어려움이 따른다.However, various sensors such as camera sensor, radar sensor, and laser sensor are installed in the vehicle and various ADAS (Advanced Driver) such as ACC (Adaptive Cruise Control) / SCC (Smart Cruise Control), FCM (Forward Collision Mitigation) and AEB (Autonomous Emergency Braking) Assistance System) has been developed to increase the amount of data to be transmitted and received between in-vehicle devices. In order to actively cope with traffic accidents in ADAS-applied vehicles, a large amount of data must be processed in a short period of time. However, CAN has difficulties in handling large amounts of data in a short period of time because of its limited transmission speed.
그래서 최근 들어 차량용 네트워크로 이더넷(Ethernet)이 각광받고 있다. 이더넷은 LAN(Local Area Network)을 위해 개발된 네트워크로 각 기기들이 고유의 주소를 가지고, 이 주소를 이용하여 데이터를 송수신할 수 있도록 되어 있으며, 최대 전송 속도는 1Gbps이다. 그러나 이더넷은 일반적으로 베스트 에퍼트(Best Effort)를 기준으로 설계되기 때문에 서로 다른 기기들 간에 도달 시간을 예측하기 어려워 출력 동기를 맞추기가 불가능한 문제점이 있다.Recently, Ethernet has been attracting attention as a car network. Ethernet is a network developed for a LAN (Local Area Network). Each device has a unique address and can transmit and receive data using this address. The maximum transmission speed is 1 Gbps. However, because Ethernet is generally designed based on Best Effort, it is difficult to predict the arrival time between different devices, which makes it impossible to synchronize output.
한국공개특허 제2013-0093811호는 차량용 이더넷 네트워크 시스템에 대하여 기술하고 있다. 그러나 이 시스템은 ECU(Electronic Control Unit)들과 이더넷 스위치로 실시간 네트워킹이 가능한 차량용 이더넷에 대해 제안하고 있을 뿐 전술한 문제점을 해결할 수 있는 방안에 대해서는 제안하고 있지 않다.Korean Patent Publication No. 2013-0093811 describes an automotive Ethernet network system. However, this system proposes a car Ethernet for real-time networking with electronic control units (ECUs) and an Ethernet switch, but does not propose a solution for solving the above-mentioned problems.
본 발명은 상기한 문제점을 해결하기 위해 안출된 것으로서, 스위치로부터 각 노드까지 데이터를 전송하는 데에 걸리는 전송 시간들을 측정하고 이 전송 시간들을 기초로 서로 다른 노드 쌍 간에 데이터 출력 시간을 동기화시키는 장치 및 방법을 제안하는 것을 목적으로 한다.SUMMARY OF THE INVENTION It is an object of the present invention to provide an apparatus and method for measuring transmission times required to transmit data from a switch to each node and synchronizing data output times between different pairs of nodes based on the transmission times, And to propose a method.
그러나 본 발명의 목적은 상기에 언급된 사항으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.However, the objects of the present invention are not limited to those mentioned above, and other objects not mentioned can be clearly understood by those skilled in the art from the following description.
본 발명은 상기한 목적을 달성하기 위해 안출된 것으로서, LAN(Local Area Network) 즉 차량 내 네트워크를 구성하는 노드들을 연결시키는 스위치로부터 각 노드까지 데이터를 전송하는 데에 걸리는 전송 시간들을 측정하는 데이터 전송 시간 측정부; 및 상기 전송 시간들을 기초로 서로 다른 노드 쌍 간에 데이터 출력 시간을 동기화시키는 데이터 전송 동기화부를 포함하는 것을 특징으로 하는 차량용 네트워크에서의 데이터 출력 시간 동기화 장치를 제안한다.SUMMARY OF THE INVENTION The present invention has been made in order to achieve the above object, and it is an object of the present invention to provide a data transmission method and a data transmission method for measuring transmission times required for transmitting data from a switch connecting nodes constituting a LAN (Local Area Network) A time measuring unit; And a data transmission synchronization unit for synchronizing data output time between different pairs of nodes based on the transmission times.
바람직하게는, 상기 데이터 전송 동기화부는, 상기 전송 시간들을 기초로 노드 쌍의 최대 전송 시간을 검출하는 최대 전송 시간 검출부; 상기 최대 전송 시간을 기초로 타임스탬프(Timestamp)의 크기를 결정하는 타임스탬프 크기 결정부; 상기 타임스탬프의 크기를 기초로 데이터 전송 주기를 결정하는 데이터 전송 주기 결정부; 및 상기 데이터 전송 주기를 기초로 서로 다른 노드 쌍 간에 상기 데이터 출력 시간을 동기화시키는 데이터 전송 제어부를 포함한다.Preferably, the data transmission synchronization unit comprises: a maximum transmission time detection unit detecting a maximum transmission time of the node pair based on the transmission times; A time stamp size determining unit for determining a size of a time stamp based on the maximum transmission time; A data transmission period determiner for determining a data transmission period based on the size of the time stamp; And a data transmission controller for synchronizing the data output time between different pairs of nodes based on the data transmission period.
바람직하게는, 상기 데이터 전송 주기 결정부는 상기 타임스탬프의 크기의 최대값을 상기 데이터 전송 주기로 결정한다.Preferably, the data transmission period determination unit determines the maximum value of the size of the time stamp as the data transmission period.
바람직하게는, 상기 데이터 전송 주기는 상기 노드 쌍 간에 송수신되는 패킷(packet)에서 데이터 앞에 위치한다.Advantageously, said data transmission period precedes data in a packet transmitted between said pair of nodes.
바람직하게는, 상기 데이터 출력 시간 동기화 장치에서 LAN을 구성하는 노드들은 차량용 이더넷(Ethernet)을 구성하는 엔드 노드(End-Node)들이다.Preferably, the nodes constituting the LAN in the data output time synchronization apparatus are end-nodes constituting an automotive Ethernet.
바람직하게는, 상기 데이터 전송 동기화부는, 상기 전송 시간들을 기초로 상기 데이터를 전송하는 데에 가장 많은 전송 시간이 소요되는 노드 쌍을 검출하는 노드 쌍 검출부; 및 상기 가장 많은 전송 시간이 소요되는 노드 쌍부터 상기 데이터를 송수신하도록 제어하여 상기 데이터 출력 시간을 동기화시키는 데이터 전송 제어부를 포함한다.Preferably, the data transmission synchronization unit includes: a node pair detection unit that detects a node pair that requires the longest transmission time to transmit the data based on the transmission times; And a data transmission controller for controlling the transmission and reception of the data from the node pair requiring the longest transmission time to synchronize the data output time.
바람직하게는, 상기 노드 쌍 검출부는, 상기 데이터를 송신할 송신 노드와 상기 데이터를 수신할 수신 노드를 그룹핑(grouping)시켜 노드 쌍을 생성하는 노드 쌍 생성부; 상기 전송 시간들을 기초로 각 노드 쌍에서 수신 노드가 송신 노드로부터 상기 데이터를 수신하기까지 걸리는 데이터 획득 시간을 산출하는 데이터 획득 시간 산출부; 및 데이터 획득 시간들을 비교하여 상기 데이터를 전송하는 데에 가장 많은 전송 시간이 소요되는 노드 쌍을 검출하는 데이터 획득 시간 비교부를 포함한다.Preferably, the node pair detecting unit includes: a node pair generating unit for grouping a transmitting node to transmit the data and a receiving node to receive the data to generate a node pair; A data acquisition time calculating unit for calculating a data acquisition time required for each node pair to receive the data from the transmitting node based on the transmission times; And a data acquisition time comparing unit for comparing the data acquisition times and detecting a node pair that requires the most transmission time to transmit the data.
바람직하게는, 상기 데이터 전송 제어부는, 상기 데이터 획득 시간들을 기초로 전송 시간이 긴 순서대로 노드 쌍들을 정렬시키는 노드 쌍 정렬부; 및 정렬된 순서에 따라 상기 데이터를 송수신하도록 제어하여 상기 데이터 출력 시간을 동기화시키는 순서 기반 제어부를 포함한다.Preferably, the data transfer control unit comprises: a node pair sorting unit arranged to sort the node pairs in order of long transmission time based on the data acquisition times; And an order-based control unit for controlling the data to be transmitted and received according to the ordered sequence to synchronize the data output time.
바람직하게는, 상기 순서 기반 제어부는 현순위 노드 쌍이 상기 데이터를 송수신하도록 제어할 때 데이터 획득 시간을 비교하여 얻은 선순위 노드 쌍과의 시간차를 반영한다.Preferably, the order-based control unit reflects a time difference with a pair of senior nodes obtained by comparing data acquisition time when controlling the current-ranked node pair to transmit and receive the data.
또한 본 발명은 LAN(Local Area Network)을 구성하는 노드들을 연결시키는 스위치로부터 각 노드까지 데이터를 전송하는 데에 걸리는 전송 시간들을 측정하는 단계; 및 상기 전송 시간들을 기초로 서로 다른 노드 쌍 간에 데이터 출력 시간을 동기화시키는 단계를 포함하는 것을 특징으로 하는 차량용 네트워크에서의 데이터 출력 시간 동기화 방법을 제안한다.In addition, the present invention provides a method of controlling a network, comprising: measuring transmission times for transmitting data from a switch connecting nodes constituting a local area network (LAN) to each node; And synchronizing the data output time between different pairs of nodes based on the transmission times.
바람직하게는, 상기 데이터 출력 시간을 동기화시키는 단계는, 상기 전송 시간들을 기초로 노드 쌍의 최대 전송 시간을 검출하는 단계; 상기 최대 전송 시간을 기초로 타임스탬프(Timestamp)의 크기를 결정하는 단계; 상기 타임스탬프의 크기를 기초로 데이터 전송 주기를 결정하는 단계; 및 상기 데이터 전송 주기를 기초로 서로 다른 노드 쌍 간에 상기 데이터 출력 시간을 동기화시키는 단계를 포함한다.Advantageously, synchronizing the data output time comprises: detecting a maximum transmission time of the node pair based on the transmission times; Determining a size of a timestamp based on the maximum transmission time; Determining a data transmission period based on the size of the time stamp; And synchronizing the data output time between different pairs of nodes based on the data transmission period.
바람직하게는, 상기 데이터 전송 주기를 결정하는 단계는 상기 타임스탬프의 크기의 최대값을 상기 데이터 전송 주기로 결정한다.Preferably, the step of determining the data transmission period determines the maximum value of the size of the time stamp as the data transmission period.
바람직하게는, 상기 데이터 전송 주기는 상기 노드 쌍 간에 송수신되는 패킷(packet)에서 데이터 앞에 위치한다.Advantageously, said data transmission period precedes data in a packet transmitted between said pair of nodes.
바람직하게는, 상기 데이터 출력 시간 동기화 방법에서 LAN을 구성하는 노드들은 차량용 이더넷(Ethernet)을 구성하는 엔드 노드(End-Node)들이다.Preferably, the nodes configuring the LAN in the data output time synchronization method are end-nodes constituting an automotive Ethernet.
바람직하게는, 상기 데이터 출력 시간을 동기화시키는 단계는, 상기 전송 시간들을 기초로 상기 데이터를 전송하는 데에 가장 많은 전송 시간이 소요되는 노드 쌍을 검출하는 단계; 및 상기 가장 많은 전송 시간이 소요되는 노드 쌍부터 상기 데이터를 송수신하도록 제어하여 상기 데이터 출력 시간을 동기화시키는 단계를 포함한다.Advantageously, the step of synchronizing the data output time comprises: detecting a node pair that requires the most transmission time to transmit the data based on the transmission times; And synchronizing the data output time by controlling to transmit and receive the data from the node pair requiring the longest transmission time.
바람직하게는, 상기 노드 쌍을 검출하는 단계는, 상기 데이터를 송신할 송신 노드와 상기 데이터를 수신할 수신 노드를 그룹핑(grouping)시켜 노드 쌍을 생성하는 단계; 상기 전송 시간들을 기초로 각 노드 쌍에서 수신 노드가 송신 노드로부터 상기 데이터를 수신하기까지 걸리는 데이터 획득 시간을 산출하는 단계; 및 데이터 획득 시간들을 비교하여 상기 데이터를 전송하는 데에 가장 많은 전송 시간이 소요되는 노드 쌍을 검출하는 단계를 포함한다.Preferably, the step of detecting the node pair includes: grouping a transmitting node to transmit the data and a receiving node to receive the data to generate a node pair; Calculating a data acquisition time required for the receiving node to receive the data from the transmitting node in each pair of nodes based on the transmission times; And comparing the data acquisition times to detect a node pair that requires the most transmission time to transmit the data.
바람직하게는, 상기 데이터 출력 시간을 동기화시키는 단계는, 상기 데이터 획득 시간들을 기초로 전송 시간이 긴 순서대로 노드 쌍들을 정렬시키는 단계; 및 정렬된 순서에 따라 상기 데이터를 송수신하도록 제어하여 상기 데이터 출력 시간을 동기화시키는 단계를 포함한다.Advantageously, synchronizing the data output time comprises: aligning the pairs of nodes in order of long transmission time based on the data acquisition times; And synchronizing the data output time by controlling transmission and reception of the data according to an ordered sequence.
바람직하게는, 상기 정렬된 순서에 따라 상기 데이터를 송수신하도록 제어하여 상기 데이터 출력 시간을 동기화시키는 단계는, 현순위 노드 쌍이 상기 데이터를 송수신하도록 제어할 때 데이터 획득 시간을 비교하여 얻은 선순위 노드 쌍과의 시간차를 반영한다.Preferably, synchronizing the data output time by controlling transmission and reception of the data according to the ordered sequence comprises: comparing the data acquisition time when controlling the current node pair to transmit and receive the data, .
본 발명은 스위치로부터 각 노드까지 데이터를 전송하는 데에 걸리는 전송 시간들을 측정하고 이 전송 시간들을 기초로 서로 다른 노드 쌍 간에 데이터 출력 시간을 동기화시킴으로써 다음 효과를 얻을 수 있다.The present invention can obtain the following effects by measuring transmission times for transmitting data from a switch to each node and synchronizing data output times between different pairs of nodes based on the transmission times.
첫째, 액추에이터(Actuator), ECU(Electronic Control Unit) 등 차량 내 각종 기기들 간에 데이터 출력 시간을 동기화시킬 수 있다.First, data output time can be synchronized between various devices in an automobile such as an actuator and an ECU (Electronic Control Unit).
둘째, ACC(Adaptive Cruise Control)/SCC(Smart Cruise Control), FCM(Forward Collision Mitigation), AEB(Autonomous Emergency Braking) 등 차량에 적용된 ADAS(Advanced Driver Assistance System)의 효율성을 향상시킬 수 있다.Second, the efficiency of ADAS (Advanced Driver Assistance System) applied to vehicles such as ACC (Adaptive Cruise Control) / SCC (Smart Cruise Control), FCM (Forward Collision Mitigation) and AEB (Autonomous Emergency Braking)
도 1은 본 발명의 바람직한 실시예에 따른 데이터 출력 시간 동기화 장치의 개념도이다.
도 2는 데이터 출력 시간 동기화 장치에서 제1 실시예에 따른 데이터 전송 동기화부의 내부 구성을 도시한 개념도이다.
도 3과 도 4는 제1 실시예에 따른 데이터 전송 동기화부를 부연 설명하기 위한 참고도이다.
도 5는 데이터 출력 시간 동기화 장치에서 제2 실시예에 따른 데이터 전송 동기화부의 내부 구성을 도시한 개념도이다.
도 6은 본 발명의 바람직한 실시예에 따른 데이터 출력 시간 동기화 방법을 설명하는 흐름도이다.1 is a conceptual diagram of an apparatus for synchronizing data output time according to a preferred embodiment of the present invention.
2 is a conceptual diagram illustrating an internal configuration of a data transmission synchronization unit according to the first embodiment in a data output time synchronization apparatus.
3 and 4 are reference views for further illustrating a data transmission synchronization unit according to the first embodiment.
5 is a conceptual diagram illustrating an internal configuration of a data transmission synchronization unit according to a second embodiment of the data output time synchronization apparatus.
6 is a flowchart illustrating a data output time synchronization method according to a preferred embodiment of the present invention.
이하, 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 우선 각 도면의 구성요소들에 참조 부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다. 또한, 이하에서 본 발명의 바람직한 실시예를 설명할 것이나, 본 발명의 기술적 사상은 이에 한정하거나 제한되지 않고 당업자에 의해 변형되어 다양하게 실시될 수 있음은 물론이다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, the same reference numerals are used to designate the same or similar components throughout the drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. In addition, the preferred embodiments of the present invention will be described below, but it is needless to say that the technical idea of the present invention is not limited thereto and can be variously modified by those skilled in the art.
이더넷(Ethernet)은 가장 광범위하게 설치된 근거리통신망 기술이다. 지금은 IEEE(Institute of Electrical and Electronics Engineers) 802.3에 표준으로 정의되어 있지만, 이더넷은 원래 제록스에 의해 개발되었으며, 제록스와 DEC 그리고 인텔 등에 의해 발전되었다.Ethernet is the most widely deployed LAN technology. Ethernet is originally developed by Xerox and developed by Xerox, DEC, and Intel, although it is now defined as a standard in the Institute of Electrical and Electronics Engineers (IEEE) 802.3.
종래의 이더넷은 IEEE 802.3에서 규정된 CSMA/CD(Carrier Sense Multiple Access/Collision Detect) 프로토콜을 이용하여 경쟁적으로 액세스하기 때문에, IFG(Inter Frame Gap) 간격을 유지하면서 상위 계층의 서비스 프레임을 이더넷 프레임으로 생성하여 전송한다. 이때, 상위 서비스 프레임의 종류에 상관없이 발생 순서대로 전송을 한다. 즉, 이더넷은 서로 다른 여러 단말 사이에 또는 여러 사용자 사이에 데이터를 전송하고자 할 때 가장 보편적으로 익숙하게 접할 수 있는 기술 중 하나다.Since the conventional Ethernet is competitively accessed using the CSMA / CD (Carrier Sense Multiple Access / Collision Detect) protocol defined in IEEE 802.3, the service frame of the upper layer is maintained as an Ethernet frame And transmits it. At this time, transmission is performed in the order of occurrence regardless of the type of the upper service frame. In other words, Ethernet is one of the most commonly used techniques to transfer data between different terminals or between users.
이러한 이더넷은 모든 이더넷 프레임에 대해 동일한 우선권을 부여하고 경쟁을 통해 전송하는 CSMA/CD 방식의 전송을 하기 때문에 전송 시간 지연에 민감한 동영상 전달 등에 적합하지 않은 기술로 알려져 있다.Such Ethernet is known as a technology that is not suitable for video transmission, which is sensitive to transmission time delay, because it carries CSMA / CD type transmission that gives equal priority to all Ethernet frames and transmits through competition.
그러나 최근 들어서는 전송 시간 지연에 민감한 동영상 전달 등이 점차 늘어가고 데이터 전송에 있어서 그 비중이 커짐에 따라 이더넷 방식을 유지한 상태로 이러한 전송 지연에 따른 문제점을 제거하기 위한 방안들이 제안되고 있다.In recent years, however, video transmission, which is sensitive to the transmission time delay, has been increasing and the proportion of the data transmission has increased. Accordingly, there have been proposed methods for eliminating the problem due to the transmission delay while maintaining the Ethernet method.
본 발명은 스위치로부터 각 노드까지 데이터를 전송하는 데에 걸리는 전송 시간들을 측정하고 이 전송 시간들을 기초로 서로 다른 노드 쌍 간에 데이터 출력 시간을 동기화시킴으로써, 시간에 기반하여 주기적인 송신을 하도록 설계하여 주기적인 시간 범위 내에서 도달 시간이 예측 가능하도록 차량용 네트워크를 설계하는 것을 특징으로 한다.The present invention is designed to periodically transmit on the basis of time by measuring transmission times for transmitting data from a switch to each node and synchronizing data output times between different pairs of nodes based on the transmission times, Characterized in that the vehicle network is designed such that the arrival time is predictable within a predetermined time range.
도 1은 본 발명의 바람직한 실시예에 따른 데이터 출력 시간 동기화 장치의 개념도이다.1 is a conceptual diagram of an apparatus for synchronizing data output time according to a preferred embodiment of the present invention.
도 1에 따르면, 데이터 출력 시간 동기화 장치(100)는 차량용 네트워크에서의 데이터 출력 시간 동기화 장치로서, 데이터 전송 시간 측정부(110), 데이터 전송 동기화부(120), 전원부(130) 및 주제어부(140)를 포함한다.1, the data output
전원부(130)는 데이터 출력 시간 동기화 장치(100)를 구성하는 각 구성에 전원을 공급하는 기능을 수행한다. 그리고 주제어부(140)는 데이터 출력 시간 동기화 장치(100)를 구성하는 각 구성의 전체 작동을 제어하는 기능을 수행한다.The power supply unit 130 performs a function of supplying power to each configuration of the data output
데이터 전송 시간 측정부(110)는 차량용 네트워크 즉 LAN(Local Area Network)을 구성하는 노드들을 연결시키는 스위치로부터 각 노드까지 데이터를 전송하는 데에 걸리는 전송 시간들을 측정하는 기능을 수행한다.The data transmission
데이터 전송 시간 측정부(110)는 지정된 두 노드들 사이에 데이터를 전송하는 데에 걸리는 전송 시간들을 측정하는 것도 가능하다.The data transmission
데이터 출력 시간 동기화 장치(100)에서 LAN을 구성하는 노드들은 차량용 이더넷(Ethernet)을 구성하는 엔드 노드(End-Node)들이다.In the data output
데이터 전송 동기화부(120)는 데이터 전송 시간 측정부(110)에 의해 측정된 전송 시간들을 기초로 서로 다른 노드 쌍 간에 데이터 출력 시간을 동기화시키는 기능을 수행한다.The data
데이터 전송 동기화부(120)는 측정된 전송 시간들을 기초로 노드 쌍의 최대 전송 시간을 검출하고 이 최대 전송 시간을 기초로 데이터 출력 시간을 동기화시킬 수 있다. 또한 데이터 전송 동기화부(120)는 측정된 전송 시간들을 이용하여 데이터를 전송하는 데에 가장 많은 시간이 소요되는 노드 쌍을 검출하고 이 노드 쌍을 기초로 데이터 출력 시간을 동기화시킬 수도 있다. 이하에서는 전자와 후자 각각에 대해 보다 자세하게 설명한다.The data
도 2는 데이터 출력 시간 동기화 장치에서 제1 실시예에 따른 데이터 전송 동기화부의 내부 구성을 도시한 개념도이다. 그리고 도 3과 도 4는 제1 실시예에 따른 데이터 전송 동기화부를 부연 설명하기 위한 참고도이다. 이하 설명은 도 2 내지 도 4를 참조한다.2 is a conceptual diagram illustrating an internal configuration of a data transmission synchronization unit according to the first embodiment in a data output time synchronization apparatus. 3 and 4 are reference views for further illustrating a data transmission synchronization unit according to the first embodiment. The following description refers to Fig. 2 to Fig.
도 2에 따르면, 데이터 전송 동기화부(120)는 최대 전송 시간 검출부(201), 타임스탬프 크기 결정부(202), 데이터 전송 주기 결정부(203) 및 제1 데이터 전송 제어부(204)를 포함한다.2, the data
최대 전송 시간 검출부(201)는 데이터 전송 시간 측정부(110)에 의해 측정된 전송 시간들을 기초로 노드 쌍의 최대 전송 시간을 검출하는 기능을 수행한다.The maximum transmission
도 3을 참조하면, 먼저 데이터 전송 시간 측정부(110)가 이더넷 스위치(Ethernet Switch; 320)로부터 각 엔드 노드(End-Node)까지 데이터를 전송하는 데에 걸리는 송신 시간을 측정한다. 그러면 엔드 노드들 간 데이터 송신 시간을 계산할 수가 있다. 제1 엔드 노드(310)가 입력 노드이고 제2 엔드 노드(330)와 제3 엔드 노드(340)가 출력 노드일 때, T_en1은 제1 엔드 노드(310)로부터 제3 엔드 노드(330)까지 데이터를 전송하는 데에 걸리는 송신 시간을 의미하며, T_en2는 제1 엔드 노드(310)로부터 제4 엔드 노드(340)까지 데이터를 전송하는 데에 걸리는 송신 시간을 의미한다.Referring to FIG. 3, first, the data transmission
최대 전송 시간 검출부(201)는 T_en1과 T_en2를 비교하여 엔드 노드들간 최대 송신 시간 T_MAX를 연산한다.The maximum transmission
If (T_en1 ≥ T_en2)If (T_en1 > T_en2)
T_MAX = T_en1T_MAX = T_en1
elseelse
T_MAX = T_en2T_MAX = T_en2
endifendif
타임스탬프 크기 결정부(202)는 최대 전송 시간 검출부(201)에 의해 검출된 최대 전송 시간을 기초로 타임스탬프(Timestamp)의 크기를 결정하는 기능을 수행한다.The time stamp
타임스탬프 크기 결정부(202)는 T_MAX에 대응할 수 있는 타임스탬프의 크기를 결정한다. T_MAX가 0~FF 범위이면 1Byte를 타임스탬프의 크기로 결정하고, T_MAX가 0~FFFF 범위이면 2Byet를 타임스탬프의 크기로 결정한다.The time stamp
데이터 전송 주기 결정부(203)는 타임스탬프 크기 결정부(202)에 의해 결정된 타임스탬프의 크기를 기초로 데이터 전송 주기를 결정하는 기능을 수행한다.The data transmission
데이터 전송 주기 결정부(203)는 타임스탬프의 크기의 최대값을 데이터 전송 주기로 결정할 수 있다. 도 3에서 주기 전송값인 T_TimeStamp는 TimeStamp의 최대값으로 결정될 수 있다. 예컨대 1Byte이면 FF, 2Byte이면 FFFF로 결정될 수 있다.The data
제1 데이터 전송 제어부(204)는 데이터 전송 주기 결정부(203)에 의해 결정된 데이터 전송 주기를 기초로 노드 쌍 간에 데이터 출력 시간을 동기화시키는 기능을 수행한다.The first data
T_TimeStamp가 결정되면 이더넷 통신 패킷에 T_TimeStamp를 삽입하여 통신한다. 제1 엔드 노드(310)와 제2 엔드 노드(330) 사이의 전송 시간도 T_MAX 이내이고, 제1 엔드 노드(310)와 제3 엔드 노드(340) 사이의 전송 시간도 T_MAX 이내이기 때문에 T_MAX 범위 내에서 서로 동기화 전송이 가능해진다.If T_TimeStamp is determined, T_TimeStamp is inserted in the Ethernet communication packet to communicate. Since the transmission time between the
도 4는 노드 쌍 간에 송수신되는 이더넷 통신 패킷(packet)의 구조를 도시한 것이다. 본 실시예에서 데이터 전송 주기 즉 T_TimeStamp(410)는 패킷에서 데이터 앞에 위치한다.FIG. 4 shows the structure of an Ethernet communication packet transmitted and received between a pair of nodes. In this embodiment, the data transmission period, T_TimeStamp 410, is located in front of the data in the packet.
한편 도 4에서 SFD(Starting Frame Delimiter)는 비트열에서 바이트 단위를 식별하는 바이트 동기와, 이 영역 다음부터의 바이트열(DA+SA+…)이 유효한 프레임(Frame)의 시작임을 알리는 프레임 동기용 비트열을 의미한다. DA는 Destination Address를 의미하고 SA는 Source Address를 의미한다.On the other hand, the starting frame delimiter (SFD) in FIG. 4 indicates a byte synchronization for identifying a byte unit in a bit string and a frame synchronization bit for notifying that the byte sequence (DA + SA + ...) It means heat. DA means Destination Address and SA means Source Address.
도 5는 데이터 출력 시간 동기화 장치에서 제2 실시예에 따른 데이터 전송 동기화부의 내부 구성을 도시한 개념도이다.5 is a conceptual diagram illustrating an internal configuration of a data transmission synchronization unit according to a second embodiment of the data output time synchronization apparatus.
도 5에 따르면, 데이터 전송 동기화부(120)는 노드 쌍 검출부(410)와 제2 데이터 전송 제어부(420)를 포함한다.Referring to FIG. 5, the data
노드 쌍 검출부(410)는 데이터 전송 시간 측정부(110)에 의해 측정된 전송 시간들을 기초로 데이터를 전송하는 데에 가장 많은 전송 시간이 소요되는 노드 쌍을 검출하는 기능을 수행한다.The node pair detecting unit 410 detects a node pair that requires the longest transmission time to transmit data based on the transmission times measured by the data transmission
이를 위해 노드 쌍 검출부(410)는 노드 쌍 생성부(411), 데이터 획득 시간 산출부(412) 및 데이터 획득 시간 비교부(413)를 포함할 수 있다.For this, the node pair detection unit 410 may include a node
노드 쌍 생성부(411)는 데이터를 송신할 송신 노드와 데이터를 수신할 수신 노드를 그룹핑(grouping)시켜 노드 쌍을 생성하는 기능을 수행한다.The node-
데이터 획득 시간 산출부(412)는 데이터 전송 시간 측정부(110)에 의해 측정된 전송 시간들을 기초로 각 노드 쌍에서 수신 노드가 송신 노드로부터 데이터를 수신하기까지 걸리는 데이터 획득 시간을 산출하는 기능을 수행한다.The data acquisition time calculating unit 412 calculates a data acquisition time required for the receiving node to receive data from the transmitting node in each node pair based on the transmission times measured by the data transmission
데이터 획득 시간 비교부(413)는 데이터 획득 시간 산출부(412)에 의해 산출된 데이터 획득 시간들을 비교하여 데이터를 전송하는 데에 가장 많은 전송 시간이 소요되는 노드 쌍을 검출하는 기능을 수행한다.The data acquisition time comparison unit 413 compares the data acquisition times calculated by the data acquisition time calculation unit 412 and detects a node pair that requires the longest transfer time to transfer data.
제2 데이터 전송 제어부(420)는 가장 많은 전송 시간이 소요되는 노드 쌍부터 데이터를 송수신하도록 제어하여 데이터 출력 시간을 동기화시키는 기능을 수행한다.The second data transmission control unit 420 performs a function of controlling data transmission and reception from the node pair requiring the longest transmission time to synchronize the data output time.
이를 위해 제2 데이터 전송 제어부(420)는 노드 쌍 정렬부(421)와 순서 기반 제어부(422)를 포함할 수 있다.For this, the second data transmission control unit 420 may include a node
노드 쌍 정렬부(421)는 데이터 획득 시간 산출부(412)에 의해 산출된 데이터 획득 시간들을 기초로 전송 시간이 긴 순서대로 노드 쌍들을 정렬시키는 기능을 수행한다.The node
순서 기반 제어부(422)는 정렬된 순서에 따라 데이터를 송수신하도록 제어하여 데이터 출력 시간을 동기화시키는 기능을 수행한다. 순서 기반 제어부(422)는 현순위 노드 쌍이 데이터를 송수신하도록 제어할 때 데이터 획득 시간을 비교하여 얻은 선순위 노드 쌍과의 시간차를 반영할 수 있다.The order-based control unit 422 performs a function to synchronize data output time by controlling transmission and reception of data according to an ordered sequence. Based control unit 422 may reflect the time difference with the senior node pair obtained by comparing the data acquisition time when controlling the current ranking node pair to send and receive data.
본 발명은 이상 설명한 바와 같이 기정의된 데이터를 주고 받는 시간을 정의하여 엔드 노드에 장착된 센서나 액추에이터의 전송 시간이 예측되도록 구성한다. 즉, 본 발명은 송신 데이터에 타임스탬프와 시퀀스 넘버(Sequence Number)를 삽입할 수 있는 영역을 정의하고 타임스탬프 범위를 입력 엔드 노드에서 출력 엔드 노드 사이로 결정하여 출력이 서로 동기화될 수 있도록 하는 것을 특징으로 한다.As described above, according to the present invention, the transmission time of a sensor or an actuator mounted on an end node is predicted by defining a time for exchanging predetermined data. That is, the present invention defines an area where a time stamp and a sequence number can be inserted into transmission data, and determines a time stamp range between output end nodes in an input end node so that outputs can be synchronized with each other .
다음으로 데이터 출력 시간 동기화 장치(100)의 작동 방법에 대하여 설명한다. 이 방법은 이더넷 스위치가 있는 네트워크에서 엔드 노드들간 주기적인 데이터 송신을 이용한 이더넷 통신망 설계 방법을 의미한다. 도 6은 본 발명의 바람직한 실시예에 따른 데이터 출력 시간 동기화 방법을 설명하는 흐름도이다.Next, an operation method of the data output
먼저 데이터 전송 시간 측정부(110)가 차량용 네트워크를 구성하는 노드들을 연결시키는 스위치로부터 각 노드까지 데이터를 전송하는 데에 걸리는 전송 시간들을 측정한다(S610).First, the data transmission
이후 데이터 전송 동기화부(120)가 데이터 전송 시간 측정부(110)에 의해 측정된 전송 시간들을 기초로 서로 다른 노드 쌍 간에 데이터 출력 시간을 동기화시킨다. 보다 자세하게 설명하면 다음과 같다.Then, the data
최대 전송 시간 검출부(201)가 데이터 전송 시간 측정부(110)에 의해 측정된 전송 시간들을 기초로 노드 쌍의 최대 전송 시간을 검출한다(S620). 이후 타임스탬프 크기 결정부(202)가 최대 전송 시간을 기초로 타임스탬프의 크기를 결정한다(S630). 이후 데이터 전송 주기 결정부(203)가 타임스탬프의 크기를 기초로 데이터 전송 주기를 결정한다(S640). 이후 제1 데이터 전송 제어부(204)가 데이터 전송 주기를 기초로 서로 다른 노드 쌍 간에 데이터 출력 시간을 동기화시킨다(S650).The maximum transmission
전자는 데이터 전송 시간 측정부(110)에 의해 측정된 전송 시간들을 기초로 노드 쌍의 최대 전송 시간을 검출하고 이 최대 전송 시간을 기초로 데이터 출력 시간을 동기화시킨 경우이다. 본 발명은 이에 한정되지 않고, 상기 전송 시간들을 이용하여 데이터를 전송하는 데에 가장 많은 시간이 소요되는 노드 쌍을 검출하고 이 노드 쌍을 기초로 데이터 출력 시간을 동기화시키는 것도 가능하다.The former is a case where the maximum transmission time of the node pair is detected based on the transmission times measured by the data transmission
후자의 경우는 S610 단계 이후에 다음과 같은 단계들이 차례대로 수행된다.In the latter case, the following steps are performed in order after step S610.
노드 쌍 생성부(410)가 데이터 전송 시간 측정부(110)에 의해 측정된 전송 시간들을 기초로 데이터를 전송하는 데에 가장 많은 전송 시간이 소요되는 노드 쌍을 검출한다.The node pair generating unit 410 detects a node pair that requires the longest transmission time to transmit data based on the transmission times measured by the data transmission
노드 쌍 생성부(410)는 데이터를 송신할 송신 노드와 데이터를 수신할 수신 노드를 그룹핑(grouping)시켜 노드 쌍을 생성하고, 이후 전송 시간들을 기초로 각 노드 쌍에서 수신 노드가 송신 노드로부터 데이터를 수신하기까지 걸리는 데이터 획득 시간을 산출하며, 이후 데이터 획득 시간들을 비교하여 데이터를 전송하는 데에 가장 많은 전송 시간이 소요되는 노드 쌍을 검출할 수 있다.The node-pair generating unit 410 generates a pair of nodes by grouping a transmitting node to which data is to be transmitted and a receiving node to which data is to be received. Then, based on the transmission times, And then comparing the data acquisition times, it is possible to detect a node pair that requires the longest transmission time to transmit the data.
이후 제2 데이터 전송 제어부(420)가 가장 많은 전송 시간이 소요되는 노드 쌍부터 데이터를 송수신하도록 제어하여 데이터 출력 시간을 동기화시킨다.Then, the second data transmission control unit 420 controls to transmit and receive data from the node pair requiring the longest transmission time, thereby synchronizing the data output time.
제2 데이터 전송 제어부(420)는 데이터 획득 시간들을 기초로 전송 시간이 긴 순서대로 노드 쌍들을 정렬시키고, 이후 정렬된 순서에 따라 데이터를 송수신하도록 제어하여 데이터 출력 시간을 동기화시킬 수 있다.The second data transmission control unit 420 may arrange the node pairs in order of the long transmission time based on the data acquisition time and then control to transmit and receive data according to the ordered order so as to synchronize the data output time.
이상에서 설명한 본 발명의 실시예를 구성하는 모든 구성요소들이 하나로 결합하거나 결합하여 동작하는 것으로 기재되어 있다고 해서, 본 발명이 반드시 이러한 실시예에 한정되는 것은 아니다. 즉, 본 발명의 목적 범위 안에서라면, 그 모든 구성요소들이 하나 이상으로 선택적으로 결합하여 동작할 수도 있다. 또한, 그 모든 구성요소들이 각각 하나의 독립적인 하드웨어로 구현될 수 있지만, 각 구성요소들의 그 일부 또는 전부가 선택적으로 조합되어 하나 또는 복수개의 하드웨어에서 조합된 일부 또는 전부의 기능을 수행하는 프로그램 모듈을 갖는 컴퓨터 프로그램으로서 구현될 수도 있다. 또한, 이와 같은 컴퓨터 프로그램은 USB 메모리, CD 디스크, 플래쉬 메모리 등과 같은 컴퓨터가 읽을 수 있는 기록매체(Computer Readable Media)에 저장되어 컴퓨터에 의하여 읽혀지고 실행됨으로써, 본 발명의 실시예를 구현할 수 있다. 컴퓨터 프로그램의 기록매체로서는 자기 기록매체, 광 기록매체, 캐리어 웨이브 매체 등이 포함될 수 있다.It is to be understood that the present invention is not limited to these embodiments, and all elements constituting the embodiment of the present invention described above are described as being combined or operated in one operation. That is, within the scope of the present invention, all of the components may be selectively coupled to one or more of them. In addition, although all of the components may be implemented as one independent hardware, some or all of the components may be selectively combined to perform a part or all of the functions in one or a plurality of hardware. As shown in FIG. In addition, such a computer program may be stored in a computer readable medium such as a USB memory, a CD disk, a flash memory, etc., and read and executed by a computer to implement an embodiment of the present invention. As the recording medium of the computer program, a magnetic recording medium, an optical recording medium, a carrier wave medium, and the like can be included.
또한, 기술적이거나 과학적인 용어를 포함한 모든 용어들은, 상세한 설명에서 다르게 정의되지 않는 한, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 갖는다. 사전에 정의된 용어와 같이 일반적으로 사용되는 용어들은 관련 기술의 문맥상의 의미와 일치하는 것으로 해석되어야 하며, 본 발명에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Furthermore, all terms including technical or scientific terms have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined in the Detailed Description. Commonly used terms, such as predefined terms, should be interpreted to be consistent with the contextual meanings of the related art, and are not to be construed as ideal or overly formal, unless expressly defined to the contrary.
이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위 내에서 다양한 수정, 변경 및 치환이 가능할 것이다. 따라서, 본 발명에 개시된 실시예 및 첨부된 도면들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예 및 첨부된 도면에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구 범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리 범위에 포함되는 것으로 해석되어야 할 것이다.It will be apparent to those skilled in the art that various modifications, substitutions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims. will be. Therefore, the embodiments disclosed in the present invention and the accompanying drawings are intended to illustrate and not to limit the technical spirit of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments and the accompanying drawings . The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.
Claims (11)
상기 전송 시간들을 기초로 서로 다른 노드 쌍 간에 데이터 출력 시간을 동기화시키는 것으로서, 상기 전송 시간들을 기초로 노드 쌍의 최대 전송 시간을 검출하는 최대 전송 시간 검출부; 상기 최대 전송 시간을 기초로 타임스탬프(Timestamp)의 크기를 결정하는 타임스탬프 크기 결정부; 상기 타임스탬프의 크기를 기초로 데이터 전송 주기를 결정하는 데이터 전송 주기 결정부; 및 상기 데이터 전송 주기를 기초로 서로 다른 노드 쌍 간에 상기 데이터 출력 시간을 동기화시키는 데이터 전송 제어부를 포함하는 데이터 전송 동기화부
를 포함하는 것을 특징으로 하는 차량용 네트워크에서의 데이터 출력 시간 동기화 장치.A data transmission time measuring unit measuring transmission times taken to transmit data from a switch connecting nodes constituting an in-vehicle network to each node; And
A maximum transmission time detection unit for synchronizing data output time between different node pairs based on the transmission times, the maximum transmission time detection unit detecting a maximum transmission time of the node pair based on the transmission times; A time stamp size determining unit for determining a size of a time stamp based on the maximum transmission time; A data transmission period determiner for determining a data transmission period based on the size of the time stamp; And a data transmission control unit for synchronizing the data output time between different pairs of nodes based on the data transmission period,
Wherein the data output time synchronization device is configured to synchronize the data output time in the vehicle network.
상기 데이터 전송 주기 결정부는 상기 타임스탬프의 크기의 최대값을 상기 데이터 전송 주기로 결정하는 것을 특징으로 하는 차량용 네트워크에서의 데이터 출력 시간 동기화 장치.The method according to claim 1,
Wherein the data transmission period determination unit determines the maximum value of the size of the time stamp as the data transmission period.
상기 데이터 전송 주기는 상기 노드 쌍 간에 송수신되는 패킷(packet)에서 데이터 앞에 위치하는 것을 특징으로 하는 차량용 네트워크에서의 데이터 출력 시간 동기화 장치.The method according to claim 1,
Wherein the data transmission period is located in front of data in a packet transmitted and received between the pair of nodes.
상기 데이터 출력 시간 동기화 장치에서 상기 차량 내 네트워크를 구성하는 노드들은 차량용 이더넷(Ethernet)을 구성하는 엔드 노드(End-Node)들인 것을 특징으로 하는 차량용 네트워크에서의 데이터 출력 시간 동기화 장치.The method according to claim 1,
Wherein the nodes configuring the in-vehicle network in the data output time synchronization apparatus are end-nodes constituting an Ethernet for a vehicle.
상기 데이터 전송 동기화부는,
상기 전송 시간들을 기초로 상기 데이터를 전송하는 데에 가장 많은 전송 시간이 소요되는 노드 쌍을 검출하는 노드 쌍 검출부; 및
상기 가장 많은 전송 시간이 소요되는 노드 쌍부터 상기 데이터를 송수신하도록 제어하여 상기 데이터 출력 시간을 동기화시키는 데이터 전송 제어부
를 포함하는 것을 특징으로 하는 차량용 네트워크에서의 데이터 출력 시간 동기화 장치.The method according to claim 1,
Wherein the data transmission synchronization unit comprises:
A node-pair detecting unit for detecting a node pair that requires the longest transmission time to transmit the data based on the transmission times; And
A data transmission control unit for controlling the data transmission and reception from the node pair requiring the longest transmission time to synchronize the data output time,
Wherein the data output time synchronization device is configured to synchronize the data output time in the vehicle network.
상기 노드 쌍 검출부는,
상기 데이터를 송신할 송신 노드와 상기 데이터를 수신할 수신 노드를 그룹핑(grouping)시켜 노드 쌍을 생성하는 노드 쌍 생성부;
상기 전송 시간들을 기초로 각 노드 쌍에서 수신 노드가 송신 노드로부터 상기 데이터를 수신하기까지 걸리는 데이터 획득 시간을 산출하는 데이터 획득 시간 산출부; 및
데이터 획득 시간들을 비교하여 상기 데이터를 전송하는 데에 가장 많은 전송 시간이 소요되는 노드 쌍을 검출하는 데이터 획득 시간 비교부
를 포함하는 것을 특징으로 하는 차량용 네트워크에서의 데이터 출력 시간 동기화 장치.The method according to claim 6,
The node-pair detecting unit,
A node pair generating unit for grouping a transmitting node for transmitting the data and a receiving node for receiving the data to generate a node pair;
A data acquisition time calculating unit for calculating a data acquisition time required for each node pair to receive the data from the transmitting node based on the transmission times; And
A data acquisition time comparing unit for comparing a data acquisition time and detecting a node pair that requires the longest transmission time to transmit the data,
Wherein the data output time synchronization device is configured to synchronize the data output time in the vehicle network.
상기 데이터 전송 제어부는,
상기 데이터 획득 시간들을 기초로 전송 시간이 긴 순서대로 노드 쌍들을 정렬시키는 노드 쌍 정렬부; 및
정렬된 순서에 따라 상기 데이터를 송수신하도록 제어하여 상기 데이터 출력 시간을 동기화시키는 순서 기반 제어부
를 포함하는 것을 특징으로 하는 차량용 네트워크에서의 데이터 출력 시간 동기화 장치.8. The method of claim 7,
Wherein the data transfer control unit comprises:
A node pair sorting unit for sorting the node pairs in order of long transmission time based on the data acquisition times; And
Based on a result of the order-based control to synchronize the data output time by controlling the transmission /
Wherein the data output time synchronization device is configured to synchronize the data output time in the vehicle network.
상기 순서 기반 제어부는 현순위 노드 쌍이 상기 데이터를 송수신하도록 제어할 때 데이터 획득 시간을 비교하여 얻은 선순위 노드 쌍과의 시간차를 반영하는 것을 특징으로 하는 차량용 네트워크에서의 데이터 출력 시간 동기화 장치.9. The method of claim 8,
Wherein the order-based control unit reflects a time difference with a pair of senior nodes obtained by comparing the data acquisition time when the pair of the current node is controlled to transmit and receive the data.
상기 전송 시간들을 기초로 서로 다른 노드 쌍 간에 데이터 출력 시간을 동기화시키는 단계로서, 상기 전송 시간들을 기초로 노드 쌍의 최대 전송 시간을 검출하는 단계; 상기 최대 전송 시간을 기초로 타임스탬프(Timestamp)의 크기를 결정하는 단계; 상기 타임스탬프의 크기를 기초로 데이터 전송 주기를 결정하는 단계; 및 상기 데이터 전송 주기를 기초로 서로 다른 노드 쌍 간에 상기 데이터 출력 시간을 동기화시키는 단계를 포함하는 동기화시키는 단계
를 포함하는 것을 특징으로 하는 차량용 네트워크에서의 데이터 출력 시간 동기화 방법.Measuring transmission times for transmitting data from a switch connecting nodes constituting an intra-vehicle network to each node; And
Synchronizing data output times between different pairs of nodes based on the transmission times, the method comprising: detecting a maximum transmission time of a node pair based on the transmission times; Determining a size of a timestamp based on the maximum transmission time; Determining a data transmission period based on the size of the time stamp; And synchronizing the data output time between different pairs of nodes based on the data transmission period
Wherein the data output time synchronization method comprises the steps of:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20130152833A KR101481132B1 (en) | 2013-12-10 | 2013-12-10 | Apparatus and method for synchronizing data output time in vehicle network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20130152833A KR101481132B1 (en) | 2013-12-10 | 2013-12-10 | Apparatus and method for synchronizing data output time in vehicle network |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101481132B1 true KR101481132B1 (en) | 2015-01-14 |
Family
ID=52588676
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR20130152833A KR101481132B1 (en) | 2013-12-10 | 2013-12-10 | Apparatus and method for synchronizing data output time in vehicle network |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101481132B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016201643A1 (en) * | 2015-06-17 | 2016-12-22 | 华为技术有限公司 | Data transmission method and apparatus for internet of vehicles |
CN109520748A (en) * | 2019-01-02 | 2019-03-26 | 知行汽车科技(常熟)有限公司 | Camera moves target |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100124195A (en) * | 2009-05-18 | 2010-11-26 | 삼성전자주식회사 | Method and apparatus for performing time synchronization between nodes |
KR20130068543A (en) * | 2011-12-15 | 2013-06-26 | 현대자동차주식회사 | A management system and method for ethernet communication network in vehicle |
-
2013
- 2013-12-10 KR KR20130152833A patent/KR101481132B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100124195A (en) * | 2009-05-18 | 2010-11-26 | 삼성전자주식회사 | Method and apparatus for performing time synchronization between nodes |
KR20130068543A (en) * | 2011-12-15 | 2013-06-26 | 현대자동차주식회사 | A management system and method for ethernet communication network in vehicle |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016201643A1 (en) * | 2015-06-17 | 2016-12-22 | 华为技术有限公司 | Data transmission method and apparatus for internet of vehicles |
CN109520748A (en) * | 2019-01-02 | 2019-03-26 | 知行汽车科技(常熟)有限公司 | Camera moves target |
CN109520748B (en) * | 2019-01-02 | 2024-01-30 | 知行汽车科技(苏州)股份有限公司 | Camera removes mark target |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10952171B2 (en) | Method for time synchronization of domain based on time information of vehicle | |
EP3016306B1 (en) | Method and apparatus for providing in-vehicle network time synchronization using redundant grandmaster | |
EP2822228B1 (en) | Industrial network apparatus and data communication method | |
JP3160350B2 (en) | Communication network control method | |
TWI508500B (en) | Flexray communications using ethernet | |
US10623291B2 (en) | Operation method of communication node for detecting link errors in network | |
KR102361920B1 (en) | Method for time synchronization of domain based on time information of vehicle | |
US11171807B2 (en) | Method and apparatus for allocating priority transmission opportunities in vehicle network | |
CN105306517B (en) | Method and apparatus for providing vehicle diagnostic black box service using in-vehicle time synchronization messages | |
KR20170099122A (en) | Method for time synchronization between communication nodes in network | |
US20190394017A1 (en) | Method and apparatus for synchronization of communication nodes using multiple domains in vehicle network | |
Tuohy et al. | Next generation wired intra-vehicle networks, a review | |
US20200162232A1 (en) | Operation method of communication node for time synchronization in vehicle network | |
US11477746B2 (en) | Method and apparatus for synchronization of communication nodes using multiple domains in vehicle network | |
KR101481132B1 (en) | Apparatus and method for synchronizing data output time in vehicle network | |
US20180145848A1 (en) | Method and apparatus for reproducing contents based on presentation time in automotive network | |
CN114846752A (en) | Method for checking sensor data validity of Ethernet vehicle-mounted network | |
KR101512401B1 (en) | An apparatus and a method for controlling a ECU of a vehicle, and a system for controlling the ECU of the vehicle with the apparatus | |
KR20180057503A (en) | Operation method of communication node for time sinchronizating in vehicle network | |
US20210001793A1 (en) | Anomaly handling method and anomaly handling device | |
US10623496B2 (en) | Operation methods of communication node in network | |
KR101269176B1 (en) | Wireless communication system using fault-tolerant time synchronization and the method thereof | |
FR3125660A1 (en) | Method, equipment, communication program, on-board device having these equipments | |
CN117636672A (en) | Traffic signal lamp state processing method, device, equipment and storage medium | |
JP2005286380A (en) | Communication system by ring connection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20171222 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20181226 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20191223 Year of fee payment: 6 |