KR101641502B1 - Apparatus for assaying mvb communication protocol of train - Google Patents

Apparatus for assaying mvb communication protocol of train Download PDF

Info

Publication number
KR101641502B1
KR101641502B1 KR1020140168609A KR20140168609A KR101641502B1 KR 101641502 B1 KR101641502 B1 KR 101641502B1 KR 1020140168609 A KR1020140168609 A KR 1020140168609A KR 20140168609 A KR20140168609 A KR 20140168609A KR 101641502 B1 KR101641502 B1 KR 101641502B1
Authority
KR
South Korea
Prior art keywords
mvb
communication
data
control unit
unit
Prior art date
Application number
KR1020140168609A
Other languages
Korean (ko)
Other versions
KR20160064691A (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 KR1020140168609A priority Critical patent/KR101641502B1/en
Publication of KR20160064691A publication Critical patent/KR20160064691A/en
Application granted granted Critical
Publication of KR101641502B1 publication Critical patent/KR101641502B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • 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/40293Bus for use in transportation systems the transportation system being a train

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Environmental & Geological Engineering (AREA)
  • Train Traffic Observation, Control, And Security (AREA)
  • Small-Scale Networks (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

본 발명은 철도차량의 MVB 통신 프로토콜 분석장치에 관한 것으로, MVB 통신방식으로 연결되는 MVB master와 MVB slave 간의 통신데이터를 절체하여 확인하고자 하는 포트를 정의하고, 해당 포트로 송출되는 데이터의 기능을 파악하고, 각 기능에 대한 정확한 데이터가 송출되는 지를 점검하여 안전성과 효율성을 향상시킨 철도차량의 MVB 통신 프로토콜 분석장치를 제공함에 그 목적이 있다.
본 발명을 적용하면, MVB 통신 데이터를 실시간으로 분석하고 통신 에러 및 데이터 소실 확인을 할 수 있으며, 철도 차량이 정확한 기능을 수행하는 지를 데이터 비교를 통해 모니터링할 수 있고, 확인하는 포트를 정의하여 포트 단위의 분석도 가능하다. 또한, 차량내 통신상태를 분석할 때 비트 단위로 분석할 수 있고, 모니터링시 분석할 필요가 없는 비트는 숨김 기능을 통해 화면에서 제거할 수 있으므로 분석 요원의 편의성이 매우 높고, 차량 안전성이 우수해진다는 장점이 있다.
The present invention relates to an apparatus for analyzing an MVB communication protocol of a railway vehicle, and more particularly, it relates to an apparatus for analyzing an MVB communication protocol of a railway vehicle, which defines a port to be checked by exchanging communication data between the MVB master and MVB slave connected by the MVB communication method, And an apparatus for analyzing the MVB communication protocol of a railway vehicle that improves safety and efficiency by checking whether or not accurate data is transmitted to each function.
According to the present invention, MVB communication data can be analyzed in real time, communication errors and data loss can be checked, and it is possible to monitor whether the railway vehicle performs an accurate function through data comparison, Analysis of units is also possible. In addition, it is possible to analyze in-vehicle communication status in a bit unit, and bits that do not need to be analyzed during monitoring can be removed from the screen by the hidden function, so that the convenience of the analysis staff is high and the vehicle safety is excellent .

Description

철도차량의 MVB 통신 프로토콜 분석장치{APPARATUS FOR ASSAYING MVB COMMUNICATION PROTOCOL OF TRAIN}Technical Field [0001] The present invention relates to an MVB communication protocol analyzing apparatus for a railway vehicle,

본 발명은 철도차량의 MVB 통신 프로토콜 분석장치에 관한 것으로, 보다 상세하게 MVB 통신방식으로 연결되는 MVB master와 MVB slave 간의 통신데이터를 절체하여 확인하고자 하는 포트를 정의하고, 해당 포트로 송출되는 데이터의 기능을 파악하고, 각 기능에 대한 정확한 데이터가 송출되는 지를 점검하여 안전성과 효율성을 향상시킨 철도차량의 MVB 통신 프로토콜 분석장치에 관한 것이다.The present invention relates to an apparatus for analyzing an MVB communication protocol of a railway vehicle, and more particularly, it relates to a device for analyzing communication data between MVB master and MVB slave connected by MVB communication method, The present invention relates to an apparatus for analyzing a MVB communication protocol of a railway vehicle, which can improve safety and efficiency by checking functions and checking whether accurate data is transmitted to each function.

주지된 바와 같이, 최근 전동차에 있어 유럽통신규격인 TCN(Train Communication Network)의 적용이 늘어나고 있는 추세이다. 상기 TCN은 차량 내 통신방식의 MVB(Multifunction Vehicle Bus)통신방식과, 차량과 차량으로 연결되는 WTB(Wired Train Bus)로 구성된다.As is well known, the application of the TCN (Train Communication Network), which is a European communication standard, is increasing in recent electric vehicles. The TCN includes a Multifunction Vehicle Bus (MVB) communication system of an in-vehicle communication system and a Wired Train Bus (WTB) connected to a vehicle and a vehicle.

그 중 MVB통신방식은 차량 내에 여러 장치들과 연결되어 상호 통신한다. 그러므로 각 장치의 제작사가 다르기 때문에 통신데이터 및 물리적 연결에 대하여 제작사끼리 분쟁 또는 인터페이스(interface) 문제가 종종 발생한다.Among them, the MVB communication method is connected with various devices in the vehicle to communicate with each other. Therefore, since the makers of each device are different, disputes or interface problems often arise between manufacturers regarding communication data and physical connection.

이와 관련하여, 종래에는 MVB통신방식에 있어 각 장치의 제작사간 디버깅 포트를 이용하여 상호 데이터를 확인하였고, 오실로스코프를 통해 파형을 분석하여 경험으로 통신데이터의 정상 유무를 판단하였다.In this regard, conventionally, in the MVB communication method, mutual data was verified using a debugging port between the makers of each device, and waveforms were analyzed through an oscilloscope, and it was judged whether or not communication data was normal based on experience.

그러나, MVB통신은 통신속도가 빠르기 때문에, 오실로스코프를 통해 파형을 분석할 경우 정상적으로 통신하는 것처럼 보이지만 하부장치(MVB slave)가 응답하지 못하는 경우가 발생할 수 있다.However, since the communication speed of the MVB communication is fast, when the waveform is analyzed through the oscilloscope, it may appear that communication normally occurs but the MVB slave may not respond.

따라서 이와 같은 종래의 기술에 있어서는 MVB통신에 있어 오실로스코프를 통하여 통신데이터의 정상 여부를 인지하기가 어렵고, 장치의 애플리케이션(Application)에서도 분석되지 않는 결점이 있다. 또한, 분석에 오랜 시간이 소요되므로 열차가 정상적으로 운행 중이거나 정차 중에 통신의 정상 여부를 빠르게 분석하기가 매우 어렵다는 문제가 있었다.Therefore, in such a conventional technique, it is difficult to recognize whether the communication data is normal or not through the oscilloscope in the MVB communication, and there is a drawback that it is not analyzed in the application of the apparatus. In addition, since it takes a long time to analyze, there is a problem that it is very difficult to quickly analyze whether the train is normally operating or not during the stop of the train.

특히, 최근에는 철도 차량을 구성하는 다수의 부품들에 대한 국산화가 활발하게 진행되고 있는 바, 부품의 국산화가 제대로 진행되기 위해서는 효율적인 프로토콜 분석과 통신 기술이 필요하다.Particularly, in recent years, localization of a large number of components constituting a railway vehicle is progressing actively, and efficient protocol analysis and communication technology are required for localization of components.

본 발명은 상기한 종래 기술의 사정을 감안하여 이루어진 것으로, MVB 통신방식으로 연결되는 MVB master와 MVB slave 간의 통신데이터를 절체하여 확인하고자 하는 포트를 정의하고, 해당 포트로 송출되는 데이터의 기능을 파악하고, 각 기능에 대한 정확한 데이터가 송출되는 지를 점검하여 안전성과 효율성을 향상시킨 철도차량의 MVB 통신 프로토콜 분석장치를 제공함에 그 목적이 있다. SUMMARY OF THE INVENTION The present invention has been made in view of the circumstances of the prior art described above, and it is an object of the present invention to define a port to be checked by switching communication data between MVB master and MVB slave connected by MVB communication method, And an apparatus for analyzing the MVB communication protocol of a railway vehicle that improves safety and efficiency by checking whether or not accurate data is transmitted to each function.

상기한 목적을 달성하기 위해, 본 발명의 바람직한 실시예에 따르면 철도차량내에서 MVB 통신방식으로 연결된 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신을 분석하기 위한 철도차량의 MVB 통신 프로토콜 분석장치에 있어서, 상기 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신라인을 절체하여 구성되며, 상기 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신상태를 체크하여 통신상태와 MVB slave(6a,6b..6n)가 수신한 데이터의 이상 유무를 판단하는 MVB 분석 제어부(8)와; 상기 MVB 분석 제어부(8)로부터 통신상태 체크정보 및 수신 데이터를 인가받아 해당 데이터가 의미하는 기능을 판단 및 분석하고, 기저장 MVB 데이터와 비교하고 그 결과를 화면 표시하는 MVB 모니터링부(10)와; 상기 MVB master(4)와 MVB slave(6a,6b..6n) 간에 송출되는 MVB 데이터의 로그파일을 저장하고 상기 MVB 모니터링부(10)에서 확인 가능한 파일의 형태로 변환하는 MVB 로그데이터 관리부(12)를 포함하여 구성된 것을 특징으로 하는 철도차량의 MVB 통신 프로토콜 분석장치가 제공된다.In order to achieve the above object, according to a preferred embodiment of the present invention, there is provided a railway vehicle for analyzing communication between an MVB master (4) and an MVB slave (6a, 6b ... 6n) And MVB slave (6a, 6b, ..., 6n) are connected to each other via communication lines between the MVB master (4) and MVB slaves (6a, 6b ... 6n) ) MVB analysis control unit 8 for checking the communication state and determining whether the data received by the MVB slaves 6a, 6b ... 6n are abnormal; An MVB monitoring unit 10 for receiving communication state check information and reception data from the MVB analysis control unit 8, judging and analyzing a function implied by the data, comparing the data with the stored MVB data, ; An MVB log data management unit 12 for storing a log file of MVB data sent between the MVB master 4 and the MVB slaves 6a and 6b ... 6n and converting the log files into a file format that can be checked by the MVB monitoring unit 10 The MVB communication protocol analysis apparatus of the railway vehicle is provided.

바람직하게, 상기 MVB 모니터링부(10)는 다수의 MVB slave를 포트 단위로 분류하여 정의하는 것을 특징으로 하는 철도차량의 MVB 통신 프로토콜 분석장치가 제공된다.Preferably, the MVB monitoring unit 10 classifies and defines a plurality of MVB slaves on a port basis.

바람직하게, 상기 상기 MVB 분석 제어부(8)는 통신 라인 및 데이터 송수신에 대한 이상 유무를 체크하는 프로그램이 탑재된 Flash Memory(20)와; 상기 Flash Memory(20)에 저장된 MVB 통신 체크용 프로그램의 상주 데이터가 저장된 SRAM(22)과; 상기 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신데이터를 수신받아 상기 MVB 통신 체크용 프로그램을 통해 체크 가능한 데이터로 변환하는 변환부(24)와; 제어부(30)에 의해 제어되고, 상기 변환부(24)로부터 인가된 데이터를 제어부(30)로 인터페이스하는 RS-485 드라이버(26)와; 상기 RS-485 드라이버(26)를 통해 수신된 데이터를 통해 수신된 MVB 통신 데이터를 상기 MVB 통신 체크용 프로그램을 통해 구동시키고 그 정보를 데이터 인터페이스(28)를 통해 외부 기기와 공유하는 제어부(30)를 포함하여 구성된 것을 특징으로 하는 철도차량의 MVB 통신 프로토콜 분석장치가 제공된다.Preferably, the MVB analysis control unit 8 includes a flash memory 20 on which a program for checking communication lines and data transmission / reception abnormality is mounted; An SRAM 22 for storing resident data of an MVB communication check program stored in the flash memory 20; A converting unit (24) for receiving communication data between the MVB master (4) and the MVB slaves (6a, 6b ... 6n) and converting the communication data into data that can be checked through the MVB communication checking program; An RS-485 driver 26 controlled by the control unit 30 and interfacing data applied from the conversion unit 24 to the control unit 30; A controller 30 for driving the MVB communication data received through the RS-485 driver 26 through the MVB communication check program and sharing the information with an external device via the data interface 28, The MVB communication protocol analysis apparatus of the railway vehicle is provided.

바람직하게, 상기 제어부(30)는 MVB 버스와 접속되어 MVB master(4)로부터 수신된 데이터를 필터링하는 제 1필터(32a)와; 상기 제 1필터(32a)를 통해 인가된 데이터를 디코딩하는 제 1 디코더(34a)와; Master 수신 제어부(38)로부터 수신받은 MVB 통신 데이터의 시퀀스를 체크하는 제 1 시퀀스 체크부(36a)와; 상기 제 1 디코더(34a)로부터 수신된 MVB 통신 데이터를 제 1 시퀀스 체크부(36a)로 전송하여 시퀀스 이상 유무를 체크하도록 구동시키는 Master 수신 제어부(38)와; 상기 MVB 버스와 접속되어 MVB slave(6)로부터 수신된 데이터를 필터링하는 제 2필터(32b)와; 상기 제 2필터(32b)를 통해 인가된 데이터를 디코딩하는 제 2 디코더(34b)와; slave 수신 제어부(40)로부터 수신받은 MVB 통신 데이터의 시퀀스를 체크하는 제 2 시퀀스 체크부(36b)와; 상기 제 2 디코더(34b)로부터 수신된 MVB 통신 데이터를 제 2 시퀀스 체크부(36b)로 전송하여 시퀀스 이상 유무를 체크하도록 구동시키는 slave 수신 제어부(40)와; 상기 Master 수신 제어부(38) 및 상기 slave 수신 제어부(40)로부터 MVB 통신 데이터의 송수신 유무 및 통신 에러에 대한 상태를 체크한 정보를 MVB 데이터와 함께 전송받아 외부 장치로 인터페이스하는 패킷 중개 제어부(42)로 이루어진 것을 특징으로 하는 철도차량의 MVB 통신 프로토콜 분석장치가 제공된다.Preferably, the control unit 30 includes a first filter 32a connected to the MVB bus and filtering data received from the MVB master 4; A first decoder 34a for decoding data applied through the first filter 32a; A first sequence check unit 36a for checking a sequence of MVB communication data received from the master reception control unit 38; A master reception control unit 38 for transmitting the MVB communication data received from the first decoder 34a to the first sequence checking unit 36a and driving the first sequence checking unit 36a to check for a sequence abnormality; A second filter (32b) connected to the MVB bus for filtering data received from the MVB slave (6); A second decoder (34b) for decoding data applied through the second filter (32b); a second sequence check unit 36b for checking the sequence of the MVB communication data received from the slave reception control unit 40; A slave reception control unit (40) for transmitting the MVB communication data received from the second decoder (34b) to the second sequence check unit (36b) and driving the MVB communication data to check for a sequence abnormality; A packet relaying control unit 42 for receiving information on the presence / absence of transmission / reception of MVB communication data and the status of communication error from the master reception control unit 38 and the slave reception control unit 40 together with the MVB data, The MVB communication protocol analysis apparatus of the railway vehicle is provided.

바람직하게, 상기 MVB 모니터링부(10)는 MVB 통신 데이터에 대한 비트단위 분석시 분석이 불필요한 비트는 화면에 출력되지 않게 숨김 기능이 더 구비된 것을 특징으로 하는 철도차량의 MVB 통신 프로토콜 분석장치가 제공된다.Preferably, the MVB monitoring unit 10 further includes a function of hiding the bits that are not necessary for analysis in the bit unit analysis of the MVB communication data so that they are not displayed on the screen. do.

본 발명에 따른 철도차량의 MVB 통신 프로토콜 분석장치는 MVB 통신 데이터를 실시간으로 분석하고 통신 에러 및 데이터 소실 확인을 할 수 있으며, 철도 차량이 정확한 기능을 수행하는 지를 데이터 비교를 통해 모니터링할 수 있고, 확인하는 포트를 정의하여 포트 단위의 분석도 가능하다. 또한, 차량내 통신상태를 분석할 때 비트 단위로 분석할 수 있고, 모니터링시 분석할 필요가 없는 비트는 숨김 기능을 통해 화면에서 제거할 수 있으므로 분석 요원의 편의성이 매우 높고, 차량 안전성이 우수해진다는 장점이 있다.The apparatus for analyzing the MVB communication protocol of a railway vehicle according to the present invention can analyze the MVB communication data in real time and can check communication errors and data loss and monitor whether the railway vehicle performs the correct function through data comparison, It is possible to analyze port by port by defining port to check. In addition, it is possible to analyze in-vehicle communication status in a bit unit, and bits that do not need to be analyzed during monitoring can be removed from the screen by the hidden function, so that the convenience of the analysis staff is high and the vehicle safety is excellent .

도 1은 본 발명의 일실시예에 따른 철도차량의 MVB 통신 프로토콜 분석장치의 구성을 도시한 블록구성도,
도 2는 본 발명의 일실시예에 따른 철도차량의 MVB 통신 프로토콜 분석장치에 포함된 MVB 분석 제어부의 구성을 도시한 블록구성도,
도 3은 본 발명의 일실시예에 따른 MVB 분석 제어부의 프로그램 구조를 도시한 블록구성도,
도 4는 본 발명의 일실시예에 따른 철도차량의 MVB 통신 프로토콜 분석장치를 이용한 MVB 통신 분석 결과를 도시한 화면,
도 5는 본 발명의 일실시예에 따른 철도차량의 MVB 통신 프로토콜 분석장치를 통해 재확인 가능한 MVB 통신 로그파일이다.
1 is a block diagram illustrating a configuration of an MVB communication protocol analyzing apparatus for a railway vehicle according to an embodiment of the present invention;
FIG. 2 is a block diagram illustrating a configuration of an MVB analysis control unit included in an apparatus for analyzing an MVB communication protocol of a railway vehicle according to an embodiment of the present invention;
3 is a block diagram illustrating a program structure of an MVB analysis control unit according to an embodiment of the present invention.
FIG. 4 is a view illustrating an MVB communication analysis result using an MVB communication protocol analyzing apparatus of a railway vehicle according to an embodiment of the present invention;
FIG. 5 is an MVB communication log file that can be reconfirmed through an apparatus for analyzing a MVB communication protocol of a railway vehicle according to an embodiment of the present invention.

이하, 본 발명에 대해 도면을 참조하여 상세하게 설명한다.Hereinafter, the present invention will be described in detail with reference to the drawings.

도 1은 본 발명의 일실시예에 따른 철도차량의 MVB 통신 프로토콜 분석장치의 구성을 도시한 블록구성도, 도 2는 본 발명의 일실시예에 따른 철도차량의 MVB 통신 프로토콜 분석장치에 포함된 MVB 분석 제어부의 구성을 도시한 블록구성도, 도 3은 본 발명의 일실시예에 따른 MVB 분석 제어부의 프로그램 구조를 도시한 블록구성도, 도 4는 본 발명의 일실시예에 따른 철도차량의 MVB 통신 프로토콜 분석장치를 이용한 MVB 통신 분석 결과를 도시한 화면, 도 5는 본 발명의 일실시예에 따른 철도차량의 MVB 통신 프로토콜 분석장치를 통해 재확인 가능한 MVB 통신 로그파일이다.FIG. 1 is a block diagram illustrating a configuration of an apparatus for analyzing an MVB communication protocol of a railway vehicle according to an embodiment of the present invention. FIG. 2 is a block diagram of an apparatus for analyzing an MVB communication protocol of a railway vehicle according to an embodiment of the present invention. FIG. 3 is a block diagram illustrating a program structure of an MVB analysis control unit according to an embodiment of the present invention. FIG. 4 is a block diagram illustrating a structure of a MVB analysis control unit according to an embodiment of the present invention. FIG. 5 is a MVB communication log file that can be reconfirmed through an MVB communication protocol analyzing apparatus of a railway vehicle according to an embodiment of the present invention. FIG. 5 is a view showing an MVB communication analysis result using the MVB communication protocol analyzing apparatus.

이를 참조하면, 본 발명의 일실시예에 따른 철도차량의 MVB 통신 프로토콜 분석장치(2)는 MVB 통신방식으로 연결되는 MVB master와 MVB slave 간의 통신데이터를 절체하여 확인하고자 하는 포트를 정의하고, 해당 포트로 송출되는 데이터의 기능을 파악하고, 각 기능에 대한 정확한 데이터가 송출되는 지를 점검하여 안전성과 효율성을 향상시킨 장치이다.The MVB communication protocol analyzing apparatus 2 of the railway vehicle according to an embodiment of the present invention defines ports to be checked by exchanging communication data between the MVB master and the MVB slave connected by the MVB communication method, It is a device that grasps the function of the data transmitted to the port and checks whether accurate data is transmitted to each function, thereby improving safety and efficiency.

먼저, 상기 MVB통신은 열차 통신방식의 국제 표준으로, 열차 내에서 장치와 장치끼리 통신하는 방식이다. MVB통신은 하나의 버스어드민(Bus Admin.)이 다수의 슬레이브(slave) 장치를 폴링(polling)하고 이에 응답하는 구조이다.First, the MVB communication is an international standard for a train communication system, in which devices and devices communicate with each other in a train. MVB communication is a structure in which one bus administrator polls and responds to a plurality of slave devices.

MVB통신속도는 1.5[Mbps]이고, 프레임 사이즈는 16, 32, 64, 128, 256[bit]의 4종류가 있으며, 각 장치마다 포트(port)라는 로지컬 포트(Logical Port)를 할당하여, 싱글(Single), 브로드캐스팅(Broadcasting)하는 통신방식이다. MVB communication speed is 1.5 [Mbps], and frame sizes are 16, 32, 64, 128 and 256 [bit], and a logical port called a port is assigned to each device, (Single), and broadcasting (Broadcasting).

MVB통신의 프로토콜(protocol)은 오픈 프로토콜이다. 상기 포트는 통신의 기본 단위로, 장치마다 한 개 또는 두 개에서 세 개를 할당하며, 이는 통신데이터의 통로이다. 즉 장치들은 서로 정한 포트를 통하여 데이터 통신이 이루어진다.The protocol of MVB communication is open protocol. The port is a basic unit of communication, and allocates one or two to three devices for each device, which is a channel of communication data. That is, the devices communicate with each other through the ports defined by each other.

보다 상세하게, 본 발명의 일실시예에 따른 철도차량의 MVB 통신 프로토콜 분석장치(2)는 철도차량내에서 MVB 통신방식으로 연결된 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신을 분석하기 위한 철도차량의 MVB 통신 프로토콜 분석장치로서, MVB 분석 제어부(8)와, MVB 모니터링부(10) 및, MVB 로그데이터 관리부(12)를 포함하여 구성된다.More specifically, an apparatus 2 for analyzing a MVB communication protocol of a railway vehicle according to an embodiment of the present invention includes an MVB master 4 and an MVB slave 6a, 6b ... 6n The MVB communication protocol analyzing apparatus of the railway vehicle for analyzing communication includes an MVB analysis control unit 8, an MVB monitoring unit 10, and an MVB log data management unit 12.

상기 MVB 분석 제어부(8)는 상기 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신라인을 절체하여 구성되며, 상기 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신상태를 체크하여 통신상태와 MVB slave(6a,6b..6n)가 수신한 데이터의 이상 유무를 판단하는 기능을 수행하는 구성이다.The MVB analysis control unit 8 is configured by switching communication lines between the MVB master 4 and the MVB slaves 6a 6b 6n and the MVB master 4 and the MVB slaves 6a 6b 6n ) To check the communication status and the data received by the MVB slave (6a, 6b ... 6n).

상기 MVB 모니터링부(10)는 상기 MVB 분석 제어부(8)로부터 통신상태 체크정보 및 수신 데이터를 인가받아 해당 데이터가 의미하는 기능을 판단 및 분석하고, 기저장 MVB 데이터와 비교하고 그 결과를 화면 표시하는 기능을 수행한다.The MVB monitoring unit 10 receives the communication state check information and the reception data from the MVB analysis control unit 8, determines and analyzes the functions of the corresponding data, compares the received data with the stored MVB data, .

상기 MVB 로그데이터 관리부(12)는 상기 MVB master(4)와 MVB slave(6a,6b..6n) 간에 송출되는 MVB 데이터의 로그파일을 저장하고 상기 MVB 모니터링부(10)에서 확인 가능한 파일의 형태로 변환하는 기능을 수행하는 구성이다.The MVB log data management unit 12 stores a log file of MVB data transmitted between the MVB master 4 and the MVB slaves 6a and 6b .. 6n, To the < / RTI >

이때, 상기 MVB 분석 제어부(8)는 상기 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신라인을 EMD(Electrical Meduim Distance)로 결합한다.At this time, the MVB analysis control unit 8 combines the communication lines between the MVB master 4 and the MVB slaves 6a, 6b ... 6n into an EMD (Electrical Mediim Distance).

또한, 상기 MVB 모니터링부(10)는 다수의 MVB slave를 포트 단위로 분류하여 정의한다. 따라서, 상기 MVB 모니터링부(10)는 포트 단위의 MVB 통신 분석도 가능하다.Also, the MVB monitoring unit 10 classifies and defines a plurality of MVB slaves on a port basis. Therefore, the MVB monitoring unit 10 can also perform MVB communication analysis on a per port basis.

도 2를 참조하면, 상기 MVB 분석 제어부(8)는 통신 라인 및 데이터 송수신에 대한 이상 유무를 체크하는 프로그램이 탑재된 Flash Memory(20)와; 상기 Flash Memory(20)에 저장된 MVB 통신 체크용 프로그램의 상주 데이터가 저장된 SRAM(22)과; 상기 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신데이터를 수신받아 상기 MVB 통신 체크용 프로그램을 통해 체크 가능한 데이터로 변환하는 변환부(24)와; 제어부(30)에 의해 제어되고, 상기 변환부(24)로부터 인가된 데이터를 제어부(30)로 인터페이스하는 RS-485 드라이버(26)와; 상기 RS-485 드라이버(26)를 통해 수신된 데이터를 통해 수신된 MVB 통신 데이터를 상기 MVB 통신 체크용 프로그램을 통해 구동시키고 그 정보를 데이터 인터페이스(28)를 통해 외부 기기와 공유하는 제어부(30)를 포함하여 구성된다.Referring to FIG. 2, the MVB analysis control unit 8 includes a flash memory 20 having a communication line and a program for checking whether there is an abnormality in data transmission / reception; An SRAM 22 for storing resident data of an MVB communication check program stored in the flash memory 20; A converting unit (24) for receiving communication data between the MVB master (4) and the MVB slaves (6a, 6b ... 6n) and converting the communication data into data that can be checked through the MVB communication checking program; An RS-485 driver 26 controlled by the control unit 30 and interfacing data applied from the conversion unit 24 to the control unit 30; A controller 30 for driving the MVB communication data received through the RS-485 driver 26 through the MVB communication check program and sharing the information with an external device via the data interface 28, .

한편, 도 3을 참조하면, 상기 제어부(30)는 MVB master와 MVB slave의 통신 데이터를 분석하고 모니터링 가능하게 추출하여 상기 MVB 모니터링부(10)로 인터페이스하는 기능을 수행하는 바, MVB master와 MVB slave의 통신 데이터를 각각 별도로 수신한다.Referring to FIG. 3, the controller 30 analyzes communication data of the MVB master and the MVB slave and extracts the communication data so that the communication data can be monitored and interfaces with the MVB monitoring unit 10. The MVB master and the MVB slave communication data separately.

이를 위해, 상기 제어부(30)는 MVB 버스와 접속되어 MVB master(4)로부터 수신된 데이터를 필터링하는 제 1필터(32a)와; 상기 제 1필터(32a)를 통해 인가된 데이터를 디코딩하는 제 1 디코더(34a)와; Master 수신 제어부(38)로부터 수신받은 MVB 통신 데이터의 시퀀스를 체크하는 제 1 시퀀스 체크부(36a)와; 상기 제 1 디코더(34a)로부터 수신된 MVB 통신 데이터를 제 1 시퀀스 체크부(36a)로 전송하여 시퀀스 이상 유무를 체크하도록 구동시키는 Master 수신 제어부(38)가 포함되어져 있다.To this end, the control unit 30 includes a first filter 32a connected to the MVB bus and filtering data received from the MVB master 4; A first decoder 34a for decoding data applied through the first filter 32a; A first sequence check unit 36a for checking a sequence of MVB communication data received from the master reception control unit 38; And a master reception control unit 38 for transmitting the MVB communication data received from the first decoder 34a to the first sequence checking unit 36a and driving the first sequence checking unit 36a to check for the presence of a sequence abnormality.

또한, 상기 제어부(30)는 상기 MVB 버스와 접속되어 MVB slave(6)로부터 수신된 데이터를 필터링하는 제 2필터(32b)와; 상기 제 2필터(32b)를 통해 인가된 데이터를 디코딩하는 제 2 디코더(34b)와; slave 수신 제어부(40)로부터 수신받은 MVB 통신 데이터의 시퀀스를 체크하는 제 2 시퀀스 체크부(36b)와; 상기 제 2 디코더(34b)로부터 수신된 MVB 통신 데이터를 제 2 시퀀스 체크부(36b)로 전송하여 시퀀스 이상 유무를 체크하도록 구동시키는 slave 수신 제어부(40)와; 상기 Master 수신 제어부(38) 및 상기 slave 수신 제어부(40)로부터 MVB 통신 데이터의 송수신 유무 및 통신 에러에 대한 상태를 체크한 정보를 MVB 데이터와 함께 전송받아 외부 장치로 인터페이스하는 패킷 중개 제어부(42)가 포함되어져 구성된다.In addition, the control unit 30 includes a second filter 32b connected to the MVB bus and filtering data received from the MVB slave 6; A second decoder (34b) for decoding data applied through the second filter (32b); a second sequence check unit 36b for checking the sequence of the MVB communication data received from the slave reception control unit 40; A slave reception control unit (40) for transmitting the MVB communication data received from the second decoder (34b) to the second sequence check unit (36b) and driving the MVB communication data to check for a sequence abnormality; A packet relaying control unit 42 for receiving information on the presence / absence of transmission / reception of MVB communication data and the status of communication error from the master reception control unit 38 and the slave reception control unit 40 together with the MVB data, .

또한, 상기 MVB 모니터링부(10)는 MVB 통신 데이터에 대한 비트단위 분석시 분석이 불필요한 비트는 화면에 출력되지 않게 숨김 기능이 더 구비되어져 있다.In addition, the MVB monitoring unit 10 further includes a function of hiding the bits that are not required to be analyzed in the bit-by-bit analysis of the MVB communication data so as not to be displayed on the screen.

따라서, 본 발명의 실시예에 따른 철도차량의 MVB 통신 프로토콜 분석장치(2)는 MVB 통신 데이터를 실시간으로 분석하고 통신 에러 및 데이터 소실 확인을 할 수 있으며, 철도 차량이 정확한 기능을 수행하는 지를 데이터 비교를 통해 모니터링할 수 있고, 확인하는 포트를 정의하여 포트 단위의 분석도 가능하다.Therefore, the MVB communication protocol analyzing apparatus 2 of the railway vehicle according to the embodiment of the present invention can analyze the MVB communication data in real time, check communication errors and data loss, check whether the railway vehicle performs the correct function, It can be monitored through comparison, and it is possible to analyze port by port by defining port to check.

또한, 차량내 통신상태를 분석할 때 비트 단위로 분석할 수 있고, 모니터링시 분석할 필요가 없는 비트는 숨김 기능을 통해 화면에서 제거할 수 있다.In addition, when analyzing communication state in the vehicle, it is possible to analyze in a bit unit, and bits that need not be analyzed at the time of monitoring can be removed from the screen by the hidden function.

한편, 본 발명의 실시예에 따른 철도차량의 MVB 통신 프로토콜 분석장치는 단지 상기한 실시예에 한정되는 것이 아니라 그 기술적 요지를 이탈하지 않는 범위내에서 다양한 변경이 가능하다.Meanwhile, the apparatus for analyzing the MVB communication protocol of a railway vehicle according to an embodiment of the present invention is not limited to the above-described embodiments, and various modifications may be made without departing from the technical gist of the present invention.

4:MVB master, 6:MVB slave,
8:MVB 분석 제어부, 10:MVB 모니터링부,
12:MVB 로그데이터 관리부, 26:RS-485 드라이버,
28:데이터 인터페이스부, 30:제어부,
36a,36b:제1,2 시퀀스 체크부, 38:Master 수신제어부,
40:Slave 수신제어부, 42:패킷 중개제어부.
4: MVB master, 6: MVB slave,
8: MVB analysis control unit, 10: MVB monitoring unit,
12: MVB log data management unit, 26: RS-485 driver,
28: data interface unit, 30: control unit,
36a and 36b: first and second sequence checking units, 38: Master receiving control unit,
40: Slave reception control unit, 42: Packet relaying control unit.

Claims (5)

철도차량내에서 MVB 통신방식으로 연결된 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신을 분석하기 위한 철도차량의 MVB 통신 프로토콜 분석장치에 있어서,
상기 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신라인을 절체하여 구성되며, 상기 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신상태를 체크하여 통신상태와 MVB slave(6a,6b..6n)가 수신한 데이터의 이상 유무를 판단하는 MVB 분석 제어부(8)와;
상기 MVB 분석 제어부(8)로부터 통신상태 체크정보 및 수신 데이터를 인가받아 해당 데이터가 의미하는 기능을 판단 및 분석하고, 기저장 MVB 데이터와 비교하고 그 결과를 화면 표시하는 MVB 모니터링부(10)와;
상기 MVB master(4)와 MVB slave(6a,6b..6n) 간에 송출되는 MVB 데이터의 로그파일을 저장하고 상기 MVB 모니터링부(10)에서 확인 가능한 파일의 형태로 변환하는 MVB 로그데이터 관리부(12)를 포함하여 구성되고;
상기 MVB 분석 제어부(8)는 통신 라인 및 데이터 송수신에 대한 이상 유무를 체크하는 프로그램이 탑재된 Flash Memory(20)와; 상기 Flash Memory(20)에 저장된 MVB 통신 체크용 프로그램의 상주 데이터가 저장된 SRAM(22)과; 상기 MVB master(4)와 MVB slave(6a,6b..6n) 간 통신데이터를 수신받아 상기 MVB 통신 체크용 프로그램을 통해 체크 가능한 데이터로 변환하는 변환부(24)와; 제어부(30)에 의해 제어되고, 상기 변환부(24)로부터 인가된 데이터를 제어부(30)로 인터페이스하는 RS-485 드라이버(26)와; 상기 RS-485 드라이버(26)를 통해 수신된 데이터를 통해 수신된 MVB 통신 데이터를 상기 MVB 통신 체크용 프로그램을 통해 구동시키고 그 정보를 데이터 인터페이스(28)를 통해 외부 기기와 공유하는 제어부(30)를 포함하여 구성되며;
상기 제어부(30)는 MVB 버스와 접속되어 MVB master(4)로부터 수신된 데이터를 필터링하는 제 1필터(32a)와; 상기 제 1필터(32a)를 통해 인가된 데이터를 디코딩하는 제 1 디코더(34a)와; Master 수신 제어부(38)로부터 수신받은 MVB 통신 데이터의 시퀀스를 체크하는 제 1 시퀀스 체크부(36a)와; 상기 제 1 디코더(34a)로부터 수신된 MVB 통신 데이터를 제 1 시퀀스 체크부(36a)로 전송하여 시퀀스 이상 유무를 체크하도록 구동시키는 Master 수신 제어부(38)와; 상기 MVB 버스와 접속되어 MVB slave(6)로부터 수신된 데이터를 필터링하는 제 2필터(32b)와; 상기 제 2필터(32b)를 통해 인가된 데이터를 디코딩하는 제 2 디코더(34b)와; slave 수신 제어부(40)로부터 수신받은 MVB 통신 데이터의 시퀀스를 체크하는 제 2 시퀀스 체크부(36b)와; 상기 제 2 디코더(34b)로부터 수신된 MVB 통신 데이터를 제 2 시퀀스 체크부(36b)로 전송하여 시퀀스 이상 유무를 체크하도록 구동시키는 slave 수신 제어부(40)와; 상기 Master 수신 제어부(38) 및 상기 slave 수신 제어부(40)로부터 MVB 통신 데이터의 송수신 유무 및 통신 에러에 대한 상태를 체크한 정보를 MVB 데이터와 함께 전송받아 외부 장치로 인터페이스하는 패킷 중개 제어부(42)로 이루어진 것을 특징으로 하는 철도차량의 MVB 통신 프로토콜 분석장치.
1. An MVB communication protocol analyzing apparatus for analyzing communication between a MVB master (4) and an MVB slave (6a, 6b ... 6n) connected by a MVB communication system in a railroad car,
A communication line between the MVB master 4 and the MVB slaves 6a 6b 6n is switched to check the communication state between the MVB master 4 and the MVB slaves 6a 6b 6n, An MVB analysis control unit 8 for determining whether there is an abnormality in data received by the MVB slaves 6a, 6b ... 6n;
An MVB monitoring unit 10 for receiving communication state check information and reception data from the MVB analysis control unit 8, judging and analyzing a function implied by the data, comparing the data with the stored MVB data, ;
An MVB log data management unit 12 for storing a log file of MVB data sent between the MVB master 4 and the MVB slaves 6a and 6b ... 6n and converting the log files into a file format that can be checked by the MVB monitoring unit 10 ≪ / RTI >
The MVB analysis control unit 8 includes a flash memory 20 having a communication line and a program for checking whether there is an abnormality in data transmission / reception; An SRAM 22 for storing resident data of an MVB communication check program stored in the flash memory 20; A converting unit (24) for receiving communication data between the MVB master (4) and the MVB slaves (6a, 6b ... 6n) and converting the communication data into data that can be checked through the MVB communication checking program; An RS-485 driver 26 controlled by the control unit 30 and interfacing data applied from the conversion unit 24 to the control unit 30; A controller 30 for driving the MVB communication data received through the RS-485 driver 26 through the MVB communication check program and sharing the information with an external device via the data interface 28, ≪ / RTI >
The control unit 30 includes a first filter 32a connected to the MVB bus and filtering data received from the MVB master 4; A first decoder 34a for decoding data applied through the first filter 32a; A first sequence check unit 36a for checking a sequence of MVB communication data received from the master reception control unit 38; A master reception control unit 38 for transmitting the MVB communication data received from the first decoder 34a to the first sequence checking unit 36a and driving the first sequence checking unit 36a to check for a sequence abnormality; A second filter (32b) connected to the MVB bus for filtering data received from the MVB slave (6); A second decoder (34b) for decoding data applied through the second filter (32b); a second sequence check unit 36b for checking the sequence of the MVB communication data received from the slave reception control unit 40; A slave reception control unit (40) for transmitting the MVB communication data received from the second decoder (34b) to the second sequence check unit (36b) and driving the MVB communication data to check for a sequence abnormality; A packet relaying control unit 42 for receiving information on the presence / absence of transmission / reception of MVB communication data and the status of communication error from the master reception control unit 38 and the slave reception control unit 40 together with the MVB data, And an MVB communication protocol analyzing unit for analyzing the MVB communication protocol of the railway vehicle.
제 1항에 있어서,
상기 MVB 모니터링부(10)는 다수의 MVB slave를 포트 단위로 분류하여 정의하는 것을 특징으로 하는 철도차량의 MVB 통신 프로토콜 분석장치.
The method according to claim 1,
Wherein the MVB monitoring unit 10 classifies and defines a plurality of MVB slaves on a port basis.
삭제delete 삭제delete 제 1항에 있어서,
상기 MVB 모니터링부(10)는 MVB 통신 데이터에 대한 비트단위 분석시 분석이 불필요한 비트는 화면에 출력되지 않게 숨김 기능이 더 구비된 것을 특징으로 하는 철도차량의 MVB 통신 프로토콜 분석장치.
The method according to claim 1,
Wherein the MVB monitoring unit (10) further comprises a function of hiding the bits that are not analyzed in the bit unit analysis of the MVB communication data so as not to be displayed on the screen.
KR1020140168609A 2014-11-28 2014-11-28 Apparatus for assaying mvb communication protocol of train KR101641502B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140168609A KR101641502B1 (en) 2014-11-28 2014-11-28 Apparatus for assaying mvb communication protocol of train

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140168609A KR101641502B1 (en) 2014-11-28 2014-11-28 Apparatus for assaying mvb communication protocol of train

Publications (2)

Publication Number Publication Date
KR20160064691A KR20160064691A (en) 2016-06-08
KR101641502B1 true KR101641502B1 (en) 2016-07-21

Family

ID=56193669

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140168609A KR101641502B1 (en) 2014-11-28 2014-11-28 Apparatus for assaying mvb communication protocol of train

Country Status (1)

Country Link
KR (1) KR101641502B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360051A (en) * 2016-09-30 2017-11-17 成都科来软件有限公司 A kind of method and device for controlling a variety of different network protocol analysis switches
KR102411945B1 (en) 2021-10-27 2022-06-23 한국철도기술연구원 Real-time current car debugging and simulation system for railway vehile

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101713966B1 (en) * 2016-10-31 2017-03-10 한국철도기술연구원 Communication diagnostic device of train control apparatus
KR101895761B1 (en) * 2017-01-05 2018-09-05 (주)앤츠 Apparatus for analyzing mvb communication data
CN107231280A (en) * 2017-06-22 2017-10-03 中车信息技术有限公司 A kind of method and device of the circuit redundancy switching of MVB network card
KR102138143B1 (en) * 2018-04-04 2020-07-27 (주)앤츠 Method for analyzing protocol and automatic train protection display using the same
CN110768814B (en) * 2018-07-26 2022-08-19 中车株洲电力机车研究所有限公司 Communication port fault detection method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100766824B1 (en) * 2006-09-27 2007-10-17 에이스콘트롤(주) Do multi-function communication control device for control railroad electrical system
KR101303042B1 (en) * 2013-01-17 2013-09-03 대아티아이 (주) Integrated maintenance system of raillway signaling equipment and its operation method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100938209B1 (en) * 2008-03-12 2010-01-22 현대로템 주식회사 Apparatus for assaying mvb communication of train

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100766824B1 (en) * 2006-09-27 2007-10-17 에이스콘트롤(주) Do multi-function communication control device for control railroad electrical system
KR101303042B1 (en) * 2013-01-17 2013-09-03 대아티아이 (주) Integrated maintenance system of raillway signaling equipment and its operation method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360051A (en) * 2016-09-30 2017-11-17 成都科来软件有限公司 A kind of method and device for controlling a variety of different network protocol analysis switches
KR102411945B1 (en) 2021-10-27 2022-06-23 한국철도기술연구원 Real-time current car debugging and simulation system for railway vehile

Also Published As

Publication number Publication date
KR20160064691A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
KR101641502B1 (en) Apparatus for assaying mvb communication protocol of train
US10986008B2 (en) Abnormality detection in an on-board network system
CN105745871B (en) Vehicle having an ethernet bus system and method for operating such a bus system
KR101472896B1 (en) Method and apparatus for enhancing security in in-vehicle communication network
US11296965B2 (en) Abnormality detection in an on-board network system
US20200274731A1 (en) Monitoring controller area network (can) nodes
CN105700510B (en) The disperse errors detection method and CAN communication system of CAN communication system
EP3827364B1 (en) Message source detection in a vehicle bus system
CN106341294B (en) Portable MVB protocol analysis equipment and MVB data processing method
US20150228130A1 (en) Data recording device for a vehicle network
KR20140143504A (en) ECU Multiple Diagnostic System and Method on Vehicle Network
US10838906B1 (en) Communication between transceiver and microcontroller
US20140086242A1 (en) Device for transmitting signals from a vehicle
US20170070320A1 (en) Compliance test apparatus and method for a communication node
US9043044B2 (en) System and method for communicating data in a consist
US9787542B2 (en) Train-information management device and train-information management method
US11283646B2 (en) Monitoring local interconnect network (LIN) nodes
CN105612734A (en) Adaptation device for bus system, and method for operating CAN subscriber station and CAN-FD subscriber station in bus system
CN105007197A (en) Method and device for monitoring communication state of MVB bus
Nishimura et al. Implementation of the CAN-FD protocol in the fuzzing tool beSTORM
CN103888323A (en) Ethernet equipment first-operation behavior consistency testing method and device
US10397380B2 (en) Network device for computer network and method for transmitting data with network device
US8700237B1 (en) System and method for communicating critical and noncritical data in a consist
CN103257648A (en) Automobile calibration system
RU185710U1 (en) ANALOGUE CONTROL MODULE

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
FPAY Annual fee payment

Payment date: 20190110

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20200115

Year of fee payment: 5