Safety envelope calculation method and device based on marshalling train
1. A safety envelope calculation method based on a marshalling train is characterized by comprising the following steps:
determining whether the position information of the first train is valid and whether the position information of the second train is valid based on the information received by the zone controller ZC; the first train and the second train are linked to form a marshalling train, and the first train is a front train;
if the position information of the first train and the position information of the second train are both valid, calculating the safety envelope of the marshalling train based on the safety envelope of the first train or based on the position relationship between the safety envelope of the first train and the safety envelope of the second train.
2. The marshalling train-based safety envelope calculation method of claim 1, wherein the safety envelope of the first train is a safe operating interval determined based on a safe front end of the first train and a safe back end of the first train;
said calculating a safety envelope for the consist train based on the safety envelope for the first train, comprising:
extending the safe rear end of the first train to a first end along a direction opposite to the running direction, and taking the first end as the safe rear end of the marshalling train and taking the safe front end of the first train as the safe front end of the marshalling train;
determining a safety envelope for the consist based on a safe back end of the consist and a safe front end of the consist;
wherein a distance between the first end and the safe rear end of the first train is not less than a length of the second train.
3. The marshalling train-based safety envelope calculation method of claim 1, wherein the safety envelope of the first train is a safe operating interval determined based on a safe front end of the first train and a safe back end of the first train; the safety envelope of the second train is a safe operating interval determined based on a safe front end of the second train and a safe rear end of the second train;
if the position relationship is that the safe front end of the first train is greater than or equal to the safe front end of the second train and the safe rear end of the first train is less than or equal to the safe rear end of the second train, the safe front end of the first train is used as the safe front end of the marshalling train and the safe rear end of the first train is used as the safe rear end of the marshalling train, and the safe envelope of the marshalling train is determined based on the safe rear end of the marshalling train and the safe front end of the marshalling train.
4. The method of claim 3, wherein if the positional relationship is that the safe front end of the first train is less than or equal to the safe front end of the second train and the safe back end of the first train is less than or equal to the safe back end of the second train, the safe front end of the second train is used as the safe front end of the consist train, the safe back end of the first train is used as the safe back end of the consist train, and the safe envelope of the consist train is determined based on the safe back end of the consist train and the safe front end of the consist train.
5. The method of claim 3, wherein if the positional relationship is that the safe front end of the first train is greater than or equal to the safe front end of the second train and the safe back end of the first train is greater than or equal to the safe back end of the second train, the safe front end of the first train is used as the safe front end of the consist train, the safe back end of the second train is used as the safe back end of the consist train, and the safe envelope of the consist train is determined based on the safe back end of the consist train and the safe front end of the consist train.
6. The method according to any one of claims 1 to 5, wherein said determining whether the location information of the first train is valid and the location information of the second train is valid based on the information received by the zone controller ZC comprises:
if the information received by the zone controller ZC comprises the position information of the first train sent by the VOBC of the first train, the position information of the first train is valid;
if the information received by the zone controller ZC includes the location information of the second train sent by the onboard controller VOBC of the second train, the location information of the second train is valid.
7. The marshalling train-based safety envelope calculation method of any one of claims 1 to 5, further comprising:
if the position information of the first train is valid and the position information of the second train is invalid, taking the safety envelope of the first train as the safety envelope of the marshalling train, and marking the second train as a non-communication train;
if the position information of the first train is invalid and the position information of the second train is valid, taking the safety envelope of the second train as the safety envelope of the marshalling train, and marking the first train as a non-communication train;
and if the position information of the first train and the position information of the second train are invalid, marking the first train and the second train as non-communication trains.
8. A marshalling train-based safety envelope calculation apparatus, comprising:
a determination unit for determining whether the position information of the first train is valid and the position information of the second train is valid, based on the information received by the zone controller ZC; the first train and the second train are linked to form a marshalling train, and the first train is a front train;
and the calculating unit is used for calculating the safety envelope of the marshalling train based on the safety envelope of the first train or based on the position relation between the safety envelope of the first train and the safety envelope of the second train if the position information of the first train and the position information of the second train are both valid.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the marshalling train-based safety envelope calculation method of any one of claims 1 to 7.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the marshalling train-based safety envelope calculation method of any one of claims 1 to 7.
Background
In the Operation process of a Communication-Based Train Automatic Control System (CBTC System) and a Full Automatic Operation System (FAO), there is an energy-saving solution: and (4) flexible grouping. Flat peak hours, when the train is operating in a low consist (e.g., 4 consist), and peak hours, when the train is operating in a high consist (e.g., two 4 consist trains combined into an 8 consist train). Although a train is combined, two trains with low marshalling are still two independent vehicle-mounted systems which report the position information of the train to the regional control center. The regional control center needs to calculate the train safety envelope of the combined whole train by integrating the position information of the two trains, and the method specifically comprises two methods:
firstly, the respective safety envelope range and the range of possible train operation are calculated according to the position information of the two trains. Because the communication delay between the two trains and the regional control center may be different, the front-back relationship of the position information of the two trains may be different from the actual operation condition (for example, the communication delay of the front train is very long, the position information is not updated all the time, the position information of the rear train may be earlier than the position information of the front train, and the actual position is still in front of the front train and the rear train). At this time, the possible operation range of the train of the front train needs to be expanded to be in front of the rear train.
And secondly, the regional control center can perform sequencing calculation on all trains on the line so as to determine the front-back relationship of the trains. Through the calibration of train sequencing, the safety envelope range of the front train and the rear train is relatively accurately calculated by the regional control center.
However, in the method of reporting the position information by two trains respectively, since there may be a difference in communication delay between the two trains and the regional control center, the front-back relationship of the train position information may not be consistent with the actual relationship. Although the above inconsistency can be corrected by using train sequencing, train sequencing can only be accurately calculated when the train is at rest or at low speed, and if the train is in a high-speed running state when position information is reported for the first time, the relationship between the front position and the rear position of the train is difficult to accurately judge under the condition of communication delay difference.
Disclosure of Invention
The invention provides a safety envelope calculation method and device based on a marshalling train, which are used for solving the defect that the safety envelope of the marshalling train cannot be accurately calculated in the prior art.
The invention provides a safety envelope calculation method based on a marshalling train, which comprises the following steps:
determining whether the position information of the first train is valid and whether the position information of the second train is valid based on the information received by the zone controller ZC; the first train and the second train are linked to form a marshalling train, and the first train is a front train;
if the position information of the first train and the position information of the second train are both valid, calculating the safety envelope of the marshalling train based on the safety envelope of the first train or based on the position relationship between the safety envelope of the first train and the safety envelope of the second train.
According to the safety envelope calculation method based on the marshalling train, the safety envelope of the first train is a safe operation interval determined based on the safe front end of the first train and the safe back end of the first train;
said calculating a safety envelope for the consist train based on the safety envelope for the first train, comprising:
extending the safe rear end of the first train to a first end along a direction opposite to the running direction, and taking the first end as the safe rear end of the marshalling train and taking the safe front end of the first train as the safe front end of the marshalling train;
determining a safety envelope for the consist based on a safe back end of the consist and a safe front end of the consist;
wherein a distance between the first end and the safe rear end of the first train is not less than a length of the second train.
According to the safety envelope calculation method based on the marshalling train, the safety envelope of the first train is a safe operation interval determined based on the safe front end of the first train and the safe back end of the first train; the safety envelope of the second train is a safe operating interval determined based on a safe front end of the second train and a safe rear end of the second train;
if the position relationship is that the safe front end of the first train is greater than or equal to the safe front end of the second train and the safe rear end of the first train is less than or equal to the safe rear end of the second train, the safe front end of the first train is used as the safe front end of the marshalling train and the safe rear end of the first train is used as the safe rear end of the marshalling train, and the safe envelope of the marshalling train is determined based on the safe rear end of the marshalling train and the safe front end of the marshalling train.
According to the safety envelope calculation method based on a marshalling train provided by the invention, if the position relationship is that the safety front end of the first train is less than or equal to the safety front end of the second train and the safety rear end of the first train is less than or equal to the safety rear end of the second train, the safety front end of the second train is used as the safety front end of the marshalling train, the safety rear end of the first train is used as the safety rear end of the marshalling train, and the safety envelope of the marshalling train is determined based on the safety rear end of the marshalling train and the safety front end of the marshalling train. According to the safety envelope calculation method based on the marshalling train provided by the invention,
according to the safety envelope calculation method based on a marshalling train provided by the invention, if the position relationship is that the safety front end of the first train is greater than or equal to the safety front end of the second train and the safety rear end of the first train is greater than or equal to the safety rear end of the second train, the safety front end of the first train is used as the safety front end of the marshalling train, the safety rear end of the second train is used as the safety rear end of the marshalling train, and the safety envelope of the marshalling train is determined based on the safety rear end of the marshalling train and the safety front end of the marshalling train.
According to the method for calculating the safety envelope based on the marshalling train provided by the invention, the step of determining whether the position information of the first train is valid and the position information of the second train is valid based on the information received by the zone controller ZC comprises the following steps:
if the information received by the zone controller ZC comprises the position information of the first train sent by the VOBC of the first train, the position information of the first train is valid;
if the information received by the zone controller ZC includes the location information of the second train sent by the onboard controller VOBC of the second train, the location information of the second train is valid.
The safety envelope calculation method based on the marshalling train further comprises the following steps:
if the position information of the first train is valid and the position information of the second train is invalid, taking the safety envelope of the first train as the safety envelope of the marshalling train, and marking the second train as a non-communication train;
if the position information of the first train is invalid and the position information of the second train is valid, taking the safety envelope of the second train as the safety envelope of the marshalling train, and marking the first train as a non-communication train;
and if the position information of the first train and the position information of the second train are invalid, marking the first train and the second train as non-communication trains.
The invention also provides a safety envelope calculation device based on the marshalling train, which comprises the following components:
a determination unit for determining whether the position information of the first train is valid and the position information of the second train is valid, based on the information received by the zone controller ZC; the first train and the second train are linked to form a marshalling train, and the first train is a front train;
and the calculating unit is used for calculating the safety envelope of the marshalling train based on the safety envelope of the first train or based on the position relation between the safety envelope of the first train and the safety envelope of the second train if the position information of the first train and the position information of the second train are both valid.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the safety envelope calculation method based on the marshalling train.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the marshalling train-based safety envelope calculation method as described in any of the above.
According to the safety envelope calculation method and device based on the marshalling train, provided by the invention, if the position information of the first train and the position information of the second train are both effective, the safety envelope of the marshalling train is accurately calculated based on the safety envelope of the first train or based on the position relation between the safety envelope of the first train and the safety envelope of the second train, so that the problem that the safety envelope of the marshalling train cannot be accurately calculated due to the fact that the position information is reported between the two trains and a ZC or the communication delay exists when the trains are in a high-speed running state in the traditional method is solved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for calculating a safety envelope based on a marshalling train according to the present invention;
FIG. 2 is a second schematic flow chart of the method for calculating a safety envelope based on a marshalling train according to the present invention;
FIG. 3 is one of the safety envelopes for a consist provided by the present invention;
FIG. 4 is a second schematic diagram of the safety envelope of the marshalling train provided by the present invention;
FIG. 5 is a third schematic illustration of the safety envelope of a consist provided by the present invention;
FIG. 6 is a fourth schematic illustration of the safety envelope of a consist provided by the present invention;
fig. 7 is a schematic structural diagram of a safety envelope calculation apparatus based on a marshalling train according to the present invention;
fig. 8 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, a mode that two trains respectively report position information is adopted, and due to the fact that communication delay between the two trains and a regional control center possibly differs, the situation that the front-back relation of the train position information is inconsistent with the reality can occur. Although the above inconsistency can be corrected by using train sequencing, train sequencing can only be accurately calculated when the train is at rest or at low speed, and if the train is in a high-speed running state when position information is reported for the first time, the relationship between the front position and the rear position of the train is difficult to accurately judge under the condition of communication delay difference.
In view of the above, the present invention provides a safety envelope calculation method based on a marshalling train. Fig. 1 is a schematic flow chart of a safety envelope calculation method based on a marshalling train according to the present invention, as shown in fig. 1, the method includes the following steps:
step 110, determining whether the position information of the first train is valid and whether the position information of the second train is valid based on the information received by the zone controller ZC; the first train and the second train are linked to form a marshalling train, and the first train is a front train.
Specifically, if the Zone Controller (ZC) receives the location information of the first train sent by the Vehicle-mounted Controller (VOBC) of the first train within the preset time period, it indicates that the location information of the first train is valid. And if the ZC receives the position information of the second train sent by the VOBC of the second train in the preset time period, the position information of the second train is valid. The coupling end of the first train is connected with the coupling end of the second train to form a marshalling train. For example, if the first train and the second train are both three-marshalled trains, a six-marshalled train is obtained after the two trains are coupled; and if the first train and the second train are both four marshalling trains, obtaining eight marshalling trains after the two trains are linked.
And 120, if the position information of the first train and the position information of the second train are both effective, calculating the safety envelope of the marshalling train based on the safety envelope of the first train or based on the position relation between the safety envelope of the first train and the safety envelope of the second train.
Specifically, if the location information of the first train and the location information of the second train are both valid, the safety envelope of the marshalling train can be calculated based on the safety envelope of the first train, for example, a margin of one train length is added on the basis of the safety envelope of the first train to obtain the safety envelope of the marshalling train, so that the calculated safety envelope of the marshalling train can envelop the whole marshalling train, and the safety envelope of the second train obtained based on the location information of the second train does not need to be considered, thereby avoiding that the safety envelope of the marshalling train cannot be accurately calculated due to communication delay existing in reporting the location information between the two trains and the ZC.
In addition, if the location information of the first train and the location information of the second train are both valid, the safety envelope of the consist train may be calculated based on the positional relationship between the safety envelope of the first train and the safety envelope of the second train. If it is determined from the safety envelope of the first train and the safety envelope of the second train that the safety envelope of the second train is within the safety envelope of the first train, the safety envelope of the first train can be directly used as the safety envelope of the consist train. Therefore, the method and the device can accurately calculate the safety envelope of the marshalling train based on the position relationship between the safety envelope of the first train and the safety envelope of the second train, and can avoid the problem that the safety envelope of the marshalling train cannot be accurately determined due to communication delay when the train is in a high-speed running state in the traditional method because the determination of the position relationship between the safety envelopes of the two trains does not depend on the determination that the train needs to be operated at a static state or a low speed.
It should be noted that the safety envelope of the first train is calculated by the VOBC of the first train based on the position information of the first train, and the safety envelope of the second train is calculated by the VOBC of the second train based on the position information of the second train. In addition, after the safety envelope of the marshalling train is obtained through calculation, the operation of the marshalling train can be controlled based on the safety envelope of the marshalling train, so that the driving safety of the train is ensured.
As shown in fig. 2, after the ZC receives the message, it determines validity of the position information of the first train (VOBC1) and the second train (VOBC2), and if the VOBC1 is the lead train when both the position information of the trains are valid, calculates the safety envelope of the consist train (VOBC1 and VOBC2) based on the safety envelope of the VOBC1 or based on the positional relationship between the safety envelope of the VOBC1 and the safety envelope of the VOBC 2.
According to the safety envelope calculation method based on the marshalling train provided by the embodiment of the invention, if the position information of the first train and the position information of the second train are both effective, the safety envelope of the marshalling train is accurately calculated based on the safety envelope of the first train or based on the position relation between the safety envelope of the first train and the safety envelope of the second train, so that the problem that the safety envelope of the marshalling train cannot be accurately calculated due to the fact that the position information is reported between the two trains and the ZC or the communication delay exists when the trains are in a high-speed running state in the traditional method is solved.
Based on the above embodiment, the safety envelope of the first train is a safe operation section determined based on the safe front end of the first train and the safe rear end of the first train;
calculating a safety envelope for the consist train based on the safety envelope for the first train, comprising:
extending the safe rear end of the first train to a first end along the direction opposite to the running direction, taking the first end as the safe rear end of the marshalling train, and taking the safe front end of the first train as the safe front end of the marshalling train;
determining a safety envelope for the consist based on the safe rear end of the consist and the safe front end of the consist;
and the distance between the first end and the safe rear end of the first train is not less than the length of the second train.
Specifically, after the VOBC of the first train calculates the safety envelope of the first train, the safety rear end of the first train is extended to the first end in the direction opposite to the running direction, so that the distance between the first end and the safety rear end of the first train is not less than the length of the second train, the first end is used as the safety rear end of the marshalling train, the safety front end of the first train is used as the safety front end of the marshalling train, and the section defined by the safety front end of the marshalling train and the safety rear end of the marshalling train is used as the safety envelope of the marshalling train.
It should be noted that, because the second train is linked to the first train, the safety rear end of the first train is extended to the first end along the direction opposite to the operation direction, so that the calculated safety envelope of the marshalling train can envelop the first train and the second train, and the safety envelope of the second train obtained based on the position information of the second train does not need to be considered, thereby avoiding that the safety envelope of the marshalling train cannot be accurately calculated due to communication delay of reporting position information between the two trains and the ZC.
Based on any of the above embodiments, the safety envelope of the first train is a safe operating interval determined based on the safe front end of the first train and the safe rear end of the first train; the safety envelope of the second train is a safe operating interval determined based on a safe front end of the second train and a safe rear end of the second train;
if the position relationship is that the safe front end of the first train is greater than or equal to the safe front end of the second train and the safe rear end of the first train is less than or equal to the safe rear end of the second train, the safe front end of the first train is used as the safe front end of the marshalling train, the safe rear end of the first train is used as the safe rear end of the marshalling train, and the safe envelope of the marshalling train is determined based on the safe rear end of the marshalling train and the safe front end of the marshalling train.
Specifically, as shown in fig. 3, if the positional relationship between the safety envelope VOBC1 of the first train and the safety envelope VOBC2 of the second train is that the safety front end of the first train is greater than or equal to the safety front end of the second train, and the safety rear end of the first train is less than or equal to the safety rear end of the second train, it indicates that the safety envelope VOBC2 of the second train is located within the safety envelope VOBC1 of the first train, the safety front end of the first train can be used as the safety front end of the consist train, the safety rear end of the first train can be used as the safety rear end of the consist train, and the safety envelope of the consist train can be obtained based on the safety rear end of the consist train and the section determined by the safety front end of the consist train and the safety front end of the consist train.
Based on any of the above embodiments, if the positional relationship is that the safe front end of the first train is less than or equal to the safe front end of the second train and the safe rear end of the first train is less than or equal to the safe rear end of the second train, the safe front end of the second train is taken as the safe front end of the consist train, the safe rear end of the first train is taken as the safe rear end of the consist train, and the safe envelope of the consist train is determined based on the safe rear end of the consist train and the safe front end of the consist train.
Specifically, if the position relationship between the first train's safety envelope VOBC1 and the second train's safety envelope VOBC2 is that the safety front end of the first train is less than or equal to the safety front end of the second train, and the safety rear end of the first train is less than or equal to the safety rear end of the second train, two situations are included at this time: the safety envelope of the first train and the safety envelope of the second train have an overlapping part (as shown in figure 4); (ii) there is no overlap of the safety envelope of the first train with the safety envelope of the second train (as shown in figure 5).
In this positional relationship, the safety front end of the second train is used as the safety front end of the consist train, the safety rear end of the first train is used as the safety rear end of the consist train, and the safety envelope of the consist train is obtained based on the safety rear end of the consist train and the section determined by the safety front end of the consist train.
Based on any of the above embodiments, if the positional relationship is that the safe front end of the first train is greater than or equal to the safe front end of the second train and the safe rear end of the first train is greater than or equal to the safe rear end of the second train, the safe front end of the first train is taken as the safe front end of the consist train and the safe rear end of the second train is taken as the safe rear end of the consist train, and the safe envelope of the consist train is determined based on the safe rear end of the consist train and the safe front end of the consist train.
Specifically, as shown in fig. 6, if the positional relationship between the safety envelope VOBC1 of the first train and the safety envelope VOBC2 of the second train is that the safety front end of the first train is greater than or equal to the safety front end of the second train, and the safety rear end of the first train is greater than or equal to the safety rear end of the second train, it indicates that the safety envelope VOBC2 of the second train is located in front of the safety envelope VOBC1 of the first train, the safety front end of the first train may be used as the safety front end of the consist train, the safety rear end of the second train is used as the safety rear end of the consist train, and the safety envelope of the consist train is obtained based on the safety rear end of the consist train and the section determined by the safety front end of the consist train and the safety front end of the consist train.
Based on any of the above embodiments, determining whether the location information of the first train is valid and the location information of the second train is valid based on the information received by the zone controller ZC includes:
if the information received by the zone controller ZC comprises the position information of the first train sent by the VOBC of the first train, the position information of the first train is valid;
if the information received by the zone controller ZC includes the location information of the second train sent by the onboard controller VOBC of the second train, the location information of the second train is valid.
Specifically, if the ZC receives the location information of the first train sent by the VOBC of the first train within the preset time period, it indicates that the location information of the first train is valid. If the ZC receives the position information of the second train sent by the VOBC of the second train in the preset time period, the position information of the second train is effective, and therefore when the position information of the first train and the position information of the second train are both effective, the safety envelope of the marshalling train is accurately determined.
Based on any embodiment above, still include:
if the position information of the first train is valid and the position information of the second train is invalid, taking the safety envelope of the first train as the safety envelope of the marshalling train, and marking the second train as a non-communication train;
if the position information of the first train is invalid and the position information of the second train is valid, taking the safety envelope of the second train as the safety envelope of the marshalling train, and marking the first train as a non-communication train;
and if the position information of the first train and the position information of the second train are invalid, marking the first train and the second train as non-communication trains.
Specifically, if the location information of the first train is valid and the location information of the second train is invalid, which indicates that the second train may not be on-line, the safety envelope of the first train is used as the safety envelope of the marshalling train, and the second train is marked as a non-communication train for tracking management.
And if the position information of the first train is invalid and the position information of the second train is valid, which indicates that the first train may not be operated online, taking the safety envelope of the second train as the safety envelope of the marshalling train, and marking the first train as a non-communication train for tracking management.
If the position information of the first train and the position information of the second train are invalid, the first train and the second train are marked as non-communication trains when the first train and the second train are possibly not in on-line operation
The safety envelope calculation apparatus based on a marshalling train according to the present invention is described below, and the safety envelope calculation apparatus based on a marshalling train described below and the safety envelope calculation method based on a marshalling train described above may be referred to in correspondence with each other.
Based on any one of the above embodiments, the present invention provides a safety envelope calculation apparatus based on a marshalling train, as shown in fig. 7, the apparatus includes:
a determination unit 710 for determining whether the location information of the first train is valid and the location information of the second train is valid based on the information received by the zone controller ZC; the first train and the second train are linked to form a marshalling train, and the first train is a front train;
a calculating unit 720, configured to calculate a safety envelope of the marshalling train based on the safety envelope of the first train or based on a position relationship between the safety envelope of the first train and the safety envelope of the second train if the position information of the first train and the position information of the second train are both valid.
According to any of the above embodiments, the safety envelope of the first train is a safe operation interval determined based on the safe front end of the first train and the safe back end of the first train;
the calculating unit 720 is configured to:
extending the safe rear end of the first train to a first end along a direction opposite to the running direction, and taking the first end as the safe rear end of the marshalling train and taking the safe front end of the first train as the safe front end of the marshalling train;
determining a safety envelope for the consist based on a safe back end of the consist and a safe front end of the consist;
wherein a distance between the first end and the safe rear end of the first train is not less than a length of the second train.
According to any of the above embodiments, the safety envelope of the first train is a safe operation interval determined based on the safe front end of the first train and the safe back end of the first train; the safety envelope of the second train is a safe operating interval determined based on a safe front end of the second train and a safe rear end of the second train;
if the position relationship is that the safe front end of the first train is greater than or equal to the safe front end of the second train and the safe rear end of the first train is less than or equal to the safe rear end of the second train, the safe front end of the first train is used as the safe front end of the marshalling train and the safe rear end of the first train is used as the safe rear end of the marshalling train, and the safe envelope of the marshalling train is determined based on the safe rear end of the marshalling train and the safe front end of the marshalling train.
Based on any of the above embodiments, if the location relationship is that the safe front end of the first train is less than or equal to the safe front end of the second train and the safe rear end of the first train is less than or equal to the safe rear end of the second train, the safe front end of the second train is used as the safe front end of the consist train, the safe rear end of the first train is used as the safe rear end of the consist train, and the safe envelope of the consist train is determined based on the safe rear end of the consist train and the safe front end of the consist train.
Based on any of the above embodiments, if the position relationship is that the safe front end of the first train is greater than or equal to the safe front end of the second train and the safe rear end of the first train is greater than or equal to the safe rear end of the second train, the safe front end of the first train is used as the safe front end of the consist train, the safe rear end of the second train is used as the safe rear end of the consist train, and the safe envelope of the consist train is determined based on the safe rear end of the consist train and the safe front end of the consist train.
Based on any of the above embodiments, the determining unit 710 is configured to:
if the information received by the zone controller ZC comprises the position information of the first train sent by the VOBC of the first train, the position information of the first train is valid;
if the information received by the zone controller ZC includes the location information of the second train sent by the onboard controller VOBC of the second train, the location information of the second train is valid.
Based on any embodiment above, still include:
a first safety envelope determining unit, configured to, if the location information of the first train is valid and the location information of the second train is invalid, use the safety envelope of the first train as the safety envelope of the marshalling train, and mark the second train as a non-communication train;
a second safety envelope determining unit, configured to, if the location information of the first train is invalid and the location information of the second train is valid, use the safety envelope of the second train as the safety envelope of the marshalling train, and mark the first train as a non-communication train;
a third safety envelope determining unit, configured to mark both the first train and the second train as non-communication vehicles if both the position information of the first train and the position information of the second train are invalid.
Fig. 8 is a schematic structural diagram of an electronic device provided in the present invention, and as shown in fig. 8, the electronic device may include: a processor (processor)810, a memory (memory)820, a communication Interface (Communications Interface)830 and a communication bus 840, wherein the processor 810, the memory 820 and the communication Interface 830 communicate with each other via the communication bus 840. The processor 810 may invoke logic instructions in the memory 820 to perform a method of consist train based safety envelope calculation, the method comprising: determining whether the position information of the first train is valid and whether the position information of the second train is valid based on the information received by the zone controller ZC; the first train and the second train are linked to form a marshalling train, and the first train is a front train; if the position information of the first train and the position information of the second train are both valid, calculating the safety envelope of the marshalling train based on the safety envelope of the first train or based on the position relationship between the safety envelope of the first train and the safety envelope of the second train.
Furthermore, the logic instructions in the memory 820 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, which when executed by a computer, enable the computer to perform the method for train consist based safety envelope calculation provided by the above methods, the method comprising: determining whether the position information of the first train is valid and whether the position information of the second train is valid based on the information received by the zone controller ZC; the first train and the second train are linked to form a marshalling train, and the first train is a front train; if the position information of the first train and the position information of the second train are both valid, calculating the safety envelope of the marshalling train based on the safety envelope of the first train or based on the position relationship between the safety envelope of the first train and the safety envelope of the second train.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, is implemented to perform the method for train consist based safety envelope calculation provided above, the method comprising: determining whether the position information of the first train is valid and whether the position information of the second train is valid based on the information received by the zone controller ZC; the first train and the second train are linked to form a marshalling train, and the first train is a front train; if the position information of the first train and the position information of the second train are both valid, calculating the safety envelope of the marshalling train based on the safety envelope of the first train or based on the position relationship between the safety envelope of the first train and the safety envelope of the second train.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:基于编组通信的列车测速方法、装置及设备