CN103810769A - Data recorder based on HDLC (high-level data link control) and recording method - Google Patents

Data recorder based on HDLC (high-level data link control) and recording method Download PDF

Info

Publication number
CN103810769A
CN103810769A CN201210448557.2A CN201210448557A CN103810769A CN 103810769 A CN103810769 A CN 103810769A CN 201210448557 A CN201210448557 A CN 201210448557A CN 103810769 A CN103810769 A CN 103810769A
Authority
CN
China
Prior art keywords
data
hdlc
central processing
module
processing module
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.)
Pending
Application number
CN201210448557.2A
Other languages
Chinese (zh)
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 Yangtze Co Ltd
Original Assignee
China CNR Corp 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 China CNR Corp Ltd filed Critical China CNR Corp Ltd
Priority to CN201210448557.2A priority Critical patent/CN103810769A/en
Publication of CN103810769A publication Critical patent/CN103810769A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a data recorder based on HDLC (high-level data link control) and a recording method. The data recorder comprises a central processing module, a data storage module and an HDLC interface module, wherein the data storage module is used for storing data to be stored by the data recorder; the central processing module is used for receiving the data from an HDLC bus through the HDLC interface module, processing the data and sending the processed data to the data storage module; the HDLC interface module is used for receiving the data from the HDLC bus and sending the data to the central processing module. According to the data recorder provided by the invention, the problems in the prior art are solved; running data and fault data of a locomotive using the HDLC bus can be recorded in real time, so that a worker can perform immediate and quick analysis and remove faults.

Description

Datalogger based on HDLC and recording method
Technical field
The present invention relates to track traffic technology, relate in particular to a kind of datalogger and recording method based on HDLC.
Background technology
Datalogger is a kind of equipment that is used for recording vehicle operation data and fault data, and it is widely used on rolling stock.In use, maintainer can be by analyzing the data that record on datalogger, and the fault to vehicle etc. is got rid of quickly.
High-Level Data Link Control (High Level Data Link Control is called for short HDLC) agreement is a kind of in the extensively agreement of transmission of data link layer, has higher data link transfer efficiency.Existing datalogger all cannot be applied on the locomotive that uses HDLC bus, records service data and the fault data of locomotive, causes a lot of faults to get rid of quickly.
Summary of the invention
The invention provides a kind of datalogger and recording method based on HDLC, cannot be applied to the difficult problem on the locomotive that uses HDLC bus for solving available data registering instrument.
The invention provides a kind of datalogger based on HDLC, comprising: central processing module, data memory module and HDLC interface module;
Described data memory module, for storing the data of the required preservation of described datalogger;
Described central processing module, for by described HDLC interface module, receives data from described HDLC bus, and data are processed and data after treatment are sent to described data memory module;
Described HDLC interface module, for receiving data from described HDLC bus, and sends data to described central processing module.
Particularly, described HDLC interface module, comprising: HDLC protocol controller and HDLC bus transceiver;
Described HDLC bus transceiver, is connected between described HDLC bus and described HDLC protocol controller, for the data that receive from described HDLC bus are sent to described HDLC protocol controller;
Described HDLC protocol controller, is connected with described central processing module is two-way by internal bus, becomes the data that described central processing module can identify and sends described central processing module to for the Data Analysis that described HDLC bus transceiver is sent.
Particularly, described central processing module comprises: central processing unit, internal memory, clock chip and electric power management circuit; Wherein,
Described clock chip, is connected with the clock end of described central processing unit, is used to described central processing unit that real-time clock is provided;
Described electric power management circuit, is used to described central processing unit that power management is provided;
Described internal memory, is used to described central processing unit call operation system or control program that running space is provided;
Described central processing unit, is connected with described HDLC interface module, for the operation of described datalogger is carried out to center-control.
Further, described central processing module also comprises: the Ethernet interface, USB interface and the RS232 interface that are connected with described central processing unit.
The present invention also provides a kind of data record method based on HDLC, specifically comprises:
HDLC interface module receives and comes from the data of HDLC bus, and described data are sent to central processing module;
Described central processing module carries out data extraction and restructuring and sends to data memory module to record storage the data that receive.
Particularly, described HDLC interface module receives the data that come from HDLC bus, comprising:
HDLC bus transceiver in described HDLC interface module receives and comes from the data of HDLC bus, and described data are sent to the HDLC protocol controller in described HDLC interface module;
Described HDLC interface module also comprises before described data are sent to central processing module:
The Data Analysis that described HDLC protocol controller sends described HDLC bus transceiver becomes the data that described central processing module can identify and sends described central processing module to.
Datalogger based on HDLC provided by the invention, receive data by HDLC interface module from the HDLC bus of locomotive, and send to as central processing module after receiving data processing, central processing module stores data in data memory module into after the data that receive are further processed.Datalogger provided by the invention has solved problems of the prior art, and the locomotive that can realize using HDLC bus carries out real-time service data and fault data recorder, so that staff can fix a breakdown quickly.
Accompanying drawing explanation
Fig. 1 is the structural representation of the datalogger embodiment based on HDLC provided by the invention;
Fig. 2 is the process flow diagram of the data record method embodiment based on HDLC provided by the invention.
Description of reference numerals:
1: central processing module; 2: data memory module;
3:HDLC interface module; 4:HDLC bus;
11: central processing unit; 12: internal memory;
13: clock chip; 14: electric power management circuit;
15: Ethernet interface; 16:USB interface;
17:RS232 interface; 31:HDLC protocol controller;
32:HDLC bus transceiver.
Embodiment
Below in conjunction with concrete drawings and Examples, the present invention will be further described.
Fig. 1 is the structural representation of datalogger embodiment provided by the invention.As shown in Figure 1, the present embodiment datalogger mainly comprises: central processing module 1, data memory module 2 and HDLC interface module 3.Wherein, data memory module 2 is for storing the data of the required preservation of datalogger; Central processing module 1, for receiving data by HDLC interface module 3 from HDLC bus 4, is processed and data after treatment is sent to data memory module 2 data; HDLC interface module 3 is for receiving data from HDLC bus 4, and sends data to central processing module 1.
Specifically, HDLC interface module 3 is connected with the HDLC bus 4 on locomotive, and HDLC interface module 3 receives data from HDLC bus 4, and the data of reception are converted to the data that central processing module 1 can be identified, and then sends to central processing module 1.Between HDLC interface module 3 and central processing module 1, pass through the two-way connection of internal bus, central processing module 1 receives the data of sending from HDLC interface module 3, to the data that receive extract, the processing such as restructuring data after treatment are sent to data memory module 2.Data memory module 2 is preserved in real time to the data of processing from central processing module 1 that receive.
The present embodiment, by being set, HDLC interface module 3 receives the data from the HDLC bus 4 on locomotive, then sending central processing module 1 to processes, and by data poke after treatment in data memory module 2, the locomotive of having realized using HDLC bus 4 carries out service data and fault data recorder.
Above-described embodiment, in the time of specific implementation, its HDLC interface module 3 can comprise: HDLC protocol controller 31 and HDLC bus transceiver 32.HDLC bus transceiver 32 is connected between HDLC bus 4 and HDLC protocol controller 31, be sent to HDLC protocol controller 31 for the data that the HDLC bus from locomotive 4 is received, before data are transmitted to HDLC protocol controller 31, HDLC bus transceiver 32 is also for being converted to digital signal by the data in HDLC bus 4, HDLC bus transceiver 32 not only can receive data from HDLC bus 4, data after treatment central processing module 1 can also be exported in HDLC bus 4.Processing module 1 is two-way is connected with centre by internal bus for HDLC protocol controller 31, becomes the data that central processing module 1 can identify and sends central processing module 1 to for the Data Analysis that HDLC bus transceiver 32 is sent.
Preferably, HDLC protocol controller 31 is selected the PT7A6525 chip of Pericom Technology company, this chip is supported two completely independently full duplex HDLC passages, the function of agreement control flexibly, there are two kinds of data transfer modes, interrupt transmission and direct memory access (Direct Memory Access is called for short DMA) transmission.DMA is a kind of data-transmission mode of high speed.HDLC bus transceiver 32 is selected Ltc1485 chip, has the transmitting-receiving of RS485 differential signal and comment driving force.HDLC bus transceiver 32 is connected between HDLC bus 4 and HDLC protocol controller 31.
In above-described embodiment, central processing module 1 can comprise: central processing unit 11, internal memory 12, clock chip 13 and electric power management circuit 14.Wherein, central processing unit 11 is connected with HDLC interface module 3, for the operation of datalogger is carried out to center-control.Preferably, central processing unit 11 can be selected the Celeron 800MHz processor of x86, for HDLC bus 4 being carried out to timing management and carrying out data processing.Internal memory 12 is connected with central processing unit 11 by internal bus, is used to central processing unit 11 call operation systems or control program that running space is provided.The clock end of clock chip 13 and central processing unit 11 is connected, and is used to central processing unit 11 that real-time clock is provided.Electric power management circuit 14 is used to central processing unit 11 that power management is provided.
Further, in order to improve performance and the interactive capability of central processing module 1, central processing module 1 can also comprise: the Ethernet interface 15, usb 16 and the RS232 interface 17 that are connected with central processing unit 11.Ethernet interface 15 is connected with central processing unit 11 by internal bus, for the communication interface of datalogger and outside programming device is provided.External unit can be programmed to the supported operating system with graphic programming interface by Ethernet interface 15, and download control program and data file.Usb 16 is connected with central processing module 1 by internal bus, for being connected with external units such as USB flash disks, facilitates the derivation of data file.RS232 interface 17 is connected with central processing module 1 by internal bus, for being connected with external unit, carries out debugging and the information output of system.
The datalogger based on HDLC that the present embodiment provides, receive data by HDLC interface module 3 from the HDLC bus 4 of locomotive, and send to as central processing module 1 after receiving data processing, central processing module 1 sends to data memory module 2 to store after the data that receive are further processed, and the locomotive that can realize using HDLC bus 4 carries out real-time service data and fault data recorder.
Fig. 2 is the process flow diagram of the data record method embodiment based on HDLC provided by the invention, and as shown in Figure 2, the method specifically comprises the following steps:
Step 201, HDLC interface module receive and come from the data of HDLC bus, and send the data to central processing module.
In the time of specific implementation, HDLC interface module can comprise HDLC bus transceiver and HDLC protocol controller.
Correspondingly, in this step, HDLC bus transceiver is connected with HDLC bus, and HDLC bus transceiver receives and comes from the data of HDLC bus and be converted to digital signal, and this signal is sent to HDLC protocol controller.The Data Analysis that HDLC protocol controller sends HDLC bus transceiver becomes the data that central processing module can identify and sends central processing module to.
Step 202, central processing module carry out data extraction and restructuring and send to data memory module to record storage the data that receive.
Particularly, in this step, central processing module receives the data of sending from HDLC interface module, and the data that receive are carried out to the processing such as data extraction, restructuring, then data after treatment are sent to data memory module, data memory module carries out real-time preservation to the data of sending.In the time that locomotive breaks down, staff can recall the data that are stored in datalogger and analyze and fault eliminating.
Datalogger provided by the invention and method, receive data by HDLC interface module from the HDLC bus of locomotive, and send to as central processing module after receiving data processing, central processing module sends to data memory module to store after the data that receive are further processed.Datalogger provided by the invention has solved problems of the prior art, and the locomotive that can realize using HDLC bus carries out real-time service data and fault data recorder, so that staff can fix a breakdown quickly.
Finally it should be noted that: above each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (6)

1. the datalogger based on HDLC, is characterized in that, comprising: central processing module, data memory module and HDLC interface module;
Described data memory module, for storing the data of the required preservation of described datalogger;
Described central processing module, for by described HDLC interface module, receives data from described HDLC bus, and data are processed and data after treatment are sent to described data memory module;
Described HDLC interface module, for receiving data from described HDLC bus, and sends data to described central processing module.
2. datalogger according to claim 1, is characterized in that, described HDLC interface module, comprising: HDLC protocol controller and HDLC bus transceiver;
Described HDLC bus transceiver, is connected between described HDLC bus and described HDLC protocol controller, for the data that receive from described HDLC bus are sent to described HDLC protocol controller;
Described HDLC protocol controller, is connected with described central processing module is two-way by internal bus, becomes the data that described central processing module can identify and sends central processing module to for the Data Analysis that described HDLC bus transceiver is received and transmitted.
3. datalogger according to claim 1 and 2, is characterized in that, described central processing module comprises: central processing unit, internal memory, clock chip and electric power management circuit; Wherein,
Described clock chip, is connected with the clock end of described central processing unit, is used to described central processing unit that real-time clock is provided;
Described electric power management circuit, is used to described central processing unit that power management is provided;
Described internal memory, is used to described central processing unit call operation system or control program that running space is provided;
Described central processing unit, is connected with described HDLC interface module, for the operation of described datalogger is carried out to center-control.
4. datalogger according to claim 3, is characterized in that, described central processing module also comprises: the Ethernet interface, USB interface and the RS232 interface that are connected with described central processing unit.
5. the data record method based on HDLC, is characterized in that, comprising:
HDLC interface module receives and comes from the data of HDLC bus, and described data are sent to central processing module;
Described central processing module carries out data extraction and restructuring and sends to data memory module to record storage the data that receive.
6. method according to claim 5, is characterized in that, described HDLC interface module receives the data that come from HDLC bus, comprising:
HDLC bus transceiver in described HDLC interface module receives and comes from the data of HDLC bus, and described data are sent to the HDLC protocol controller in described HDLC interface module;
Described HDLC interface module also comprises before described data are sent to central processing module:
The Data Analysis that described HDLC protocol controller sends described HDLC bus transceiver becomes the data that described central processing module can identify and sends central processing module to.
CN201210448557.2A 2012-11-09 2012-11-09 Data recorder based on HDLC (high-level data link control) and recording method Pending CN103810769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210448557.2A CN103810769A (en) 2012-11-09 2012-11-09 Data recorder based on HDLC (high-level data link control) and recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210448557.2A CN103810769A (en) 2012-11-09 2012-11-09 Data recorder based on HDLC (high-level data link control) and recording method

Publications (1)

Publication Number Publication Date
CN103810769A true CN103810769A (en) 2014-05-21

Family

ID=50707482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210448557.2A Pending CN103810769A (en) 2012-11-09 2012-11-09 Data recorder based on HDLC (high-level data link control) and recording method

Country Status (1)

Country Link
CN (1) CN103810769A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376617A (en) * 2014-10-31 2015-02-25 上海自仪泰雷兹交通自动化系统有限公司 Vehicle on-board data collector and storage structure thereof
CN104460449A (en) * 2014-11-24 2015-03-25 成都中远信电子科技有限公司 Recording method of portable data recorder
CN111224801A (en) * 2018-11-23 2020-06-02 中车大连电力牵引研发中心有限公司 Vehicle-mounted HDLC recording method and device
CN112684780A (en) * 2021-01-29 2021-04-20 郑州铁路职业技术学院 Control panel interface assembly for railway locomotive

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5446731A (en) * 1992-11-26 1995-08-29 Samsung Electronics Co., Ltd. Signaling channel data transmitting/receiving circuit of a primary multiplexer
CN101951351A (en) * 2010-09-21 2011-01-19 中国北车股份有限公司大连电力牵引研发中心 HDLC-CAN (High-level Data Link Control-Controller Area Network) gateway equipment
CN102231751A (en) * 2011-05-24 2011-11-02 中国北车股份有限公司大连电力牵引研发中心 Wire train bus (WTB) data recorder and working method thereof
CN202035007U (en) * 2011-03-31 2011-11-09 华车(北京)交通装备有限公司 MVB-HDLC gateway based on ARM7
CN102307203A (en) * 2011-09-08 2012-01-04 中国北车股份有限公司大连电力牵引研发中心 Protocol conversion device and data transmission method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5446731A (en) * 1992-11-26 1995-08-29 Samsung Electronics Co., Ltd. Signaling channel data transmitting/receiving circuit of a primary multiplexer
CN101951351A (en) * 2010-09-21 2011-01-19 中国北车股份有限公司大连电力牵引研发中心 HDLC-CAN (High-level Data Link Control-Controller Area Network) gateway equipment
CN202035007U (en) * 2011-03-31 2011-11-09 华车(北京)交通装备有限公司 MVB-HDLC gateway based on ARM7
CN102231751A (en) * 2011-05-24 2011-11-02 中国北车股份有限公司大连电力牵引研发中心 Wire train bus (WTB) data recorder and working method thereof
CN102307203A (en) * 2011-09-08 2012-01-04 中国北车股份有限公司大连电力牵引研发中心 Protocol conversion device and data transmission method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376617A (en) * 2014-10-31 2015-02-25 上海自仪泰雷兹交通自动化系统有限公司 Vehicle on-board data collector and storage structure thereof
CN104460449A (en) * 2014-11-24 2015-03-25 成都中远信电子科技有限公司 Recording method of portable data recorder
CN111224801A (en) * 2018-11-23 2020-06-02 中车大连电力牵引研发中心有限公司 Vehicle-mounted HDLC recording method and device
CN112684780A (en) * 2021-01-29 2021-04-20 郑州铁路职业技术学院 Control panel interface assembly for railway locomotive

Similar Documents

Publication Publication Date Title
CN102945040B (en) Remote vehicle monitoring device and system
CN106302783A (en) Vehicle-mounted monitoring equipment and vehicle monitoring system
CN102621979A (en) Data acquisition and fault diagnosis terminal for vehicle
CN103810769A (en) Data recorder based on HDLC (high-level data link control) and recording method
CN104731081A (en) Method and system device for large-power haulage motor vehicle-mounted data dump analysis
CN102930614A (en) Integrated vehicle equipment recorder and its recording method
CN102390383A (en) Remote data transmission method, device, and system for high-speed trains
CN112231735A (en) Data transmission method and system
CN201690463U (en) Vehicle communication network analyzer
CN204392275U (en) A kind of MVB data interception system with Ethernet interface
CN103558995B (en) A kind of storage control chip and disk message transmitting method
CN104780123A (en) Network packet receiving and sending processing device and design method thereof
CN111313933A (en) Meter reading method, device and system
CN112684780A (en) Control panel interface assembly for railway locomotive
CN204631168U (en) A kind of industrial current transformer remote diagnosis and maintenance system
CN104468301A (en) Safety output method based on MVB communication
CN107329427A (en) A kind of M П И bus marcos and information recording method and system
CN105262659A (en) HDLC protocol controller based on FPGA chip
CN106933721B (en) Remote monitoring method for serial port of in-situ protection device
CN110750531B (en) Data processing method and related equipment
CN206237428U (en) A kind of TCN packet captures interface, TCN network test systems
CN205092880U (en) HDLC protocol controller based on FPGA chip
CN205644175U (en) Rail vehicle braking system mass data storage board
CN109347671B (en) System and method for realizing in-band OAM Metadata editing in chip
CN209265218U (en) Vehicle-mounted HDLC recording device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140521

RJ01 Rejection of invention patent application after publication