CN109383527B - Train marshalling list method, marshalling controller and train - Google Patents

Train marshalling list method, marshalling controller and train Download PDF

Info

Publication number
CN109383527B
CN109383527B CN201710657914.9A CN201710657914A CN109383527B CN 109383527 B CN109383527 B CN 109383527B CN 201710657914 A CN201710657914 A CN 201710657914A CN 109383527 B CN109383527 B CN 109383527B
Authority
CN
China
Prior art keywords
compartment
marshalling
train
controller
leading
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.)
Active
Application number
CN201710657914.9A
Other languages
Chinese (zh)
Other versions
CN109383527A (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 CN201710657914.9A priority Critical patent/CN109383527B/en
Priority to PCT/CN2018/098344 priority patent/WO2019024893A1/en
Publication of CN109383527A publication Critical patent/CN109383527A/en
Application granted granted Critical
Publication of CN109383527B publication Critical patent/CN109383527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61BRAILWAY SYSTEMS; EQUIPMENT THEREFOR NOT OTHERWISE PROVIDED FOR
    • B61B1/00General arrangement of stations, platforms, or sidings; Railway networks; Rail vehicle marshalling systems
    • B61B1/005Rail vehicle marshalling systems; Rail freight terminals
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61BRAILWAY SYSTEMS; EQUIPMENT THEREFOR NOT OTHERWISE PROVIDED FOR
    • B61B1/00General arrangement of stations, platforms, or sidings; Railway networks; Rail vehicle marshalling systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Train Traffic Observation, Control, And Security (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The present invention proposes a kind of train marshalling list method, marshalling controller and train, wherein method includes: when receiving marshalling instruction again, self-test communication message is successively transferred to the marshalling controller in each compartment by the marshalling controller on the leading compartment of train by the marshalling controller of adjacent compartment, so that the marshalling controller in each compartment judges whether the number in affiliated compartment is wrong;When numbering wrong, according to judging result, adjustment communication message is sent to the marshalling controller in pending number adjustment compartment, so that the marshalling controller in pending number adjustment compartment is adjusted the number in affiliated compartment according to the number of adjacent compartment, so that the number in each compartment successively increases, when receiving marshalling instruction again so as to the marshalling controller on the leading compartment of train, automatically it is organized into groups in other compartments for controlling leading compartment and train, realize the automatic marshalling to train, improve the efficiency and accuracy of compartment number configuration, improve the operational efficiency of train.

Description

Train marshalling list method, marshalling controller and train
Technical field
The present invention relates to train technical field more particularly to a kind of train marshalling list methods, marshalling controller and train.
Background technique
Currently, Train Communication Network mainly use Lonworks, wired train bus (Wire Train Bus, WTB), Multifunctional vehicle bus (Multifunction Vehicle Bus, MVB), Ethernet, controller local area network Buses such as (Controller Area Network, CAN), but the buses such as WTB and Ethernet design cost ratio CAN are high by one A bit, minitrain whole design cost requirement is very high, needs to use the buses such as CAN, and if having used these buses, train is exactly Enclosed train.
In the prior art, enclosed train each compartment identity is fixed, does not allow vehicle assembly error, even a certain It needing to be replaced with another section compartment when saving compartment failure, the configuration in another section compartment need to be the same with the configuration in failure compartment, These processes are all by artificially operating to carry out arrangement, and allocative efficiency is poor, and configuration accuracy rate is low, are easy to appear careless mistake, influence to arrange The operation of vehicle.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the first purpose of this invention is to propose a kind of train marshalling list method, match in the prior art for solving Set inefficient, the low problem of accuracy rate.
Second object of the present invention is to propose a kind of marshalling controller.
Third object of the present invention is to provide a kind of train.
Fourth object of the present invention is to propose another marshalling controller.
5th purpose of the invention is to propose a kind of non-transitorycomputer readable storage medium.
6th purpose of the invention is to propose a kind of computer.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of train marshalling list method, comprising:
When receiving marshalling instruction again, self-test communication message is passed through phase by the marshalling controller on the leading compartment of train The marshalling controller in adjacent compartment is successively transferred to the marshalling controller in each compartment, so that the marshalling controller in each compartment is by institute The number for belonging to compartment is sent to the marshalling controller of adjacent compartment, and judges affiliated vehicle according to the number of the adjacent compartment received Whether the number in compartment is wrong;The leading compartment is the head compartment that GPS locator and acceleration transducer are provided on train Or tail portion compartment;
Judge whether to receive the judging result that the marshalling controller in each compartment on train is sent, the judging result is It is sent when number of the marshalling controller in each compartment in affiliated compartment is wrong on train;
If receiving the judging result, the marshalling controller on leading compartment determines that the train has increase and decrease compartment And/or the case where replacement compartment, sends adjustment to the marshalling controller in pending number adjustment compartment according to the judging result Communication message, so that the marshalling controller in pending number adjustment compartment is according to the number of adjacent compartment to the number in affiliated compartment It is adjusted, so that the number in each compartment of train successively increases.
Further, the method further include:
If not receiving the judging result, the marshalling controller on the leading compartment of train determines that the train exists and becomes The number in leading compartment is reset to zero, and will reset volume of the communication message by adjacent compartment by the case where more driving direction Group controller is successively transferred to the marshalling controller in each compartment, so that the marshalling controller in each compartment is logical according to the resetting Believe that the number in affiliated compartment is reset to zero by message;
N is set by the number in leading compartment, N value is sent to the gateway controller in leading compartment, and N value will be carried Marshalling communication message is sent to the marshalling controller in next compartment, so that the marshalling controller in next compartment is by the volume in affiliated compartment Number be set as N+1, by N+1 value be sent to belonging to compartment gateway controller, and the marshalling communication message that will carry N+1 value is sent To the marshalling controller in next compartment, until setting completed for the number in all compartments of the train;Wherein, N is integer.
Further, the method further include:
Before receiving marshalling instruction again, the marshalling controller on the leading compartment of train judges each compartment on train Number whether be zero;
If the number in each compartment is zero on train, it is determined that the train is just run, and obtains working as the train Preceding driving direction;
Judge whether the current driving direction is identical as the positive direction in leading compartment;
If the current driving direction is identical as the positive direction in leading compartment, N is set by the number in leading compartment, it will N value is sent to the gateway controller in leading compartment, and the marshalling communication message for carrying N value is sent to the marshalling control in next compartment N+1 value is sent to affiliated compartment so that the number in affiliated compartment is set N+1 by the marshalling controller in next compartment by device processed Gateway controller, and the marshalling communication message for carrying N+1 value is sent to the marshalling controller in next compartment, up to the column Setting completed for the number in all compartments of vehicle;Wherein, N is integer.
Further, if described receive the judging result, the marshalling controller on leading compartment determines the column There is the case where increase and decrease compartment or replacement compartment in vehicle, the marshalling according to the judging result, to pending number adjustment compartment Controller sends adjustment communication message, so that number pair of the marshalling controller in pending number adjustment compartment according to adjacent compartment The number in affiliated compartment is adjusted, so that after the number in each compartment of train successively increases, further includes:
Judge whether the current driving direction of the train changes;
If the current driving direction of the train changes, and the current driving direction of the train and leading compartment Positive direction is on the contrary, then the marshalling controller transmission in the compartment of the other end corresponding with leading compartment is compiled again on the train Group instruction.
Further, if described receive the judging result, the marshalling controller on leading compartment determines the column There is the case where increase and decrease compartment or replacement compartment in vehicle, the marshalling according to the judging result, to pending number adjustment compartment Controller sends adjustment communication message, so that number pair of the marshalling controller in pending number adjustment compartment according to adjacent compartment The number in affiliated compartment is adjusted, so that after the number in each compartment of train successively increases, further includes:
Marshalling controller on the leading compartment of train periodically acquires the number in each compartment on train;
The number in each compartment is reported to the master controller of train, so that the master controller judges on train respectively Whether the number in a compartment changes, the marshalling control when number in each compartment changes ON TRAINS on leading compartment Device processed sends marshalling instruction again.
The train marshalling list method of the embodiment of the present invention, the volume when receiving marshalling instruction again, on the leading compartment of train Self-test communication message is successively transferred to the marshalling controller in each compartment by group controller by the marshalling controller of adjacent compartment, So that the number in affiliated compartment is sent to the marshalling controller of adjacent compartment by the marshalling controller in each compartment, and according to reception The number of the adjacent compartment arrived judges whether the number in affiliated compartment is wrong;When numbering wrong, determine that train has increase and decrease vehicle The case where compartment and/or replacement compartment, it is logical to send adjustment to the marshalling controller in pending number adjustment compartment according to judging result Believe message so that the marshalling controller in pending number adjustment compartment according to the number of adjacent compartment to the number in affiliated compartment into Row adjustment, so that the number in each compartment of train successively increases, so as to the marshalling controller on the leading compartment of train When receiving marshalling instruction again, other compartments for controlling leading compartment and train are organized into groups automatically, are realized to train Automatic marshalling improves the efficiency and accuracy of compartment number configuration, improves the operational efficiency of train.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of marshalling controller, comprising:
Transfer module, for when receiving marshalling instruction again, marshalling controller on the leading compartment of train is by self-test Communication message is successively transferred to the marshalling controller in each compartment by the marshalling controller of adjacent compartment, so that each compartment The number in affiliated compartment is sent to the marshalling controller of adjacent compartment by marshalling controller, and according to the adjacent compartment received Number judges whether the number in affiliated compartment is wrong;The leading compartment is that GPS locator and acceleration biography are provided on train The head compartment or tail portion compartment of sensor;
First judgment module, the judgement knot that the marshalling controller for judging whether to receive each compartment on train is sent Fruit, the judging result are that number of the marshalling controller in each compartment on train in affiliated compartment is sent when wrong;
First sending module, for when receiving the judging result, determine the train exist increase and decrease compartment and/or The case where replacing compartment sends adjustment communication to the marshalling controller in pending number adjustment compartment according to the judging result Message, so that the marshalling controller in pending number adjustment compartment carries out the number in affiliated compartment according to the number of adjacent compartment Adjustment, so that the number in each compartment of train successively increases.
Further, the marshalling controller further include:
Module is reset, for when not receiving the judging result, determining that the train has change driving direction The number in leading compartment is reset to zero, and passes through the marshalling controller of adjacent compartment successively for communication message is reset by situation It is transferred to the marshalling controller in each compartment, so that the marshalling controller in each compartment will be affiliated according to the resetting communication message The number in compartment resets to zero;
N value is sent to the gateway control in leading compartment for setting N for the number in leading compartment by the first setup module Device processed, and the marshalling communication message for carrying N value is sent to the marshalling controller in next compartment, so that the marshalling control in next compartment The number in affiliated compartment is set N+1 by device processed, N+1 value is sent to the gateway controller in affiliated compartment, and will carry N+1 value Marshalling communication message be sent to the marshalling controller in next compartment, until the number in all compartments of the train is set up Finish;Wherein, N is integer.
Further, the marshalling controller further include:
Second judgment module, for judging that the number in each compartment on train is before receiving marshalling instruction again No is zero;
Determining module when the number for each compartment ON TRAINS is zero, determines that the train is just run, obtains The current driving direction of the train;
Third judgment module, for judging whether the current driving direction is identical as the positive direction in leading compartment;
Second setup module, for when the current driving direction is identical as the positive direction in leading compartment, by leading vehicle The number in compartment is set as N, N value is sent to the gateway controller in leading compartment, and the marshalling communication message for carrying N value is sent To the marshalling controller in next compartment, so that the number in affiliated compartment is set N+1 by the marshalling controller in next compartment, by N+ 1 value is sent to the gateway controller in affiliated compartment, and the marshalling communication message for carrying N+1 value is sent to the marshalling in next compartment Controller, until setting completed for the number in all compartments of the train;Wherein, N is integer.
Further, the marshalling controller further include:
4th judgment module, for judging whether the current driving direction of the train changes;
Second sending module changes for the current driving direction in the train, and the current line of the train Sail direction it is opposite with the positive direction in leading compartment when, the volume in the compartment of the other end corresponding with leading compartment on Xiang Suoshu train Group controller sends marshalling instruction again.
Further, the marshalling controller further include:
Second obtains module, for periodically acquiring the number in each compartment on train;
Reporting module is reported to the master controller of train, for the number by each compartment so as to the master control Device judges whether the number in each compartment on train changes, the Xiang Lingtou when number in each compartment changes ON TRAINS Marshalling controller on compartment sends marshalling instruction again.
The marshalling controller of the embodiment of the present invention, the marshalling when receiving marshalling instruction again, on the leading compartment of train Self-test communication message is successively transferred to the marshalling controller in each compartment by controller by the marshalling controller of adjacent compartment, with Make the marshalling controller in each compartment that the number in affiliated compartment to be sent to the marshalling controller of adjacent compartment, and according to receiving Adjacent compartment number judge belonging to compartment number it is whether wrong;When numbering wrong, determine that train has increase and decrease compartment And/or the case where replacement compartment, sends adjustment communication to the marshalling controller in pending number adjustment compartment according to judging result Message, so that the marshalling controller in pending number adjustment compartment carries out the number in affiliated compartment according to the number of adjacent compartment Adjustment, so that the number in each compartment of train successively increases, connects so as to the marshalling controller on the leading compartment of train Receive again marshalling instruction when, other compartments for controlling leading compartment and train are organized into groups automatically, realize to train oneself Dynamic marshalling improves the efficiency and accuracy of compartment number configuration, improves the operational efficiency of train.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of train, including control is organized into groups as described above Device processed;
GPS locator and acceleration transducer are additionally provided on the head compartment of the train;Alternatively,
GPS locator and acceleration transducer are additionally provided on the head compartment and tail portion compartment of the train.
In order to achieve the above object, fourth aspect present invention embodiment proposes another marshalling controller, including memory, place The computer program managing device and storage on a memory and can running on a processor, which is characterized in that the processor executes Train marshalling list method as described above is realized when described program.
To achieve the goals above, fifth aspect present invention embodiment proposes a kind of computer-readable storage of non-transitory Medium realizes method as described above when the instruction in the storage medium is executed by processor.
In order to achieve the above object, sixth aspect present invention embodiment proposes a kind of computer, when the instruction of the computer When processor executes, a kind of train marshalling list method is executed, which comprises
When receiving marshalling instruction again, self-test communication message is passed through phase by the marshalling controller on the leading compartment of train The marshalling controller in adjacent compartment is successively transferred to the marshalling controller in each compartment, so that the marshalling controller in each compartment is by institute The number for belonging to compartment is sent to the marshalling controller of adjacent compartment, and judges affiliated vehicle according to the number of the adjacent compartment received Whether the number in compartment is wrong;The leading compartment is the head compartment that GPS locator and acceleration transducer are provided on train Or tail portion compartment;
Judge whether to receive the judging result that the marshalling controller in each compartment on train is sent, the judging result is It is sent when number of the marshalling controller in each compartment in affiliated compartment is wrong on train;
If receiving the judging result, the marshalling controller on leading compartment determines that the train has increase and decrease compartment And/or the case where replacement compartment, sends adjustment to the marshalling controller in pending number adjustment compartment according to the judging result Communication message, so that the marshalling controller in pending number adjustment compartment is according to the number of adjacent compartment to the number in affiliated compartment It is adjusted, so that the number in each compartment of train successively increases.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of train marshalling list method provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram organized into groups controller and be not integrated into train when in the gateway in corresponding compartment;
Fig. 3 is the schematic diagram organized into groups controller and be integrated into train when in the gateway in corresponding compartment;
Fig. 4 is the flow diagram of another train marshalling list method provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another train marshalling list method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram for organizing into groups controller provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another marshalling controller provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another marshalling controller provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another marshalling controller provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of another marshalling controller provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of another marshalling controller provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings train marshalling list method, marshalling controller and the train of the embodiment of the present invention are described.
Fig. 1 is a kind of flow diagram of train marshalling list method provided in an embodiment of the present invention.As shown in Figure 1, the train Grouping method the following steps are included:
S101, when receiving marshalling instruction again, marshalling controller on the leading compartment of train is by self-test communication message The marshalling controller in each compartment is successively transferred to by the marshalling controller of adjacent compartment, so that the marshalling in each compartment controls The number in affiliated compartment is sent to the marshalling controller of adjacent compartment by device, and is judged according to the number of the adjacent compartment received Whether the number in affiliated compartment is wrong;Leading compartment is the head vehicle that GPS locator and acceleration transducer are provided on train Compartment or tail portion compartment.
The executing subject of train marshalling list method provided by the invention is marshalling controller, and marshalling controller, which is specifically as follows, to be set Set the hardware device on each compartment of train, or the hardware device being arranged in the gateway in each compartment of train.If marshalling control Device is not integrated into the gateway in affiliated compartment, then the marshalling controller of adjacent compartment can interconnect two-by-two in one network.Such as Shown in Fig. 2, the schematic diagram of train when in the gateway in affiliated compartment is not integrated into for marshalling controller.In Fig. 2, train includes three sections Compartment, respectively head compartment, central compartment and tail portion compartment.Multiple equipment, example are connected in the vehicle network of each compartment Such as node 1, node 2, node 3, node N etc..
If marshalling controller is integrated into the gateway in affiliated compartment, the gateway of adjacent compartment can be interconnected at one two-by-two In network, i.e., when a certain section compartment need with non-adjacent compartment communicate when, need by adjacent gateway this partial data according to It is secondary to be transmitted on non-adjacent compartment.As shown in figure 3, being integrated into the signal of train when in the gateway in affiliated compartment for marshalling controller Figure.
In the present embodiment, said so that train included head compartment, the first central compartment and tail portion compartment originally as an example Bright, after increasing by the second central compartment, train includes head compartment, the first central compartment, the second central compartment and tail portion compartment. Wherein, GPS locator and acceleration transducer are provided on head compartment and tail portion compartment.Head compartment is as leading compartment. Behind newly-increased compartment, when receiving marshalling instruction again, the marshalling controller on the compartment of head can be passed self-test communication message The first central compartment is passed, self-test communication message is passed to by the second central compartment by the first central compartment, in first Self-test communication message is passed to tail portion compartment by portion compartment and the second central compartment;The marshalling controller in above-mentioned four section compartment according to The number in affiliated compartment is sent to the marshalling controller of adjacent compartment by self-test communication message, and according to the adjacent compartment received Number judge belonging to compartment number it is whether wrong.
Specifically, the marshalling controller of the first central compartment is when receiving self-test communication message, by the present embodiment The number of one central compartment is sent to head compartment and the second central compartment, and receives in the number and second in head compartment The number in portion compartment, the number in head compartment are 1, and the number of the second central compartment is X, and the number of the first central compartment is 2, root According to the number in head compartment and the number of the second central compartment, determine that the number of the first central compartment is errorless.Second middle vehicle The marshalling controller in compartment when receiving self-test communication message, by the number of the second central compartment be sent to the first central compartment with And tail portion compartment, and the number of the first central compartment and the number in tail portion compartment are received, the number of the first central compartment is 2, The number of second central compartment is X, and the number in tail portion compartment is 3, according to the number of the first central compartment and tail portion compartment Number, determines that the number of the second central compartment is wrong.When wrong, to the marshalling controller report judging result in head compartment.
In addition, it is also necessary to be illustrated, in the present embodiment, only be provided with GPS locator and acceleration transducer Head compartment or tail portion compartment can be used as leading compartment.For example, if being not provided with GPS locator on the compartment of tail portion and adding Velocity sensor, then the tail portion compartment cannot be used as leading compartment.
In addition, it is also necessary to be illustrated, marshalling instruction can be the form or rigid line trigger switch of instruction again The form of signal can be configured according to actual needs.Again when marshalling instruction is the form of rigid line trigger switch signal, also It needs to install rigid line trigger switch circuit in the head compartment or tail portion compartment of train.
The judging result that S102, the marshalling controller for judging whether to receive each compartment on train are sent, judging result It is sent when wrong for the number in affiliated compartment of marshalling controller in compartment each on train.
If S103, receiving judging result, the marshalling controller on leading compartment determine train exist increase and decrease compartment and/ Or the case where replacement compartment, sends adjustment communication report to the marshalling controller in pending number adjustment compartment according to judging result Text, so that the marshalling controller in pending number adjustment compartment adjusts the number in affiliated compartment according to the number of adjacent compartment It is whole, so that the number in each compartment of train successively increases.
In the present embodiment, said so that train included head compartment, the first central compartment and tail portion compartment originally as an example Bright, after increasing by the second central compartment, train includes head compartment, the first central compartment, the second central compartment and tail portion compartment. Wherein, head compartment is as leading compartment.Marshalling controller on the compartment of head determines that pending number is adjusted according to judging result Whole compartment is the second central compartment and tail portion compartment, therefore to the marshalling controller and tail portion compartment of the second central compartment It organizes into groups controller and sends adjustment communication message, so that the marshalling control of the marshalling controller of the second central compartment and tail portion compartment Device is adjusted the number in affiliated compartment according to the number of adjacent compartment, so that the number in each compartment of train successively increases Add.
Specifically, the marshalling controller of the second central compartment carries out the number in affiliated compartment according to the number of adjacent compartment The process of adjustment is specifically as follows, and judges whether the number of the first central compartment is less than the number in tail portion compartment, since 2 less than 3, 3 then are set by the number of the second central compartment according to the number of the first central compartment, and then according to the volume of the second central compartment Number 4 are set by the number in tail portion compartment.
Further, on the basis of the above embodiments, after step 103, the method can also include: judgement column Whether the current driving direction of vehicle changes;If the current driving direction of train changes, and the current driving side of train To and leading compartment positive direction on the contrary, then on train the compartment of the other end corresponding with leading compartment marshalling controller Send marshalling instruction again.
In the present embodiment, if the current driving direction of train changes, and the current driving direction of train and leading vehicle The positive direction in compartment is on the contrary, can then determine that train is in the state of opposite direction traveling.
Further, on the basis of the above embodiments, after step 103, the method can also include: train neck Marshalling controller on head compartment periodically acquires the number in each compartment on train;The number in each compartment is reported to train Master controller, so that master controller judges whether the number in each compartment on train changes, each compartment ON TRAINS Marshalling controller of number when changing on leading compartment send marshalling instruction again.
Therefore, in the present embodiment, the marshalling controller on the leading compartment of train is needed when receiving marshalling instruction again In conjunction with each compartment marshalling controller provide judging result come determine again marshalling command source on train with leading vehicle The marshalling controller in the compartment of the corresponding the other end in compartment, is also derived from master controller;If it is determined that organizing into groups command source again Marshalling controller in the compartment of the other end corresponding with leading compartment on train, then it represents that train exist increase and decrease compartment or The case where replacing compartment;If it is determined that marshalling command source is in master controller again, then it represents that train has change driving direction Situation.
The train marshalling list method of the embodiment of the present invention, the volume when receiving marshalling instruction again, on the leading compartment of train Self-test communication message is successively transferred to the marshalling controller in each compartment by group controller by the marshalling controller of adjacent compartment, So that the number in affiliated compartment is sent to the marshalling controller of adjacent compartment by the marshalling controller in each compartment, and according to reception The number of the adjacent compartment arrived judges whether the number in affiliated compartment is wrong;When numbering wrong, determine that train has increase and decrease vehicle The case where compartment and/or replacement compartment, it is logical to send adjustment to the marshalling controller in pending number adjustment compartment according to judging result Believe message so that the marshalling controller in pending number adjustment compartment according to the number of adjacent compartment to the number in affiliated compartment into Row adjustment, so that the number in each compartment of train successively increases, so as to the marshalling controller on the leading compartment of train When receiving marshalling instruction again, other compartments for controlling leading compartment and train are organized into groups automatically, are realized to train Automatic marshalling improves the efficiency and accuracy of compartment number configuration, improves the operational efficiency of train.
Fig. 4 is the flow diagram of another train marshalling list method provided in an embodiment of the present invention, as shown in figure 4, in Fig. 1 On the basis of illustrated embodiment, the method further include:
If S104, not receiving judging result, the marshalling controller on the leading compartment of train determines that train has change The number in leading compartment is reset to zero, and will reset marshalling of the communication message by adjacent compartment by the case where driving direction Controller is successively transferred to the marshalling controller in each compartment, so that the marshalling controller in each compartment is according to resetting communication message The number in affiliated compartment is reset into zero.
In the present embodiment, if not receiving judging result, the marshalling controller on the leading compartment of train can determine column Vehicle the case where there is no increase and decrease compartment or a certain sections of replacement or part compartment, but This train is bound for XXX changes, i.e., Train opposite direction traveling.
S105, N is set by the number in leading compartment, N value is sent to the gateway controller in leading compartment, and will carry The marshalling communication message of N value is sent to the marshalling controller in next compartment, so that the marshalling controller in next compartment is by affiliated vehicle The number in compartment is set as N+1, N+1 value is sent to the gateway controller in affiliated compartment, and the marshalling that will carry N+1 value communicates report Text is sent to the marshalling controller in next compartment, until setting completed for the number in all compartments of the train;Wherein, N is whole Number.
In the present embodiment, specifically, it is illustrated so that train includes four section compartments as an example, four section compartments are respectively head vehicle Compartment, the first central compartment, the second central compartment and tail portion compartment.Head compartment is as leading compartment, when the current line of train Sail direction it is identical as the positive direction in head compartment when, the number in head compartment is set N, N by the marshalling controller in head compartment =1, N value is sent to the gateway controller in head compartment, the volume in head compartment is carried when transmitting data so as to gateway controller Number;The marshalling communication message for carrying N value is sent to the marshalling controller of the first central compartment by the marshalling controller in head compartment; The number of the first central compartment is set N+1=2 by the marshalling controller of first central compartment, and N+1 value is sent in first The gateway controller in portion compartment, and the marshalling communication message for carrying N+1 value is sent to the marshalling controller of the second central compartment; The number of the second central compartment is set N+2=3 by the marshalling controller of second central compartment, and N+2 value is sent in second The gateway controller in portion compartment, and the marshalling communication message for carrying N+2 value is sent to tail portion compartment;The marshalling control in tail portion compartment The number in tail portion compartment is set N+3=4 by device processed, and N+3 value is sent to the gateway controller in tail portion compartment.
In the present embodiment, it should be noted that when train has the case where change driving direction, need first to ensure to receive Be current leading compartment to the leading compartment for organizing into groups instruction again, that is, need first to judge leading compartment positive direction whether with column The current driving direction of vehicle is identical, can also include: the current driving direction for obtaining train before step 105 therefore;Judgement is worked as Whether preceding driving direction is identical as the positive direction in leading compartment.Corresponding, step 105 is specifically as follows, if current driving direction It is identical as the positive direction in leading compartment, then N is set by the number in leading compartment, N value is sent to the gateway control in leading compartment Device processed, and the marshalling communication message for carrying N value is sent to the marshalling controller in next compartment, so that the marshalling control in next compartment The number in affiliated compartment is set N+1 by device processed, N+1 value is sent to the gateway controller in affiliated compartment, and will carry N+1 value Marshalling communication message be sent to the marshalling controller in next compartment, until the number in all compartments of the train is set up Finish;Wherein, N is integer.
In the present embodiment, GPS locator can be used for acquiring the location information in leading compartment, and be sent to and GPS positioning The marshalling controller of device connection.Acceleration transducer can be used for acquiring the acceleration information in leading compartment, and is sent to and adds The marshalling controller of velocity sensor connection.Location information and acceleration information that controller combines leading compartment are organized into groups, it can be with Obtain the current driving direction of train.
, can be when train be started by stationary state and is run in the present embodiment, i.e., train started in a period of time of starting, Obtain the location information and acceleration information in the leading compartment of train.Marshalling controller can be examined in real time by GPS locator The position for surveying train obtains the leading compartment of train when variation takes place in the position of train and acceleration is nonzero value Location information and acceleration information.
In the present embodiment, can the positive direction in advance to head compartment and tail portion compartment be configured.For example, head compartment Using current of traffic as positive direction;Tail portion compartment is using train operation opposite direction as positive direction.
In addition, it is also necessary to be illustrated, if the current driving direction of train and the positive direction in leading compartment on the contrary, if The marshalling controller in the compartment of the other end corresponding with leading compartment sends marshalling instruction again on train.
Further, after step 105, if the current driving direction of train changes, and the current driving direction of train And the positive direction in leading compartment is on the contrary, then the marshalling controller in leading compartment can be corresponding with leading compartment another on train The marshalling controller in the compartment of end sends marshalling instruction again, so that the compartment of the other end can be used as leading compartment, separately The compartment of one end can continue to execute the content of step 101.
In the present embodiment, in the case where head compartment and tail portion compartment all can serve as the scene in leading compartment, if train is leading Compartment is head compartment, then the compartment of the other end corresponding with leading compartment is tail portion compartment;If the leading compartment of train is tail Portion compartment, then the compartment of the other end corresponding with leading compartment is head compartment.It can be used as leading compartment in head compartment, And tail portion compartment cannot be under the scene as leading compartment, train will not be travelled to opposite direction, therefore be not related on train The marshalling controller in the compartment of the other end corresponding with leading compartment sends the case where marshalling instruction again.
The train marshalling list method of the embodiment of the present invention, the volume when receiving marshalling instruction again, on the leading compartment of train Self-test communication message is successively transferred to the marshalling controller in each compartment by group controller by the marshalling controller of adjacent compartment, Judge whether the number in affiliated compartment is wrong according to the number of the adjacent compartment received;Without the volume mistaken on the leading compartment of train Group controller determines that train has the case where change driving direction, the number in leading compartment is reset to zero, and resetting is logical Letter message is successively transferred to the marshalling controller in each compartment by the marshalling controller of adjacent compartment;And in current driving direction When identical as the positive direction in leading compartment, N is set by the number in leading compartment, N value is sent to the gateway control in leading compartment Device processed, and the marshalling communication message for carrying N value is sent to the marshalling controller in next compartment, so that the marshalling control in next compartment The number in affiliated compartment is set N+1 by device processed, N+1 value is sent to the gateway controller in affiliated compartment, and will carry N+1 value Marshalling communication message be sent to the marshalling controller in next compartment, until setting completed for the number in all compartments of train;Its In, N is integer, when receiving marshalling instruction again so as to the marshalling controller on the leading compartment of train, is controlled leading Other of compartment and train compartment are organized into groups automatically, realize the automatic marshalling to train, improve compartment number configuration Efficiency and accuracy improve the operational efficiency of train.
Fig. 5 is the flow diagram of another train marshalling list method provided in an embodiment of the present invention, as shown in figure 5, in Fig. 1 On the basis of illustrated embodiment, before step 101, the method can also include:
S106, before receiving marshalling instruction again, the marshalling controller on the leading compartment of train judge on train respectively Whether the number in a compartment is zero.
In the present embodiment, marshalling controller on the leading compartment of train can on train each compartment marshalling controller Communication message is sent, the number in each compartment is obtained.Marshalling controller each compartment on train on the leading compartment of train The mode for organizing into groups controller transmission communication message can be with reference to the sending method of self-test communication message in embodiment illustrated in fig. 1, this Place is no longer described in detail.
If the number in each compartment is zero on S107, train, it is determined that train is just run, and obtains the current line of train Sail direction.
In the present embodiment, if the number in each compartment is zero on train, show that current train travels for the first time.For the first time Traveling refers to that the first time after the completion of train assembles compartment for the first time transports and travels on track that each compartment of train is corresponding at this time Marshalling controller in the number in compartment be all zero.At this point, the leading compartment of train can be the head of the default set in advance Portion compartment or tail portion compartment.
In addition, continuing to execute the step in embodiment illustrated in fig. 1 if the number in each compartment has nonzero value on train 101。
S108, judge whether current driving direction is identical as the positive direction in leading compartment.
If S109, current driving direction are identical as the positive direction in leading compartment, N is set by the number in leading compartment, N value is sent to the gateway controller in leading compartment, and the marshalling communication message for carrying N value is sent to the marshalling in next compartment N+1 value is sent to affiliated vehicle so that the number in affiliated compartment is set N+1 by the marshalling controller in next compartment by controller The gateway controller in compartment, and the marshalling communication message for carrying N+1 value is sent to the marshalling controller in next compartment, up to train The number in all compartments setting completed;Wherein, N is integer.
In the present embodiment, illustrating for step 109 can be explained with reference to step 105 in embodiment illustrated in fig. 4 It is bright, it is no longer described in detail herein.
The train marshalling list method of the embodiment of the present invention is judged each on train by the marshalling controller on the leading compartment of train Whether the number in a compartment is zero;When the number in each compartment is zero ON TRAINS, determines that train is just run, obtain column The current driving direction of vehicle;When current driving direction is identical as the positive direction in leading compartment, the number in leading compartment is arranged For N, N value is sent to the gateway controller in leading compartment, and the marshalling communication message for carrying N value is sent to next compartment It organizes into groups controller and N+1 value is sent to institute so that the number in affiliated compartment is set N+1 by the marshalling controller in next compartment Belong to the gateway controller in compartment, and the marshalling communication message for carrying N+1 value is sent to the marshalling controller in next compartment, until Setting completed for the number in all compartments of the train;Wherein, N is integer, so as to train for the first time when driving, control neck Other compartments of head compartment and train are organized into groups automatically, realize the automatic marshalling to train, improve compartment number configuration Efficiency and accuracy, improve the operational efficiency of train.
Fig. 6 is a kind of structural schematic diagram for organizing into groups controller provided in an embodiment of the present invention.As shown in Figure 6, comprising: transmitting Module 61, first judgment module 62 and the first sending module 63;
Wherein, transfer module 61, for the marshalling controller when receiving marshalling instruction again, on the leading compartment of train Self-test communication message is successively transferred to the marshalling controller in each compartment by the marshalling controller of adjacent compartment, so that each The number in affiliated compartment is sent to the marshalling controller of adjacent compartment by the marshalling controller in compartment, and adjacent according to what is received The number in compartment judges whether the number in affiliated compartment is wrong;The leading compartment is to be provided with GPS locator on train and add The head compartment or tail portion compartment of velocity sensor;
First judgment module 62, the judgement that the marshalling controller for judging whether to receive each compartment on train is sent As a result, the judging result is that number of the marshalling controller in each compartment on train in affiliated compartment is sent when wrong;
First sending module 63, for when receiving the judging result, determine the train exist increase and decrease compartment and/ Or the case where replacement compartment, it is logical to send adjustment to the marshalling controller in pending number adjustment compartment according to the judging result Believe message so that the marshalling controller in pending number adjustment compartment according to the number of adjacent compartment to the number in affiliated compartment into Row adjustment, so that the number in each compartment of train successively increases.
Marshalling controller provided by the invention is specifically as follows the hardware device being arranged on each compartment of train, or setting Hardware device in the gateway in each compartment of train.If marshalling controller is not integrated into the gateway in affiliated compartment, adjacent vehicle The marshalling controller in compartment can interconnect two-by-two in one network.If marshalling controller is integrated into the gateway in affiliated compartment, The gateway of adjacent compartment can interconnect two-by-two in one network, i.e., when a certain section compartment needs to communicate with non-adjacent compartment, It needs to be sequentially delivered on non-adjacent compartment this partial data by adjacent gateway.
In the present embodiment, said so that train included head compartment, the first central compartment and tail portion compartment originally as an example Bright, after increasing by the second central compartment, train includes head compartment, the first central compartment, the second central compartment and tail portion compartment. Wherein, GPS locator and acceleration transducer are provided on head compartment and tail portion compartment.Head compartment is as leading compartment. Behind newly-increased compartment, when receiving marshalling instruction again, the marshalling controller on the compartment of head can be passed self-test communication message The first central compartment is passed, self-test communication message is passed to by the second central compartment by the first central compartment, in first Self-test communication message is passed to tail portion compartment by portion compartment and the second central compartment;The marshalling controller in above-mentioned four section compartment according to The number in affiliated compartment is sent to the marshalling controller of adjacent compartment by self-test communication message, and according to the adjacent compartment received Number judge belonging to compartment number it is whether wrong.
Specifically, the marshalling controller of the first central compartment is when receiving self-test communication message, by the present embodiment The number of one central compartment is sent to head compartment and the second central compartment, and receives in the number and second in head compartment The number in portion compartment, the number in head compartment are 1, and the number of the second central compartment is X, and the number of the first central compartment is 2, root According to the number in head compartment and the number of the second central compartment, determine that the number of the first central compartment is errorless.Second middle vehicle The marshalling controller in compartment when receiving self-test communication message, by the number of the second central compartment be sent to the first central compartment with And tail portion compartment, and the number of the first central compartment and the number in tail portion compartment are received, the number of the first central compartment is 2, The number of second central compartment is X, and the number in tail portion compartment is 3, according to the number of the first central compartment and tail portion compartment Number, determines that the number of the second central compartment is wrong.When wrong, to the marshalling controller report judging result in head compartment.
In addition, it is also necessary to be illustrated, in the present embodiment, only be provided with GPS locator and acceleration transducer Head compartment or tail portion compartment can be used as leading compartment.For example, if being not provided with GPS locator on the compartment of tail portion and adding Velocity sensor, then the tail portion compartment cannot be used as leading compartment.
In the present embodiment, said so that train included head compartment, the first central compartment and tail portion compartment originally as an example Bright, after increasing by the second central compartment, train includes head compartment, the first central compartment, the second central compartment and tail portion compartment. Wherein, head compartment is as leading compartment.Marshalling controller on the compartment of head determines that pending number is adjusted according to judging result Whole compartment is the second central compartment and tail portion compartment, therefore to the marshalling controller and tail portion compartment of the second central compartment It organizes into groups controller and sends adjustment communication message, so that the marshalling control of the marshalling controller of the second central compartment and tail portion compartment Device is adjusted the number in affiliated compartment according to the number of adjacent compartment, so that the number in each compartment of train successively increases Add.
Specifically, the marshalling controller of the second central compartment carries out the number in affiliated compartment according to the number of adjacent compartment The process of adjustment is specifically as follows, and judges whether the number of the first central compartment is less than the number in tail portion compartment, since 2 less than 3, 3 then are set by the number of the second central compartment according to the number of the first central compartment, and then according to the volume of the second central compartment Number 4 are set by the number in tail portion compartment.
The marshalling controller of the embodiment of the present invention, the marshalling when receiving marshalling instruction again, on the leading compartment of train Self-test communication message is successively transferred to the marshalling controller in each compartment by controller by the marshalling controller of adjacent compartment, with Make the marshalling controller in each compartment that the number in affiliated compartment to be sent to the marshalling controller of adjacent compartment, and according to receiving Adjacent compartment number judge belonging to compartment number it is whether wrong;When numbering wrong, determine that train has increase and decrease compartment And/or the case where replacement compartment, sends adjustment communication to the marshalling controller in pending number adjustment compartment according to judging result Message, so that the marshalling controller in pending number adjustment compartment carries out the number in affiliated compartment according to the number of adjacent compartment Adjustment, so that the number in each compartment of train successively increases, connects so as to the marshalling controller on the leading compartment of train Receive again marshalling instruction when, other compartments for controlling leading compartment and train are organized into groups automatically, realize to train oneself Dynamic marshalling improves the efficiency and accuracy of compartment number configuration, improves the operational efficiency of train.
Further, in conjunction with reference Fig. 7, on the basis of embodiment shown in Fig. 6, the marshalling controller further include: Reset module 64 and the first setup module 65.
Wherein, module 64 is reset, for when not receiving the judging result, determining that the train has change traveling The number in leading compartment is reset to zero, and will reset communication message and controlled by the marshalling of adjacent compartment by the case where direction Device is successively transferred to the marshalling controller in each compartment, so that the marshalling controller in each compartment is according to the resetting communication message The number in affiliated compartment is reset into zero;
N value is sent to the gateway in leading compartment for setting N for the number in leading compartment by the first setup module 65 Controller, and the marshalling communication message for carrying N value is sent to the marshalling controller in next compartment, so that the marshalling in next compartment The number in affiliated compartment is set N+1 by controller, and N+1 value is sent to the gateway controller in affiliated compartment, and will carry N+1 The marshalling communication message of value is sent to the marshalling controller in next compartment, until the number in all compartments of the train is set up Finish;Wherein, N is integer.
In the present embodiment, if not receiving judging result, the marshalling controller on the leading compartment of train can determine column Vehicle the case where there is no increase and decrease compartment or a certain sections of replacement or part compartment, but This train is bound for XXX changes, i.e., Train opposite direction traveling.
In the present embodiment, specifically, it is illustrated so that train includes four section compartments as an example, four section compartments are respectively head vehicle Compartment, the first central compartment, the second central compartment and tail portion compartment.Head compartment is as leading compartment, when the current line of train Sail direction it is identical as the positive direction in head compartment when, the number in head compartment is set N, N by the marshalling controller in head compartment =1, N value is sent to the gateway controller in head compartment, the volume in head compartment is carried when transmitting data so as to gateway controller Number;The marshalling communication message for carrying N value is sent to the marshalling controller of the first central compartment by the marshalling controller in head compartment; The number of the first central compartment is set N+1=2 by the marshalling controller of first central compartment, and N+1 value is sent in first The gateway controller in portion compartment, and the marshalling communication message for carrying N+1 value is sent to the marshalling controller of the second central compartment; The number of the second central compartment is set N+2=3 by the marshalling controller of second central compartment, and N+2 value is sent in second The gateway controller in portion compartment, and the marshalling communication message for carrying N+2 value is sent to tail portion compartment;The marshalling control in tail portion compartment The number in tail portion compartment is set N+3=4 by device processed, and N+3 value is sent to the gateway controller in tail portion compartment.
The marshalling controller of the embodiment of the present invention, the marshalling when receiving marshalling instruction again, on the leading compartment of train Self-test communication message is successively transferred to the marshalling controller in each compartment, root by controller by the marshalling controller of adjacent compartment Judge whether the number in affiliated compartment is wrong according to the number of the adjacent compartment received;Without the marshalling mistaken on the leading compartment of train Controller determines that train has the case where change driving direction, the number in leading compartment is reset to zero, and resetting is communicated Message is successively transferred to the marshalling controller in each compartment by the marshalling controller of adjacent compartment;And current driving direction with When the positive direction in leading compartment is identical, N is set by the number in leading compartment, N value is sent to the gateway control in leading compartment Device, and the marshalling communication message for carrying N value is sent to the marshalling controller in next compartment, so that the marshalling in next compartment controls The number in affiliated compartment is set N+1 by device, N+1 value is sent to the gateway controller in affiliated compartment, and will carry N+1 value Marshalling communication message is sent to the marshalling controller in next compartment, until setting completed for the number in all compartments of train;Wherein, N is integer, when receiving marshalling instruction again so as to the marshalling controller on the leading compartment of train, controls leading compartment And other compartments of train are organized into groups automatically, realize the automatic marshalling to train, improve the efficiency of compartment number configuration And accuracy, improve the operational efficiency of train.
Further, in conjunction with reference Fig. 8, on the basis of embodiment shown in Fig. 6, the marshalling controller further include: Second judgment module 66, determining module 67, third judgment module 68 and the second setup module 69.
Wherein, the second judgment module 66, for judging each compartment on train before receiving marshalling instruction again Whether number is zero;
Determining module 67 when the number for each compartment ON TRAINS is zero, determines that the train is just run, obtains Take the current driving direction of the train;
Third judgment module 68, for judging whether the current driving direction is identical as the positive direction in leading compartment;
Second setup module 69 will be leading for when the current driving direction is identical as the positive direction in leading compartment The number in compartment is set as N, N value is sent to the gateway controller in leading compartment, and the marshalling communication message for carrying N value is sent out The marshalling controller in next compartment is given, so that the number in affiliated compartment is set N+1 by the marshalling controller in next compartment, it will N+1 value is sent to the gateway controller in affiliated compartment, and the marshalling communication message for carrying N+1 value is sent to the volume in next compartment Group controller, until setting completed for the number in all compartments of the train;Wherein, N is integer.
In the present embodiment, marshalling controller on the leading compartment of train can on train each compartment marshalling controller Communication message is sent, the number in each compartment is obtained.Marshalling controller each compartment on train on the leading compartment of train The mode for organizing into groups controller transmission communication message can be with reference to the sending method of self-test communication message in embodiment illustrated in fig. 6, this Place is no longer described in detail.
In the present embodiment, if the number in each compartment is zero on train, show that current train travels for the first time.For the first time Traveling refers to that the first time after the completion of train assembles compartment for the first time transports and travels on track that each compartment of train is corresponding at this time Marshalling controller in the number in compartment be all zero.At this point, the leading compartment of train can be the head of the default set in advance Portion compartment or tail portion compartment.
The marshalling controller of the embodiment of the present invention is judged each on train by the marshalling controller on the leading compartment of train Whether the number in compartment is zero;When the number in each compartment is zero ON TRAINS, determines that train is just run, obtain train Current driving direction;When current driving direction is identical as the positive direction in leading compartment, set the number in leading compartment to N value is sent to the gateway controller in leading compartment by N, and the marshalling communication message for carrying N value is sent to the volume in next compartment N+1 value is sent to affiliated by group controller so that the number in affiliated compartment is set N+1 by the marshalling controller in next compartment The gateway controller in compartment, and the marshalling communication message for carrying N+1 value is sent to the marshalling controller in next compartment, up to institute Stating the number in all compartments of train, setting completed;Wherein, N is integer, so as to train for the first time when driving, control leading Other of compartment and train compartment are organized into groups automatically, realize the automatic marshalling to train, improve compartment number configuration Efficiency and accuracy improve the operational efficiency of train.
Further, in conjunction with reference Fig. 9, on the basis of embodiment shown in Fig. 6, the marshalling controller further include: 4th judgment module 70 and the second sending module 71.
Wherein, the 4th judgment module 70, for judging whether the current driving direction of the train changes;
Second sending module 71 changes for the current driving direction in the train, and the train is current When driving direction is opposite with the positive direction in leading compartment, the compartment of the other end corresponding with leading compartment on Xiang Suoshu train It organizes into groups controller and sends marshalling instruction again.
In the present embodiment, if the current driving direction of train changes, and the current driving direction of train and leading vehicle The positive direction in compartment is on the contrary, can then determine that train is in the state of opposite direction traveling.
Further, in conjunction with reference Figure 10, on the basis of embodiment shown in Fig. 6, the marshalling controller further include: Obtain module 72 and reporting module 73.
Wherein, module 72 is obtained, for obtaining the number in each compartment on train;
Reporting module 73 is reported to the master controller of train, for the number by each compartment so as to the master control Device processed judges whether the number in each compartment on train changes, and the number in each compartment changes Shi Xiangling ON TRAINS Marshalling controller on head compartment sends marshalling instruction again.
Therefore, in the present embodiment, the marshalling controller on the leading compartment of train is needed when receiving marshalling instruction again In conjunction with each compartment marshalling controller provide judging result come determine again marshalling command source on train with leading vehicle The marshalling controller in the compartment of the corresponding the other end in compartment, is also derived from master controller;If it is determined that organizing into groups command source again Marshalling controller in the compartment of the other end corresponding with leading compartment on train, then it represents that train exist increase and decrease compartment or The case where replacing compartment;If it is determined that marshalling command source is in master controller again, then it represents that train has change driving direction Situation.
Figure 11 is the structural schematic diagram of another marshalling controller provided in an embodiment of the present invention.The marshalling controller packet It includes:
Memory 1001, processor 1002 and it is stored in the calculating that can be run on memory 1001 and on processor 1002 Machine program.
Processor 1002 realizes the train marshalling list method provided in above-described embodiment when executing described program.
Further, controller is organized into groups further include:
Communication interface 1003, for the communication between memory 1001 and processor 1002.
Memory 1001, for storing the computer program that can be run on processor 1002.
Memory 1001 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non- Volatile memory), a for example, at least magnetic disk storage.
Processor 1002 realizes train marshalling list method described in above-described embodiment when for executing described program.
If memory 1001, processor 1002 and the independent realization of communication interface 1003, communication interface 1003, memory 1001 and processor 1002 can be connected with each other by bus and complete mutual communication.The bus can be industrial standard Architecture (Industry Standard Architecture, referred to as ISA) bus, external equipment interconnection (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc..The bus can be divided into address bus, data/address bus, control Bus processed etc..Only to be indicated with a thick line in Figure 11, it is not intended that an only bus or a type of convenient for indicating Bus.
Optionally, in specific implementation, if memory 1001, processor 1002 and communication interface 1003, are integrated in one It is realized on block chip, then memory 1001, processor 1002 and communication interface 1003 can be completed mutual by internal interface Communication.
Processor 1002 may be a central processing unit (Central Processing Unit, referred to as CPU), or Person is specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC) or quilt It is configured to implement one or more integrated circuits of the embodiment of the present invention.
The present embodiment also provides a kind of train, and marshalling control as described above is provided on each compartment of the train Device;GPS locator and acceleration transducer are additionally provided on the head compartment of the train;Alternatively,
GPS locator and acceleration transducer are additionally provided on the head compartment and tail portion compartment of the train.
The present embodiment also provides a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, It is characterized in that, which realizes train marshalling list method as described above when being executed by processor.
The present embodiment also provides a kind of computer, when the instruction processing unit of the computer executes, executes a kind of train Grouping method, which comprises
When receiving marshalling instruction again, self-test communication message is passed through phase by the marshalling controller on the leading compartment of train The marshalling controller in adjacent compartment is successively transferred to the marshalling controller in each compartment, so that the marshalling controller in each compartment is by institute The number for belonging to compartment is sent to the marshalling controller of adjacent compartment, and judges affiliated vehicle according to the number of the adjacent compartment received Whether the number in compartment is wrong;The leading compartment is the head compartment that GPS locator and acceleration transducer are provided on train Or tail portion compartment;
Judge whether to receive the judging result that the marshalling controller in each compartment on train is sent, the judging result is It is sent when number of the marshalling controller in each compartment in affiliated compartment is wrong on train;
If receiving the judging result, the marshalling controller on leading compartment determines that the train has increase and decrease compartment And/or the case where replacement compartment, sends adjustment to the marshalling controller in pending number adjustment compartment according to the judging result Communication message, so that the marshalling controller in pending number adjustment compartment is according to the number of adjacent compartment to the number in affiliated compartment It is adjusted, so that the number in each compartment of train successively increases.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention Type.

Claims (14)

1. a kind of train marshalling list method characterized by comprising
When receiving marshalling instruction again, self-test communication message is passed through adjacent vehicle by the marshalling controller on the leading compartment of train The marshalling controller in compartment is successively transferred to the marshalling controller in each compartment, so that the marshalling controller in each compartment is by affiliated vehicle The number in compartment is sent to the marshalling controller of adjacent compartment, and judges affiliated compartment according to the number of the adjacent compartment received It whether wrong numbers;The leading compartment be train on be provided with GPS locator and acceleration transducer head compartment or Tail portion compartment;
Judge whether to receive the judging result that the marshalling controller in each compartment on train is sent, the judging result is train What number of the marshalling controller in upper each compartment in affiliated compartment was sent when wrong;
If receiving the judging result, the marshalling controller on leading compartment determine the train exist increase and decrease compartment and/ Or the case where replacement compartment, it is logical to send adjustment to the marshalling controller in pending number adjustment compartment according to the judging result Believe message so that the marshalling controller in pending number adjustment compartment according to the number of adjacent compartment to the number in affiliated compartment into Row adjustment, so that the number in each compartment of train successively increases.
2. the method according to claim 1, wherein further include:
If not receiving the judging result, the marshalling controller on the leading compartment of train determines that the train has change row The number in leading compartment is reset to zero, and will reset marshalling control of the communication message by adjacent compartment by the case where sailing direction Device processed is successively transferred to the marshalling controller in each compartment, reports so that the marshalling controller in each compartment is communicated according to the resetting The number in affiliated compartment is reset to zero by text;
N is set by the number in leading compartment, N value is sent to the gateway controller in leading compartment, and the marshalling that will carry N value Communication message is sent to the marshalling controller in next compartment, so that the marshalling controller in next compartment sets the number in affiliated compartment It is set to N+1, N+1 value is sent to the gateway controller in affiliated compartment, and the marshalling communication message for carrying N+1 value is sent to down The marshalling controller in one compartment, until setting completed for the number in all compartments of the train;Wherein, N is integer.
3. the method according to claim 1, wherein further include:
Before receiving marshalling instruction again, the marshalling controller on the leading compartment of train judges the volume in each compartment on train It number whether is zero;
If the number in each compartment is zero on train, it is determined that the train is just run, and obtains the current line of the train Sail direction;
Judge whether the current driving direction is identical as the positive direction in leading compartment;
If the current driving direction is identical as the positive direction in leading compartment, N is set by the number in leading compartment, by N value It is sent to the gateway controller in leading compartment, and the marshalling that the marshalling communication message for carrying N value is sent to next compartment is controlled N+1 value is sent to affiliated compartment so that the number in affiliated compartment is set N+1 by the marshalling controller in next compartment by device Gateway controller, and the marshalling communication message for carrying N+1 value is sent to the marshalling controller in next compartment, up to the train The number in all compartments setting completed;Wherein, N is integer.
4. the method according to claim 1, wherein if described receive the judging result, leading compartment On marshalling controller determine that the train has the case where increase and decrease compartment or replacement compartment, according to the judging result, to The marshalling controller in pending number adjustment compartment sends adjustment communication message, so that the marshalling control in pending number adjustment compartment Device processed is adjusted the number in affiliated compartment according to the number of adjacent compartment, so that the number in each compartment of train successively increases In addition after, further includes:
Judge whether the current driving direction of the train changes;
If the current driving direction of the train changes, and the pros in the current driving direction of the train and leading compartment To on the contrary, then on the train compartment of the other end corresponding with leading compartment marshalling controller send again marshalling refer to It enables.
5. the method according to claim 1, wherein if described receive the judging result, leading compartment On marshalling controller determine that the train has the case where increase and decrease compartment or replacement compartment, according to the judging result, to The marshalling controller in pending number adjustment compartment sends adjustment communication message, so that the marshalling control in pending number adjustment compartment Device processed is adjusted the number in affiliated compartment according to the number of adjacent compartment, so that the number in each compartment of train successively increases In addition after, further includes:
Marshalling controller on the leading compartment of train periodically acquires the number in each compartment on train;
The number in each compartment is reported to the master controller of train, so that the master controller judges each vehicle on train Whether the number in compartment changes, the marshalling controller when number in each compartment changes ON TRAINS on leading compartment Send marshalling instruction again.
6. a kind of marshalling controller characterized by comprising
Transfer module, for when receiving marshalling instruction again, the marshalling controller on the leading compartment of train to communicate self-test Message is successively transferred to the marshalling controller in each compartment by the marshalling controller of adjacent compartment, so that the marshalling in each compartment The number in affiliated compartment is sent to the marshalling controller of adjacent compartment by controller, and according to the number of the adjacent compartment received Whether the number in compartment belonging to judging is wrong;The leading compartment is to be provided with GPS locator and acceleration transducer on train Head compartment or tail portion compartment;
First judgment module, the judging result that the marshalling controller for judging whether to receive each compartment on train is sent, The judging result is that number of the marshalling controller in each compartment on train in affiliated compartment is sent when wrong;
First sending module, for when receiving the judging result, determining that the train has increase and decrease compartment and/or replacement The case where compartment, sends adjustment communication message to the marshalling controller in pending number adjustment compartment according to the judging result, So that the marshalling controller in pending number adjustment compartment is adjusted the number in affiliated compartment according to the number of adjacent compartment, So that the number in each compartment of train successively increases.
7. marshalling controller according to claim 6, which is characterized in that further include:
Module is reset, for when not receiving the judging result, determining that the train has the case where change driving direction, The number in leading compartment is reset into zero, and communication message will be reset and be successively transferred to by the marshalling controller of adjacent compartment The marshalling controller in each compartment, so that the marshalling controller in each compartment is according to the resetting communication message by affiliated compartment Number resets to zero;
N value is sent to the gateway controller in leading compartment for setting N for the number in leading compartment by the first setup module, And the marshalling communication message for carrying N value is sent to the marshalling controller in next compartment, so that the marshalling controller in next compartment N+1 is set by the number in affiliated compartment, N+1 value is sent to the gateway controller in affiliated compartment, and the volume of N+1 value will be carried Group communication message is sent to the marshalling controller in next compartment, until setting completed for the number in all compartments of the train;Its In, N is integer.
8. marshalling controller according to claim 6, which is characterized in that further include:
Second judgment module, for receive again marshalling instruction before, judge each compartment on train number whether be Zero;
Determining module when the number for each compartment ON TRAINS is zero, determines that the train is just run, described in acquisition The current driving direction of train;
Third judgment module, for judging whether the current driving direction is identical as the positive direction in leading compartment;
Second setup module, for when the current driving direction is identical as the positive direction in leading compartment, by leading compartment Number is set as N, N value is sent to the gateway controller in leading compartment, and the marshalling communication message for carrying N value is sent to down The marshalling controller in one compartment, so that the number in affiliated compartment is set N+1 by the marshalling controller in next compartment, by N+1 value It is sent to the gateway controller in affiliated compartment, and the marshalling communication message for carrying N+1 value is sent to the marshalling control in next compartment Device processed, until setting completed for the number in all compartments of the train;Wherein, N is integer.
9. marshalling controller according to claim 6, which is characterized in that further include:
4th judgment module, for judging whether the current driving direction of the train changes;
Second sending module changes for the current driving direction in the train, and the current driving side of the train To it is opposite with the positive direction in leading compartment when, the marshalling control in the compartment of the other end corresponding with leading compartment on Xiang Suoshu train Device processed sends marshalling instruction again.
10. marshalling controller according to claim 6, which is characterized in that further include:
Module is obtained, for periodically acquiring the number in each compartment on train;
Reporting module is reported to the master controller of train for the number by each compartment, so that the master controller is sentenced Whether the number in each compartment changes on disconnected train, to leading compartment when the number in each compartment changes ON TRAINS On marshalling controller send again marshalling instruction.
11. a kind of train, which is characterized in that be arranged on each compartment of the train just like described in claim any one of 6-10 Marshalling controller;
GPS locator and acceleration transducer are additionally provided on the head compartment of the train;Alternatively,
GPS locator and acceleration transducer are additionally provided on the head compartment and tail portion compartment of the train.
12. a kind of marshalling controller characterized by comprising
Memory, processor and storage are on a memory and the computer program that can run on a processor, which is characterized in that institute It states when processor executes described program and realizes train marshalling list method according to any one of claims 1 to 5.
13. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program Train marshalling list method according to any one of claims 1 to 5 is realized when being executed by processor.
14. a kind of computer executes a kind of train marshalling list method, the side when the instruction processing unit of the computer executes Method includes:
When receiving marshalling instruction again, self-test communication message is passed through adjacent vehicle by the marshalling controller on the leading compartment of train The marshalling controller in compartment is successively transferred to the marshalling controller in each compartment, so that the marshalling controller in each compartment is by affiliated vehicle The number in compartment is sent to the marshalling controller of adjacent compartment, and judges affiliated compartment according to the number of the adjacent compartment received It whether wrong numbers;The leading compartment be train on be provided with GPS locator and acceleration transducer head compartment or Tail portion compartment;
Judge whether to receive the judging result that the marshalling controller in each compartment on train is sent, the judging result is train What number of the marshalling controller in upper each compartment in affiliated compartment was sent when wrong;
If receiving the judging result, the marshalling controller on leading compartment determine the train exist increase and decrease compartment and/ Or the case where replacement compartment, it is logical to send adjustment to the marshalling controller in pending number adjustment compartment according to the judging result Believe message so that the marshalling controller in pending number adjustment compartment according to the number of adjacent compartment to the number in affiliated compartment into Row adjustment, so that the number in each compartment of train successively increases.
CN201710657914.9A 2017-08-03 2017-08-03 Train marshalling list method, marshalling controller and train Active CN109383527B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710657914.9A CN109383527B (en) 2017-08-03 2017-08-03 Train marshalling list method, marshalling controller and train
PCT/CN2018/098344 WO2019024893A1 (en) 2017-08-03 2018-08-02 Train marshaling method, marshaling controller, and train

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710657914.9A CN109383527B (en) 2017-08-03 2017-08-03 Train marshalling list method, marshalling controller and train

Publications (2)

Publication Number Publication Date
CN109383527A CN109383527A (en) 2019-02-26
CN109383527B true CN109383527B (en) 2019-11-22

Family

ID=65232825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710657914.9A Active CN109383527B (en) 2017-08-03 2017-08-03 Train marshalling list method, marshalling controller and train

Country Status (2)

Country Link
CN (1) CN109383527B (en)
WO (1) WO2019024893A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112298288B (en) * 2019-07-31 2023-03-24 北京东土科技股份有限公司 Method and device for updating and generating carriage sequence information in train management system
CN112441089B (en) * 2019-08-30 2022-03-18 比亚迪股份有限公司 Train dispatching control method, platform and system, intelligent carriage and medium
CN111452838B (en) * 2020-04-23 2023-04-18 四川省客车制造有限责任公司 Passenger train control method and system capable of realizing free marshalling and decentralized independence
CN114104039B (en) * 2020-08-27 2023-03-31 株洲中车时代电气股份有限公司 Arbitrary direction multi-marshalling multi-connection train direction control unit, system and control method thereof
CN114524005B (en) * 2020-11-20 2023-08-08 比亚迪股份有限公司 Method, device, system, vehicle and storage medium for vehicle grouping
CN112700058B (en) * 2021-01-08 2024-03-22 北京全路通信信号研究设计院集团有限公司 Tail marshalling plan determining system and method for railway marshalling station
CN114194259B (en) * 2021-12-03 2023-11-24 中车唐山机车车辆有限公司 Control system of nimble marshalling

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19641521C1 (en) * 1996-09-30 1998-04-09 Siemens Ag Method of controlling railway marshalling track occupancy using automatic signalling systems especially for controlling entry into station
AT504613B1 (en) * 2006-11-27 2011-02-15 Innova Patent Gmbh CABLE CAR WITH A STATION FOR STORING DRIVING EQUIPMENT
US7844078B1 (en) * 2007-06-05 2010-11-30 Gianni Arcaini Method and apparatus for automatic zone occupation detection via video capture
CN103318185B (en) * 2012-03-21 2019-08-23 王哲 A kind of method that subway or light rail over long train marshalling operation and platform length determine
CN102632893B (en) * 2012-05-03 2014-04-02 智比特信息技术(镇江)有限公司 Automatic marshalling method for wireless control system train-braking train
CN103744401B (en) * 2014-01-15 2016-11-16 中国神华能源股份有限公司 A kind of wireless heavy data communications method of locomotive and system
CN105306235B (en) * 2014-06-26 2018-10-26 株洲南车时代电气股份有限公司 A kind of train marshalling list quantity recognition methods
CN104627204B (en) * 2015-01-07 2016-08-17 中车青岛四方车辆研究所有限公司 Vehicular intelligent addresses addressing method and dynamically across marshalling weight joint group network method
CN104787048B (en) * 2015-04-10 2017-03-29 长春轨道客车股份有限公司 A kind of more flexible electric rail car group grouping method
CN105763622A (en) * 2016-04-06 2016-07-13 株洲中车时代电气股份有限公司 Train formation reconnection method and formation reconnection device
CN106301473B (en) * 2016-08-24 2019-07-26 株洲中车时代电气股份有限公司 A kind of reconnection train group and its reconnection communication system
CN107878468B (en) * 2016-12-27 2019-03-29 比亚迪股份有限公司 Train, train marshalling list operating system and method
CN106627597B (en) * 2017-01-04 2020-01-10 中车青岛四方机车车辆股份有限公司 Method and device for grouping rail vehicles

Also Published As

Publication number Publication date
WO2019024893A1 (en) 2019-02-07
CN109383527A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
CN109383527B (en) Train marshalling list method, marshalling controller and train
CN103580911B (en) Communication system and communication means
US6754721B2 (en) Method for configuring a station connected to a field bus
CN110015322A (en) Train awakening method and device, train dormancy method and device
CN106878124A (en) Method and vehicle control device for controlling Large Copacity deagnostic communication in vehicle
US6757777B1 (en) Bus master switching unit
CN109952545A (en) Vehicle control system
JP2011166421A (en) In-vehicle-data relaying device, and vehicle control system
JPH06506325A (en) How to form a message
CN104683441A (en) Communication method of railway vehicle network system
CN109305200A (en) Train sequence, the calculation method of train mobile authorization, device and its equipment
CN107147538B (en) Fault Locating Method based on RS485 bridge circuit device
JP2012506580A (en) Apparatus and method for data transmission between a position measuring device and a subsequent electronic mechanism
CN109383566A (en) Train sort method and device
CN109398419A (en) The logic block occupied state detection method and device of rail traffic
JP2007251828A (en) In-vehicle database system
CN109720383A (en) Section occupied state detection method, device, system and semaphore
CN101281409B (en) Autopilot
CN109417419A (en) Control method, task engine, control terminal, repeater and readable storage medium storing program for executing
CN104821888B (en) Method and device for operating a communication network, in particular of a motor vehicle
CN106357499A (en) Automobile bus heterogeneous network data sharing system and automobile bus heterogeneous network data sharing method
CN104125047B (en) Telecommunication circuit, physical amount measuring device, electronic equipment, communication means
JP2008172353A (en) In-vehicle relay device, in-vehicle communication system, and in-vehicle communication method
JP2008227591A (en) On-vehicle relay connection unit
CN107920033A (en) It is used for the operating method and communication node of the communication node of mirror image in vehicle network

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