WO2017084426A1 - 动车组mpu离线变量监控系统及方法 - Google Patents

动车组mpu离线变量监控系统及方法 Download PDF

Info

Publication number
WO2017084426A1
WO2017084426A1 PCT/CN2016/099188 CN2016099188W WO2017084426A1 WO 2017084426 A1 WO2017084426 A1 WO 2017084426A1 CN 2016099188 W CN2016099188 W CN 2016099188W WO 2017084426 A1 WO2017084426 A1 WO 2017084426A1
Authority
WO
WIPO (PCT)
Prior art keywords
mode
operating system
main control
thread
control unit
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2016/099188
Other languages
English (en)
French (fr)
Inventor
王凯
郑恒亮
田均强
樊会星
高会永
王韶力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRRC Qingdao Sifang Rolling Stock Research Institute Co Ltd
Original Assignee
CRRC Qingdao Sifang Rolling Stock Research Institute Co Ltd
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 CRRC Qingdao Sifang Rolling Stock Research Institute Co Ltd filed Critical CRRC Qingdao Sifang Rolling Stock Research Institute Co Ltd
Priority to JP2017538670A priority Critical patent/JP6348671B2/ja
Priority to RU2017126054A priority patent/RU2657549C1/ru
Priority to EP16865604.9A priority patent/EP3214518B1/en
Priority to US15/539,975 priority patent/US10189489B2/en
Publication of WO2017084426A1 publication Critical patent/WO2017084426A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61CLOCOMOTIVES; MOTOR RAILCARS
    • B61C3/00Electric locomotives or railcars
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or train for signalling purposes
    • B61L15/0072On-board train data handling
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or train for signalling purposes
    • B61L15/0081On-board diagnosis or maintenance
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/15Plc structure of the system
    • G05B2219/15073Interface card, module has own power supply independent from pc
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Definitions

  • the invention relates to a monitoring method, in particular to an EMU offline variable monitoring system and method.
  • the CRH5 central control unit MPU is the core component of the EMU control.
  • the control logic of each subsystem runs in the central control unit MPU. If unexpected changes occur in the more critical logic control variables during operation, the control logic of the EMU will be confused and the fault will be triggered.
  • the EMU needs to run at a reduced speed or stop. Therefore, the monitoring of the control variables is the EMU. An important means of troubleshooting.
  • the existing CRH5 vehicle central control unit adopts the central control unit MPU monitoring software Serlink developed by Alstom.
  • the usage method is as follows:
  • the MAP file described in the Serlink software is a document file corresponding to the logical control variable name and the logical control variable address, and the MAP file is displayed in the Serlink software in the first line to display the variable name, and the second line is displayed as the current variable name.
  • the address of the corresponding variable when the serial port communicates with the central control unit MPU, sends the monitored logical control variable address to the central control unit MPU.
  • the central control unit MPU returns data, the logical control variable address corresponds to the corresponding logical control variable name. .
  • the Serlink software has the following problems in monitoring the logical control variables of the central control unit MPU of the CRH5 vehicle:
  • the configuration is not flexible.
  • the way to trigger data logging is only when the monitored logic control variable has a change. Data cannot meet the monitoring needs in a complex and complex environment;
  • the object of the present invention is to provide an EMU offline variable monitoring system and method for the EMU, which can realize continuous offline monitoring of logical control variables, and improve the reliability and flexibility of offline variable monitoring.
  • the present invention discloses an EMU offline variable monitoring system for an EMU, which includes a main control unit, a serial port unit, an Ethernet interface, a TF card interface and a status indicator, a serial port unit, an Ethernet interface,
  • the TF card interface and status indicator are electrically connected to the main control unit.
  • the serial port unit includes 4 serial ports, and the 4 serial ports are respectively connected with the MMU central control unit MPU, that is, each MMU central control unit MPU passes through one serial port.
  • the main control unit Connected to the main control unit; the main control unit is connected to the PC through the Ethernet interface, and the PC has a configuration software corresponding to the monitoring system; the main control unit is connected to the TF expansion card through the TF card interface, and the MAP is stored in the TF expansion card.
  • the file and configuration file, the main control unit records the monitored offline variable value in the TF expansion card.
  • the invention also discloses a monitoring method based on the above monitoring system, which comprises three working modes: a configuration mode, a working mode and a download mode, and the three working modes adopt a TCP/IP communication thread, a main control thread, and a serial data listening thread.
  • the thread runs the system to realize the monitoring of the offline variable of the EMU of the EMU.
  • the specific monitoring methods are as follows:
  • step 4 Start the TCP/IP communication thread to determine whether the operating system is currently entering the configuration mode or the download mode. If the configuration mode or the download mode is entered, the configuration file is downloaded or the offline variable value is downloaded; if the configuration mode is not entered and the download mode is not entered, Return to step 4);
  • step 5 Start the main control thread, obtain the current operating mode of the operating system, and determine whether the current operating system enters the working mode. If the current operating system is not in the working mode, return to step 5); if the current operating system is in the working mode, read the configuration. File, load MAP file and offline variable monitoring table, and set sampling conditions for offline variables;
  • step 6 judging whether the sampling condition is currently satisfied, if the sampling condition is met, sending a sampling instruction, if the sampling condition is not satisfied, the thread enters the sleep program, and returns to step 6);
  • the serial data queue is read to determine whether the currently collected offline variable value satisfies the data recording trigger condition. If the trigger condition is met, the offline variable value is written into the TF expansion card, if not If the trigger condition is met, return to step 6).
  • the monitoring system of the invention is installed in the electric car electrical cabinet. During the train operation, only the corresponding interface of the monitoring system needs to be connected with the PC and the TF expansion card, and the logic control variable can be monitored without opening the electrical cabinet;
  • the recording mode of the monitoring data can be flexibly configured, and the sampling time, the sampling time period, and the data recording trigger condition of the offline variable can be customized.
  • the monitoring device can realize the monitoring operation of the logic control variable for a long time, and the monitored offline variable value is stored in the TF expansion card, and the analysis data can be downloaded as needed;
  • FIG. 1 is a schematic structural view of a monitoring system of the present invention.
  • FIG. 2 is a flow chart of a monitoring method of the present invention.
  • the present invention discloses an EMU offline variable monitoring system for an EMU, which is installed in an electric car electrical cabinet.
  • the monitoring system includes a main control unit, a serial port unit, an Ethernet interface, a TF card interface, and a status indicator, wherein the serial port
  • the unit, the Ethernet interface, the TF card interface and the status indicator are all electrically connected to the main control unit, and the serial port unit adopts a multi-channel serial conversion module.
  • 4 serial ports 4 serial ports are respectively connected with the 4-way EMU central control unit MPU, which can specifically read the variable data inside the MMU central control unit of each EMU.
  • each EMU central control unit can be set.
  • the value of the acquisition variable of the MPU that is, the variable value collected by the central control unit MPU of each EMU can be different; the Ethernet interface and the TF card interface are all set at the rear end of the electric car electrical cabinet, and the main control unit is connected to the PC through the Ethernet interface.
  • the PC has a configuration software corresponding to the monitoring system. When the train is running, the logic control variables can be monitored without opening the electrical cabinet.
  • the main control unit is connected to the TF expansion card through the TF card interface.
  • the TF expansion card stores the MAP file and the configuration file, and records the monitored offline variable value in the TF expansion card to implement the download and storage of the logical control variable.
  • the main control unit adopts STM32F407 chip, which has high-performance embedded processor of Cortex-M4 core.
  • the main control unit runs FreeRTOS real-time operating system, which can provide multi-thread running environment.
  • the running thread in the main control unit includes the main control thread.
  • Serial data listening thread TCP/IP communication thread.
  • the multi-thread of the main control unit communicates with the queue through the semaphore, wherein the semaphore refers to a data type of multi-thread synchronization, and the queue refers to the data type of the first-in first-out.
  • the EMU offline variable monitoring system of the present invention when the EMU offline variable monitoring system of the present invention is working, the four serial ports need to be respectively connected with the central control unit MPU of the 4-way EMU, and the Ethernet port is connected to the PC through the Ethernet line, and the main control is performed.
  • the configuration mode, working mode and download mode are completed in order to realize offline monitoring of the MCU logic control variables of the EMU.
  • the specific process is as follows:
  • Initialization includes setting the clock frequency of the main control unit, initializing the serial port unit, initializing the Ethernet interface, and initializing the TF card interface.
  • the operating system determines whether the operating system enters the download mode. If the operating system enters the download mode, the operating system downloads the monitored offline variable value, and notifies the current mode state of the master thread; if the operating system does not Enter the download mode, then return to step 4).
  • step 4 when the operating system enters an arbitrary operation mode, the current mode state of the main control thread needs to be notified in real time, and the main control thread is used to configure the running state of each operation mode.
  • step 4 it is determined whether there is configuration software access within 30s as a criterion for judging whether to enter the configuration mode. If the operating system is configured to access the operating system within 30 seconds, the operating system enters the configuration mode and delivers the configuration file.
  • step 5 Start the main control thread, obtain the current operating mode of the operating system, and determine whether the current operating system enters the working mode. If the current operating system is not in the working mode, return to step 5); if the current operating system is in the working mode, read the configuration. File, load MAP file and offline variable monitoring table, and set sampling conditions for offline variables.
  • the operating system master thread obtains the current running mode in real time, and the running mode includes the working mode, the configuration mode, and the download mode. If the current operating system is in the configuration mode or the download mode, the operating system performs file configuration or file downloading; If the current operating system is not in configuration mode and is not in download mode, the operating system enters the working mode.
  • the file type to be read includes a configuration file, a loading MAP file, and an offline variable monitoring table.
  • the configuration file and the MAP file are stored in the TF expansion card, and the configuration file includes the MAP file name, the offline monitoring variable table name, the data recording trigger condition, and the sampling condition.
  • the MAP file refers to the MAP conversion file of the EMU central control unit MPU corresponding to the serial port unit, and the MAP conversion file includes the logical control variable name and the logical control variable address.
  • the offline variable monitoring table contains only the variables to be monitored, which is a subset of the MAP file.
  • the sampling conditions include setting the sampling time and sampling period of the offline variable.
  • step 6 judging whether the current offline variable monitoring time satisfies the sampling condition. If the current offline variable monitoring time satisfies the sampling condition, the main control unit sends a sampling instruction to the EMU central control unit MPU through the serial port unit, and if the sampling condition is not satisfied, the thread Go to the hibernation program and return to step 6).
  • step 7 in the process of judging whether the sampling condition is satisfied, it is determined whether the current offline variable monitoring time sequentially satisfies the sampling time and the sampling time period, and if both are satisfied, the process proceeds to step 7).
  • the serial port data listening thread queries the offline variable value in each serial port unit in real time. If there is an offline variable value, the collected offline variable value is read and stored in the corresponding serial data queue.
  • the main control thread If the serial data listening thread receives the sampling instruction sent by the main control unit, the main control thread reads the serial data queue, and determines whether the currently collected offline variable value satisfies the data recording trigger condition, and if the trigger condition is met, the The offline variable value is written to the TF expansion card. If the trigger condition is not met, return to step 6) to re-determine the sampling condition.
  • the main control unit is operated by multi-threading, by creating The TCP/IP communication thread, the main control thread, and the serial data listening thread complete the configuration mode, the working mode, and the download mode in sequence.
  • the configuration file and the MAP file stored in the TF expansion card are read by the power-on startup to complete the system configuration task, and the central control unit and the multi-channel EMU central control are performed every specified sampling time and sampling time period within a specified time.
  • the unit MPU performs communication to monitor the offline variable value of the multi-channel EMU central control unit MPU.
  • the EMU offline variable monitoring system of the present invention can simultaneously monitor the 4-way EMU central control unit MPU and monitor the offline variable value. Recorded on the TF expansion card for download and analysis.
  • the multi-serial port is used to communicate with the multi-channel EMU central control unit MPU, which can balance the data occupation time between each serial port and ensure the MPU data of the central control unit of each EMU. Responses can be processed accurately and in a timely manner.

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transportation (AREA)
  • General Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Multimedia (AREA)
  • Train Traffic Observation, Control, And Security (AREA)
  • Debugging And Monitoring (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)
  • Selective Calling Equipment (AREA)

Abstract

一种动车组MPU离线变量监控系统及方法,该监控系统包括主控单元、串口单元、以太网接口、TF卡接口和状态指示灯,串口单元、以太网接口、TF卡接口和状态指示灯均与主控单元电连接,主控单元通过以太网接口和TF卡接口与PC机和TF扩展卡连接,将监控到的离线变量值记录在TF扩展卡中。该监控方法包括配置模式、工作模式和下载模式三种工作模式,通过采用TCP/IP通信线程、主控线程、串口数据监听线程的多线程运行系统,实现对动车组MPU离线变量的连续长时间监控作业,且可灵活配置监控数据的记录方式,最多可实现4路动车组中央控制单元MPU的逻辑控制变量的监控作业。

Description

动车组MPU离线变量监控系统及方法 技术领域
本发明涉及一种监控方法,具体的说,涉及一种动车组MPU离线变量监控系统及方法。
背景技术
CRH5型车中央控制单元MPU,为动车组控制核心部件,各类子系统的控制逻辑运行在中央控制单元MPU中。如果在运行过程中,其中较为关键的逻辑控制变量发生意料之外的变化,会导致动车组控制逻辑混乱,触发故障,动车组需要降速运行或停车检查,因此对控制变量的监控是动车组问题排查的一项重要的手段。
现有的CRH5型车中控单元采用的是由阿尔斯通公司研发的中央控制单元MPU监控软件Serlink,其使用方法为:
1、通过串口连接个人笔记本和MPU设备;
2、打开Serlink软件,提示加载MAP文件;
3、向Serlink软件中添加要监控的逻辑控制变量;
4、点击“开始按钮”开始监控逻辑控制变量,此时对应的每列控制变量的下方会显示此时的控制变量的值。
其中,Serlink软件中所述的MAP文件为逻辑控制变量名称和逻辑控制变量地址对应的文档文件,MAP文件在Serlink软件中的显示方式为第一行显示变量名,第二行显示为当前变量名对应的变量的地址,串口与中央控制单元MPU通讯时,向中央控制单元MPU发送被监控逻辑控制变量地址,中央控制单元MPU返回数据时,通过逻辑控制变量地址对应到相对应的逻辑控制变量名称。
Serlink软件在监控CRH5型车中央控制单元MPU的逻辑控制变量过程中,存在以下问题:
1、必须使用个人笔记本电脑连接到中央控制单元MPU上监控,由于中央控制单元MPU安装于电气柜内,连接时需要打开动车上的电气柜方能连接至PC机上,上述操作方法在列车运行时监控逻辑控制变量具有一定的危险性;
2、逻辑控制变量数据监控过程中需要专人值守;
3、配置不灵活,触发数据记录的方式仅为被监控的逻辑控制变量有一个发生变化时记录 数据,无法满足多变复杂的环境下的监控需求;
4、无法实现长时间的监控记录;
5、使用serlink软件监控中央控制单元MPU设备,且一台笔记本仅能监控一个中央控制单元MPU设备,灵活性差。
发明内容
本发明的目的是提供一种动车组MPU离线变量监控系统及方法,可实现逻辑控制变量的连续性离线监控,提高离线变量监控的可靠性和灵活性。
本发明的技术方案是:本发明公开一种动车组MPU离线变量监控系统,该监控系统包括主控单元、串口单元、以太网接口、TF卡接口和状态指示灯,串口单元、以太网接口、TF卡接口和状态指示灯均与主控单元电连接,串口单元包括4路串口,4路串口分别与4路动车组中央控制单元MPU连接,即每一路动车组中央控制单元MPU分别通过一路串口连接至主控单元;主控单元通过以太网接口与PC机连接,PC机内设有与监控系统对应的配置软件;主控单元通过TF卡接口与TF扩展卡连接,TF扩展卡内存储MAP文件和配置文件,主控单元将监控到的离线变量值记录在TF扩展卡中。
本发明还公开一种基于上述监控系统的监控方法,包括配置模式、工作模式和下载模式三种工作模式,三种工作模式通过采用TCP/IP通信线程、主控线程、串口数据监听线程的多线程运行系统,实现对动车组MPU离线变量的监控作业,具体监控方法如下:
1)监控系统上电运行;
2)初始化监控系统;
3)启动主控单元的FreeRTOS实时操作系统,创建TCP/IP通信线程、主控线程、串口数据监听线程;
4)启动TCP/IP通信线程,判断操作系统当前是否进入配置模式或下载模式,若进入配置模式或下载模式,则获取配置文件或下载离线变量值;若未进入配置模式且未进入下载模式,返回步骤4);
5)启动主控线程,获取操作系统当前运行模式,判断当前操作系统是否进入工作模式,若当前操作系统未处于工作模式,则返回步骤5);若当前操作系统处于工作模式,则读取配置文件、加载MAP文件和离线变量监控表,并设定离线变量的采样条件;
6)判断当前是否满足采样条件,若满足采样条件,则发送采样指令,若不满足采样条件,则该线程进入休眠程序,并返回步骤6);
7)启动串口数据监听线程,创建串口数据队列,读取串口数据并写入至串口数据队列中,等待主控单元发送的采样指令;
8)若收到采样指令,则读取串口数据队列,判断当前采集的离线变量值是否满足数据记录触发条件,若满足触发条件,则将该离线变量值写入至TF扩展卡中,若不满足触发条件,则返回步骤6)。
本发明与现有技术相比的有益效果为:
1)本发明的监控系统安装于动车电气柜中,列车运行中,仅需将该监控系统相应接口与PC机和TF扩展卡连接,无需打开电气柜,即可实现逻辑控制变量的监控;
2)在列车运行中,可实现对动车组MPU逻辑控制变量的连续监控,无需专人值守;
3)可灵活配置监控数据的记录方式,即可自定义设定离线变量的采样时间、采样时间段、和数据记录触发条件;
4)该监控装置可实现长时间的逻辑控制变量的监控作业,监控的离线变量值存储于TF扩展卡中,可按需下载分析数据;
5)可同时实现最多4路动车组中央控制单元MPU的监控作业,灵活性高。
附图说明
图1为本发明监控系统的结构示意图。
图2为本发明监控方法的流程图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
实施例1
参见图1,本发明公开一种动车组MPU离线变量监控系统,安装于动车电气柜中,该监控系统包括主控单元、串口单元、以太网接口、TF卡接口和状态指示灯,其中,串口单元、以太网接口、TF卡接口和状态指示灯均与主控单元电连接,串口单元采用多路串口转换模块, 包括4路串口,4路串口分别与4路动车组中央控制单元MPU连接,可针对性的读取每路动车组中央控制单元MPU内部的变量数据,其中,可设置每路动车组中央控制单元MPU的采集变量值,即各路动车组中央控制单元MPU采集的变量值可不同;以太网接口和TF卡接口均设置于动车电气柜后端,主控单元通过以太网接口与PC机连接,PC机内设有与监控系统对应的配置软件。列车运行时,无需打开电气柜即可实现逻辑控制变量的监控。主控单元通过TF卡接口与TF扩展卡连接,TF扩展卡内存储MAP文件和配置文件,并将监控到的离线变量值记录在TF扩展卡中,实现逻辑控制变量的下载存储。
其中,主控单元采用STM32F407芯片,具有Cortex-M4内核的高性能嵌入式处理器,主控单元中运行FreeRTOS实时操作系统,可提供多线程运行环境,主控单元中运行线程包括主控线程、串口数据监听线程、TCP/IP通信线程。主控单元的多线程之间通过信号量和队列进行通讯,其中,信号量是指多线程同步的一种数据类型,队列是指先进先出的数据类型。
参见图2,本发明的动车组MPU离线变量监控系统工作时,需要将4路串口分别与4路动车组中央控制单元MPU分别连接,并通过以太网线将以太网口与PC机连接,主控单元监控系统工作时,依次完成配置模式、工作模式和下载模式,实现动车组MPU逻辑控制变量的离线监控,具体过程如下:
1)监控系统上电运行。
2)初始化监控系统,初始化包括设定主控单元时钟频率、初始化串口单元、初始化以太网接口、初始化TF卡接口。
3)启动主控单元的FreeRTOS实时操作系统,创建TCP/IP通信线程、主控线程、串口数据监听线程;
4)启动TCP/IP通信线程,判断操作系统当前是否进入配置模式,若操作系统进入配置模式,则操作系统获取配置文件,并将当前模式状态通知主控线程,在操作系统处于配置模式时,配置指示灯点亮;
若操作系统未进入配置模式,则判断该操作系统是否进入下载模式,若操作系统进入下载模式,则操作系统下载监控到的离线变量值,并将当前模式状态通知主控线程;若操作系统未进入下载模式,则返回步骤4)。
即该步骤4)中,操作系统进入任意运行模式时,需实时通知主控线程当前的模式状态,主控线程用于调配各运行模式的运行状态。
该步骤4)中,通过判断30s内是否有配置软件接入,作为判断是否进入配置模式的标准。若30s内操作系统有配置软件接入,则该操作系统进入配置模式,并下发配置文件。
5)启动主控线程,获取操作系统当前运行模式,判断当前操作系统是否进入工作模式,若当前操作系统未处于工作模式,则返回步骤5);若当前操作系统处于工作模式,则读取配置文件、加载MAP文件和离线变量监控表,并设定离线变量的采样条件。
在该步骤中,操作系统主控线程实时获取当前运行模式,运行模式包括工作模式、配置模式和下载模式,若当前操作系统处于配置模式或下载模式,则操作系统进行文件配置或文件下载;若当前操作系统不处于配置模式且不处于下载模式,则操作系统进入工作模式。
其中,操作系统处于工作模式时,需读取文件类型包括配置文件、加载MAP文件和离线变量监控表。配置文件和MAP文件存储于TF扩展卡中,配置文件包括MAP文件名、离线监控变量表名、数据记录触发条件、采样条件。MAP文件是指与串口单元对应的动车组中央控制单元MPU的MAP转换文件,MAP转换文件内包含逻辑控制变量名称和和逻辑控制变量地址。离线变量监控表仅包含所要监控的变量,为MAP文件中的一个子集。采样条件包括设定离线变量的采样时间、采样时间段。
6)判断当前离线变量监控时间是否满足采样条件,若当前离线变量监控时间满足采样条件,则主控单元通过串口单元向动车组中央控制单元MPU发送采样指令,若不满足采样条件,则该线程进入休眠程序,并返回步骤6)。
该步骤中,在判断是否满足采样条件过程中,应依次判断当前离线变量监控时间依次是否满足采样时间和采样时间段,若两者都满足,则进入步骤7)。
7)启动串口数据监听线程,创建串口数据队列,串口数据队列为采集离线变量值的集合,若当前处于工作模式,则读取串口数据并写入至串口数据队列中,并等待主控单元发送的采样指令。
该步骤中,串口数据监听线程实时查询各个串口单元下是否有离线变量值,若有离线变量值,则将采集到的离线变量值读取并存入至对应的串口数据队列中。
8)若串口数据监听线程接收到主控单元发送的采样指令,则主控线程读取串口数据队列,并判断当前采集的离线变量值是否满足数据记录触发条件,若满足触发条件,则将该离线变量值写入至TF扩展卡中,若不满足触发条件,则返回步骤6)重新判断采样条件。
在动车组MPU逻辑控制变量离线监控方法中,主控单元采用多线程运行,通过创建 TCP/IP通信线程、主控线程、串口数据监听线程,依次完成配置模式、工作模式和下载模式。通过上电启动读取存储于TF扩展卡中的配置文件和MAP文件,完成系统配置任务,并在指定时间内,每隔指定的采样时间和采样时间段通过串口单元与多路动车组中央控制单元MPU进行通讯,监控多路动车组中央控制单元MPU的离线变量值,本发明的动车组MPU离线变量监控系统可最多同时监控4路动车组中央控制单元MPU,并将监控到的离线变量值记录于TF扩展卡进行下载与分析。
本发明在进行离线变量监控系统工作时,采用多串口分别与多路动车组中央控制单元MPU通讯,可平衡每路串口之间的数据占用处理器时间,保证每路动车组中央控制单元MPU数据响应都能得到准确及时处理。

Claims (7)

  1. 一种动车组MPU离线变量监控系统,其特征在于:该监控系统包括主控单元、串口单元、以太网接口、TF卡接口和状态指示灯,串口单元、以太网接口、TF卡接口和状态指示灯均与主控单元电连接,串口单元包括4路串口,4路串口分别与4路动车组中央控制单元MPU连接,主控单元通过以太网接口与PC机连接,PC机内设有与监控系统对应的配置软件;主控单元通过TF卡接口与TF扩展卡连接,TF扩展卡内存储MAP文件和配置文件,主控单元将监控到的离线变量值记录在TF扩展卡中。
  2. 根据权利要求1所述的动车组MPU离线变量监控系统,其特征在于:所述主控单元中运行FreeRTOS实时操作系统,主控单元运行多线程,主控单元中运行线程包括主控线程、串口数据监听线程、TCP/IP通信线程,主控单元的多线程之间通过信号量和队列进行通讯。
  3. 一种动车组MPU离线变量监控方法,利用权利要求1所述的监控系统,其特征在于包括以下方法步骤:
    1)监控系统上电运行;
    2)初始化监控系统;
    3)启动主控单元的FreeRTOS实时操作系统,创建TCP/IP通信线程、主控线程、串口数据监听线程;
    4)启动TCP/IP通信线程,判断操作系统当前是否进入配置模式或下载模式,若进入配置模式或下载模式,则获取配置文件或下载离线变量值;若未进入配置模式且未进入下载模式,返回步骤4);
    5)启动主控线程,获取操作系统当前运行模式,判断当前操作系统是否进入工作模式,若当前操作系统未处于工作模式,则返回步骤5);若当前操作系统处于工作模式,则读取配置文件、加载MAP文件和离线变量监控表,并设定离线变量的采样条件;
    6)判断当前是否满足采样条件,若满足采样条件,则发送采样指令,若不满足采样条件,则该线程进入休眠程序,并返回步骤6);
    7)启动串口数据监听线程,创建串口数据队列,读取串口数据并写入至串口数据队列中,等待主控单元发送的采样指令;
    8)若收到采样指令,则读取串口数据队列,判断当前采集的离线变量值是否满足数据记录触发条件,若满足触发条件,则将该离线变量值写入至TF扩展卡中,若不满足触发条件,则返 回步骤6)。
  4. 根据权利要求3所述的动车组MPU离线变量监控方法,其特征在于:所述初始化包括设定主控单元时钟频率、初始化串口单元、初始化以太网接口、初始化TF卡接口。
  5. 根据权利要求3所述的动车组MPU离线变量监控方法,其特征在于:所述步骤4)中,在判断操作系统当前是否进入配置模式或下载模式时,首先判断操作系统当前是否进入配置模式,若操作系统进入配置模式,则操作系统获取配置文件,并将当前模式状态通知主控线程;若操作系统未进入配置模式,则判断该操作系统是否进入下载模式,若操作系统进入下载模式,则下载监控到的离线变量值,并将当前模式状态通知主控线程;若操作系统未进入下载模式,则返回步骤4)。
  6. 根据权利要求3或5所述的动车组MPU离线变量监控方法,其特征在于:所述步骤4)中通过判断30s内是否有配置软件接入,作为判断是否进入配置模式的标准,若30s内操作系统有配置软件接入,则该操作系统进入配置模式,并下发配置文件。
  7. 根据权利要求3所述的动车组MPU离线变量监控方法,其特征在于:所述步骤5)中,操作系统主控线程实时获取当前运行模式,运行模式包括工作模式、配置模式和下载模式,若当前操作系统处于配置模式或下载模式,则操作系统进行文件配置或文件下载;若当前操作系统不处于配置模式且不处于下载模式,则操作系统进入工作模式。
PCT/CN2016/099188 2016-06-08 2016-09-18 动车组mpu离线变量监控系统及方法 Ceased WO2017084426A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2017538670A JP6348671B2 (ja) 2016-06-08 2016-09-18 Emuトレーンのmpuのためのオフラインの変量のモニタリングシステムおよび方法
RU2017126054A RU2657549C1 (ru) 2016-06-08 2016-09-18 Система и способ отслеживания автономной переменной для mpu электропоезда
EP16865604.9A EP3214518B1 (en) 2016-06-08 2016-09-18 Multiple units offline variable monitoring system and method
US15/539,975 US10189489B2 (en) 2016-06-08 2016-09-18 Offline variable monitoring system and method for MPUs of an EMU train

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610401877.0 2016-06-08
CN201610401877.0A CN105955242B (zh) 2016-06-08 2016-06-08 动车组mpu离线变量监控系统及方法

Publications (1)

Publication Number Publication Date
WO2017084426A1 true WO2017084426A1 (zh) 2017-05-26

Family

ID=56908848

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099188 Ceased WO2017084426A1 (zh) 2016-06-08 2016-09-18 动车组mpu离线变量监控系统及方法

Country Status (6)

Country Link
US (1) US10189489B2 (zh)
EP (1) EP3214518B1 (zh)
JP (1) JP6348671B2 (zh)
CN (1) CN105955242B (zh)
RU (1) RU2657549C1 (zh)
WO (1) WO2017084426A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783417B (zh) * 2019-01-11 2022-03-15 四川长虹电器股份有限公司 一种串口通讯装置及方法
US11164403B2 (en) 2019-05-06 2021-11-02 Argo AI, LLC Method and system for real-time diagnostics and fault monitoring in a robotic system
US11209817B2 (en) 2019-05-06 2021-12-28 Argo AI, LLC Method and system for real-time diagnostics and fault monitoring in a robotic system
CN110347142A (zh) * 2019-06-29 2019-10-18 河南思维信息技术有限公司 一种lkj临时控制参数设定和校验方法及系统
CN114253683B (zh) * 2021-11-26 2022-11-01 北京百度网讯科技有限公司 任务处理方法、装置、电子设备及存储介质
CN115002190B (zh) * 2022-05-27 2024-06-21 努比亚技术有限公司 一种功能配置文件调控方法、设备及计算机可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149225A (zh) * 2011-04-28 2011-08-10 北京交通大学 动车组状态监测系统及其多功能混合网关
CN103281381A (zh) * 2013-05-31 2013-09-04 青岛四方车辆研究所有限公司 高速动车组无线传输系统
CN203658776U (zh) * 2013-12-09 2014-06-18 安徽环美通信科技有限公司 智能数据采集处理器
CN103986758A (zh) * 2014-05-12 2014-08-13 北京康拓红外技术股份有限公司 一种高速动车组运行故障数据远程实时传输和智能分析判断系统
CN104104714A (zh) * 2014-05-13 2014-10-15 北京交通大学 一种动车组车载信息采集和传输设备
JP5812595B2 (ja) * 2010-11-02 2015-11-17 曙ブレーキ工業株式会社 鉄道車両用異常診断システム

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6032905A (en) * 1998-08-14 2000-03-07 Union Switch & Signal, Inc. System for distributed automatic train supervision and control
US8645010B2 (en) * 2009-10-22 2014-02-04 General Electric Company System and method for locomotive inter-consist equipment sparing and redundancy
US9956974B2 (en) * 2004-07-23 2018-05-01 General Electric Company Vehicle consist configuration control
US9637147B2 (en) * 2009-03-17 2017-05-02 General Electronic Company Data communication system and method
US9379775B2 (en) * 2009-03-17 2016-06-28 General Electric Company Data communication system and method
US8935022B2 (en) * 2009-03-17 2015-01-13 General Electric Company Data communication system and method
JP2008040698A (ja) * 2006-08-04 2008-02-21 Meidensha Corp プログラマブルコントローラの異常監視方式
CN201051254Y (zh) * 2007-06-22 2008-04-23 南京恩瑞特实业有限公司 城市轨道交通信号系统的列车环境仿真器
JP4931771B2 (ja) * 2007-11-13 2012-05-16 株式会社ニシヤマ 車両動揺収録および異常検知システムならびに車両動揺収録および異常検知方法
RU2400794C1 (ru) * 2009-09-01 2010-09-27 Открытое Акционерное Общество "Российские Железные Дороги" Стенд для диагностики и изучения микропроцессорной системы управления электровозом
US8589003B2 (en) * 2009-10-22 2013-11-19 General Electric Company System and method for controlling operations of a vehicle consist based on location data
US8903574B2 (en) * 2009-10-22 2014-12-02 General Electric Company System and method for vehicle communication, vehicle control, and/or route inspection
CN102303628A (zh) * 2011-06-10 2012-01-04 广西大学 一种基于cdma2000 1x/evdo的高速列车状态车地传输装置
WO2013028840A1 (en) * 2011-08-23 2013-02-28 Sygnet Rail Technologies, Llc Apparatus and method for power production, control, and/or telematics, suitable for use with locomotives
US20130103356A1 (en) * 2011-10-21 2013-04-25 General Electric Company Gas turbine monitoring system
CN102520324A (zh) * 2011-12-27 2012-06-27 镇江市诚翔电器有限责任公司 一种中压智能开关柜绝缘在线监测系统与监测方法
US9469310B2 (en) * 2012-10-18 2016-10-18 Wabtec Holding Corp. System, apparatus, and method for automatically controlling a locomotive
US20140156122A1 (en) * 2012-11-30 2014-06-05 Electro-Motive Diesel, Inc. Network infrastructure for locomotive distributed control system
CN103529789A (zh) * 2013-10-17 2014-01-22 中国人民解放军国防科学技术大学 基于工业以太网通讯的悬浮列车悬浮监控方法及装置
JP6476287B2 (ja) * 2015-05-14 2019-02-27 株式会社日立製作所 鉄道車両の状態監視装置、状態監視システム、及び編成車両
CN104901839B (zh) * 2015-06-29 2017-12-19 中车青岛四方车辆研究所有限公司 动车组主处理器mpu冗余方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5812595B2 (ja) * 2010-11-02 2015-11-17 曙ブレーキ工業株式会社 鉄道車両用異常診断システム
CN102149225A (zh) * 2011-04-28 2011-08-10 北京交通大学 动车组状态监测系统及其多功能混合网关
CN103281381A (zh) * 2013-05-31 2013-09-04 青岛四方车辆研究所有限公司 高速动车组无线传输系统
CN203658776U (zh) * 2013-12-09 2014-06-18 安徽环美通信科技有限公司 智能数据采集处理器
CN103986758A (zh) * 2014-05-12 2014-08-13 北京康拓红外技术股份有限公司 一种高速动车组运行故障数据远程实时传输和智能分析判断系统
CN104104714A (zh) * 2014-05-13 2014-10-15 北京交通大学 一种动车组车载信息采集和传输设备

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
See also references of EP3214518A4 *
SHI, JIANWEI: "Design and Implementation of Remote Intelligent Analysis Judgement System for the Operation Fault Information of CRH5 EMU", RAILWAY LOCOMOTIVE & CAR, vol. 33, 30 April 2013 (2013-04-30), XP009500274, ISSN: 1008-7842 *

Also Published As

Publication number Publication date
EP3214518A1 (en) 2017-09-06
EP3214518B1 (en) 2018-11-14
JP2018513436A (ja) 2018-05-24
US10189489B2 (en) 2019-01-29
US20180015936A1 (en) 2018-01-18
EP3214518A4 (en) 2018-02-28
CN105955242B (zh) 2018-10-12
RU2657549C1 (ru) 2018-06-14
JP6348671B2 (ja) 2018-06-27
CN105955242A (zh) 2016-09-21

Similar Documents

Publication Publication Date Title
WO2017084426A1 (zh) 动车组mpu离线变量监控系统及方法
US8601315B2 (en) Debugger recovery on exit from low power mode
CN103048984B (zh) 多通道arinc700总线监控装置及实现方法
CN107621271A (zh) 一种惯性平台实时测试系统及测试方法
CN101937385A (zh) 一种raid卡运行状态监测系统
CN103092119B (zh) 一种基于fpga的总线状态监视方法
CN106444498A (zh) Cpu板卡可插拔式替换的飞控计算机
CN105319463A (zh) 机上地面试验仿真激励器
CN109086192B (zh) 一种基于ipmi的板载sata硬盘点灯系统及方法
CN109031131B (zh) 电池测试与模拟仪器的异构多核实时主机系统及方法
CN109462495A (zh) 一种船舶硬件与通信系统检测系统及方法
CN108248417A (zh) 一种双处理器的充电桩控制装置
CN111179466A (zh) 车辆状态数据保存方法、保存装置、车载仪表系统及车辆
CN105824297A (zh) 基于can总线的多组箭体集装箱环境监测方法和系统
CN109710049A (zh) 一种远程控制硬盘上下电的系统及方法
CN103679850A (zh) 一种总线记录仪
CN108491343A (zh) 终端设备、数据传输系统及方法
US20060161818A1 (en) On-chip hardware debug support units utilizing multiple asynchronous clocks
CN104298231A (zh) 一种车辆多控制器诊断设备
CN115766818B (zh) 一种基于国产平台的船用异构数据采集系统及方法
CN108011875B (zh) 智能控制方法和智能终端控制设备
CN205388780U (zh) 一种机载数据记录仪
CN204166380U (zh) 一种车辆多控制器诊断设备
CN116974804A (zh) 管理引擎挂死的调试方法、装置、设备及存储介质
CN116450480A (zh) 日志子系统、日志系统、车辆日志系统及车辆

Legal Events

Date Code Title Description
REEP Request for entry into the european phase

Ref document number: 2016865604

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15539975

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2017126054

Country of ref document: RU

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017538670

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16865604

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE