KR102496652B1 - Apparatus and method for collecting vehicle data - Google Patents

Apparatus and method for collecting vehicle data Download PDF

Info

Publication number
KR102496652B1
KR102496652B1 KR1020170171862A KR20170171862A KR102496652B1 KR 102496652 B1 KR102496652 B1 KR 102496652B1 KR 1020170171862 A KR1020170171862 A KR 1020170171862A KR 20170171862 A KR20170171862 A KR 20170171862A KR 102496652 B1 KR102496652 B1 KR 102496652B1
Authority
KR
South Korea
Prior art keywords
data
vehicle
collected
daq
reference value
Prior art date
Application number
KR1020170171862A
Other languages
Korean (ko)
Other versions
KR20190071113A (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 KR1020170171862A priority Critical patent/KR102496652B1/en
Publication of KR20190071113A publication Critical patent/KR20190071113A/en
Application granted granted Critical
Publication of KR102496652B1 publication Critical patent/KR102496652B1/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/403Bus networks with centralised control, e.g. polling
    • 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
    • H04L12/40143Bus networks involving priority mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

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

Abstract

본 발명의 차량 데이터 수집 장치는 서버로부터 수신한 데이터 수집 설정정보 및 차량 제어기로부터 수신한 데이터가 저장된 저장부 및 차량 네트워크 부하를 계산하고, 상기 차량 네트워크 부하가 제1기준치 이상이면 폴링(Polling) 방식으로 상기 데이터를 수집하도록 하고, 상기 차량 네트워크 부하가 제2기준치 미만이면 DAQ(Data Acquisition) 방식으로 상기 데이터를 수집하도록 하는 제어부를 포함하는 것을 특징으로 하여, 데이터 수집 시에 차량 네트워크 부하 과다 방지를 통한 차량의 안정성을 향상시킬 수 있다. 또한, 데이터 수집량을 최적화할 수 있으며, 차종별, 차량 옵션사양별, 주행상황별 수집설정을 다르게 하지 않아도 되므로, 데이터 수집 운영 편의성을 향상시킬 수 있는 효과를 제공한다. The vehicle data collection device of the present invention calculates a storage unit storing data collection setting information received from a server and data received from a vehicle controller and a vehicle network load, and if the vehicle network load is greater than a first reference value, a polling method is performed. and a control unit for collecting the data and collecting the data in a DAQ (Data Acquisition) method when the vehicle network load is less than a second reference value, thereby preventing excessive load on the vehicle network during data collection. vehicle stability can be improved. In addition, it is possible to optimize the amount of data collection, and since it is not necessary to set different collection settings for each vehicle type, vehicle option specification, and driving situation, the convenience of data collection operation can be improved.

Description

차량 데이터 수집 장치 및 방법{APPARATUS AND METHOD FOR COLLECTING VEHICLE DATA} Vehicle data collection device and method {APPARATUS AND METHOD FOR COLLECTING VEHICLE DATA}

본 발명은 차량 데이터 수집 장치 및 방법에 관한 것으로, 차량 네트워크의 부하 과다를 방지하고 통신 안정성을 확보하는 차량 데이터 수집 장치 및 방법에 관한 것이다. The present invention relates to an apparatus and method for collecting vehicle data, and more particularly, to an apparatus and method for collecting vehicle data that prevents overload of a vehicle network and secures communication stability.

차량용 데이터 수집 장치는 차량 네트워크(CAN, Controller Area Network)에 연결되어 다양한 제어기들로부터 데이터를 수집하여 서버로 전송한다. 차량 네트워크(CAN)는 마이크로컨트롤러들 간의 통신을 위한 버스 방식으로 자동차의 전자제어장치(ECU), 트랜스미션 제어 유닛(Transmission Control Unit: TCU), ABS의 마이크로컨트롤러 등과 데이터 통신을 수행한다. A vehicle data collection device is connected to a vehicle network (CAN, Controller Area Network), collects data from various controllers, and transmits the data to a server. A vehicle network (CAN) is a bus method for communication between microcontrollers and performs data communication with an electronic control unit (ECU) of a vehicle, a transmission control unit (TCU), and a microcontroller of an ABS.

차량 네트워크(CAN)는 고유의 아이디(ID)를 가지는 다수의 장치들을 하나의 버스를 통해 연결하여 장치들간 정보 교환을 할 수 있다. 차량 네트워크(CAN)는 OSI 7계층 중 물리계층(Physical Layer), 데이터 링크 계층(Data Link Layer) 및 어플리케이션 계층 (Application Layer)을 사용한다. 차량 네트워크(CAN)에 사용되는 메시지는 송신측이나 수신측의 주소를 포함하지 않으며, 수신측의 아이디(ID) 정보만을 포함한다. The vehicle network (CAN) can exchange information between devices by connecting a plurality of devices having unique IDs through one bus. A vehicle network (CAN) uses a physical layer, a data link layer, and an application layer among the 7 OSI layers. The message used in the vehicle network (CAN) does not include the address of the sender or receiver, but only includes ID information of the receiver.

차량 네트워크(CAN)는 버스 형태이므로, 일반적인 차량 제어를 위해 사용되는 메세지와 데이터 수집을 위해 사용되는 메세지가 함께 존재하게 되는데, 따라서 데이터 수집을 많이 하는 경우 차량 네트워크 부하가 증가하여 통신 안정성 또는 각 차량 제어기의 동작 안정성의 문제를 발생하게 된다.Since the vehicle network (CAN) is in the form of a bus, messages used for general vehicle control and messages used for data collection exist together. Therefore, when a lot of data is collected, the vehicle network load increases, resulting in communication stability or each vehicle This causes a problem of operational stability of the controller.

일반적으로 차량 네트워크의 부하(CAN)는 60%이하로 관리하지만, INCA, 진단 스캐너 등의 다양한 데이터 수집 장비를 활용하다 보면, 차량 네트워크 부하가 90% 내지 100%에 육박하는 경우가 발생한다. 그리고 데이터 수집의 요구가 개발용 시험차 뿐만 아니라 양산차에도 적용됨에 따라 통신 안정성을 확보하는 것이 무엇보다 중요한 상황이 되었다.In general, the vehicle network load (CAN) is managed at 60% or less, but when using various data collection equipment such as INCA and diagnostic scanners, the vehicle network load approaches 90% to 100%. And as the demand for data collection is applied not only to development test vehicles but also to mass-produced vehicles, securing communication stability has become the most important situation.

차종별, 차량에 적용된 옵션 사양별, 주행 상황별(정차중, 고속주행 등)로 CAN 부하가 실시간으로 다양하게 변화될 수 있으므로, 데이터 수집 설정을 각 상황과 부하에 맞게 매번 바꾸기는 어렵다. Since the CAN load can vary in real time by vehicle type, option specifications applied to the vehicle, and driving situation (stopping, high-speed driving, etc.), it is difficult to change the data collection settings every time to suit each situation and load.

따라서, 차량용 데이터 수집장치가 차량 네트워크(CAN) 부하 과다를 방지하고 통신 안정성을 확보할 수 있는 방안이 요구되는 실정이다. Accordingly, there is a need for a method for preventing an excessive load of a vehicle network (CAN) by a vehicle data collection device and securing communication stability.

본 발명은 상술한 한계점을 극복하기 위한 것으로, 실시간으로 차량 네트워크(CAN) 부하를 모니터링하고, 차량 네트워크(CAN) 부하 정도에 따라 데이터를 DAQ 방식 또는 폴링 방식으로 수집하는 차량 데이터 수집 장치 및 방법을 제공하고자 하는 목적이 있다. The present invention is to overcome the above-mentioned limitations, and provides a vehicle data collection device and method for monitoring vehicle network (CAN) load in real time and collecting data according to the vehicle network (CAN) load level in a DAQ method or a polling method. It has a purpose to provide.

본 발명의 차량 데이터 수집 장치는 서버로부터 수신한 데이터 수집 설정정보 및 차량 제어기로부터 수신한 데이터가 저장된 저장부 및 차량 네트워크 부하를 계산하고, 상기 차량 네트워크 부하가 제1기준치 이상이면 폴링(Polling) 방식으로 상기 데이터를 수집하도록 하고, 상기 차량 네트워크 부하가 제2기준치 미만이면 DAQ(Data Acquisition) 방식으로 상기 데이터를 수집하도록 하는 제어부를 포함하는 것을 특징으로 한다.The vehicle data collection device of the present invention calculates a storage unit storing data collection setting information received from a server and data received from a vehicle controller and a vehicle network load, and if the vehicle network load is greater than a first reference value, a polling method is performed. and a control unit configured to collect the data, and to collect the data in a Data Acquisition (DAQ) method when the vehicle network load is less than a second reference value.

그리고, 상기 제어부는 상기 차량 네트워크 부하는 상기 차량 제어기 간에 발생된 차량 제어용 네트워크 부하, 상기 폴링 방식으로 상기 데이터를 수집시 발생한 네트워크 부하 및 상기 DAQ 방식으로 상기 데이터를 수집시 발생한 네트워크 부하를 합한 것을 특징으로 한다.The control unit is characterized in that the vehicle network load is the sum of the vehicle control network load generated between the vehicle controllers, the network load generated when the data is collected by the polling method, and the network load generated when the data is collected by the DAQ method. to be

그리고, 상기 제어부는 상기 차량 네트워크 부하가 상기 제1기준치 이상이면, 상기 DAQ 방식으로 수집되는 데이터들 중 상기 DAQ 방식으로 수집되어야 하는 우선순위가 낮은 데이터를 선택하는 것을 특징으로 한다.The control unit may select data having a low priority to be collected by the DAQ method from among data collected by the DAQ method when the vehicle network load is equal to or greater than the first reference value.

그리고, 상기 제어부는 상기 DAQ 방식으로 수집되는 데이터들 중 상기 우선순위가 낮은 데이터를 선택하면, 상기 선택된 데이터들이 상기 폴링 방식으로 수집 시 발생되는 예상부하를 계산하는 것을 특징으로 한다.And, when selecting data having a lower priority among the data collected by the DAQ method, the control unit calculates an expected load generated when the selected data is collected by the polling method.

그리고, 상기 제어부는 상기 선택된 데이터들이 상기 폴링 방식으로 수집 시 발생되는 예상 부하가 제3기준치 미만이면, 상기 선택된 데이터들이 상기 폴링 방식으로 수집되도록 하는 것을 특징으로 한다.The control unit may collect the selected data in the polling method when an expected load generated when the selected data is collected in the polling method is less than a third reference value.

그리고, 상기 제1기준치는 상기 제2기준치와 같은 값이거나 상기 제2기준치보다 큰 값인 것을 특징으로 한다.And, the first reference value is characterized in that the same value as the second reference value or a value greater than the second reference value.

그리고, 상기 제어부는 상기 차량 네트워크 부하가 상기 제1기준치 미만이면, 상기 차량 네트워크 부하가 상기 제2기준치 미만인지 판단하고 상기 폴링 방식으로 수집된 데이터가 존재하는지 추가로 더 판단하는 것을 특징으로 한다.When the vehicle network load is less than the first reference value, the control unit determines whether the vehicle network load is less than the second reference value and further determines whether data collected by the polling method exists.

그리고, 상기 제어부는 상기 차량 네트워크 부하가 상기 제2기준치 미만이면, 상기 폴링 방식으로 수집되는 데이터들 중 상기 DAQ 방식으로 수집되어야 하는 우선순위가 높은 데이터를 선택하는 것을 특징으로 한다.The control unit may select data having a high priority to be collected by the DAQ method from among data collected by the polling method when the vehicle network load is less than the second reference value.

그리고, 상기 제어부는 상기 폴링 방식으로 수집되는 데이터들 중 우선순위가 높은 데이터를 선택하면, 상기 선택된 데이터들이 상기 DAQ 방식으로 수집 시 발생되는 예상부하를 계산하는 것을 특징으로 한다.And, when selecting data having a high priority among the data collected by the polling method, the control unit calculates an expected load generated when the selected data is collected by the DAQ method.

그리고, 상기 제어부는 상기 선택된 데이터들이 상기 DAQ 방식으로 수집 시 발생되는 예상 부하가 제3기준치 미만이면, 상기 선택된 데이터들이 상기 DAQ 방식으로 수집되도록 전환하는 것을 특징으로 한다.The control unit may switch the selected data to be collected by the DAQ method if an expected load generated when the selected data is collected by the DAQ method is less than a third reference value.

본 발명의 차량 데이터 수집 방법은 차량의 차량 제어기들로부터 데이터를 수집하는 단계와, 차량 네트워크 부하를 계산하는 단계 및 상기 차량 네트워크 부하가 제1기준치 이상이면 폴링(Polling) 방식으로 상기 데이터를 수집하도록 하고, 상기 차량 네트워크 부하가 제2기준치 미만이면 DAQ(Data Acquisition) 방식으로 상기 데이터를 수집하도록 하는 제어부를 포함하는 것을 특징으로 한다.The vehicle data collection method of the present invention includes the steps of collecting data from vehicle controllers of the vehicle, calculating a vehicle network load, and collecting the data in a polling method when the vehicle network load is greater than a first reference value. and a controller configured to collect the data in a Data Acquisition (DAQ) method when the vehicle network load is less than the second reference value.

그리고, 상기 차량 네트워크 부하를 계산하는 단계는 상기 차량 제어기 간에 발생된 차량 제어용 네트워크 부하, 상기 폴링 방식으로 상기 데이터를 수집시 발생한 네트워크 부하 및 상기 DAQ 방식으로 상기 데이터를 수집시 발생한 네트워크 부하의 합을 계산하는 것을 특징으로 한다.The calculating of the vehicle network load may include the sum of the vehicle control network load generated between the vehicle controllers, the network load generated when the data is collected using the polling method, and the network load generated when the data is collected using the DAQ method. It is characterized by calculating

그리고, 상기 차량 네트워크 부하를 계산하는 단계 이후, 상기 차량 네트워크 부하가 상기 제1기준치 이상인지 판단하는 단계를 더 포함하는 것을 특징으로 한다.The method may further include determining whether the vehicle network load is greater than or equal to the first reference value after calculating the vehicle network load.

그리고, 상기 차량 네트워크 부하가 상기 제1기준치 이상인지 판단하는 단계 이후, 상기 차량 네트워크 부하가 상기 제1기준치 이상이면, 상기 DAQ 방식으로 수집되는 데이터들 중 상기 DAQ 방식으로 수집되어야 하는 우선순위가 낮은 데이터를 선택하는 단계를 더 포함하는 것을 특징으로 한다.After determining whether the vehicle network load is greater than or equal to the first reference value, if the vehicle network load is greater than or equal to the first reference value, among data collected by the DAQ method, a priority to be collected by the DAQ method is low. It is characterized in that it further comprises the step of selecting data.

그리고, 상기 DAQ 방식으로 수집되는 데이터들 중 상기 DAQ 방식으로 수집되어야 하는 우선순위가 낮은 데이터를 선택하는 단계 이후, 상기 DAQ 방식으로 수집되는 데이터들 중 상기 우선순위가 낮은 데이터를 선택하면, 상기 선택된 데이터들이 상기 폴링 방식으로 수집 시 발생되는 예상부하를 계산하는 단계를 더 포함하는 것을 특징으로 한다.And, after the step of selecting low-priority data to be collected by the DAQ method from among the data collected by the DAQ method, if data with a low priority is selected among the data collected by the DAQ method, the selected It is characterized in that it further comprises the step of calculating the expected load generated when the data is collected by the polling method.

그리고, 상기 선택된 데이터들이 상기 폴링 방식으로 수집 시 발생되는 예상부하를 계산하는 단계 이후, 상기 선택된 데이터들이 상기 폴링 방식으로 수집 시 발생되는 예상 부하가 제3기준치 미만이면, 상기 선택된 데이터들을 상기 폴링 방식으로 수집하는 것을 특징으로 한다.And, after the step of calculating the expected load generated when the selected data is collected by the polling method, if the expected load generated when the selected data is collected by the polling method is less than a third reference value, the selected data is calculated according to the polling method. It is characterized by collecting as.

그리고, 상기 차량 네트워크 부하가 상기 제1기준치 이상인지 판단하는 단계 이후, 상기 차량 네트워크 부하가 상기 제1기준치 미만이면, 상기 차량 네트워크 부하가 상기 제2기준치 미만인지 판단하고 상기 폴링 방식으로 수집된 데이터가 존재하는지 추가로 더 판단하는 단계를 더 포함하는 것을 특징으로 한다.After determining whether the vehicle network load is greater than or equal to the first reference value, if the vehicle network load is less than the first reference value, it is determined whether the vehicle network load is less than the second reference value, and the data collected by the polling method is determined. It is characterized in that it further comprises the step of further determining whether there exists.

그리고, 상기 차량 네트워크 부하가 상기 제2기준치 미만인지 판단하고 상기 폴링 방식으로 수집된 데이터가 존재하는지 추가로 더 판단하는 단계 이후, 상기 차량 네트워크 부하가 상기 제2기준치 미만이면, 상기 폴링 방식으로 수집되는 데이터들 중 상기 DAQ 방식으로 수집되어야 하는 우선순위가 높은 데이터를 선택하는 단계를 더 포함하는 것을 특징으로 한다.And, after determining whether the vehicle network load is less than the second reference value and further determining whether data collected by the polling method exists, if the vehicle network load is less than the second reference value, the data is collected by the polling method. It is characterized in that it further comprises the step of selecting high-priority data to be collected by the DAQ method from among the data to be collected.

그리고, 상기 폴링 방식으로 수집되는 데이터들 중 상기 DAQ 방식으로 수집되어야 하는 우선순위가 높은 데이터를 선택하는 단계 이후, 상기 폴링 방식으로 수집되는 데이터들 중 우선순위가 높은 데이터를 선택하면, 상기 선택된 데이터들이 상기 DAQ 방식으로 수집 시 발생되는 예상부하를 계산하는 단계를 더 포함하는 것을 특징으로 한다.And, after the step of selecting data with a high priority to be collected by the DAQ method from among the data collected by the polling method, selecting data with a high priority from among the data collected by the polling method, the selected data It is characterized in that it further comprises the step of calculating the expected load generated when the data are collected in the DAQ method.

그리고, 상기 선택된 데이터들이 상기 DAQ 방식으로 수집 시 발생되는 예상부하를 계산하는 단계 이후, 상기 선택된 데이터들이 상기 DAQ 방식으로 수집 시 발생되는 예상 부하가 제3기준치 미만이면, 상기 선택된 데이터들이 상기 DAQ 방식으로 수집되도록 전환하는 것을 특징으로 한다.And, after the step of calculating the expected load generated when the selected data is collected by the DAQ method, if the expected load generated when the selected data is collected by the DAQ method is less than a third reference value, the selected data is the DAQ method Characterized in that it is converted to be collected as.

본 발명의 차량 데이터 수집 장치 및 방법은 데이터 수집 시에 차량의 네트워크 부하 과다 방지를 통한 차량의 안정성을 향상시킬 수 있다. 또한, 데이터 수집량을 최적화할 수 있으며, 차종별, 차량 옵션사양별, 주행상황별 수집설정을 다르게 하지 않아도 되므로, 데이터 수집 운영 편의성을 향상시킬 수 있는 효과를 제공한다. The vehicle data collection apparatus and method of the present invention can improve vehicle stability by preventing excessive network load of the vehicle during data collection. In addition, it is possible to optimize the amount of data collection, and since it is not necessary to set different collection settings for each vehicle type, vehicle option specification, and driving situation, the convenience of data collection operation can be improved.

도 1은 본 발명의 차량 데이터 수집 장치를 포함하는 차량 데이터 수집 시스템 구성도이다.
도 2는 DAQ 수집방식 및 폴링 수집방식을 설명한 도면이다.
도 3은 발명의 차량 데이터 수집 방법을 나타낸 순서도이다.
1 is a configuration diagram of a vehicle data collection system including a vehicle data collection device of the present invention.
2 is a diagram explaining a DAQ collection method and a polling collection method.
3 is a flowchart illustrating a vehicle data collection method of the present invention.

이하, 본 발명의 일부 실시예들을 예시적인 도면을 통해 상세하게 설명한다. 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명의 실시예를 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 실시예에 대한 이해를 방해한다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, some embodiments of the present invention will be described in detail through exemplary drawings. In adding reference numerals to components of each drawing, it should be noted that the same components have the same numerals as much as possible even if they are displayed on different drawings. In addition, in describing an embodiment of the present invention, if it is determined that a detailed description of a related known configuration or function hinders understanding of the embodiment of the present invention, the detailed description will be omitted.

본 발명의 실시예의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 또한, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가진다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가진 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.In describing the components of the embodiment of the present invention, terms such as first, second, A, B, (a), and (b) may be used. These terms are only used to distinguish the component from other components, and the nature, order, or order of the corresponding component is not limited by the term. In addition, unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by a person of ordinary skill in the art to which the present invention belongs. Terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with the meaning in the context of the related art, and unless explicitly defined in the present application, they should not be interpreted in an ideal or excessively formal meaning. don't

도 1은 본 발명의 차량 데이터 수집 장치를 포함하는 차량 데이터 수집 시스템 구성도이다. 1 is a configuration diagram of a vehicle data collection system including a vehicle data collection device of the present invention.

도 1을 참조하면, 본 발명의 차량의 데이터 수집 시스템은 차량(10), 차량 데이터 수집 장치(20) 및 데이터 수집 서버(30)를 포함할 수 있다.Referring to FIG. 1 , the vehicle data collection system of the present invention may include a vehicle 10 , a vehicle data collection device 20 and a data collection server 30 .

차량(10)은 복수의 차량 제어기(ECU, Electronic Control Unit)를 포함할 수 있다. 여기서, 차량 제어기는 자동차 엔진을 비롯한 구동계통, 제동계통, 조향계통 등 차량의 모든 부분을 제어하는 전자제어장치이다. The vehicle 10 may include a plurality of vehicle controllers (ECUs, Electronic Control Units). Here, the vehicle controller is an electronic control device that controls all parts of the vehicle, such as a vehicle engine, a driving system, a braking system, and a steering system.

차량 제어기는 차량 시스템의 기능을 제어하고, 대응되는 차량 데이터를 생성할 수 있다. 예를들면 자동변속기, 스티어링 등을 제어하는 제어기일 수 있다. 차량 데이터는 CAN 메세지 포맷일 수 있으며, 대응되는 시스템의 상태 값, 상태 변화 값, 출력 신호값 등을 포함할 수 있다. The vehicle controller may control functions of the vehicle system and generate corresponding vehicle data. For example, it may be a controller that controls an automatic transmission, steering, and the like. The vehicle data may be in a CAN message format and may include a state value, a state change value, an output signal value, and the like of a corresponding system.

차량 네트워크(CAN(Controller Area Network))는 버스(bus) 형태로서 차량제어기들이 공통 회선을 통하여 모두 연결되어 있으며, 서로 동등한 권한을 가지고 통신할 수 있다. 버스는 브로드캐스팅 방식으로 특정 노드들의 상태에 따라 네트워크 상태가 변하지 않으며 통신 속도가 비교적 빠르다. 그러나, 버스의 장애시 네트워크 전체에 영향을 미치게 된다. A vehicle network (CAN (Controller Area Network)) is in the form of a bus, and vehicle controllers are all connected through a common line, and they can communicate with each other with equal authority. The bus is a broadcasting method, so the network state does not change depending on the state of specific nodes, and the communication speed is relatively fast. However, when a bus fails, the entire network is affected.

차량 데이터 수집 장치(20)는 차량 네트워크(CAN)에 연결되어 차량(10)의 차량 제어기들로부터 데이터를 수집하여 서버로 전송할 수 있다. 차량 데이터 수집 장치(20)는 차량(10)에 일체로 형성될 수 있으며, 별도의 장치로 구현되어 외부의 연결 수단을 통해 차량(10)과 연결될 수도 있다.The vehicle data collection device 20 may be connected to a vehicle network (CAN) to collect data from vehicle controllers of the vehicle 10 and transmit the data to a server. The vehicle data collection device 20 may be integrally formed with the vehicle 10 or may be implemented as a separate device and connected to the vehicle 10 through an external connection means.

차량 데이터 수집 장치(20)는 저장부(21), 제어부(22) 및 통신부(23)를 포함할 수 있다. The vehicle data collection device 20 may include a storage unit 21 , a control unit 22 and a communication unit 23 .

저장부(21)는 서버로부터 수신한 데이터 수집 설정정보를 임시 저장할 수 있으며, 차량 제어기로부터 수신한 데이터를 저장할 수도 있다. 여기서, 저장부(21)는 플래시 메모리 타입(Flash Memory Type), 하드 디스크 타입(Hard Disk Type), 멀티미디어 카드 마이크로 타입(Multimedia Card Micro Type), 카드 타입의 메모리(예를 들면, SD 또는 XD 메모리 등), 자기 메모리, 자기 디스크, 광디스크, 램(Random Access Memory, RAM), SRAM(Static Random Access Memory), 롬(Read-Only Memory, ROM), PROM(Programmable Read-Only Memory), EEPROM(Electrically Erasable Programmable Read-Only Memory) 중 적어도 하나의 저장매체를 포함할 수 있다. The storage unit 21 may temporarily store data collection setting information received from the server, and may also store data received from the vehicle controller. Here, the storage unit 21 is a flash memory type, a hard disk type, a multimedia card micro type, or a card type memory (eg, SD or XD memory). etc.), magnetic memory, magnetic disk, optical disk, RAM (Random Access Memory, RAM), SRAM (Static Random Access Memory), ROM (Read-Only Memory, ROM), PROM (Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory) may include at least one storage medium.

통신부(22)는 무선망으로 연결된 서버와의 통신 인터페이스를 지원하는 통신모듈을 포함할 수 있다. 이때, 통신모듈은 무선랜(WLAN), 와이브로(Wibro), 와이 파이(Wi-Fi), 와이맥스(Wimax), HSDPA 등과 같이 무선 인터넷 접속을 지원하는 모듈을 포함할 수 있다.The communication unit 22 may include a communication module supporting a communication interface with a server connected through a wireless network. In this case, the communication module may include a module supporting wireless Internet access such as WLAN, Wibro, Wi-Fi, Wimax, HSDPA, and the like.

또한, 통신부(22)는 차량 네트워크를 통해 연결된 차량 제어기들과의 통신 인터페이스를 지원하는 통신모듈을 포함할 수 있다. Also, the communication unit 22 may include a communication module supporting a communication interface with vehicle controllers connected through a vehicle network.

통신부(22)는 서버로부터 데이터 수집 설정정보가 포함된 수집요청 신호를 수신하고, 수신한 데이터 수집요청 신호를 차량 네트워크로 연결된 차량 제어기로 전달할 수 있다. 여기서, 통신부(22)는 차량에 구비된 복수 개의 차량 제어기들과 차량 네트워크를 통하여 통신하도록 할 수 있다. 또한, 통신부(22)는 차량 네트워크의 부하 상태에 따라 소정 방식을 사용하여 차량 데이터 수집하도록 소정 제어 신호를 서버에 전달할 수 있다. 통신부(22)는 차량 제어기로부터 데이터를 수신하고, 수신한 데이터를 서버로 전달할 수 있다.The communication unit 22 may receive a collection request signal including data collection setting information from the server and transmit the received data collection request signal to a vehicle controller connected to a vehicle network. Here, the communication unit 22 may communicate with a plurality of vehicle controllers included in the vehicle through a vehicle network. Also, the communication unit 22 may transmit a predetermined control signal to the server to collect vehicle data using a predetermined method according to a load state of the vehicle network. The communication unit 22 may receive data from the vehicle controller and transfer the received data to the server.

제어부(23)는 차량 네트워크의 부하를 측정하고, 부하가 소정 기준치와 비교하여 차량 네트워크 과부하 여부를 판단할 수 있다. 여기서, 차량 네트워크 부하는 기본적으로 차량 제어용 네트워크 부하(차량 제어기 간에 데이터를 주고받을 때 발생되는 부하), DAQ 방식으로 데이터 수집시 발생되는 부하 및 폴링 방식으로 데이터 수집시 발생되는 부하의 합을 의미할 수 있다. The controller 23 may measure the load of the vehicle network and compare the load with a predetermined reference value to determine whether the vehicle network is overloaded. Here, the vehicle network load basically means the sum of the network load for vehicle control (the load generated when data is exchanged between vehicle controllers), the load generated when collecting data using the DAQ method, and the load generated when collecting data using the polling method. can

여기서, 차량 제어용 네트워크 부하는 차량 데이터 수집장치가 존재하지 않아도 차량 제어기 간에 데이터를 주고받을 때 발생할 수 있기 때문에 차량 네트워크 부하에 포함된다. 엔진에서 변속기로 데이터를 송신할 때, 엔진에서 계기판으로 데이터를 송신할 때 발생되는 부하는 차량 데이터 수집장치에서 발생되는 부하와는 무관하게 차량 제어용 네트워크 부하로서 발생할 수 있다. Here, the network load for vehicle control is included in the vehicle network load because it may occur when data is exchanged between vehicle controllers even if the vehicle data collection device does not exist. When data is transmitted from the engine to the transmission, a load generated when data is transmitted from the engine to the instrument panel may occur as a network load for vehicle control, regardless of a load generated by the vehicle data collection device.

실시예에 따르면 보 레이트(Baud rate)가 500kbps인 차량 네트워크에서 1초에 대략 3800개의 메세지 통신이 가능한데, 차량 제어용으로 1초에 1900개를 사용(부하 50%)하고, DAQ 방식으로 데이터를 수집하는데 1초에 380개를 사용(부하 10%)하고, Polling 방식으로 데이터를 수집하는데 1초에 380개를 사용(부하 10%)하면, 차량 네트워크의 부하는 70%가 될 수 있다.According to the embodiment, approximately 3800 messages can be communicated per second in a vehicle network with a baud rate of 500 kbps, and 1900 messages are used per second for vehicle control (load 50%), and data is collected by the DAQ method If 380 units are used per second (load 10%) and 380 units are used per second (load 10%) to collect data by polling method, the load of the vehicle network can be 70%.

제어부(23)는 차량 네트워크 부하가 소정 기준치 미만인 경우, DAQ(Data Acquisition) 방식을 기반으로 데이터를 수집하도록 하고, 차량 네트워크 부하가 소정 기준치 이상인 경우 대체 우선순위에 따라 일부 데이터를 폴링(Polling 또는 업로드)방식으로 전환하여 데이터를 수집하도록 할 수 있다. 여기서, 대체 우선순위는 차량 네트워크 부하값에서 DAQ 방식으로 데이터 수집시 발생되는 부하와 폴링 방식으로 데이터 수집시 발생되는 부하를 계산하여 유동적으로 설정할 수 있다.When the vehicle network load is less than a predetermined reference value, the control unit 23 collects data based on a DAQ (Data Acquisition) method, and polls (polling or uploads) some data according to alternative priorities when the vehicle network load is greater than a predetermined reference value. ) method to collect data. Here, the replacement priority may be flexibly set by calculating the load generated when data is collected by the DAQ method and the load generated when data is collected by the polling method from the vehicle network load value.

DAQ(Data Acquisition)는 하중, 압력, 온도, 습도, 속도, 가속도, 변위 토크 등 아날로그 물리량을 측정하여 그 값을 분석하거나 그 값을 기준으로 다른 제어를 위해 아날로그 값인 물리량을 디지털 값으로 변환하는 것을 의미한다.DAQ (Data Acquisition) measures analog physical quantities such as load, pressure, temperature, humidity, speed, acceleration, displacement torque, etc., analyzes the values, or converts analog physical quantities into digital values for other control based on the values. it means.

DAQ 방식은 데이터 수집 시작 전 수집 서버로부터 설정된 수집할 데이터 변수 및 주기를 차량 제어기에 전달한다. 수집이 시작되면 차량 제어기는 지정된 주기에 따라 자동으로 데이터를 수집장치에 송신한다. DAQ 방식은 CCP(Can Calibration Protocol) 데이터 수집 시 사용될 수 있다. 수집 중에는 별도의 커맨드 메세지가 요구되지 않고, 메세지 전체에 데이터를 실을 수 있어서 효율이 높다. The DAQ method transfers data variables and cycles to be collected set from the collection server to the vehicle controller before starting data collection. When collection starts, the vehicle controller automatically transmits data to the collection device according to the designated period. The DAQ method can be used when collecting CCP (Can Calibration Protocol) data. During collection, a separate command message is not required, and the efficiency is high because data can be loaded in the entire message.

DAQ 방식으로 전송할 수 있는 데이터의 최대크기는 8바이트인데, 8바이트 중 데이터를 식별하기 위한 식별자에게 1바이트가 할당되므로, 데이터로 전송가능한 크기는 7바이트가 된다. 따라서, 7바이트에 데이터를 실어 전송하는 경우 실시예에 따르면 4바이트 크기를 갖는 데이터, 2바이트를 갖는 데이터, 1바이트를 갖는 데이터를 하나의 메세지로 전송할 수 있고, 또는 2바이트를 갖는 데이터 3개와 1바이트를 갖는 데이터 1개를 하나의 메세지로 전송할 수 있고, 또는 1바이트를 갖는 데이터 7개를 하나의 메세지로 전송할 수 있다. The maximum size of data that can be transmitted in the DAQ method is 8 bytes, and since 1 byte is allocated to an identifier for identifying data among 8 bytes, the size that can be transmitted as data is 7 bytes. Therefore, in the case of carrying data in 7 bytes and transmitting, according to the embodiment, data having a size of 4 bytes, data having a size of 2 bytes, and data having a size of 1 byte can be transmitted in one message, or three pieces of data each having 2 bytes and 1 piece of data with 1 byte can be transmitted in one message, or 7 pieces of data with 1 byte can be transmitted in one message.

또한, DAQ 방식은 차량 제어기가 지원하는 주기(예를들면, 10ms 100ms)로만 데이터 수집이 가능하다.In addition, the DAQ method can collect data only at a period supported by the vehicle controller (eg, 10 ms or 100 ms).

폴링(Polling,업로드) 방식은 차량 데이터 수집장치가 요청 메세지를 차량 제어기에 송신하면 차량 제어기로부터 데이터를 수신받는다. 진단통신을 통한 서비스 데이터 수집이나 CCP 학습 데이터 수집에 이 방식을 사용할 수 있다. CCP 학습 데이터 수집은 차량 시동 후 1회 수천개의 데이터 수집을 의미할 수 있다.In the polling (upload) method, when the vehicle data collection device transmits a request message to the vehicle controller, data is received from the vehicle controller. This method can be used to collect service data through diagnostic communication or collect CCP learning data. CCP learning data collection may refer to thousands of data collection once after starting the vehicle.

폴링 방식은 데이터를 수집하고자 할 때마다 매번 요청 커맨드 메세지가 필요하고, 특히 CCP의 경우 메세지 하나 당 데이터 하나씩 만을 실을 수 있어서 효율이 낮다. 수집 주기는 원하는 주기(예를들면 1초, 1분)로 자유롭게 설정할 수 있다.The polling method requires a request command message each time data is to be collected, and in particular, in the case of CCP, only one data can be loaded per message, so efficiency is low. The collection period can be freely set to a desired period (eg, 1 second, 1 minute).

보다 구체적으로, 도 2를 참조하여 DAQ 수집방식 및 폴링 수집방식에 대해 설명한다.More specifically, the DAQ collection method and the polling collection method will be described with reference to FIG. 2 .

도 2를 참조하면, DAQ 방식은 차량 데이터 수집장치가 초기설정 단계에서 수집 대상 데이터와 주기를 설정하여 차량 제어기에 전송할 수 있다. 실시예에 따르면 10ms 주기로 A,B 데이터를 수집하도록 할 수 있고, 100ms 주기로 C,D 데이터를 수집하도록 할 수 있다. 차량 제어기는 수신한 수집설정 정보를 기반으로 설정된 주기에 따라 해당 데이터들의 정보를 수집장치로 송신할 수 있다. Referring to FIG. 2 , in the DAQ method, a vehicle data collection device may set data to be collected and a cycle in an initial setting step and transmit the data to the vehicle controller. According to the embodiment, data A and B may be collected at a period of 10 ms, and data C and D may be collected at a period of 100 ms. The vehicle controller may transmit information on corresponding data to the collection device according to a period set based on the received collection setting information.

상술한 바와 같이 DAQ 방식은 초기에 설정단계 이후에는 데이터가 포함된 메세지만 요구되므로 수집부하가 낮다. 또한, 수집 주기는 차량 제어기에서 구현된 주기로만 전송이 가능하므로 고정된 주기로만 전송할 수 있다. As described above, the DAQ method has a low collection load because only messages containing data are required after the initial setting stage. In addition, since the collection period can be transmitted only in a period implemented in the vehicle controller, it can be transmitted only in a fixed period.

한편, 폴링 방식은 차량 데이터 수집장치가 수집할 대상 데이터를 요청하는 메세지를 차량 제어기에 전송한다. 폴링 방식은 초기 설정단계가 없기 때문에 소정 데이터를 수집할 때마다 요청 메세지를 차량 제어기에 전송해야 한다. 따라서, 요청 메세지의 송신 및 수신에 따른 수집부하가 높다. 다만, 수집 주기는 DAQ 방식과는 다르게 고정되어 있지 않고 가변적이어서 수집장치가 원하는 시점에 원하는 주기로 요청하여 데이터를 수집할 수 있다. Meanwhile, in the polling method, the vehicle data collecting device transmits a message requesting target data to be collected to the vehicle controller. Since there is no initial setting step in the polling method, a request message must be transmitted to the vehicle controller whenever predetermined data is collected. Therefore, the collection load according to the transmission and reception of the request message is high. However, unlike the DAQ method, the collection period is not fixed but variable, so the collection device can collect data by requesting it at a desired time and at a desired period.

다시 도 1을 참조하면, 본 발명의 제어부(23)는 CAN 부하가 소정 기준치 미만인 경우 DAQ 방식으로 데이터를 수집하도록 하고, CAN 부하가 소정 기준치 이상이 경우 폴링 방식으로 데이터를 수집하도록 한다. 폴링 방식으로 데이터를 수집하는 경우에는 DAQ 방식의 데이터 수집을 위한 초기 설정에서 폴링 수집주기와 대체 우선순위를 추가할 수 있다. 보다 자세한 설명은 표 1을 참조한다.Referring back to FIG. 1 , the control unit 23 of the present invention collects data using a DAQ method when the CAN load is less than a predetermined reference value, and collects data using a polling method when the CAN load exceeds a predetermined reference value. In case of collecting data by polling method, you can add polling collection period and alternative priority in the initial setting for DAQ method data collection. See Table 1 for a more detailed explanation.

데이터 항목data item 수집주기collection cycle 대체할 수집주기collection cycle to replace 대체 우선순위Alternate Priority RPMRPM 10ms10ms -- -- 차속vehicle speed 10ms10ms 1sec1sec 1순위1st place 냉각수온coolant temperature 100ms100ms 1분1 min 2순위2nd place 기어단수number of gears 100ms100ms 1sec1sec 3순위3rd place ...... ...... ...... ......

표 1과 같이, 본 발명의 제어부(23)는 DAQ 방식으로 데이터 수집 시 서버(30)로부터 설정되어 수신한 데이터 항목 및 수집주기를 기반으로 차량 제어기의 데이터를 수집하도록 할 수 있다. 실시예에 따르면, 수집해야 할 데이터 항목 중 냉각수온에 대한 데이터는 차량 시동 초기 변화가 많아 100ms를 주기로 데이터를 수집할 수 있다. 따라서, DAQ 방식에 따르면 냉각수온에 대한 데이터를 100ms 주기로 수집하기 위해 차량 제어기에 메세지를 전송할 수 있다. As shown in Table 1, the control unit 23 of the present invention can be configured from the server 30 to collect data of the vehicle controller based on the received data item and collection period when collecting data in the DAQ method. According to the embodiment, among the data items to be collected, the data on the coolant temperature may be collected at a cycle of 100 ms because there are many changes in the initial stage of vehicle startup. Therefore, according to the DAQ method, a message can be transmitted to the vehicle controller to collect data on the coolant temperature at intervals of 100 ms.

본 발명에 따른 제어부(23)는 상술한 바와 같이, 냉각수온에 대하여 DAQ 방식으로 데이터를 수집하다가 차량 네트워크 부하가 소정 기준치 이상으로 판단되면 시동이 걸린 후 시간이 경과하여 냉각수온이 안정되면, 폴링 방식으로 냉각수온의 데이터를 수집하도록 할 수 있다. 폴링 방식에 따르면 냉각수온에 대한 데이터를 1분을 주기로 수집하기 위해 차량 제어기에 메세지를 전송할 수 있다. 이를 위하여 제어부(23)는 DAQ 방식으로 초기에 설정된 데이터 항목 및 수집 주기에 대체 할 수집주기와 대체 우선순위를 추가하여 메세지를 전송할 수 있다.As described above, the control unit 23 according to the present invention collects data on the coolant temperature using the DAQ method, and when it is determined that the vehicle network load exceeds a predetermined reference value, the control unit 23 performs polling In this way, data of the coolant temperature can be collected. According to the polling method, a message can be transmitted to the vehicle controller to collect data on the coolant temperature at intervals of 1 minute. To this end, the control unit 23 may transmit a message by adding a collection period to be replaced and a replacement priority to the initially set data item and collection period in a DAQ method.

여기서, 제어부(30)는 차량 네트워크 부하를 다음의 계산식으로 산출할 수 있다. Here, the control unit 30 may calculate the vehicle network load using the following formula.

[계산식 1][Calculation 1]

차량 네트워크 부하 = 차량 제어용 네트워크 부하 + DAQ 전체부하 + 폴링 전체부하Vehicle Network Load = Vehicle Control Network Load + DAQ Total Load + Polling Total Load

먼저, 차량 제어용 네트워크 부하는 차량 제어기 간에 데이터를 주고 받을 때 발생되는 부하를 의미할 수 있다. 이는 프레임 당 부하로 계산할 수 있으며, 다음의 계산식으로 산출될 수 있다. 여기서, 프레임은 전송데이터의 단위일 수 있다.First, network load for vehicle control may refer to a load generated when data is exchanged between vehicle controllers. This can be calculated as a load per frame, and can be calculated with the following formula. Here, a frame may be a unit of transmission data.

[계산식 2][Calculation 2]

데이터 프레임 당 부하 = 프레임당 비트수 / 보 레이트(Baud rate)Load per data frame = Bits per frame / Baud rate

여기서, 프레임당 비트수는 보통 47 비트에서 111비트의 가변 길이를 갖으며, 최대 131비트를 가질 수 있다. 또한, 보 레이트는 해당 채널에 따라 500kbps(500,000bits/sec) 또는 1Mbps(1,000,000bits/sec)를 갖는다. 따라서, 보 레이트가 500kbps인 경우 CAN 데이터 프레임당 부하는 0.02620%정도가 된다.Here, the number of bits per frame usually has a variable length of 47 bits to 111 bits, and may have a maximum of 131 bits. In addition, the baud rate has 500 kbps (500,000 bits/sec) or 1 Mbps (1,000,000 bits/sec) according to the corresponding channel. Accordingly, when the baud rate is 500 kbps, the load per CAN data frame is about 0.02620%.

그 다음, DAQ 전체부하는 DAQ 방식으로 수집하는 경우 발생되는 전체 부하를 의미할 수 있으며, 모든 주기의 DAQ 리스트별 부하의 합으로 산출될 수 있다. DAQ 리스트별 부하는 다음의 계산식으로 산출될 수 있다. Next, the total DAQ load may mean the total load generated when collecting data in the DAQ method, and may be calculated as the sum of loads for each DAQ list in all cycles. The load for each DAQ list can be calculated with the following formula.

[계산식 3][Calculation 3]

DAQ 리스트별 부하 = ODT 수 * (1/DAQ 주기)* 데이터 프레임당 부하Load per DAQ list = Number of ODTs * (1/DAQ cycle)* Load per data frame

(DAQ주기는 0.005s, 0.01s, 0.02s, 0.05s 및 0.1s 중 어느 하나일 수 있다.)(The DAQ period may be any one of 0.005s, 0.01s, 0.02s, 0.05s, and 0.1s.)

ODT(Object Descriptor Table)는 DAQ 리스트를 의미할 수 있으며 자세하게는 차량 제어기의 데이터가 리스트별로 저장된 테이블을 의미할 수 있다. 하나의 ODT는 7바이트의 크기를 갖으며, ODT의 수는 테이블의 개수를 의미한다. ODT의 수는 다음의 계산식으로 산출될 수 있으며, 일반적으로 차량 제어기의 데이터는 1바이트, 2바이트 및 4바이트 중 어느 하나의 크기를 가질 수 있다.An Object Descriptor Table (ODT) may mean a DAQ list, and in detail, may mean a table in which data of a vehicle controller is stored for each list. One ODT has a size of 7 bytes, and the number of ODTs means the number of tables. The number of ODTs can be calculated with the following formula, and generally, data of a vehicle controller can have a size of one of 1 byte, 2 bytes and 4 bytes.

[계산식 4][Calculation 4]

ODT 수 = {4바이트 크기를 갖는 차량 제어기의 데이터 개수 + (2바이트 크기를 갖는 차량 제어기의 데이터 개수 - 4바이트 크기를 갖는 차량 제어기의 데이터 개수)/3} Number of ODTs = {Number of data of vehicle controllers with a size of 4 bytes + (Number of data of vehicle controllers with a size of 2 bytes - Number of data of vehicle controllers with a size of 4 bytes)/3}

ODT 수 = 1바이트 크기를 갖는 데이터 개수 / 7 Number of ODTs = Number of data with a size of 1 byte / 7

ODT의 수는 먼저, 차량 제어기의 데이터 크기가 4바이트 및 2바이트인 경우를 가정하여 계산될 수 있다. 상술한 바와 같이 하나의 ODT는 7바이트의 크기를 갖게 되므로, 기본적으로 4바이트 크기를 갖는 차량 제어기의 데이터는 하나의 OPT에 한 개가 저장될 수 있다. 따라서, ODT의 수는 4바이트 크기를 갖는 데이터의 개수와 같을 수 있다. First, the number of ODTs can be calculated by assuming that the data size of the vehicle controller is 4 bytes and 2 bytes. As described above, since one ODT has a size of 7 bytes, basically one vehicle controller data having a size of 4 bytes can be stored in one OPT. Accordingly, the number of ODTs may be equal to the number of data having a size of 4 bytes.

또한, 2바이트 크기를 갖는 데이터는 4바이트 크기의 데이터가 저장된 ODT에 한개가 저장되거나 하나의 ODT에 3개가 저장될 수 있으므로, ODT의 수는 2바이트 크기를 갖는 데이터의 개수에 4바이트 크기를 갖는 데이터 개수를 빼고 이를 3으로 나눈 값이 될 수 있다. 상술한 계산식은 2바이트 크기를 갖는 데이터의 수가 4바이트 크기를 갖는 데이터의 수보다 큰 경우에만 성립될 수 있다. In addition, since one 2-byte data can be stored in an ODT in which 4-byte data is stored or three can be stored in one ODT, the number of ODTs is 4 bytes compared to the number of 2-byte data. It may be a value obtained by subtracting the number of data possessed and dividing it by 3. The above formula can be established only when the number of data having a size of 2 bytes is greater than the number of data having a size of 4 bytes.

따라서, 4바이트 크기를 갖는 데이터 개수와 2바이트 크기를 갖는 데이터를 더한값이 ODT의 수가 될 수 있다. Accordingly, the sum of the number of data having a size of 4 bytes and the number of data having a size of 2 bytes may be the number of ODTs.

실시예에 따라 차량 제어기가 4바이트 크기를 갖는 데이터 5개와 2바이트 크기를 갖는 데이터 23개를 갖는 경우, 4바이트 크기를 갖는 데이터 5개와 2바이트 크기를 갖는 데이터를 5개의 ODT에 저장할 수 있다. 또한, 남은 2바이트 크기의 데이터 18개는 6개의 ODT에 저장할 수 있다. 따라서, ODT의 수는 총 11개가 될 수 있다. According to an embodiment, when the vehicle controller has 5 pieces of data of 4 bytes and 23 pieces of data of 2 bytes, 5 pieces of data of 4 bytes and 5 pieces of data of 2 bytes may be stored in 5 ODTs. In addition, the remaining 18 pieces of 2-byte data can be stored in 6 ODTs. Accordingly, the number of ODTs may be 11 in total.

이외에도 ODT의 수는 차량 제어기의 데이터 크기가 1바이트인 경우를 가정하여 계산될 수 있다. 상술한 바와 같이 하나의 ODT는 7바이트의 크기를 갖게 되므로, ODT의 수는 1바이트 크기를 갖는 데이터 개수를 7로 나눈 값을 올림하여 계산된다. In addition, the number of ODTs may be calculated assuming that the data size of the vehicle controller is 1 byte. As described above, since one ODT has a size of 7 bytes, the number of ODTs is calculated by dividing the number of data having a size of 1 byte by 7 and rounding up the value.

실시예에 따라 1바이트 크기를 갖는 데이터 개수가 20개인 경우, 상술한 계산식에 의하면 ODT수= 20/7이 될 수 있으며 결과값을 올림하면 ODT수는 3개가 된다. 즉, 하나의 ODT에는 7바이트가 저장될 수 있으므로, 7바이트 크기를 갖는 2개의 ODT와 6바이트 크기를 갖는 1개의 ODT에 저장될 수 있다. According to an embodiment, if the number of data having a size of 1 byte is 20, according to the above calculation formula, the number of ODTs may be 20/7, and if the result is rounded up, the number of ODTs becomes 3. That is, since 7 bytes can be stored in one ODT, it can be stored in two ODTs with a size of 7 bytes and one ODT with a size of 6 bytes.

그 다음, 폴링 전체부하는 폴링 방식으로 데이터 수집시 발생되는 전체 부하를 의미할 수 있으며, 모든 주기의 폴링 부하의 합으로 산출될 수 있다. 폴링 주기별 부하는 다음의 계산식으로 산출될 수 있다.Next, the total polling load may mean a total load generated when data is collected in a polling method, and may be calculated as the sum of polling loads of all cycles. The load for each polling period can be calculated with the following formula.

[계산식 5][Calculation 5]

폴링 주기별 부하 = 폴링 방식으로 수집하는 데이터 개수 * (1/폴링 주기) * 데이터 프레임당 부하 * 2 Load per polling cycle = Number of data collected by polling method * (1/polling cycle) * Load per data frame * 2

(계산식 5의 데이터 프레임당 부하는 계산식 2를 참조한다.)(For the load per data frame in Equation 5, refer to Equation 2.)

제어부(23)는 상술한 바와 같이 차량 네트워크 부하를 산출하고, 차량 네트워크 부하를 제1기준치와 비교한다. 여기서, 제1기준치는 과부하를 판단하는 기준치로서 실시예에 따르면, 80%일 수 있다. As described above, the control unit 23 calculates the vehicle network load and compares the vehicle network load with the first reference value. Here, the first reference value may be 80% according to an embodiment as a reference value for determining overload.

제어부(23)는 차량 네트워크 부하가 제1기준치 이상인 경우, DAQ 방식으로 수집하는 데이터들 중 우선순위가 낮은 데이터를 선택할 수 있다. 여기서 우선순위는 DAQ 방식으로 수집해야 하는 우선순위를 의미할 수 있다. 즉, 우선순위가 낮은 데이터는 DAQ 방식으로 수집되지 않아도 무관한 데이터를 의미할 수 있다. 우선순위가 낮은 데이터는 비실시간성 데이터가 포함될 수 있다. 비실시간성 데이터는 시간과 관련이 낮은 예를들면 온도와 같은 데이터를 의미할 수 있다. When the vehicle network load is greater than or equal to the first reference value, the control unit 23 may select data having a lower priority among data collected by the DAQ method. Here, the priority may mean a priority to be collected in the DAQ method. That is, data with a low priority may mean irrelevant data even if it is not collected by the DAQ method. Data having a low priority may include non-real-time data. Non-real-time data may mean data that is not related to time, for example, temperature.

실시예에 따르면 표 1의 설명에서 언급한 바와 같이 냉각수온에 대한 데이터는 시동 초기에는 DAQ 방식으로 수집되어야 하지만, 시간이 경과된 후 DAQ 방식으로 수집되지 않아도 무관하므로 냉각수온에 대한 데이터는 우선순위가 낮은 데이터를 의미할 수 있으며 폴링 방식으로 수집가능한 데이터를 의미할 수 있다. According to the embodiment, as mentioned in the description of Table 1, the data on the coolant temperature should be collected by the DAQ method at the beginning of startup, but it does not matter if it is not collected by the DAQ method after the lapse of time, so the data on the coolant temperature has priority. may mean low data and may mean data that can be collected through a polling method.

제어부(23)는 DAQ 방식으로 수집하는 데이터 중 우선순위가 낮은 데이터를 선택한 후 해당 데이터를 폴링 방식으로 수집할 경우 예상되는 부하를 계산한다. 여기서 폴링 방식으로 수집할 경우 예상되는 부하는 모든 주기의 폴링 부하의 합으로 산출될 수 있으며, 주기별 폴링 부하는 계산식 5를 참조하여 산출될 수 있다.The control unit 23 selects data having a lower priority among data collected by the DAQ method and then calculates an expected load when the corresponding data is collected by the polling method. Here, when the polling method is collected, the expected load may be calculated as the sum of the polling loads of all periods, and the polling load for each period may be calculated with reference to Equation 5.

제어부(23)는 폴링 방식으로 수집할 경우 예상되는 부하가 제3기준치보다 작은 경우, 폴링 방식으로 수집 시 예상되는 부하는 정상범위인 것으로 판단하고, DAQ 방식으로 수집하는 데이터들이 폴링 방식으로 수집되도록 전환할 수 있다. When the load expected in the case of collection by the polling method is smaller than the third reference value, the control unit 23 determines that the load expected in the case of collection in the polling method is in the normal range, and collects the data collected in the DAQ method by the polling method. can switch

한편, 제어부(23)는 차량 네트워크 부하가 제1기준치 미만이라고 판단하면, 차량 네트워크 부하가 제2기준치 미만이거나, 폴링 방식으로 수집하는 데이터가 존재하는지 판단할 수 있다. 여기서, 제1기준치와 제2기준치는 같은 값일 수 있으며, 히스테리시스를 고려하여 제2기준치는 제1기준치보다 작은 값으로 설정될 수 있다. 실시예에 따르면, 제2기준치는 60%일 수 있다. Meanwhile, if it is determined that the vehicle network load is less than the first reference value, the control unit 23 may determine whether the vehicle network load is less than the second reference value or whether there is data collected by the polling method. Here, the first reference value and the second reference value may have the same value, and the second reference value may be set to a value smaller than the first reference value in consideration of hysteresis. According to an embodiment, the second reference value may be 60%.

제어부(23)는 폴링 방식으로 수집하는 데이터 중 우선순위가 높은 데이터를 선택한다. 우선순위는 상술한 바와 같이 DAQ 방식으로 수집해야 하는 우선순위를 의미할 수 있다. 따라서, 우선순위가 높은 데이터는 DAQ 방식으로 수집해야 하는 데이터를 의미할 수 있다. 우선순위가 높은 데이터는 실시간성 데이터가 포함될 수 있다. 실시간성 데이터는 시간과 관련이 높은 예를들면 RPM과 같은 데이터를 의미할 수 있다. The control unit 23 selects data having a high priority among data collected by a polling method. As described above, the priority may mean a priority to be collected in the DAQ method. Accordingly, data with a high priority may mean data that needs to be collected by the DAQ method. Data with high priority may include real-time data. Real-time data may refer to data highly related to time, such as RPM.

제어부(23)는 폴링 방식으로 수집하는 데이터 중 우선순위가 높은 데이터를 선택한 후 해당 데이터를 DAQ 방식으로 수집할 경우 예상되는 부하를 계산한다. 여기서 DAQ 방식으로 수집할 경우 예상되는 부하는 모든 주기의 DAQ 리스트별 부하의 합으로 산출될 수 있으며, DAQ 리스트별 부하는 계산식 3을 참조하여 산출될 수 있다. The control unit 23 selects data having a high priority among data collected by the polling method and then calculates an expected load when the corresponding data is collected by the DAQ method. Here, when collecting data in the DAQ method, the expected load can be calculated as the sum of the loads for each DAQ list in all cycles, and the load for each DAQ list can be calculated with reference to Equation 3.

제어부(23)는 DAQ 방식으로 수집할 경우 예상되는 부하가 제3기준치보다 작은 경우, DAQ 방식으로 수집 시 예상되는 부하는 정상범위인 것으로 판단하고, 폴링 방식으로 수집하는 데이터들이 DAQ 방식으로 수집되도록 전환할 수 있다. When the load expected in case of collection by the DAQ method is smaller than the third reference value, the control unit 23 determines that the load expected in case of collection in the DAQ method is within the normal range, and collects the data collected in the polling method so as to be collected in the DAQ method. can switch

서버(30)는 차량에 구비된 복수 개의 차량 제어기에 대한 데이터를 차량 데이터 수집 장치(20)를 통하여 수집할 수 있다. 여기서, 서버는 수집된 데이터를 데이터 베이스에 저장하고, 데이터 베이스에 저장된 정보는 차량 상태를 분석하는데 이용될 수 있다.The server 30 may collect data on a plurality of vehicle controllers included in the vehicle through the vehicle data collection device 20 . Here, the server stores the collected data in a database, and the information stored in the database can be used to analyze the vehicle condition.

서버(30)는 차량 데이터 수집 장치(20)를 통하여 차량 제어기에 대한 데이터를 수집하기 이전, 수집할 차량 제어기를 선택하고 선택된 차량 제어기로부터 수집하고자 하는 데이터 항목 및 수집주기를 설정하고, 이를 차량 데이터 수집 장치(20)에 전송할 수 있다. Before collecting data on the vehicle controller through the vehicle data collection device 20, the server 30 selects a vehicle controller to be collected, sets data items to be collected from the selected vehicle controller and a collection period, and sets the data to be collected from the selected vehicle controller. It can be transmitted to the collection device 20.

도 3은 발명의 차량 데이터 수집 방법을 나타낸 순서도이다. 3 is a flowchart illustrating a vehicle data collection method of the present invention.

도 3에 도시된 바와 같이, 차량 제어기의 데이터를 수집한다(S110). S110에서 수집하는 차량 제어기의 데이터는 자동차 엔진을 비롯한 구동계통, 제동계통, 조향계통 등 차량의 모든 부분을 제어하는 전자제어장치의 데이터를 포함할 수 있다. 최초로 S110이 수행될 때는 기본적으로 효율이 높은 DAQ 방식으로 데이터를 수집하도록 설정될 수 있다.As shown in FIG. 3 , data of the vehicle controller is collected (S110). The data of the vehicle controller collected in S110 may include data of an electronic control device that controls all parts of the vehicle, such as a vehicle engine, a driving system, a braking system, and a steering system. When S110 is performed for the first time, it can be basically set to collect data in a highly efficient DAQ method.

그 다음, 차량 네트워크 부하를 산출한다(S120). S120에서 차량 네트워크 부하는 계산식 1 내지 계산식 5를 참조하여 산출될 수 있다. 보다 자세한 설명은 계산식 1 내지 계산식 5의 설명을 참조한다.Then, vehicle network load is calculated (S120). In S120, the vehicle network load may be calculated with reference to Equations 1 to 5. For a more detailed description, refer to the descriptions of Equation 1 to Equation 5.

차량 네트워크 부하가 제1기준치보다 작은지 판단한다(S130). S130에서 차량 네트워크 부하가 제1기준치보다 큰 경우(No), 차량 네트워크는 과부화된 것으로 판단할 수 있다. 실시예에 따라 제1기준치는 80%일 수 있다. It is determined whether the vehicle network load is less than a first reference value (S130). If the vehicle network load is greater than the first reference value (No) in S130, it may be determined that the vehicle network is overloaded. Depending on the embodiment, the first reference value may be 80%.

차량 네트워크가 과부화된 것으로 판단되면, DAQ 방식으로 수집하는 데이터들 중 우선순위가 낮은 데이터를 선택한다(S140). 여기서 우선순위는 DAQ 방식으로 수집해야 하는 우선순위를 의미할 수 있다. 즉, 우선순위가 낮은 데이터는 DAQ 방식으로 수집되지 않아도 무관한 데이터를 의미할 수 있다. 실시예에 따르면 표 1의 설명에서 언급한 바와 같이 냉각수온에 대한 데이터는 시동 초기에는 DAQ 방식으로 수집되어야 하지만, 시간이 경과된 후 DAQ 방식으로 수집되지 않아도 무관하므로 냉각수온에 대한 데이터는 우선순위가 낮은 데이터를 의미할 수 있다.If it is determined that the vehicle network is overloaded, data having a lower priority is selected among data collected by the DAQ method (S140). Here, the priority may mean a priority to be collected in the DAQ method. That is, data with a low priority may mean irrelevant data even if it is not collected by the DAQ method. According to the embodiment, as mentioned in the description of Table 1, the data on the coolant temperature should be collected by the DAQ method at the beginning of startup, but it does not matter if it is not collected by the DAQ method after the lapse of time, so the data on the coolant temperature has priority. may mean low data.

S140에서 DAQ 방식으로 수집하는 데이터들 중 우선순위가 낮은 데이터가 선택되면 선택된 데이터들은 폴링 방식으로 수집 가능하므로, 해당 데이터들을 폴링 방식으로 수집할 경우 예상되는 부하를 계산한다(S150). S150에서 폴링 방식으로 수집할 경우 예상되는 부하는 모든 주기의 폴링 부하의 합으로 산출될 수 있으며, 주기별 폴링 부하는 계산식 5를 참조하여 산출될 수 있다.If data with a low priority is selected among the data collected by the DAQ method in S140, the selected data can be collected by the polling method, so an expected load is calculated when the corresponding data is collected by the polling method (S150). In the case of collecting in the polling method in S150, the expected load may be calculated as the sum of the polling loads of all periods, and the polling load for each period may be calculated with reference to Equation 5.

S150에서 산출된 폴링 방식으로 수집할 경우의 예상부하가 제3기준치보다 작은지 판단한다(S160). 예상부하가 제3기준치보다 작은 경우(Yes), 해당 데이터를 폴링 방식으로 수집 시 예상되는 부하는 정상범위인 것으로 판단하고, DAQ 방식으로 수집하는 데이터들이 폴링 방식으로 수집되도록 전환한다(S170). 한편, S160에서 예상부하가 제3기준치보다 큰 경우(No), 해당 데이터를 폴링 방식으로 수집할 경우 부하가 증가됨을 의미하므로 DAQ 방식으로 수집되는 데이터 중 우선순위가 낮은 데이터를 다시 선택하도록 S140을 수행한다. S170 이후에는 S110이 수행되도록 한다. S170 이후 수행되는 S110은 차량 제어기의 데이터를 폴링 방식으로 수집하도록 할 수 있다. It is determined whether the expected load when collected by the polling method calculated in S150 is smaller than the third reference value (S160). If the expected load is less than the third reference value (Yes), when the data is collected in the polling method, it is determined that the expected load is within the normal range, and the data collected in the DAQ method is switched to be collected in the polling method (S170). On the other hand, if the expected load is greater than the third standard value (No) in S160, it means that the load will increase if the data is collected by polling method. carry out After S170, S110 is performed. S110 performed after S170 may collect data of the vehicle controller in a polling method.

한편, S130에서 차량 네트워크 부하가 제1기준치 미만이라고 판단하면, 차량 네트워크 부하가 제2기준치 미만인지 판단하거나, 폴링 방식으로 수집하는 데이터가 존재하는지 판단한다(S180). 여기서, 제1기준치와 제2기준치는 같은 값일 수 있으며, 히스테리시스를 고려하여 제2기준치는 제1기준치보다 작은 값으로 설정될 수 있다. 실시예에 따르면, 제2기준치는 60%일 수 있다. Meanwhile, if it is determined that the vehicle network load is less than the first reference value in S130, it is determined whether the vehicle network load is less than the second reference value or whether there is data collected by polling (S180). Here, the first reference value and the second reference value may have the same value, and the second reference value may be set to a value smaller than the first reference value in consideration of hysteresis. According to an embodiment, the second reference value may be 60%.

S180에서 폴링 방식으로 수집하는 데이터 중 우선순위가 높은 데이터를 선택한다(S190). 여기서, 우선순위는 DAQ 방식으로 수집해야 하는 우선순위를 의미할 수 있다. 따라서, 우선순위가 높은 데이터는 DAQ 방식으로 수집해야 하는 데이터를 의미할 수 있다. Data having a high priority is selected among data collected by polling in S180 (S190). Here, the priority may mean a priority to be collected in a DAQ method. Accordingly, data with a high priority may mean data that needs to be collected by the DAQ method.

S190에서 폴링 방식으로 수집하는 데이터들 중 우선순위가 높은 데이터가 선택되면 선택된 데이터들은 DAQ 방식으로 수집 가능하므로 해당 데이터를 DAQ 방식으로 수집할 경우 예상되는 부하를 계산한다(S200). S200에서 DAQ 방식으로 수집할 경우 예상되는 부하는 모든 주기의 DAQ 리스트별 부하의 합으로 산출될 수 있으며, DAQ 리스트별 부하는 계산식 3을 참조하여 산출될 수 있다. If data with a high priority is selected among the data collected by the polling method in S190, the selected data can be collected by the DAQ method, so an expected load when the corresponding data is collected by the DAQ method is calculated (S200). In the case of collecting data in the DAQ method in S200, the expected load can be calculated as the sum of the loads for each DAQ list in all cycles, and the load for each DAQ list can be calculated by referring to Equation 3.

S200에서 산출된 DAQ 방식으로 수집할 경우의 예상부하가 제3기준치보다 작은지 판단한다(S210). 예상부하가 제3기준치보다 작은 경우(Yes), 해당 데이터를 DAQ 방식으로 수집 시 예상되는 부하는 정상범위인 것으로 판단하고, 폴링 방식으로 수집하는 데이터들이 DAQ 방식으로 수집되도록 전환한다(S220). 한편, S210에서 예상부하가 제3기준치보다 큰 경우(No), 해당 데이터를 DAQ 방식으로 수집할 경우 부하가 증가됨을 의미하므로 폴링 방식으로 수집되는 데이터 중 우선순위가 높은 데이터를 다시 선택하도록 S190을 수행한다. S220 이후에는 S110이 수행되도록 한다. S220 이후 수행되는 S110은 차량 제어기의 데이터를 DAQ 방식으로 수집하도록 할 수 있다. It is determined whether the expected load in the case of collecting by the DAQ method calculated in S200 is smaller than the third reference value (S210). If the expected load is less than the third reference value (Yes), when the data is collected by the DAQ method, the expected load is determined to be within the normal range, and data collected by the polling method is converted to be collected by the DAQ method (S220). On the other hand, if the expected load is greater than the third reference value (No) in S210, it means that the load increases when the corresponding data is collected by the DAQ method, so select S190 again to select data with higher priority among data collected by the polling method. carry out After S220, S110 is performed. S110 performed after S220 may collect data of the vehicle controller in a DAQ method.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The above description is merely an example of the technical idea of the present invention, and various modifications and variations can be made to those skilled in the art without departing from the essential characteristics of the present invention.

따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.Therefore, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention, but to explain, and the scope of the technical idea of the present invention is not limited by these embodiments. The protection scope of the present invention should be construed according to the claims below, and all technical ideas within the equivalent range should be construed as being included in the scope of the present invention.

차량 10
차량 데이터 수집 장치 20
저장부 21
통신부 22
제어부 23
서버 30
vehicle 10
Vehicle data collection device 20
storage unit 21
Department of Communications 22
Control 23
server 30

Claims (20)

서버로부터 수신한 데이터 수집 설정정보 및 차량 제어기로부터 수신한 데이터가 저장된 저장부; 및
차량 네트워크 부하를 계산하고, 상기 차량 네트워크 부하가 제1기준치 이상이면 폴링(Polling) 방식으로 상기 데이터를 수집하도록 하고, 상기 차량 네트워크 부하가 제2기준치 미만이면 DAQ(Data Acquisition) 방식으로 상기 데이터를 수집하도록 하는 제어부를 포함하되,
상기 제어부는
상기 차량 네트워크 부하가 제1기준치 이상이면 상기 DAQ 방식의 데이터 수집을 위해 초기에 설정된 수집 주기에 폴링 수집주기와 대체 우선순위를 추가한 메시지를 상기 차량 제어기로 전송하고, 상기 폴링 방식으로 데이터를 수집하는 것을 특징으로 하는 차량 데이터 수집 장치.
a storage unit storing data collection setting information received from the server and data received from the vehicle controller; and
Calculate vehicle network load, collect the data by polling method if the vehicle network load is greater than a first reference value, and collect the data by DAQ (Data Acquisition) method if the vehicle network load is less than a second reference value Including a control unit to collect,
The control unit
If the vehicle network load is greater than a first reference value, a message obtained by adding a polling collection cycle and alternative priority to the collection cycle initially set for the DAQ method data collection is transmitted to the vehicle controller, and the data is collected by the polling method. Vehicle data collection device, characterized in that to do.
청구항 1에 있어서,
상기 제어부는
상기 차량 네트워크 부하는
상기 차량 제어기 간에 발생된 차량 제어용 네트워크 부하, 상기 폴링 방식으로 상기 데이터를 수집시 발생한 네트워크 부하 및 상기 DAQ 방식으로 상기 데이터를 수집시 발생한 네트워크 부하를 합한 것을 특징으로 하는 차량 데이터 수집 장치.
The method of claim 1,
The control unit
The vehicle network load is
The vehicle data collection device according to claim 1 , wherein a network load for vehicle control generated between the vehicle controllers, a network load generated when collecting the data using the polling method, and a network load generated when collecting the data using the DAQ method are added together.
청구항 1에 있어서,
상기 제어부는
상기 차량 네트워크 부하가 상기 제1기준치 이상이면, 상기 DAQ 방식으로 수집되는 데이터들 중 상기 DAQ 방식으로 수집되어야 하는 우선순위가 낮은 데이터를 선택하는 것을 특징으로 하는 차량 데이터 수집 장치.
The method of claim 1,
The control unit
The vehicle data collection device, characterized in that, if the vehicle network load is greater than or equal to the first reference value, data having a lower priority to be collected by the DAQ method is selected from among data collected by the DAQ method.
청구항 3에 있어서,
상기 제어부는
상기 DAQ 방식으로 수집되는 데이터들 중 상기 우선순위가 낮은 데이터를 선택하면, 상기 선택된 데이터들이 상기 폴링 방식으로 수집 시 발생되는 예상부하를 계산하는 것을 특징으로 하는 차량 데이터 수집 장치.
The method of claim 3,
The control unit
When data having the lower priority is selected among the data collected by the DAQ method, an expected load generated when the selected data is collected by the polling method is calculated.
청구항 4에 있어서,
상기 제어부는
상기 선택된 데이터들이 상기 폴링 방식으로 수집 시 발생되는 예상 부하가 제3기준치 미만이면, 상기 선택된 데이터들이 상기 폴링 방식으로 수집되도록 하는 것을 특징으로 하는 차량 데이터 수집 장치.
The method of claim 4,
The control unit
and if an expected load generated when the selected data is collected by the polling method is less than a third reference value, the selected data is collected by the polling method.
청구항 1에 있어서,
상기 제1기준치는 상기 제2기준치와 같은 값이거나 상기 제2기준치보다 큰 값인 것을 특징으로 하는 차량 데이터 수집 장치.
The method of claim 1,
The first reference value is a value equal to or greater than the second reference value.
청구항 1에 있어서,
상기 제어부는
상기 차량 네트워크 부하가 상기 제1기준치 미만이면, 상기 차량 네트워크 부하가 상기 제2기준치 미만인지 판단하고 상기 폴링 방식으로 수집된 데이터가 존재하는지 추가로 더 판단하는 것을 특징으로 하는 차량 데이터 수집 장치.
The method of claim 1,
The control unit
and determining whether the vehicle network load is less than the second reference value and further determining whether data collected by the polling method exists when the vehicle network load is less than the first reference value.
청구항 1에 있어서,
상기 제어부는
상기 차량 네트워크 부하가 상기 제2기준치 미만이면, 상기 폴링 방식으로 수집되는 데이터들 중 상기 DAQ 방식으로 수집되어야 하는 우선순위가 높은 데이터를 선택하는 것을 특징으로 하는 차량 데이터 수집 장치.
The method of claim 1,
The control unit
The vehicle data collection device, characterized in that, if the vehicle network load is less than the second reference value, data having a high priority to be collected by the DAQ method is selected from among data collected by the polling method.
청구항 8에 있어서,
상기 제어부는
상기 폴링 방식으로 수집되는 데이터들 중 우선순위가 높은 데이터를 선택하면, 상기 선택된 데이터들이 상기 DAQ 방식으로 수집 시 발생되는 예상부하를 계산하는 것을 특징으로 하는 차량 데이터 수집 장치.
The method of claim 8,
The control unit
When data having a high priority is selected among the data collected by the polling method, an expected load generated when the selected data is collected by the DAQ method is calculated.
청구항 9에 있어서,
상기 제어부는
상기 선택된 데이터들이 상기 DAQ 방식으로 수집 시 발생되는 예상 부하가 제3기준치 미만이면, 상기 선택된 데이터들이 상기 DAQ 방식으로 수집되도록 전환하는 것을 특징으로 하는 차량 데이터 수집 장치.
The method of claim 9,
The control unit
and converting the selected data to be collected by the DAQ method when an expected load generated when the selected data is collected by the DAQ method is less than a third reference value.
차량의 차량 제어기들로부터 데이터를 수집하는 단계;
차량 네트워크 부하를 계산하는 단계; 및
상기 차량 네트워크 부하가 제1기준치 이상이면 폴링(Polling) 방식으로 상기 데이터를 수집하도록 하고, 상기 차량 네트워크 부하가 제2기준치 미만이면 DAQ(Data Acquisition) 방식으로 상기 데이터를 수집하도록 하는 단계를 포함하되,
상기 차량 네트워크 부하가 제1기준치 이상이면 상기 DAQ 방식의 데이터 수집을 위해 초기에 설정된 수집 주기에 폴링 수집주기와 대체 우선순위를 추가한 메시지를 상기 차량 제어기로 전송하고, 상기 폴링 방식으로 데이터를 수집하는 것을 특징으로 하는 차량 데이터 수집 방법.
collecting data from vehicle controllers of the vehicle;
calculating vehicle network load; and
Collecting the data in a polling method when the load on the vehicle network is greater than or equal to a first reference value, and collecting the data in a Data Acquisition (DAQ) method when the load on the vehicle network is less than a second reference value, ,
If the vehicle network load is greater than a first reference value, a message obtained by adding a polling collection cycle and alternative priority to the collection cycle initially set for the DAQ method data collection is transmitted to the vehicle controller, and the data is collected by the polling method. Vehicle data collection method characterized in that to do.
청구항 11에 있어서,
상기 차량 네트워크 부하를 계산하는 단계는
상기 차량 제어기 간에 발생된 차량 제어용 네트워크 부하, 상기 폴링 방식으로 상기 데이터를 수집시 발생한 네트워크 부하 및 상기 DAQ 방식으로 상기 데이터를 수집시 발생한 네트워크 부하의 합을 계산하는 것을 특징으로 하는 차량 데이터 수집 방법.
The method of claim 11,
The step of calculating the vehicle network load
and calculating a sum of a network load for vehicle control generated between the vehicle controllers, a network load generated when collecting the data using the polling method, and a network load generated when collecting the data using the DAQ method.
청구항 11에 있어서,
상기 차량 네트워크 부하를 계산하는 단계 이후,
상기 차량 네트워크 부하가 상기 제1기준치 이상인지 판단하는 단계를 더 포함하는 것을 특징으로 하는 차량 데이터 수집 방법.
The method of claim 11,
After calculating the vehicle network load,
The method of collecting vehicle data, further comprising determining whether the vehicle network load is greater than or equal to the first reference value.
청구항 13에 있어서,
상기 차량 네트워크 부하가 상기 제1기준치 이상인지 판단하는 단계 이후,
상기 차량 네트워크 부하가 상기 제1기준치 이상이면, 상기 DAQ 방식으로 수집되는 데이터들 중 상기 DAQ 방식으로 수집되어야 하는 우선순위가 낮은 데이터를 선택하는 단계를 더 포함하는 것을 특징으로 하는 차량 데이터 수집 방법.
The method of claim 13,
After determining whether the vehicle network load is greater than or equal to the first reference value,
and selecting low-priority data to be collected by the DAQ method from among data collected by the DAQ method when the vehicle network load is equal to or greater than the first reference value.
청구항 14에 있어서,
상기 DAQ 방식으로 수집되는 데이터들 중 상기 DAQ 방식으로 수집되어야 하는 우선순위가 낮은 데이터를 선택하는 단계 이후,
상기 DAQ 방식으로 수집되는 데이터들 중 상기 우선순위가 낮은 데이터를 선택하면, 상기 선택된 데이터들이 상기 폴링 방식으로 수집 시 발생되는 예상부하를 계산하는 단계를 더 포함하는 것을 특징으로 하는 차량 데이터 수집 방법.
The method of claim 14,
After the step of selecting low-priority data to be collected by the DAQ method among the data collected by the DAQ method,
The vehicle data collection method of claim 1 , further comprising calculating an expected load generated when the selected data is collected by the polling method, when data having a lower priority is selected among the data collected by the DAQ method.
청구항 14에 있어서,
상기 선택된 데이터들이 상기 폴링 방식으로 수집 시 발생되는 예상부하를 계산하는 단계 이후,
상기 선택된 데이터들이 상기 폴링 방식으로 수집 시 발생되는 예상 부하가 제3기준치 미만이면, 상기 선택된 데이터들을 상기 폴링 방식으로 수집하는 것을 특징으로 하는 차량 데이터 수집 방법.
The method of claim 14,
After the step of calculating the expected load generated when the selected data is collected by the polling method,
and collecting the selected data by the polling method when an expected load generated when the selected data is collected by the polling method is less than a third reference value.
청구항 13에 있어서,
상기 차량 네트워크 부하가 상기 제1기준치 이상인지 판단하는 단계 이후,
상기 차량 네트워크 부하가 상기 제1기준치 미만이면, 상기 차량 네트워크 부하가 상기 제2기준치 미만인지 판단하고 상기 폴링 방식으로 수집된 데이터가 존재하는지 추가로 더 판단하는 단계를 더 포함하는 것을 특징으로 하는 차량 데이터 수집 방법.
The method of claim 13,
After determining whether the vehicle network load is greater than or equal to the first reference value,
If the vehicle network load is less than the first reference value, determining whether the vehicle network load is less than the second reference value and further determining whether data collected by the polling method exists. Data collection method.
청구항 17에 있어서,
상기 차량 네트워크 부하가 상기 제2기준치 미만인지 판단하고 상기 폴링 방식으로 수집된 데이터가 존재하는지 추가로 더 판단하는 단계 이후,
상기 차량 네트워크 부하가 상기 제2기준치 미만이면, 상기 폴링 방식으로 수집되는 데이터들 중 상기 DAQ 방식으로 수집되어야 하는 우선순위가 높은 데이터를 선택하는 단계를 더 포함하는 것을 특징으로 하는 차량 데이터 수집 방법.
The method of claim 17
After determining whether the vehicle network load is less than the second reference value and further determining whether data collected by the polling method exists,
and selecting data having a higher priority to be collected by the DAQ method from among data collected by the polling method when the vehicle network load is less than the second reference value.
청구항 18에 있어서,
상기 폴링 방식으로 수집되는 데이터들 중 상기 DAQ 방식으로 수집되어야 하는 우선순위가 높은 데이터를 선택하는 단계 이후,
상기 폴링 방식으로 수집되는 데이터들 중 우선순위가 높은 데이터를 선택하면, 상기 선택된 데이터들이 상기 DAQ 방식으로 수집 시 발생되는 예상부하를 계산하는 단계를 더 포함하는 것을 특징으로 하는 차량 데이터 수집 방법.
The method of claim 18
After selecting data with a high priority to be collected by the DAQ method among the data collected by the polling method,
The vehicle data collection method of claim 1, further comprising calculating an expected load generated when the selected data is collected by the DAQ method, when data having a high priority is selected among the data collected by the polling method.
청구항 19에 있어서,
상기 선택된 데이터들이 상기 DAQ 방식으로 수집 시 발생되는 예상부하를 계산하는 단계 이후,
상기 선택된 데이터들이 상기 DAQ 방식으로 수집 시 발생되는 예상 부하가 제3기준치 미만이면, 상기 선택된 데이터들이 상기 DAQ 방식으로 수집되도록 전환하는 것을 특징으로 하는 차량 데이터 수집 방법.
The method of claim 19
After the step of calculating the expected load generated when the selected data is collected by the DAQ method,
and converting the selected data to be collected by the DAQ method when an expected load generated when the selected data is collected by the DAQ method is less than a third reference value.
KR1020170171862A 2017-12-14 2017-12-14 Apparatus and method for collecting vehicle data KR102496652B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170171862A KR102496652B1 (en) 2017-12-14 2017-12-14 Apparatus and method for collecting vehicle data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170171862A KR102496652B1 (en) 2017-12-14 2017-12-14 Apparatus and method for collecting vehicle data

Publications (2)

Publication Number Publication Date
KR20190071113A KR20190071113A (en) 2019-06-24
KR102496652B1 true KR102496652B1 (en) 2023-02-07

Family

ID=67055854

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170171862A KR102496652B1 (en) 2017-12-14 2017-12-14 Apparatus and method for collecting vehicle data

Country Status (1)

Country Link
KR (1) KR102496652B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101628566B1 (en) * 2014-12-09 2016-06-08 현대자동차주식회사 System and method for collecting data of vehicle

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101628566B1 (en) * 2014-12-09 2016-06-08 현대자동차주식회사 System and method for collecting data of vehicle

Also Published As

Publication number Publication date
KR20190071113A (en) 2019-06-24

Similar Documents

Publication Publication Date Title
JP4814950B2 (en) Transmission / reception system, node, and communication method
KR20200026996A (en) How sensor devices work in the DS-based protocol
CN110213734A (en) A kind of dynamic data packet communication method and system based on intelligent building Internet of Things
KR102496652B1 (en) Apparatus and method for collecting vehicle data
KR20100020253A (en) Monitoring apparatus for message transmission in network for a vehicle
CN101815027A (en) Method and device for determining availability of bundled link
CN106656711B (en) A kind of predefined method of token bus time slot
CN104009937A (en) Enhanced-transmission-selection configuration information transmission method and device
CN105210349A (en) Wireless communication quality information processing apparatus and communication system
CN106161595B (en) Industrial Internet-based process control real-time communication method, device and system
US20200301397A1 (en) Wireless communication apparatus that manages process in factory, and process management method
CN105376126A (en) CAN bus gateway, communication method related with the CAN bus gateway, and communication system thereof
US20100030913A1 (en) Communication controlling method for network managing device
CN110768749B (en) Data transmission method and device and power peak shaving system
CN116033585A (en) Data transmission method, device, communication equipment and storage medium
US11803494B2 (en) Data communication method, master device and system
US8521847B2 (en) Network system for reducing probability of collisions between response signals
CN106911581B (en) Transmission method, device and terminal
US10506613B2 (en) Method and rate controlling node for providing data rate for data communication
JP4940796B2 (en) Communication control system
CN107040964B (en) Method and system for limiting association number based on WDS
CN113364876B (en) Equipment data processing system based on narrowband Internet of things
CN112672305B (en) Networking system applied to temperature measurement terminal of high-voltage transmission line
CN113098795A (en) Reserved bandwidth allocation method and device based on dynamic network in high-speed industrial bus communication system
US9584338B2 (en) BUS device and BUS system with consumers, producers, and an allocation feature

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