CN108255147A - Gateway equipment for train and data communications method - Google Patents

Gateway equipment for train and data communications method Download PDF

Info

Publication number
CN108255147A
CN108255147A CN201611248897.5A CN201611248897A CN108255147A CN 108255147 A CN108255147 A CN 108255147A CN 201611248897 A CN201611248897 A CN 201611248897A CN 108255147 A CN108255147 A CN 108255147A
Authority
CN
China
Prior art keywords
voltage signal
train
tri
state voltage
vehicle
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
CN201611248897.5A
Other languages
Chinese (zh)
Other versions
CN108255147B (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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201611248897.5A priority Critical patent/CN108255147B/en
Publication of CN108255147A publication Critical patent/CN108255147A/en
Application granted granted Critical
Publication of CN108255147B publication Critical patent/CN108255147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The present invention proposes a kind of gateway equipment for train and data communications method, the equipment includes central processing unit, for obtaining its chronological order number of the affiliated rail vehicle in entire train, read the combined information of tri-state voltage signal corresponding with chronological order number, multiple tri-state voltage signal acquisition mouths are configured according to combined information, and control main control chip carries out the acquisition of voltage signal by matching the tri-state voltage signal acquisition mouth postponed, obtain the corresponding digital signal of combination of tri-state voltage signal, control gateway equipment for train obtains the travelling data that the vehicle bus of its affiliated rail vehicle reports, and using corresponding digital signal as the identity of the affiliated rail vehicle of travelling data, according to identity and travelling data generation message, message is sent on train bus-line.The invention can ensure the normal operation of vehicle, effectively avoid enclosed train because there is careless mistake when production management or train assembling, and the situation for causing train failure that can not run.

Description

Gateway equipment for train and data communications method
Technical field
The present invention relates to train communication technical field more particularly to a kind of gateway equipment for train and data communications methods.
Background technology
It is vehicle-mounted in city and the trains industrial chain such as Intercity Transportation gradual perfection, light rail, motor-car, subway is extended Communications network security is also valued by the people gradually.Train Communication Network mainly uses Lonworks, WTB (Wired at present Train bus, wired train bus), MVB (Multifunction Vehicle Bus, multifunctional vehicle bus), ether The buses such as net, CAN (Controller Area Network, controller local area network), and in existing bus, only WTB Flexible marshalling can be realized with Ethernet, therefore the backbone network of existing opened train can only apply WTB and industry ethernet, and As backbone network all it is enclosed train using MVB and CAN bus.Enclosed train often section vehicle identity be it is fixed, no Vehicle is allowed to assemble error, in the process of running, train cannot mount or release mounting any of which one and save vehicle train, i.e., Train bus-line is when topological structure changes, it is impossible to the automatic identity for reconfiguring vehicle.
It, can only be from a section of transferring elsewhere when a certain section vehicle in enclosed train breaks down under this mode Vehicle corresponding with the vehicle to break down, the vehicle to be gone wrong with its replacement, for example, when the No.1 vehicle in enclosed train When breaking down, can only be replaced with spare No.1 vehicle, similarly, No. two vehicles also can only No. two vehicles replace, if Due to human error, cause to replace No. two vehicles with No. three vehicles, two No. three vehicles of section occurs in current train network, then Train network data transmission will be abnormal, and influence the normal operation of vehicle.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, an object of the present invention is to provide a kind of gateway equipment for train, it can ensure the normal operation of vehicle, Enclosed train is effectively avoided because there is careless mistake when production management or train assembling, and leads to what train failure can not be run Situation.
It is another object of the present invention to propose a kind of data communications method.
In order to achieve the above objectives, the gateway equipment for train that first aspect present invention embodiment proposes, including:Central processing unit And main control chip, multiple tri-state voltage signal acquisition mouths are provided on the main control chip, wherein, the central processing unit is used In its chronological order number of affiliated rail vehicle in entire train of acquisition, and read tri-state corresponding with the chronological order number The combined information of voltage signal, according to the combined information of the corresponding tri-state voltage signal to the multiple tri-state voltage signal Acquisition port is configured and is controlled the main control chip to carry out voltage signal by matching the tri-state voltage signal acquisition mouth postponed Acquisition, obtain the corresponding digital signal of combination of tri-state voltage signal;The central processing unit is used to control the train net It closes equipment and obtains the travelling data that the vehicle bus of its affiliated rail vehicle reports, and using the corresponding digital signal as institute The identity of the affiliated rail vehicle of travelling data is stated, message is generated according to the identity and the travelling data, by institute Message is stated to be sent on the train bus-line.
The gateway equipment for train that first aspect present invention embodiment proposes, its affiliated train vehicle is obtained by central processing unit Chronological order number in entire train, and read the combined information of tri-state voltage signal corresponding with chronological order number, root According to the combined information of corresponding tri-state voltage signal master control core is configured and controls to multiple tri-state voltage signal acquisition mouths Piece carries out the acquisition of voltage signal by matching the tri-state voltage signal acquisition mouth postponed, and the combination for obtaining tri-state voltage signal corresponds to Digital signal;Control gateway equipment for train obtains the travelling data that the vehicle bus of its affiliated rail vehicle reports, and will be right Identity of the digital signal answered as the affiliated rail vehicle of travelling data, according to identity and travelling data generation report Message is sent on train bus-line by text, can ensure the normal operation of vehicle, effectively avoid enclosed train because of production management or There is careless mistake when assembling in person's train, the situation that train is caused to break down and can not be run.
In order to achieve the above objectives, the data communications method that second aspect of the present invention embodiment proposes, including:Obtain centre Chronological order number of the affiliated rail vehicle of device in entire train is managed, and reads tri-state voltage corresponding with the chronological order number The combined information of signal;According to the combined information of the corresponding tri-state voltage signal to the multiple tri-state voltage signal acquisition Main control chip mouthful is configured and control by matching the acquisition of the tri-state voltage signal acquisition mouth postponed progress voltage signal, Obtain the corresponding digital signal of combination of tri-state voltage signal;The gateway equipment for train is controlled to obtain its affiliated rail vehicle The travelling data that vehicle bus reports, and using the corresponding digital signal as the body of the affiliated rail vehicle of the travelling data Part mark;According to the identity and travelling data generation message, the message is sent on the train bus-line.
The data communications method that second aspect of the present invention embodiment proposes, by obtaining the affiliated rail vehicle of central processing unit Chronological order number in entire train, and the combined information of tri-state voltage signal corresponding with chronological order number is read, according to The combined information of corresponding tri-state voltage signal is configured and controls main control chip to multiple tri-state voltage signal acquisition mouths The acquisition of voltage signal is carried out by matching the tri-state voltage signal acquisition mouth postponed, the combination for obtaining tri-state voltage signal is corresponding Digital signal;Control gateway equipment for train obtains the travelling data that the vehicle bus of its affiliated rail vehicle reports, and will be corresponding Identity of the digital signal as the affiliated rail vehicle of travelling data, message is generated according to identity and travelling data, Message is sent on train bus-line, can ensure the normal operation of vehicle, effectively avoid enclosed train because of production management or There is careless mistake when assembling in train, and the situation for causing train failure that can not run.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description It obtains significantly or is recognized by the practice of the present invention.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Significantly and it is readily appreciated that, wherein:
Fig. 1 is the structure diagram for the gateway equipment for train that one embodiment of the invention proposes;
Fig. 2 is the hardware structure schematic diagram of gateway equipment for train main control chip of the embodiment of the present invention;
Fig. 3 is N number of tri-state voltage signal acquisition mouth external cabling signal of No. three vehicle main control chips of the embodiment of the present invention Figure;
Fig. 4 is that the embodiment of the present invention often uses train network topological diagram;
Fig. 5 is the structure diagram for the gateway equipment for train that another embodiment of the present invention proposes;
Fig. 6 is the interface setting schematic diagram of gateway equipment for train of the embodiment of the present invention and controller switching equipment;
Fig. 7 is the tri-state voltage signal acquisition mouth of No. four vehicles when vehicle newly accesses train backbone network of the embodiment of the present invention External cabling schematic diagram;
Fig. 8 is the tri-state voltage signal acquisition mouth of No. five vehicles when vehicle newly accesses train backbone network of the embodiment of the present invention External cabling schematic diagram;
Fig. 9 is the flow diagram for the data communications method that one embodiment of the invention proposes;
Figure 10 is the flow diagram for the data communications method that another embodiment of the present invention proposes;
Figure 11 is the flow diagram for the data communications method that another embodiment of the present invention proposes.
Specific embodiment
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, this The embodiment of invention includes falling into all changes in the range of the spirit and intension of attached claims, modification and equivalent Object.
Fig. 1 is the structure diagram for the gateway equipment for train that one embodiment of the invention proposes.
In the prior art, the identity that enclosed train often saves vehicle is fixed, does not allow vehicle assembling error, but this reality By artificially being operated to carry out arrangement, there is careless mistake when production management or train are assembled, this train just will appear Problem influences the normal operation of vehicle.
And in the embodiment of the present invention, the tri-state voltage signal acquisition mouth of the main control chip by designing gateway equipment for train Realize the configuration of vehicle identification, vehicle can be transferred flexibly, can arbitrarily change the framework of existing train core network, only need After the change, the gateway equipment for train of each section vehicle is reconfigured, train still can be with normally travel.
Referring to Fig. 1, which includes:Main control chip 100 and central processing unit 200 are set on main control chip 100 Multiple tri-state voltage signal acquisition mouths are equipped with, wherein, central processing unit 200 is entirely arranging for obtaining its affiliated rail vehicle Chronological order number in vehicle, and the combined information of tri-state voltage signal corresponding with chronological order number is read, according to corresponding three The combined information of state voltage signal is configured and controls main control chip 100 to pass through in multiple tri-state voltage signal acquisition mouths The acquisition of voltage signal is carried out with the tri-state voltage signal acquisition mouth postponed, obtains the corresponding number of combination of tri-state voltage signal Signal;Central processing unit 200 is used to that gateway equipment for train to be controlled to obtain the driving that the vehicle bus of its affiliated rail vehicle reports Data, and using corresponding digital signal as the identity of the affiliated rail vehicle of travelling data, according to identity and driving Data generate message, and message is sent on train bus-line.
In one embodiment of the invention, which includes:Main control chip 100 is set on main control chip 100 It is equipped with multiple tri-state voltage signal acquisition mouths.
Wherein, so-called tri-state is respectively high level (connecing power supply), low level (ground connection), high-impedance state (hanging), tri-state voltage Signal is any of following:High level voltage signal, low level voltage signal and high-impedance state voltage signal.
In embodiments of the present invention, the number of preset tri-state voltage signal acquisition mouth on main control chip 100 can be marked To be N number of, wherein, N>1, for example, with reference to Fig. 2, Fig. 2 is that the hardware structure of gateway equipment for train main control chip of the embodiment of the present invention shows It is intended to, wherein, the input signal arranged by each pin of tri-state voltage signal acquisition mouth acquisition, so as to be supplied to main control chip 100 1 groups of coding informations so that main control chip 100 can identify that the chronological order number in entire train is configured in current vehicle.
It should be noted that main control chip 100 is believed by the voltage signal that tri-state voltage signal acquisition mouth acquires for simulation Number, after the analog-digital converter DAC inside main control chip, the data of 100 final process of main control chip are digital signal.
In one embodiment of the invention, which includes:Central processing unit 200, for obtaining its institute Belong to chronological order number of the rail vehicle in entire train, and read the combination of tri-state voltage signal corresponding with chronological order number Information is configured and controls to multiple tri-state voltage signal acquisition mouths according to the combined information of corresponding tri-state voltage signal Main control chip 100 processed carries out the acquisition of voltage signal by matching the tri-state voltage signal acquisition mouth postponed, obtains tri-state voltage letter Number the corresponding digital signal of combination.
In an embodiment of the present invention, the combined information of corresponding tri-state voltage signal, that is, corresponding tri-state voltage signal A kind of combination, the present invention is that acquisition port and power distribution are accessed according to a kind of combination, different accesses Mode corresponds to different combinations.
Specifically, before central processing unit 200 obtains its chronological order number of affiliated rail vehicle in entire train, It is defined firstly the need of the identity to vehicle, that is, configuration often saves chronological order number of the vehicle in entire train, for example, one Number vehicle, No. two vehicles, No. three vehicles ..., N vehicles.
It is, for example, possible to use coding rule as shown in Table 1 is defined the identity of vehicle, configuration often saves vehicle whole Chronological order number in a train specifically, can be defined using the arrangement of binary signal, that is, No.1 vehicle is master control All pins ground connection (low level) of the external acquisition port of chip 100, coding information 0 ... 0000;No. two vehicles are master control No. 1 pin of external acquisition port of chip 100 connects power supply (high level), other pins ground connection, coding information 0 ... 0001;Three Number vehicle connects power supply (high level) for No. 2 pins of external acquisition port of main control chip 100, other pins are grounded, coding information It is 0 ... 0010;And so on, the last section vehicle connects power supply (high electricity for all pins of the external acquisition port of main control chip 100 It is flat), coding information 1 ... 1111.
Table 1
Optionally, when it is vacant state that some pin of the external acquisition port of main control chip 100, which detects current state, It can give tacit consent to by ground connection (low level) processing.It, can be according to the volume shown in table 1 when the joint number (i.e. N values) of rail vehicle is more than 1 The input of the tri-state voltage signal acquisition mouth of code rule configuration main control chip, to achieve the purpose that be defined vehicle identification, So as to obtain often chronological order number of the section vehicle in entire train.
Then, central processing unit 100 can read the combined information of tri-state voltage signal corresponding with chronological order number, root Multiple tri-state voltage signal acquisition mouths are configured according to the combined information of corresponding tri-state voltage signal.For example, when train vehicle When chronological order number in entire train is No.1 vehicle, it is known that corresponding with No.1 vehicle N number of three from table 1 The all low level voltage signals of state voltage signal, at this point it is possible to be believed according to N number of low level voltage signal N number of tri-state voltage Number acquisition port is configured, i.e., is all grounded the pin of N number of acquisition port of the outside of main control chip 100.
As a kind of example, when chronological order number of the rail vehicle in entire train is No. three vehicles, to N number of tri-state Voltage signal acquisition mouth carries out configuration and may refer to Fig. 3, and Fig. 3 is N number of tri-state of No. three vehicle main control chips of the embodiment of the present invention No. 2 pins of external acquisition port of main control chip 100 need to only be connect power supply by voltage signal acquisition mouth external cabling schematic diagram, other Pin is grounded.
As a kind of example, when No. three vehicles break down, need from when a section vehicle being adjusted to be replaced elsewhere, Artificial charge and discharge operations are first passed around, the tri-state voltage signal acquisition mouth on the vehicle newly transferred is subjected to wiring as shown in Figure 3, it Afterwards by newly define No. three vehicle loadings ON TRAINS, train is enabled to communicate according to the original network architecture, is ensured The normal operation of vehicle.
Since the data of 100 final process of main control chip are digital signal, in the good N number of tri-state voltage signal acquisition mouth of configuration Afterwards, central processing unit 200 can control main control chip 100 to carry out voltage signal by matching the tri-state voltage signal acquisition mouth postponed Acquisition, the corresponding digital signal of combination of tri-state voltage signal, i.e. coding information in table 1 are obtained, for example, No.1 vehicle obtains The digital signal arrived be 0 ... 0000 (N number of 0).
In an embodiment of the present invention, central processing unit 200 is used to that gateway equipment for train to be controlled to obtain its affiliated train vehicle The travelling data that reports of vehicle bus, and using corresponding digital signal as the identity mark of the affiliated rail vehicle of travelling data Know, message is generated according to identity and travelling data, message is sent on train bus-line.
Wherein, the identity of vehicle is for the unique mark vehicle.
It should be noted that the distinctive points of all vehicles are on train, except the appearance of decaptitating vehicle and trailer and function with Intermediate vehicle is had any different, intermediate vehicle no matter how many joint number, can be the same, for example, with reference to Fig. 4, Fig. 4 is this Inventive embodiments often with train network topological diagram, arrange also without larger difference, often saves by the vehicle network of all vehicle interiors The data that vehicle maximum is transmitted to other vehicles difference lies in respective gateway equipment for train will carry respective identity.
Therefore, the vehicle bus that central processing unit 200 can will control gateway equipment for train to obtain its affiliated rail vehicle The travelling data reported, and using corresponding digital signal as the identity of the affiliated rail vehicle of travelling data, for example, with reference to Table 1, the identity of No. three vehicles can be 0 ..., and 0010 (N-1 0) generates message according to identity and travelling data, will Message is sent on train bus-line.For example, the instrument display screen of head vehicle needs to show the data of each section vehicle tyre pressure, vehicle is often saved Gateway equipment for train (in addition to head vehicle) obtain the data that tire pressure monitoring system is sent, according to the body of the corresponding vehicle of every section vehicle Message, is then sent on backbone network, i.e., on train bus-line by the data generation message that part mark and tire pressure monitoring system are sent.
In some embodiments, referring to Fig. 5, which further includes:Controller switching equipment 300, memory 400 and Detection module 500.
In one embodiment of the invention, which includes:Controller switching equipment 300 is set on controller switching equipment 300 Multiple pins are equipped with, multiple pins are used to export different or same state voltage signal.
Optionally, the appliances power source on train substantially with both be from controller switching equipment 300, therefore the present invention can be One interface that power supply or earth signal are provided exclusively for gateway equipment for train is set on controller switching equipment 300, for example, with reference to Fig. 6, figure 6 set schematic diagram for the interface of gateway equipment for train of the embodiment of the present invention and controller switching equipment, in the master control core of gateway equipment for train When some tri-state voltage signal acquisition mouth pin on piece 100 needs to connect power supply, can by external vehicle wire harness connector by its It is connected on the 24V pins on controller switching equipment 300, similarly, some tri-state electricity on the main control chip 100 of gateway equipment for train When pressure signal acquisition mouth pin needs ground connection, the ground of controller switching equipment 300 can be connected to by external vehicle wire harness connector On pin, when the identity of vehicle needs to rearrange, can main control chip be adjusted according to the coding rule shown in table 1 The wiring of each pin on 100, you can complete the configuration of vehicle identification.
In one embodiment of the invention, which includes:Memory 400, memory 400 are used for basis The number of vehicle is often saved in the chronological order of rail vehicle, it is a pair of to carry out one with the combined information of a variety of different conditions voltage signals It should store, generate correspondence.
In an embodiment of the present invention, central processing unit 200 reads correspondence from memory 400, and according to correspondence Relationship determines the combined information of tri-state voltage signal corresponding with chronological order number.
For example, the number that vehicle will can be often saved in the chronological order of the rail vehicle in table 1, with a variety of different conditions electricity The combined information of pressure signal carries out one-to-one correspondence storage, generates correspondence, in order to which central processing unit is read and layout in real time The combined information of the corresponding tri-state voltage signal of serial number effectively promotes the reading efficiency of information.
In one embodiment of the invention, which includes:Detection module 500, detection module 500 are used for Detect whether to receive the identity of the vehicle to newly accessing train backbone network and/or the vehicle to being detached from train backbone network The instruction rearranged, obtains testing result.
In an embodiment of the present invention, when testing result is to receive the instruction rearranged, central processing unit 200 obtains New chronological order number is taken, multiple tri-state voltage signal acquisition mouths are configured again according to new chronological order number.
It should be noted that newly the vehicle of access train backbone network must it is consistent with the shape of other vehicles (because of head vehicle or Trailer is inconsistent with the shape of intermediate car), it, can be to newly accessing train master when needing to increase vehicle joint number on certain main line Gateway equipment for train on the vehicle of dry net is set accordingly, alternatively, when needing to reduce vehicle joint number on certain main line, Gateway equipment for train on influential vehicle can be set accordingly, can ensure the normal operation of vehicle.
For example, train has 4 section vehicles (without head vehicle and trailer), i.e., 100 are provided with 4 tri-state voltage letters on main control chip Number acquisition port (N=4), when the identity that detection module 500 receives the vehicle to newly accessing train backbone network carries out again During the instruction of layout, for example, the vehicle of new access train backbone network can be loaded between No. three vehicles and No. four vehicles, this When, No. three vehicles and No. four vehicles can be separated, then, by volume of the vehicle of new access train backbone network in entire train Alignment serial number is configured to No. four vehicles, and chronological order number of No. four original vehicles in entire train is configured to No. five vehicles , by 4 tri-state voltage signal acquisitions on the main control chip of the gateway equipment for train on the vehicle of new access train backbone network Mouth carries out wiring as shown in Figure 7, meanwhile, by 4 three on the main control chip of the gateway equipment for train on No. four original vehicles State voltage signal acquisition mouth carries out wiring as shown in Figure 8, finally, newly define No. four vehicles is connected upper No. three vehicles, then will No. five vehicles newly defined connect No. four vehicles newly defined, can guarantee the normal communication of five section vehicle network frameworks in this way, Ensure the normal operation of vehicle.
Wherein, Fig. 8 is the tri-state voltage signal of No. four vehicles when vehicle newly accesses train backbone network of the embodiment of the present invention The external cabling schematic diagram of acquisition port, Fig. 8 be the embodiment of the present invention when vehicle newly accesses train backbone network No. five vehicles three The external cabling schematic diagram of state voltage signal acquisition mouth.
Similarly, the identity of vehicle detached from train backbone network is compiled again when detection module 500 is received During the instruction of row, central processing unit 200 can obtain new chronological order number, according to new chronological order number again to multiple three State voltage signal acquisition mouth is configured.
In the present embodiment, its chronological order number of the affiliated rail vehicle in entire train is obtained by central processing unit, And the combined information of tri-state voltage signal corresponding with chronological order number is read, believed according to the combination of corresponding tri-state voltage signal Breath is configured and controls main control chip to adopt by matching the tri-state voltage signal postponed to multiple tri-state voltage signal acquisition mouths Ji Kou carries out the acquisition of voltage signal, obtains the corresponding digital signal of combination of tri-state voltage signal;Control gateway equipment for train The travelling data that the vehicle bus of its affiliated rail vehicle reports is obtained, and using corresponding digital signal as belonging to travelling data The identity of rail vehicle generates message according to identity and travelling data, message is sent on train bus-line, can Ensure the normal operation of vehicle, effectively avoid enclosed train because there is careless mistake when production management or train assembling, and cause to arrange The situation that vehicle failure can not be run.
Fig. 9 is the flow diagram for the data communications method that one embodiment of the invention proposes.
Referring to Fig. 9, which includes:
S91:Chronological order number of the affiliated rail vehicle of central processing unit in entire train is obtained, and is read suitable with layout The combined information of the corresponding tri-state voltage signal of serial number.
In an embodiment of the present invention, tri-state voltage signal is any of following:High level voltage signal, low level Voltage signal and high-impedance state voltage signal.
In an embodiment of the present invention, correspondence can be read from memory, and determines and compiles according to correspondence The combined information of the corresponding tri-state voltage signal of alignment serial number.
In some embodiments, referring to Figure 10, further included before step S91:
S101:Multiple pins are set on controller switching equipment, and multiple pins are believed for exporting different or same state voltage Number.
S102:According to the number that vehicle is often saved in the chronological order of rail vehicle, with a variety of different conditions voltage signals Combined information carries out one-to-one correspondence storage, generates correspondence.
S92:Multiple tri-state voltage signal acquisition mouths are configured according to the combined information of corresponding tri-state voltage signal, And control main control chip carries out the acquisition of voltage signal by matching the tri-state voltage signal acquisition mouth postponed, obtains tri-state voltage The corresponding digital signal of combination of signal.
It in an embodiment of the present invention, can be according to the combined information of corresponding tri-state voltage signal, by multiple tri-states electricity Pressure signal acquisition mouth carries out access configuration with multiple pins on controller switching equipment, and passes through with the tri-state voltage signal acquisition postponed The voltage signal that mouth acquisition controller switching equipment provides, obtains the corresponding digital signal of combination of tri-state voltage signal.
S93:Control gateway equipment for train obtains the travelling data that the vehicle bus of its affiliated rail vehicle reports, and will be right Identity of the digital signal answered as the affiliated rail vehicle of travelling data.
S94:According to identity and travelling data generation message, message is sent on train bus-line.
In some embodiments, referring to Figure 11, which further includes:
S111:Detect whether to receive vehicle to newly accessing train backbone network and/or to being detached from train backbone network The instruction that the identity of vehicle is rearranged, obtains testing result.
S112:When testing result is to receive the instruction rearranged, new chronological order number is obtained, according to new volume Alignment serial number is again configured multiple tri-state voltage signal acquisition mouths.
It should be noted that the explanation of gateway equipment for train embodiment is also suitable in earlier figures 1- Fig. 8 embodiments In the data communications method of the embodiment, realization principle is similar, and details are not described herein again.
In the present embodiment, by obtaining chronological order number of the affiliated rail vehicle of central processing unit in entire train, and The combined information of tri-state voltage signal corresponding with chronological order number is read, according to the combined information of corresponding tri-state voltage signal Multiple tri-state voltage signal acquisition mouths are configured and controlled with main control chip by matching the tri-state voltage signal acquisition postponed Mouth carries out the acquisition of voltage signal, obtains the corresponding digital signal of combination of tri-state voltage signal;Control gateway equipment for train obtains The travelling data that the vehicle bus of its affiliated rail vehicle is taken to report, and using corresponding digital signal as row belonging to travelling data The identity of vehicle vehicle generates message according to identity and travelling data, message is sent on train bus-line, Neng Goubao The normal operation of vehicle is demonstrate,proved, effectively avoids enclosed train because there is careless mistake when production management or train assembling, and leads to train Break down situation about can not run.
It should be noted that in the description of the present invention, term " first ", " second " etc. are only used for description purpose, without It is understood that indicate or implying relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple " It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include Module, segment or the portion of the code of the executable instruction of one or more the step of being used to implement specific logical function or process Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, to perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If for example, with hardware come realize in another embodiment, can be under well known in the art Any one of row technology or their combination are realized:With for the logic gates to data-signal realization logic function Discrete logic, have suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, the program when being executed, one or a combination set of the step of including embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also That each unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and is independent product sale or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " example ", " is specifically shown " some embodiments " The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiments or example in combine in an appropriate manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, those of ordinary skill in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changes, replacing and modification.

Claims (16)

1. a kind of gateway equipment for train, including central processing unit and main control chip, which is characterized in that set on the main control chip There are multiple tri-state voltage signal acquisition mouths, wherein,
The central processing unit, for obtaining its chronological order number of the affiliated rail vehicle in entire train, and reading and institute The combined information of the corresponding tri-state voltage signal of chronological order number is stated, according to the combined information of the corresponding tri-state voltage signal To the multiple tri-state voltage signal acquisition mouth the main control chip is configured and controlled by matching the tri-state voltage postponed Signal acquisition mouth carries out the acquisition of voltage signal, obtains the corresponding digital signal of combination of tri-state voltage signal;
What the vehicle bus that the central processing unit is used to that the gateway equipment for train to be controlled to obtain its affiliated rail vehicle reported Travelling data, and using the corresponding digital signal as the identity of the affiliated rail vehicle of the travelling data, according to institute Identity and travelling data generation message are stated, the message is sent on the train bus-line.
2. gateway equipment for train as described in claim 1, which is characterized in that further include:
Controller switching equipment, is provided with multiple pins on the controller switching equipment, and the multiple pin is for exporting different or identical shape State voltage signal.
3. gateway equipment for train as claimed in claim 2, which is characterized in that wherein,
According to the combined information of the corresponding tri-state voltage signal, the multiple tri-state voltage is believed for the central processing unit Number acquisition port carries out access configuration with the multiple pin on the controller switching equipment, and passes through with the tri-state voltage signal postponed Acquisition port acquires the voltage signal that the controller switching equipment provides, and obtains the corresponding number letter of combination of the tri-state voltage signal Number.
4. gateway equipment for train as described in claim 1, which is characterized in that wherein, further include:
Memory, the memory are and described more for often saving the number of vehicle in chronological order according to the rail vehicle The combined information of kind different conditions voltage signal carries out one-to-one correspondence storage, generates correspondence.
5. gateway equipment for train as claimed in claim 4, which is characterized in that wherein,
The central processing unit reads the correspondence from the memory, and is determined according to the correspondence and institute State the combined information of the corresponding tri-state voltage signal of chronological order number.
6. gateway equipment for train as claimed in claim 4, which is characterized in that wherein, further include:
Detection module, the detection module for detecting whether receive vehicle to newly accessing the train backbone network and/or The instruction that the identity of vehicle to being detached from the train backbone network is rearranged, obtains testing result.
7. gateway equipment for train as claimed in claim 6, which is characterized in that wherein,
The central processing unit, be additionally operable to the testing result be receive it is described rearrange instruction when, obtain new Chronological order number is again configured the multiple tri-state voltage signal acquisition mouth according to the new chronological order number.
8. such as claim 1-7 any one of them gateway equipment for train, which is characterized in that the tri-state voltage signal is following Any of:
High level voltage signal, low level voltage signal and high-impedance state voltage signal.
9. a kind of data communications method, which is characterized in that include the following steps:
Chronological order number of the affiliated rail vehicle of central processing unit in entire train is obtained, and is read and the chronological order number The combined information of corresponding tri-state voltage signal;
The multiple tri-state voltage signal acquisition mouth is configured according to the combined information of the corresponding tri-state voltage signal, And control main control chip carries out the acquisition of voltage signal by matching the tri-state voltage signal acquisition mouth postponed, obtains tri-state voltage The corresponding digital signal of combination of signal;
The gateway equipment for train is controlled to obtain the travelling data that the vehicle bus of its affiliated rail vehicle reports, and will be described right Identity of the digital signal answered as the affiliated rail vehicle of the travelling data;
According to the identity and travelling data generation message, the message is sent on the train bus-line.
10. data communications method as claimed in claim 9, which is characterized in that in the acquisition affiliated train of central processing unit Before chronological order number of the vehicle in entire train, further include:
Multiple pins are set on controller switching equipment, and the multiple pin is used to export different or same state voltage signal.
11. data communications method as claimed in claim 10, which is characterized in that described to be believed according to the corresponding tri-state voltage Number combined information be configured and control the main control chip to pass through in the multiple tri-state voltage signal acquisition mouth to be configured Tri-state voltage signal acquisition mouth afterwards carries out the acquisition of voltage signal, obtains the corresponding number letter of combination of tri-state voltage signal Number, including:
According to the combined information of the corresponding tri-state voltage signal, the multiple tri-state voltage signal acquisition mouth is matched with described The multiple pin in electric equipment carries out access configuration, and passes through and match described in the tri-state voltage signal acquisition mouth acquisition matched and postponed The voltage signal that electric equipment provides, obtains the corresponding digital signal of combination of the tri-state voltage signal.
12. data communications method as claimed in claim 9, which is characterized in that in the acquisition affiliated train of central processing unit Before chronological order number of the vehicle in entire train, further include:
According to the number that vehicle is often saved in the chronological order of the rail vehicle, the group with a variety of different conditions voltage signals It closes information and carries out one-to-one correspondence storage, generate correspondence.
13. data communications method as claimed in claim 12, which is characterized in that the reading is corresponding with the chronological order number Tri-state voltage signal combined information, including:
The correspondence is read from the memory, and is determined according to the correspondence corresponding with the chronological order number Tri-state voltage signal combined information.
14. data communications method as claimed in claim 12, which is characterized in that further include:
Detect whether to receive the vehicle to newly accessing the train backbone network and/or the vehicle to being detached from the train backbone network The instruction rearranged of identity, obtain testing result.
15. data communications method as claimed in claim 14, which is characterized in that further include:
The testing result be receive it is described rearrange instruction when, new chronological order number is obtained, according to described new Chronological order number the multiple tri-state voltage signal acquisition mouth is configured again.
16. such as claim 9-15 any one of them data communications methods, which is characterized in that the tri-state voltage signal be with Any of lower:
High level voltage signal, low level voltage signal and high-impedance state voltage signal.
CN201611248897.5A 2016-12-29 2016-12-29 Train gateway device and data communication method Active CN108255147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611248897.5A CN108255147B (en) 2016-12-29 2016-12-29 Train gateway device and data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611248897.5A CN108255147B (en) 2016-12-29 2016-12-29 Train gateway device and data communication method

Publications (2)

Publication Number Publication Date
CN108255147A true CN108255147A (en) 2018-07-06
CN108255147B CN108255147B (en) 2019-12-20

Family

ID=62721564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611248897.5A Active CN108255147B (en) 2016-12-29 2016-12-29 Train gateway device and data communication method

Country Status (1)

Country Link
CN (1) CN108255147B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083666A (en) * 2019-12-17 2020-04-28 联合汽车电子有限公司 Network node ordering method, network node and network system
CN112255999A (en) * 2020-10-30 2021-01-22 安徽江淮汽车集团股份有限公司 Bus data acquisition method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873959A (en) * 2007-11-30 2010-10-27 三菱电机株式会社 Train formation recognition system and train formation recognition apparatus
CN102469418A (en) * 2011-01-26 2012-05-23 北京中铁列尾电子设备有限公司 Train tail device, tracking device for obtaining train tail information, system and method
CN103685003A (en) * 2013-11-27 2014-03-26 唐山轨道客车有限责任公司 Gateway equipment for train
CN103997545A (en) * 2014-06-13 2014-08-20 青岛四方车辆研究所有限公司 Train broadband communication network architecture suitable for railway vehicle
CN204069018U (en) * 2014-07-15 2014-12-31 北车大连电力牵引研发中心有限公司 Gateway equipment for train
CN104580488A (en) * 2015-01-20 2015-04-29 株洲南车时代电气股份有限公司 Information synchronization method and system
CN104898538A (en) * 2015-06-17 2015-09-09 南车株洲电力机车有限公司 Transmission control method and system of subway engineering vehicle reconnection signals
CN105763622A (en) * 2016-04-06 2016-07-13 株洲中车时代电气股份有限公司 Train formation reconnection method and formation reconnection device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873959A (en) * 2007-11-30 2010-10-27 三菱电机株式会社 Train formation recognition system and train formation recognition apparatus
CN102469418A (en) * 2011-01-26 2012-05-23 北京中铁列尾电子设备有限公司 Train tail device, tracking device for obtaining train tail information, system and method
CN103685003A (en) * 2013-11-27 2014-03-26 唐山轨道客车有限责任公司 Gateway equipment for train
CN103997545A (en) * 2014-06-13 2014-08-20 青岛四方车辆研究所有限公司 Train broadband communication network architecture suitable for railway vehicle
CN204069018U (en) * 2014-07-15 2014-12-31 北车大连电力牵引研发中心有限公司 Gateway equipment for train
CN104580488A (en) * 2015-01-20 2015-04-29 株洲南车时代电气股份有限公司 Information synchronization method and system
CN104898538A (en) * 2015-06-17 2015-09-09 南车株洲电力机车有限公司 Transmission control method and system of subway engineering vehicle reconnection signals
CN105763622A (en) * 2016-04-06 2016-07-13 株洲中车时代电气股份有限公司 Train formation reconnection method and formation reconnection device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083666A (en) * 2019-12-17 2020-04-28 联合汽车电子有限公司 Network node ordering method, network node and network system
CN111083666B (en) * 2019-12-17 2024-02-23 联合汽车电子有限公司 Network node sequencing method, network node and network system
CN112255999A (en) * 2020-10-30 2021-01-22 安徽江淮汽车集团股份有限公司 Bus data acquisition method and device

Also Published As

Publication number Publication date
CN108255147B (en) 2019-12-20

Similar Documents

Publication Publication Date Title
GB2414327B (en) Railway signalling systems
CN104796356B (en) Vehicle-mounted Ethernet switch and signal transmitting and receiving and train weight linked method used for rail vehicle
CN108255147A (en) Gateway equipment for train and data communications method
CN111220401A (en) General motor train unit single-train debugging simulation device and method
CN102104515A (en) Coupling devices, system comprising a coupling device and method for use in a system comprising a coupling device
CN101533351A (en) Method and system for identifying information of single plate hardware version
CN105718409A (en) Pin-configurable internal bus termination system
CN102621436A (en) Single vehicle debugging test stand and debugging method
CN104865958A (en) Matrix switch device, system and method
CN107766271A (en) BMS addresses on electric automobile are from distribution system
CN107544416A (en) A kind of control device of AuCT
CN106647393A (en) CAN bus automatic coding circuit and method
CN104484257B (en) A kind of general 1553B bus communication emulation test system and method
CN107888470A (en) Vehicle control syetem
CN206270694U (en) A kind of CAN autocoding circuit
CN108243042A (en) Configuration method, again networking pass, controller, compartment and train are closed in networking again
CN103516560B (en) Method and scene setting method that test MVB network interface card AB road redundancy is switched
CN207817521U (en) The test device of Train Control and management system for subway
CN109229142A (en) Train switch control system and control method
CN210668925U (en) Communication harness, simulation test equipment and system
CN105425778B (en) The test platform of CAN bus based train network control system
CN104678983A (en) Traction control unit self-detection circuit
CN208141212U (en) A kind of test device of entire car controller
CN104348756B (en) Switch system
CN106603356A (en) Vehicle-mounted analysis equipment and data processing method therefor

Legal Events

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