CN104468301A - Safety output method based on MVB communication - Google Patents

Safety output method based on MVB communication Download PDF

Info

Publication number
CN104468301A
CN104468301A CN201410618076.0A CN201410618076A CN104468301A CN 104468301 A CN104468301 A CN 104468301A CN 201410618076 A CN201410618076 A CN 201410618076A CN 104468301 A CN104468301 A CN 104468301A
Authority
CN
China
Prior art keywords
mvb
communication
frame
mvb communication
control device
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.)
Granted
Application number
CN201410618076.0A
Other languages
Chinese (zh)
Other versions
CN104468301B (en
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 Zhuzhou Institute Co Ltd
Original Assignee
CSR Zhuzou 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 CSR Zhuzou Institute Co Ltd filed Critical CSR Zhuzou Institute Co Ltd
Priority to CN201410618076.0A priority Critical patent/CN104468301B/en
Publication of CN104468301A publication Critical patent/CN104468301A/en
Application granted granted Critical
Publication of CN104468301B publication Critical patent/CN104468301B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a safety output method based on MVB communication. A mode with an external processor interface is selected, and when the interruption time of prime frames in MVB communication is larger than t1 or the interruption time of frames of ports of polled specific device addresses is larger than t2, a specific numerical value is written into an MVB communication register; if communication is normal, another specific numerical value is written into the MVB communication register. An external processor can judge whether MVB communication is normal according to the numerical values of the MVB communication register, and if communication is normal, an output unit is controlled through network input data; if communication is abnormal, the output unit is shut down immediately, and therefore the safety and controllability of a train are guaranteed. According to the method, all the prime frames and the frames of the polled specific device addresses are monitored, if an MVB bus control device fails sending the prime frames of the specific device addresses for some reason, corresponding devices will not receive the frames containing the specific device addresses, output will be stopped after a specific period of time, and therefore the safety and controllability of the devices are guaranteed.

Description

A kind of Safety output method based on MVB communication
Technical field
The present invention relates to the MVB communications field, particularly a kind of Safety output method based on MVB communication.
Background technology
TCN equipment at present based on TCN obtains large batch of application in the projects such as motor-car and city rail.TCN architecture defines 2 kinds of buses: multifunction vehicle bus (MVB) and wired train bus (WTB).MVB is for connecting the equipment in the equipment of vehicle interior or integral train group between each vehicle.Be characterized in that response is rapid, real-time, reliability is high, be widely used in field of track traffic.
Multifunction vehicle bus (MVB) to be positioned at same vehicle, or the standard device in the different vehicle of fixed-interlock is connected to the vehicle bus on TCN.It has fast, real-time, the high reliability of response, is widely used in train network communication.MVB meets the requirement of IEC61375-1 standard, maximum support 4095 equipment, and transmission medium is Shielded Twisted Pair or optical fiber, and shielded type cable maximum length is 200m, and operating rate is 1.5Mb/s.
Equipment in MVB communication network is divided into 0 ~ 5 class totally 6 types.Wherein class 0 equipment does not possess its communication ability, mainly comprises repeater and coupler etc.; 1 kind equipment has process data performance and equipment state response performance; 2/3/4/5 kind equipment, except having the performance of a kind equipment, also has message data performance.Wherein 4 classes and 5 kind equipments also have bus management ability, can as bus.
MVB uses two kinds of frames as communication: a kind of is prime frame, and it is only sent by main equipment; Another kind is from frame, and it is sent by the source device of prime frame polling address.Effective frame signal should be by a start delimiter and frame head, is then manchester encoded data symbol, finally decomposes symbol by termination and terminate.The main body of frame is all send with the form of Manchester's code.
A prime frame should be made up of following: a start with main start delimiter; B be thereafter 16Bit frame data; C be then 8Bit verification sequence, prime frame composition as shown in Figure 1.
One forms from frame by with lower part: a is with from start delimiter; B be then 16,32,64,128 or 256Bit frame data; C comprises the verification sequence of a 8Bit or the verification sequence of a 8Bit is added thereafter when frame data only have 16 or 32 after every 64 data bit, from frame composition as shown in Figure 2.
MVB communication data can be divided into two kinds: process variable data and message variable data.Process variable data reflection be the state information of train.The transmission of its communication data must be short, certainty and periodically, to meet the requirement of the real-time of Train Control.Such as control command, traction instruction etc.The reflection of message variable data be the communication information that the frequency of occurrences is low and relatively long, from several byte to several thousand bytes not etc., this requirement of real-time is not that very high character allows MVB just send message data when needs for its data length.Such as fault data, event log data etc.
Main equipment on MVB communication network regularly reads prime frame and sends prime frame from TM, and address relevant from equipment sources response prime frame, and send after reading corresponding data from frame, what address was relevant then receives from frame from equipment, and this is once basic communication process.Being controlled by main equipment from the data of equipment, when there is communication disruption, the data before interruption can being maintained from the data of equipment constant.
The core technology of multifunction vehicle bus is its bus control unit---multifunction vehicle bus controller (MVBC) has two kinds of implementations: special MVB control chip or the IP kernel of developing based on FPGA/CPLD.MVBC mainly completes data link layer functions, and it can receive the control data on MVB communication network, is sent to external output channel after Decoding Analysis; Also can the data of Gather and input passage, by the data packing coded transmission that collects to MVB communication network.
MVB communication interface is divided into two kinds of monitor modes, respectively as shown in Fig. 3 (ppu interface shape) and Fig. 4 (not the interface shape of provided with processor).MVB control device functionally can be divided into three large parts: MVBC controller unit, MVB communication disruption Monitor and Control unit (including MVB communication register), ppu unit (optional), output unit.
MVBC mainly completes the data processing of data link layer and transport layer, is indispensable core cell in MVB communication network.MVBC controller can realize by special controller or based on the IP kernel of FPGA/CPLD, MVBC controller converts the data-signal of serial transmission on MVB network to parallel data, and ppu or MVBC controller can control output unit according to decoding control data out; With when should need to other MVB equipment sending datas, by the data of MVBC Gather and input passage, add frame head, be sent to MVB communication network in order after check bit sum postamble.The external interface of MVB communication disruption monitoring unit can be selected to be two kinds of distinct interface forms of provided with processor or not provided with processor according to external hardware.
Ppu unit completes the control of the whole data flow of MVB control device.It is connected by local parallel bus with MVBC controller, and MVBC communicates after the data that send carry out process conversion and is sent on digital quantity or analog output unit by it; Also the signal that digital quantity or analog quantity device collect can be sent to MVBC controller simultaneously, be sent on MVB communication network after the conversion of MVBC coding of controls.
Output unit comprises Multipath digital quantity or analog output unit, and it plays and connects MVBC controller and the beam action of train third party device intermediate axle.The communication control data that MVBC can send over by output unit outputs to third party device after isolation conversion.
MVBC control chip special at present only can be monitored the primary frame signal in MVB, when not listening to the prime frame of MVB in special time, then can produce corresponding interruption.Ppu, by calling interrupt service routine, reads corresponding interrupt register to judge whether bus exists time-out.If MVB interrupts occurring time-out, then gone to turn off output unit by application software.The maximum deficiency of this mode is that software process additionally can take the resource of ppu, and the time of interrupt processing and application response can be very long, and output unit can be in uncontrollable state for a long time.And MVB communicates, prime frame interrupts monitoring period is fixed by chip internal, cannot arrange at random.The MVB control device of developing based on FPGA/CPLDA does not have the function of Safety output protection after MVB communication disruption; if there is the situation of frame losing or communication abnormality in MVB communication network; so the bus control device of MVB also can keep the state of a control before MVB communication data loss; output unit also can keep exporting; train will be caused like this to be in a kind of unsure state, to there is very large risk hidden danger.
Summary of the invention
Technical problem to be solved by this invention is, for above-mentioned the deficiencies in the prior art, provides a kind of Safety output method based on MVB communication.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is: a kind of Safety output method based on MVB communication, comprises the following steps:
1) MVB control device detects the MVB communication frame on MVB communication bus;
2) if the MVB in MVB communication frame communicates, prime frame is normal, or MVB communication prime frame again detected after communication disruption, then MVB control device is according to input Data Control output channel; If any MVB communication prime frame do not detected in the t1 time, or the MVB communication frame of the address port of poll designated equipment do not detected in the t2 time, then when MVB control device is with ppu, enter step 3), when ppu is not with by MVB control device, enter step 5); Described designated equipment is one in all devices communicated with MVB control device;
3) value of MVB communication register is revised as outlier by MVB control device;
4) ppu judges MVB communication abnormality according to the outlier in MVB communication register;
5) MVB control device turns off outside output channel.
In the present invention, t1=1 ~ 5s, t2=2 ~ 6s, better monitoring communications frame type, guarantee that train safe is controlled further.
Compared with prior art, the beneficial effect that the present invention has is: the present invention, on the basis of further investigation MVB communication mechanism, proposes to carry out monitoring respectively to the different frame type of MVB communication normal to judge whether MVB communication is in.Abnormal if communicated, turn off output channel rapidly; If communication is normal, then maintains the normal output of output unit, guarantee the safe and reliable of whole control system; Response time of the present invention is fast, and owing to adopting the mode based on programmable logic device to realize, when there is communication disruption, can turn off output unit, response rapidly, and additionally can not take the resource of ppu at once; Can monitor for different communication frame type, then turn off output unit when the frame that the time that prime frame in MVB communication is interrupted is greater than t1 or poll designated equipment address port is greater than t2 break period, guarantee that train safe is controlled; Monitoring period is adjustable flexibly: the monitoring period of MVB communication disruption can need to adjust according to practical application.T1 and t2 monitoring period can be arranged flexibly according to practical situations; Export control can recover, when train network communication by interrupt recovering normal after, can when MVB control device not power-off restarting continue according to network input Data Control output unit; The inventive method monitors all prime frames, or the frame of the designated equipment address of poll is monitored, if when MVB control device does not send the prime frame of designated equipment address for a certain reason, so to also should receiving the frame comprising designated equipment address by equipment, after special time, it can turn off output, guarantees that the safety of equipment is controlled.
Accompanying drawing explanation
Fig. 1 is the composition structure of MVB communication prime frame;
Fig. 2 is the composition structure of MVB communication from frame;
Fig. 3 is the MVB control device of band ppu;
Fig. 4 is the MVB control device not with ppu;
Fig. 5 is the control flow chart of provided with processor output unit of the present invention;
Fig. 6 is the output unit control flow chart of the present invention's not provided with processor;
Fig. 7 is MVB control module and all the other devices communicating schematic diagrames.
Embodiment
As shown in Figure 5, if the form of select tape ppu interface, so the external interface of MVB communication disruption monitoring unit can comprise control signal, address signal and data-signal, and these signals are used for the communication with ppu.The time of interrupting when prime frame in MVB communication in the present invention is greater than t1(such as 1 ~ 5s) or the frame prime frame of the designated equipment address (and from frame) of poll designated equipment address port is greater than t2 (such as 2 ~ 6s) break period time, then toward MVB communication register inside write special value; If communication is normal, then write another special value (inconsistent with special value during communication abnormality).By the numerical value of MVB communication register, ppu can judge that whether MVB communication is normal, if when communicating normal, then according to network input Data Control output unit; If during communication abnormality, then turn off output unit at once, guarantee that the safety of train is controlled.Wherein the communication interruption time of t1 and t2 can adjust according to practical application request, and flexibility is high.
As shown in Figure 6, if select the interface shape of not provided with processor, so MVB communication disruption monitoring unit directly can control output channel according to network control data.When the frame that the time of interrupting when prime frame in MVB communication in the present invention is greater than t1 or poll designated equipment address port is greater than t2 break period, MVB communication disruption monitoring unit directly can turn off output unit; If when communicating normal, can according to input Data Control output channel.The communication interruption time of t1 and t2 can adjust according to practical application request, and flexibility is high.
MVB control module is responsible for communicating with other equipment (equipment 1,2,3,4) on whole network, and the device address that different equipment is corresponding is different, and they adopt MVB frame to communicate.Illustrate (in the present embodiment for equipment 2 output protection; equipment 2 is designated equipment); MVB IP kernel can detect all frames (comprising the frame of poll self) on MVB communication line; when due to main control device or circuit reason; will notify when not comprising the frame of polling device 2 address inside the frame arbitrary prime frame or detection not detected that MVB communication monitoring unit turns off output unit, as shown in Figure 7.

Claims (3)

1., based on a Safety output method for MVB communication, it is characterized in that, comprise the following steps:
1) MVB control device detects the MVB communication frame on MVB communication bus;
2) if the MVB in MVB communication frame communicates, prime frame is normal, or MVB communication prime frame again detected after communication disruption, then MVB control device is according to input Data Control output channel; If any MVB communication prime frame do not detected in the t1 time, or the MVB communication frame of the address port of poll designated equipment do not detected in the t2 time, then when MVB control device is with ppu, enter step 3), when ppu is not with by MVB control device, enter step 5); Described designated equipment is one in all devices communicated with MVB control device;
3) value of MVB communication register is revised as outlier by MVB control device;
4) ppu judges MVB communication abnormality according to the outlier in MVB communication register;
5) MVB control device turns off outside output channel.
2. the Safety output method based on MVB communication according to claim 1, is characterized in that, t1=1 ~ 5s.
3. the Safety output method based on MVB communication according to claim 1 and 2, is characterized in that, t2=2 ~ 6s.
CN201410618076.0A 2014-11-06 2014-11-06 A kind of Safety output method based on MVB communications Active CN104468301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410618076.0A CN104468301B (en) 2014-11-06 2014-11-06 A kind of Safety output method based on MVB communications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410618076.0A CN104468301B (en) 2014-11-06 2014-11-06 A kind of Safety output method based on MVB communications

Publications (2)

Publication Number Publication Date
CN104468301A true CN104468301A (en) 2015-03-25
CN104468301B CN104468301B (en) 2018-03-16

Family

ID=52913708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410618076.0A Active CN104468301B (en) 2014-11-06 2014-11-06 A kind of Safety output method based on MVB communications

Country Status (1)

Country Link
CN (1) CN104468301B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007197A (en) * 2015-07-29 2015-10-28 南车株洲电力机车研究所有限公司 Method and device for monitoring communication state of MVB bus
CN108632167A (en) * 2018-04-11 2018-10-09 长春工业大学 A kind of MVB cycle information Real-Time Scheduling optimization algorithms based on genetic algorithm
CN112684780A (en) * 2021-01-29 2021-04-20 郑州铁路职业技术学院 Control panel interface assembly for railway locomotive
CN112866147A (en) * 2021-01-04 2021-05-28 中车青岛四方车辆研究所有限公司 RS485-MVB gateway based on HDLC protocol and communication method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005229169A (en) * 2004-02-10 2005-08-25 Shibasoku:Kk Video signal processor
CN101334667A (en) * 2007-06-26 2008-12-31 株洲南车时代电气股份有限公司 Locomotive status messages checking and diagnosis recording method and device
CN201300792Y (en) * 2008-10-24 2009-09-02 株洲南车时代电气股份有限公司 Multi-functional carriage bus line 4-kind equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005229169A (en) * 2004-02-10 2005-08-25 Shibasoku:Kk Video signal processor
CN101334667A (en) * 2007-06-26 2008-12-31 株洲南车时代电气股份有限公司 Locomotive status messages checking and diagnosis recording method and device
CN201300792Y (en) * 2008-10-24 2009-09-02 株洲南车时代电气股份有限公司 Multi-functional carriage bus line 4-kind equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蒋国涛: "《基于FPGA 的WTB 总线控制器设计》", 《铁道机车车辆》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007197A (en) * 2015-07-29 2015-10-28 南车株洲电力机车研究所有限公司 Method and device for monitoring communication state of MVB bus
CN108632167A (en) * 2018-04-11 2018-10-09 长春工业大学 A kind of MVB cycle information Real-Time Scheduling optimization algorithms based on genetic algorithm
CN108632167B (en) * 2018-04-11 2022-05-06 长春工业大学 MVB period information real-time scheduling optimization method based on genetic algorithm
CN112866147A (en) * 2021-01-04 2021-05-28 中车青岛四方车辆研究所有限公司 RS485-MVB gateway based on HDLC protocol and communication method
CN112866147B (en) * 2021-01-04 2023-05-23 中车青岛四方车辆研究所有限公司 RS485-MVB gateway based on HDLC protocol and communication method
CN112684780A (en) * 2021-01-29 2021-04-20 郑州铁路职业技术学院 Control panel interface assembly for railway locomotive

Also Published As

Publication number Publication date
CN104468301B (en) 2018-03-16

Similar Documents

Publication Publication Date Title
CN110474943B (en) Vehicle network redundancy system and gateway switching method based on MVB and Ethernet
CN102647320B (en) Integrated circuit suitable for high-speed 1553 bus protocol control
US9565270B2 (en) LPC2468-based MVB-WTB gateway and working method thereof
CN102055633B (en) Satellite-borne double-CAN (Controller Area Network) bus node failure self-restoration system
CN101237345B (en) A network management method for CAN bus
CN106658565B (en) Multilink preferred transmission method and device for wireless communication of rail transit train-ground
CN104468301A (en) Safety output method based on MVB communication
CN105323080B (en) A kind of link backup, power supply backup method, apparatus and system
CN107888599B (en) Two-way communication system and method between high-low security network domains of avionics
WO2021057017A1 (en) Method for automatic replay attack test in field bus
CN105007197A (en) Method and device for monitoring communication state of MVB bus
CN110417464B (en) Fault processing method and device, computer device and readable storage medium
CN208227042U (en) A kind of real-time automatic fault warning device of server
CN202696640U (en) Ethernet bridge with fault report and remote control functions
CN103529763B (en) Factory Power Monitoring System
WO2024082471A1 (en) Inter-node link status monitoring method and apparatus
US20150229571A1 (en) Method and Device for Adjusting Rate of Data Transmission in Ethernet
CN112083710B (en) Vehicle-mounted network CAN bus node monitoring system and method
CN203827367U (en) Switch on-line monitoring device for digital transformer station
CN217767435U (en) Profibus bus double-channel redundant communication module
CN110162020A (en) A kind of industrial control equipment method for diagnosing faults and system
CN105629913A (en) Railway machine room signal power supply and environment monitoring system
RU2705421C1 (en) Method of transmitting data over a bus, a communication system for realizing said method and an automatic protection device for preventing an emergency situation at a control object
CN105553694A (en) Track traffic train-ground maintenance information communication system and method
CN111169510A (en) Train communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant