WO2021174769A1 - Method for processing train interface data of hot-standby vehicle-mounted device - Google Patents

Method for processing train interface data of hot-standby vehicle-mounted device Download PDF

Info

Publication number
WO2021174769A1
WO2021174769A1 PCT/CN2020/109451 CN2020109451W WO2021174769A1 WO 2021174769 A1 WO2021174769 A1 WO 2021174769A1 CN 2020109451 W CN2020109451 W CN 2020109451W WO 2021174769 A1 WO2021174769 A1 WO 2021174769A1
Authority
WO
WIPO (PCT)
Prior art keywords
control unit
main control
command
train interface
opposite end
Prior art date
Application number
PCT/CN2020/109451
Other languages
French (fr)
Chinese (zh)
Inventor
于晓娜
王建敏
陈志强
张友兵
Original Assignee
北京全路通信信号研究设计院集团有限公司
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 北京全路通信信号研究设计院集团有限公司 filed Critical 北京全路通信信号研究设计院集团有限公司
Priority to RS20230742A priority Critical patent/RS64526B1/en
Priority to EP20785425.8A priority patent/EP3895958B1/en
Publication of WO2021174769A1 publication Critical patent/WO2021174769A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or train for signalling purposes
    • B61L15/0063Multiple on-board control systems, e.g. "2 out of 3"-systems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or train for signalling purposes
    • B61L15/0072On-board train data handling
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or train for signalling purposes
    • B61L15/0081On-board diagnosis or maintenance
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or train for signalling purposes
    • B61L15/0062On-board target speed calculation or supervision

Definitions

  • the present invention relates to the technical field of train control, in particular to a method for processing train interface data for hot standby on-board equipment.
  • the train operation control system is a system to ensure the safe and fast operation of trains.
  • the main function of the train operation control system is to complete the interval control and speed control of the train.
  • the complete train operation control system consists of on-board equipment and ground equipment.
  • the present invention provides a method for processing train interface data of hot standby on-board equipment.
  • a main control unit fails, it is necessary to switch from the first main control unit to the second main control unit while parking.
  • the method for processing train interface data of hot standby on-board equipment of the present invention specifically includes:
  • the first main control unit and the second main control unit receive the input signal sent by the train interface, and control the input signal to be consistent;
  • the on-board equipment When the on-board equipment loses power, or when the first main control unit and the second main control unit all fail, the on-board equipment sends a safety command to the train interface;
  • the on-board equipment determines whether to send a safety command to the train interface according to the operating conditions.
  • controlling the input signals to be consistent includes the following steps:
  • the second main control unit receives the currently collected first input signal sent by the first main control unit;
  • the second main control unit compares the first input signal with the currently collected second input signal. If the signal content of the first input signal and the second input signal are the same, the first main control unit The control unit uses the currently collected first input signal as input, and the second main control unit uses the currently collected second input signal as input; if the signal content of the first input signal and the second input signal are inconsistent, all The first main control unit discards the first input signal, the second main control unit discards the second input signal, and the first main control unit and the second main control unit maintain the previous consistent signal as input.
  • the second main control unit determines Fault.
  • controlling the input signal to be consistent is specifically:
  • the first main control unit receives the current input signal, and sends the input signal to the second main control unit;
  • the second main control unit receives the input signal as its own input signal.
  • the on-board equipment determines whether to send a safety command to the train interface according to the operation situation:
  • the second main control unit determines whether to send a safety command to the train interface as required;
  • the first main control unit determines whether to send a safety command to the train interface as required;
  • the second main control unit continues to send safety commands to the circuit module in the vehicle equipment; the first main control unit determines whether to send to the circuit module as needed Security command; if the circuit module receives the security command of the second main control unit and the security command of the first main control unit, it sends a security command to the train interface; if the circuit module only receives the second The safety command of the main control unit does not send the safety command to the train interface.
  • the on-board equipment determines whether to send a safety command to the train interface according to the operating conditions:
  • the second main control unit determines whether to send a safety command to the train interface as required;
  • the first main control unit determines whether to send a safety command to the train interface as required;
  • the first main control unit or the second main control unit determines whether to send a safety command to the train interface according to the status of the local end and the opposite end.
  • the first main control unit or the second main control unit determines whether to send a safety command to the train interface according to the status of the local end and the opposite end Cancel the sending of safety commands to the train interface, including:
  • T1 Initially, both the local end and the opposite end are in an idle state
  • T2 When the local end sends a safety command to the train interface, it is judged whether the sending status of the safety command has changed. If the sending status of the safety command changes, the first timer is started, the monitoring peer status is entered, and step T3 is executed; if it is safe If the sending status of the command has not changed, it is judged whether the security command information of the opposite end is received, and if the security command information of the opposite end is received, the confirmation packet of receiving the security command information is sent to the opposite end, and the second timer is started, and enter Monitor the status of the local end, and execute step T4. If the security command information from the opposite end is not received, continue to determine whether the sending status of the security command of the local end has changed;
  • T3 Judge whether the sending status of the changed safety command is sending a safety command to the train interface. If the sending status of the changed safety command is sending a safety command to the train interface, the local end sends the safety command to the train interface and periodically The opposite terminal sends a message to send a safety command to the train interface, and continues to step T3-1. If the changed safety command status is not to send a safety command to the train interface, the local terminal will not send a safety command to the train interface temporarily, and Periodically send messages not to send safety commands to the train interface to the opposite end, and continue to perform step T3-2;
  • T3-1 Judge whether the security command information of the opposite end is received, if the security command information of the opposite end is received, send a confirmation packet of receiving the security command information to the opposite end, and judge the security command information of the opposite end and the changed value of the local end Whether the sending status of the security command is consistent, if the security command information of the opposite end is consistent with the sending status of the changed security command of the local end, the first timer is turned off and the local end enters the idle state. If the security command information of the opposite end changes with the local end If the sending state of the subsequent security commands is inconsistent, the local end enters the fault state.
  • the security command information from the opposite end is not received, it is judged whether the timing time of the first timer has expired, and if the timing time of the first timer expires, it will be turned off.
  • the first timer the local end enters the idle state, if the time of the first timer does not expire, it is judged whether the confirmation packet of the security command information of the opposite end is received, and if the confirmation packet of the security command information of the opposite end is received, it stops Send the message of sending the safety command to the train interface to the opposite end to maintain the current state. If the confirmation packet of the safety command information of the opposite end is not received, it is judged whether the message of sending the safety command to the train interface to the opposite end exceeds the specified number of times.
  • T3-2 Judge whether the security command information of the opposite end is received, if the security command information of the opposite end is received, then send a confirmation packet of receiving the security command information to the opposite end, and judge the security command information of the opposite end and the changed local end Whether the sending status of the security command is consistent, if the security command information of the opposite end is consistent with the sending status of the changed security command of the local end, the first timer is turned off and the local end enters the idle state. If the security command information of the opposite end changes with the local end If the sending state of the subsequent security commands is inconsistent, the local end enters the fault state.
  • the security command information from the opposite end is not received, it is judged whether the timing time of the first timer has expired, and if the timing time of the first timer expires, it will be turned off.
  • the first timer the local end enters the idle state, if the time of the first timer does not expire, it is judged whether the confirmation packet of the security command information of the opposite end is received, and if the confirmation packet of the security command information of the opposite end is received, it stops Send the message not to send the safety command to the train interface to the opposite end and maintain the current state.
  • T4 When the local end sends a safety command to the train interface, it judges whether the sending status of the safety command has changed. If the sending status of the safety command changes, it judges the sending status of the changed safety command and the received safety command information of the opposite end. Whether it is consistent or not, if the sending status of the changed security command is consistent with the received security command information of the opposite end, the local end keeps the sending status of the changed security command, and sends the changed security command information to the opposite end, closing the first
  • the second timer enters the state of waiting for confirmation from the peer and continues to perform step T5. If the sending state of the changed security command is inconsistent with the received security command information of the peer, the second timer is turned off and the local end enters the fault state.
  • the second timer If no, it is judged whether the second timer has timed out. If the second timer has timed out, the second timer will be turned off and enter the fault state. If the second timer has not timed out, it will continue to judge when the local end sends a safety command to the train interface. Whether the sending status of the safety command has changed;
  • T5 Periodically send the changed security command information to the opposite end to determine whether the confirmation information about the security command from the opposite end is received. If the confirmation information about the security command from the opposite end is received, the local end enters the idle state, if not received For the confirmation information of the security command on the opposite end, it is judged whether the number of times of sending the changed security command information to the opposite end exceeds the specified number of times. If the number of times of sending the changed security command information to the opposite end exceeds the specified number of times, the local end enters idle Status, if the number of times that the changed security command information is sent to the opposite end does not exceed the specified number of times, continue to send the changed security command information to the opposite end.
  • the safety command includes a speed control command and a cutting traction command.
  • the safety command includes a train interface control command
  • the on-board equipment determines whether to send the train interface control command to the train interface according to the operating conditions, which specifically includes:
  • the first main control unit fails or has no power, the first main control unit does not send the train interface control command to the train interface, and the second main control unit determines whether to send the train interface control command to the train interface as needed;
  • the second main control unit when the second main control unit fails or has no power, the second main control unit does not send the train interface control command to the train interface, and the first main control unit determines whether to send the train interface control to the train interface as needed Order;
  • the first main control unit and the second main control unit are all in a normal operating state, and the second main control unit cancels sending the train interface control command to the circuit module in the on-board equipment; the first main control unit determines whether to The circuit module sends the train interface control command; if the circuit module does not receive the train interface control command, it does not send the train interface control command to the train interface; if the circuit module receives the first master The train interface control command information of the control unit sends the train interface control command to the train interface.
  • the brake test includes the following steps:
  • the first main control unit After the first main control unit receives the brake test request, it will execute the brake test. If the brake test fails, it will remind the driver that the brake test has failed, and re-execute the brake test until the brake test is successful. If successful, command the second main control unit to perform the brake test;
  • the second main control unit After the second main control unit receives the command and sends a confirmation receipt command to the first main control unit, it starts to perform the brake test. If the brake test is successful, the brake test result is sent to the first main control unit , The first main control unit feeds back the brake test results of the local end and the second main control unit to the driver;
  • step D3 If the brake test fails, it is determined whether the number of braking times exceeds the specified number of times, if it exceeds, then execute step D3, if it does not exceed, then execute step D4;
  • D3 Repeat the brake test until the brake test is successful, and then send the brake test result to the first main control unit, and the first main control unit feeds back the brake test results of the local end and the second main control unit to the driver ;
  • D4 Inform the first main control unit that the test is over and the second main control unit enters a fault state. After the first main control unit receives the test end message of the second main control unit, it will feed back the brake test result of the first main control unit To the driver.
  • the present invention provides a method for processing train interface data for hot standby on-board equipment, using a second main control unit to hot backup the first main control unit, and supply power to the first main control unit and the second main control unit at the same time, Control the input signals of the train interface of the first main control unit and the second main control unit to keep the same, to ensure that the first main control unit and the second main control unit are synchronized in operation, so that when the first main control unit fails, there is no need to stop the machine. Can automatically switch to the second main control unit.
  • Fig. 1 is a schematic diagram of signal transmission between the hot standby on-board equipment and the train interface of the present invention
  • FIG. 2 is a block diagram of the overall flow of the method for processing train interface data for hot backup on-board equipment according to the present invention
  • Figure 3 is a flow chart of Scheme 1 for keeping the input signal consistent
  • Figure 4 is a flow chart of Scheme 2 for keeping the input signal consistent
  • Figure 5 is a block diagram of a part of the process for the situation 3 in the plan 2 adopted in the processing measures for the brake command;
  • Figure 6 is a block diagram of a part of the process for the situation 3 in the plan 2 adopted in the processing measures for the brake command;
  • Fig. 7 is a partial flow diagram for the situation 3 in the plan 2 adopted in the processing measures for the braking command;
  • Fig. 8 is a partial flow diagram for the situation 3 in the plan 2 adopted in the processing measures for the braking command;
  • FIG. 9 is a partial flow diagram for the situation 3 in the plan 2 adopted in the processing measures for the removal of the traction command;
  • FIG. 10 is a partial flow diagram for the situation 3 in the plan 2 adopted in the processing measures for the removal of the traction command;
  • FIG. 11 is a partial flow diagram for the situation 3 in the plan 2 adopted in the processing measures for the removal of the traction command;
  • FIG. 12 is a partial flow diagram for the situation 3 in the plan 2 adopted in the processing measures for the removal of the traction command;
  • Fig. 13 is a flowchart of a brake test of on-board equipment.
  • the first main control unit may be the main system main control unit or the standby system main control unit
  • the second main control unit may be the main system main control unit or the standby system main control unit
  • the first main control unit and the second main control unit are mutual backups, where, when the first main control unit is the main system main control unit, the second main control unit is the standby main control unit, and when the second main control unit
  • the first main control unit is the main control unit of the standby system.
  • the hot standby on-board equipment includes a first main control unit and a second main control unit, the first main control unit and the second main control unit
  • the main control unit receives the input signal sent by the train interface; and the first main control unit and the second main control unit send output signals to the train interface.
  • the method for processing train interface data of hot standby on-board equipment of this embodiment specifically includes: the second main control unit performs hot backup to the first main control unit, and the first main control unit and the second main control unit Two main control units supply power at the same time;
  • the first main control unit and the second main control unit process the input signal sent by the train interface, and control the input signals of the train interface of the first main control unit and the second main control unit to be consistent;
  • the first main control unit and the second main control unit are kept fully synchronized, so that when the first main control unit fails, it can automatically switch to the second main control unit without stopping;
  • the aforementioned input signals include, but are not limited to, the activation status of the bridge, the position of the direction handle, and the sleep signal;
  • the power supply module can be used to simultaneously supply power to the first main control unit and the second main control unit, or the same power supply module can be used to synchronize the first main control unit. Power supply for the unit and the second main control unit;
  • the first main control unit receives the current first input signal, and the second main control unit receives the current second input signal;
  • the first main control unit sends the first input signal to the second main control unit;
  • the second main control unit compares the signal content of the first input signal and the second input signal, and if the signal content is the same, it informs the first main control unit to use the currently collected first input signal as input, and the second main control unit The unit uses the currently collected second input signal as input; if the signal content is inconsistent, the first main control unit is notified to abandon the currently collected first input signal, and the second main control unit abandons the currently collected second input signal.
  • the control unit and the second main control unit maintain the previous consistent signal as input.
  • the “consistent signal content” here refers to the same command.
  • the first main control unit and the second main control unit receive the activation signal sent by the train interface at the same time, or receive the train interface at the same time.
  • the sent inactive signal means that the signal content is consistent.
  • Solution 1 in the case where the signal content of the first input signal and the second input signal are inconsistent, if the signal content of the first input signal and the second input signal are inconsistent for too long, exceeding the set duration, Then the second main control unit determines that the operation of the first main control unit and the second main control unit are not synchronized, and controls the second main control unit to enter the failure mode, and the first main control unit continues to operate.
  • the first main control unit receives the current input signal, and then sends the input signal to the second main control unit; the second main control unit receives the input signal sent by the first main control unit, and uses the received input signal as its own input signal .
  • the output signal includes safety commands.
  • the safety commands include speed control commands.
  • the speed control commands include but are not limited to brake commands.
  • the brake commands include but are not limited to emergency brake commands and maximum service brake commands;
  • the on-board equipment When the on-board equipment loses power, or when both the first main control unit and the second main control unit fail, the on-board equipment sends a braking command to the train interface;
  • the on-board equipment determines whether to send a braking command to the train interface or cancel the braking command to the train interface according to the operating situation.
  • the "operation condition" here includes three situations where the first main control unit is faulty or has no power, the second main control unit is faulty or has no power, and the first main control unit and the second main control unit are both operating normally.
  • Option 1 includes the following three situations:
  • the first main control unit is faulty or has no power.
  • the second main control unit determines whether to send a braking command to the train interface or cancel the braking command to the train interface as needed. For example, in the case of an overspeed train, the first The second main control unit sends a braking command to the train interface. When the train is not overspeeding, the second main control unit does not send a braking command to the train interface;
  • the second main control unit is faulty or has no power.
  • the first main control unit determines whether to send a brake command to the train interface or cancel the brake command to the train interface as needed.
  • the "as needed" scenario is the same as above;
  • Condition 3 Both the first main control unit and the second main control unit are operating normally, and the second main control unit continues to send braking commands to the circuit modules in the vehicle equipment;
  • the first main control unit determines whether to send a braking command to the above-mentioned circuit module or cancel the braking command to the circuit module according to needs.
  • the "as needed" scenario is the same as the above example;
  • the above circuit module receives the braking command of the second main control unit and the braking command of the first main control unit, it sends a braking command to the train interface;
  • the above circuit module only receives the braking command from the second main control unit, it cancels sending the braking command to the train interface.
  • Option 2 includes the following three situations:
  • Condition 1 The first main control unit is faulty or has no power.
  • the second main control unit determines whether to send a brake command to the train interface or cancel the brake command to the train interface as needed.
  • the "as needed" scenario is the same as above;
  • the second main control unit is faulty or has no power.
  • the first main control unit determines whether to send a brake command to the train interface or cancel the brake command to the train interface as needed.
  • the "as needed" scenario is the same as above;
  • Condition 3 The first main control unit and the second main control unit are all operating normally.
  • the first main control unit or the second main control unit determines whether to send a brake command to the train interface or cancel the train interface according to the status of the local end and the opposite end Send a brake command, the specific processing process is as follows:
  • both the local end and the opposite end are in an idle state; "both the local end and the opposite end are in an idle state” means that the local end and the opposite end remain in the same state, that is, the local end and the opposite end are at the same time It is in the state of sending a brake command, or the local end and the opposite end are in the state of canceling sending the brake command at the same time;
  • T2 Determine whether the sending status of the brake command has changed when the local end sends a brake command to the train interface. If the sending status of the brake command changes, turn on the first timer, monitor the opposite end, and then execute the steps T3, if the sending status of the brake command has not changed, continue to judge whether the brake command information from the opposite end is received, and if the brake command information from the opposite end is received, then send the confirmation packet of the brake command information received to the opposite end , And turn on the second timer to monitor the local terminal, and then execute step T4. If the braking command information from the opposite terminal is not received, continue to determine whether the braking command is sent from the local terminal to the train interface when the braking command is sent changes happened;
  • T3 Determine whether the changed brake command sending status is to send a brake command to the train interface or cancel the sending brake command to the train interface. If the changed brake command sending status is to send a brake command to the train interface, then The local end sends a brake command to the train interface, and periodically sends a message to the opposite end to send a brake command to the train interface, continue to perform step T3-1, if the changed brake command sending status is to cancel the sending of the brake command to the train interface If the local end temporarily cancels the sending of the brake command to the train interface, and periodically sends the message to the opposite end to cancel the sending of the brake command to the train interface, continue to perform step T3-2;
  • T3-1 As shown in Figure 6, it is judged whether the brake command information from the opposite end is received. If the brake command information from the opposite end is received, a confirmation packet of the brake command information received is sent to the opposite end, and the opposite end is judged. Whether the brake command information is consistent with the sending status of the brake command after the local end is changed. If the brake command information of the opposite end is consistent with the sending status of the brake command after the local end is changed, the first timer is turned off and the local end enters In idle state, if the braking command information of the opposite end is inconsistent with the sending state of the changed braking command of the local end, the local end enters the fault state.
  • the timing of the first timer is judged Whether the time has expired, if the time of the first timer expires, the first timer is turned off, and the local end enters the idle state. If the time of the first timer does not expire, it is judged whether the brake command information from the opposite end is received Acknowledgment packet. If it receives a confirmation packet of the brake command information from the opposite end, stop sending the brake command information to the train interface to the opposite end and maintain the current state. If the confirmation packet of the brake command information from the opposite end is not received, Then it is judged whether the information of sending brake commands to the train interface to the opposite end exceeds the specified number of times.
  • the local end enters the fault state, if the information of sending brake commands to the train interface to the opposite end does not exceed the specified number of times, continue to send the information of sending brake commands to the train interface to the opposite end;
  • T3-2 As shown in Figure 7, it is judged whether the brake command information from the opposite end is received. If the brake command information from the opposite end is received, the confirmation packet of the brake command information received is sent to the opposite end, and the opposite end is judged. Whether the brake command information is consistent with the sending status of the brake command after the change of the local end, if the brake command information of the opposite end is consistent with the sending status of the brake command after the change of the local end, the first timer is turned off, and the local end enters idle Status. If the brake command information of the opposite end is inconsistent with the changed brake command sending status of the local end, the local end enters the fault state.
  • the timing time of the first timer is judged Whether it is timed out, if the timing time of the first timer expires, the first timer is turned off, and the local end enters an idle state. If the timing time of the first timer does not expire, it is judged whether the confirmation of the brake command information from the opposite end is received If it receives the confirmation packet of the brake command information from the opposite end, stop sending the information to cancel the brake command sent to the train interface to the opposite end and maintain the current state. If the confirmation packet of the brake command information from the opposite end is not received, Then it is judged whether the information of canceling the sending of braking command to the train interface exceeds the specified number of times.
  • the local end enters the fault state, if the message to cancel the brake command to the train interface is not sent to the opposite end for more than the specified number of times, continue to send the message to the opposite end to cancel the brake command to the train interface;
  • T4 As shown in Figure 8, it is judged whether the sending status of the brake command has changed when the local end sends a brake command to the train interface. If the sending status of the brake command has changed, judge the sending of the changed brake command Whether the status is consistent with the received brake command information of the opposite end, if the changed brake command sending status is consistent with the received brake command information of the opposite end, the local end will continue to maintain the changed brake command sending status , And send the changed brake command information to the opposite end, turn off the second timer, enter the waiting state for the opposite end to confirm, and continue to perform step T5, if the changed brake command sending status is the same as the received brake If the command information is inconsistent, the second timer will be turned off, and the local terminal will enter the fault state.
  • the sending state of the brake command does not change, it will be judged whether the second timer has timed out. If the second timer has timed out, the second timer will be turned off. , Enter the fault state, if the second timer does not time out, continue to determine whether the sending state of the brake command has changed when the local end sends the brake command to the train interface;
  • T5 Periodically send the changed brake command information to the opposite end to determine whether the opposite end’s confirmation information about the brake command has been received. If the opposite end has received confirmation information about the brake command, the local end will enter the idle state. If no confirmation information about the brake command is received from the opposite end, it is judged whether the number of times of sending the changed brake command information to the opposite end exceeds the specified number of times, if the number of times of sending the changed brake command information to the opposite end exceeds the specified number of times , The local end enters the idle state, and if the number of times that the changed brake command information is sent to the opposite end does not exceed the specified number of times, it continues to send the changed brake command information to the opposite end.
  • the above-mentioned safety commands also include the removal and traction commands.
  • the following is an explanation of how to determine the removal and traction commands for different situations:
  • the on-board equipment If the on-board equipment loses power, or the first main control unit and the second main control unit are all faulty, the on-board equipment sends a command to cut off the traction to the train interface;
  • the on-board equipment determines whether to send the traction removal command to the train interface or cancel the sending of the traction removal command to the train interface according to the operating conditions.
  • the "operation condition" here includes three situations where the first main control unit is faulty or has no power, the second main control unit is faulty or has no power, and both the first main control unit and the second main control unit are operating normally.
  • Plan 1 includes the following three situations:
  • Condition 1 The first main control unit is faulty or has no power, and the second main control unit determines whether to send a cut off traction command to the train interface or cancel the cut off traction command to the train interface as needed. For example, in the case of an overspeed train, 2. The main control unit sends a traction removal command to the train interface, and the second main control unit does not send the traction removal command to the train interface when the train is not overspeed;
  • the second main control unit is faulty or has no power.
  • the first main control unit determines whether to send a cut off traction command to the train interface or cancel the cut off traction command to the train interface as needed.
  • the "as needed" scenario is the same as above;
  • the first main control unit determines whether to send the removal and pull command to the above circuit module or cancels the transmission of the removal and pull command to the above circuit module according to needs, the scenario example of "as needed” is the same as above;
  • circuit module If the circuit module receives the traction removal command of the second main control unit and the traction removal command of the first main control unit, it sends the traction removal command to the train interface;
  • the above circuit module only receives the traction removal command from the second main control unit, it cancels sending the traction removal command to the train interface.
  • Option 2 includes the following three situations:
  • Condition 1 The first main control unit is faulty or has no power, and the second main control unit determines whether to send the traction removal command to the train interface or cancel the transmission of the traction removal command to the train interface as needed.
  • the "as needed" scenario is the same as above;
  • the second main control unit is faulty or has no power.
  • the first main control unit determines whether to send the traction removal command to the train interface or cancel the traction removal command to the train interface as needed.
  • the "as needed" scenario is the same as above;
  • Condition 3 Both the first main control unit and the second main control unit are operating normally.
  • the first main control unit or the second main control unit determines whether to send a traction command to the train interface or cancel the train interface according to the status of the local end and the opposite end Sending the removal and traction command, including the following processing procedures:
  • both the local end and the opposite end are in an idle state, and "both the local end and the opposite end are in an idle state” means that the local end and the opposite end remain in the same state, that is, the local end and the opposite end are at the same time It is in the state of sending the excision towing command, or the local end and the opposite end are in the state of canceling the sending of the excision towing command at the same time;
  • P2 Determine whether the sending status of the removing traction command has changed when the local end sends the removal traction command to the train interface. If the sending status of the removal traction command changes, the first timer is turned on, the peer end is monitored, and the steps are executed P3, if the sending status of the removal and towing command has not changed, judge whether the removal and towing command information from the opposite end is received. If the removal and towing command information from the opposite end is received, the second timer is turned on, the local end is monitored, and then the steps are performed P4: If the traction removal command information from the opposite end is not received, continue to determine whether the sending status of the traction removal command has changed when the local end sends the traction removal command to the train interface;
  • step P3 Determine whether the changed status of the traction removal command is to send the removal traction command to the train interface or cancel the removal traction command to the train interface. If the status of the changed removal traction command is to send the removal traction command to the train interface, then The local end sends the traction removal command to the train interface, and periodically sends the message to the opposite end to send the removal traction command to the train interface, continue to perform step P3-1, if the changed sending status of the traction removal command is canceled to send the removal to the train interface Towing command, the local terminal temporarily cancels sending the traction removal command to the train interface, and periodically sends the message canceling the traction removal command to the train interface to the opposite terminal, and continues to perform step P3-2;
  • P3-1 As shown in Figure 10, it is judged whether the removal and pulling command information of the opposite end is received. If the removal and pulling command information of the opposite end is received, the confirmation packet of receiving the removal and pulling command information is sent to the opposite end, and the opposite end is judged. Whether the cutting and pulling command information is consistent with the sending status of the changed cutting and pulling command at the local end. If the sending status of the cutting and pulling command at the opposite end is the same as the sending status of the changing cutting and pulling command at the local end, the first timer is closed and the local end enters In idle state, if the sending state of the removal and pulling command of the opposite end is inconsistent with the sending state of the removal and pulling command after the change of the local end, the local end enters the fault state.
  • the timing of the first timer is judged Whether the time has expired, if the time of the first timer expires, the first timer is turned off, and the local end enters the idle state. If the time of the first timer does not expire, it is judged whether the removal of the traction command information from the opposite end is received Acknowledgment packet, if it receives the confirmation packet of the removal of the traction command information from the opposite end, stop sending the information of sending the removal of the traction command to the train interface to the opposite end, and maintain the current state.
  • the confirmation packet of the removal of the traction command information from the opposite end is not received, Then it is judged whether the information sent to the opposite end to send the removal of traction command to the train interface exceeds the specified number of times. If the information sent to the opposite end to send the removal of the traction command to the train interface exceeds the specified number of times, stop sending the information to the opposite end to send the removal of traction to the train interface Command information, the local end enters a fault state, and if the number of messages sent to the opposite end of the traction removal command to the train interface does not exceed the specified number of times, it will continue to send the message to the opposite end to send the traction removal command to the train interface;
  • P3-2 As shown in Figure 11, it is judged whether the removal and pulling command information from the opposite end is received. If the removal and pulling command information from the opposite end is received, the confirmation packet of the removal and pulling command information is sent to the opposite end, and the opposite end is judged. Whether the removal of the towing command information is consistent with the sending status of the changed removal of the towing command at the local end, if the sending status of the removal of the towing command of the opposite end is consistent with the sending status of the changed removal of the towing command at the local end, the first timer is turned off and the local end enters idle Status. If the sending status of the removal command from the opposite end is inconsistent with the sending status of the local removal command after the change, the local end enters the fault state.
  • the timing of the first timer is judged Whether it is timed out, if the time of the first timer expires, the first timer is turned off, and the local end enters the idle state. If the time of the first timer does not expire, it is judged whether the confirmation of the removal and traction command information from the opposite end is received Packet, if it receives the confirmation packet of the removal of the traction command information from the opposite end, stop sending the information to cancel the sending of the removal of the traction command to the train interface, and maintain the current state.
  • P4 As shown in Figure 12, it is judged whether the sending state of the cutting off traction command has changed when the local end sends the cutting off traction command to the train interface. If the sending state of the cutting off traction command has changed, then judging the sending state of the changed traction command Whether it is consistent with the received information of the removal and towing command of the opposite end, if the sending status of the changed removal and towing command is consistent with the received removal and towing command information of the opposite end, the local end will continue to maintain the sending status of the changed removal and towing command.
  • step P5 send the changed ablation towing command information to the opposite end, turn off the second timer, enter the waiting state for confirmation from the opposite end, and continue to perform step P5, if the changed sending state of the ablated towing command is the same as the received opposite end’s ablation and towing command If the information is inconsistent, the second timer is turned off, and the local end enters a fault state. If the sending state of the cut-off traction command does not change, it is judged whether the second timer has timed out, and if the second timer times out, the second timer is turned off. In the fault state, if the second timer does not time out, continue to determine whether the sending state of the traction removal command has changed when the local end sends the traction removal command to the train interface;
  • P5 Periodically send the changed removal and towing command information to the opposite end to determine whether the confirmation information about the removal and towing command is received from the opposite end. If the confirmation information about the removal and towing command is received from the opposite end, the local end enters the idle state, if If the confirmation information about the removal and pulling command is not received from the opposite end, it is judged whether the number of times of sending the changed removal and pulling command information to the opposite end exceeds the specified number of times.
  • the local end If the number of times of sending the changed removal and pulling command information to the opposite end exceeds the specified number of times , The local end enters the idle state, and if the number of times that the changed removal and traction command information is sent to the opposite end does not exceed the specified number of times, it continues to send the changed removal and traction command information to the opposite end.
  • the aforementioned safety commands also include train interface control commands.
  • Train interface control commands include but are not limited to service brake level 4, service brake level 1, over-phase command, over-phase selection;
  • the on-board equipment determines whether to send a phase-separation command to the train interface according to the operating condition
  • the "operation condition" here includes three situations where the first main control unit is faulty or has no power, the second main control unit is faulty or has no power, and the first main control unit and the second main control unit are both operating normally.
  • the above situation 2 specifically includes the handling of the following three situations:
  • Scenario 1 When the first main control unit fails or has no power, the first main control unit continues to cancel sending the excessive phase separation command to the train interface, and the second main control unit determines whether to send the excessive phase separation command to the train interface as needed, for example, in For railway sections that need to execute the over-phase command, the second main control unit sends the over-phase command to the train interface, and in the railway section that does not need to execute the over-phase command, the second main control unit does not send the over-phase command to the train interface;
  • Scenario 2 When the second main control unit fails or has no power, the second main control unit continuously cancels sending the excessive phase division command to the train interface, and the first main control unit determines whether to send the excessive phase division command to the train interface as needed, "as needed"
  • the scene examples are the same as above;
  • Scenario 3 The first main control unit and the second main control unit are all in a normal operating state, and the second main control unit continuously cancels sending the excessive phase division command to the circuit module in the vehicle equipment;
  • the first main control unit determines whether to send the over-phase division command to the above-mentioned circuit module or cancels the transmission of the over-phase division command to the above-mentioned circuit module according to needs, the scenario example of "as needed" is the same as above;
  • circuit module receives the over-phase division command from the first main control unit, it sends the over-phase division command to the train interface.
  • the brake loop needs to be tested to ensure that the brake command is accurately sent during operation. Therefore, the second main control unit hot backups the first main control unit, the first main control unit and the In the case that the second main control unit supplies power at the same time, the method of providing the brake test of the on-board equipment includes the following steps, as shown in Figure 13:
  • the first main control unit receives the brake test request in real time. After receiving the brake test request, the first main control unit starts to perform the brake test. If the brake test fails, it reminds the driver that the brake test failed and executes it again Brake test until the brake test is successful, if the brake test is successful, command the second main control unit to perform the brake test;
  • the second main control unit receives the command to execute the brake test sent by the first main control unit, and after sending the confirmation command to the first main control unit, it starts to perform the brake test. If the brake test is successful, it will brake The test result is sent to the first main control unit, and the first main control unit feeds back the brake test results of the local end and the second main control unit to the driver;
  • step D3 is executed, if it exceeds, step D4 is executed;
  • D3 Repeat the brake test until the brake test is successful, and then send the brake test result to the first main control unit, and the first main control unit feeds back the brake test results of the local end and the second main control unit to the driver ;
  • D4 Inform the first main control unit that the test is over and the second main control unit enters a fault state. After the first main control unit receives the test end message of the second main control unit, it will feed back the brake test result of the first main control unit To the driver.
  • the braking loops of the first main control unit and the second main control unit are tested, so as to ensure that the brake command is accurately sent during the operation of the vehicle-mounted equipment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

Provided is a method for processing train interface data of a hot-standby vehicle-mounted device. The method comprises: using a second main control unit to perform hot standby on a first main control unit, and simultaneously supplying power to the first main control unit and the second main control unit; and the first main control unit and the second main control unit receiving input signals sent by a train interface, and controlling the input signals to remain consistent. The problem of when a currently working first main control unit fails, needing to switch, when a train stops, from the first main control unit to a second main control unit because an existing vehicle-mounted device usually uses a cold-standby or warm-standby main control unit is solved.

Description

一种用于热备车载设备的列车接口数据的处理方法Method for processing train interface data of hot-standby vehicle-mounted equipment 技术领域Technical field
本发明涉及列车控制技术领域,具体涉及一种用于热备车载设备的列车接口数据的处理方法。The present invention relates to the technical field of train control, in particular to a method for processing train interface data for hot standby on-board equipment.
背景技术Background technique
列车运行控制系统,是保证列车安全、快速运行的系统。列车运行控制系统的主要作用是完成列车的间隔控制和速度控制。完整的列车运行控制系统由车载设备和地面设备组成。The train operation control system is a system to ensure the safe and fast operation of trains. The main function of the train operation control system is to complete the interval control and speed control of the train. The complete train operation control system consists of on-board equipment and ground equipment.
现有的车载设备一般采用第二主控单元冷备份或温备份第一主控单元,具有如下问题:Existing in-vehicle equipment generally adopts the second main control unit for cold backup or warm backup for the first main control unit, which has the following problems:
当正在工作的第一主控单元出现故障时,需要在停车的情况下从第一主控单元切换到第二主控单元。When the working first main control unit fails, it is necessary to switch from the first main control unit to the second main control unit in the case of parking.
发明内容Summary of the invention
为了克服现有技术的缺陷,本发明提供一种用于热备车载设备的列车接口数据的处理方法,解决因现有的车载设备一般采用冷备份或温备份主控单元,使得正在工作的第一主控单元出现故障时,需要在停车的情况下从第一主控单元切换到第二主控单元的问题。In order to overcome the shortcomings of the prior art, the present invention provides a method for processing train interface data of hot standby on-board equipment. When a main control unit fails, it is necessary to switch from the first main control unit to the second main control unit while parking.
本发明具体通过如下技术方案实现:The present invention is specifically implemented through the following technical solutions:
本发明的一种用于热备车载设备的列车接口数据的处理方法,具体包括:The method for processing train interface data of hot standby on-board equipment of the present invention specifically includes:
利用第二主控单元热备份第一主控单元,对所述第一主控单元和所述第二主控单元同时供电;Using the second main control unit to hot backup the first main control unit, and supply power to the first main control unit and the second main control unit at the same time;
所述第一主控单元和第二主控单元接收列车接口发送的输入信号,并控制所述输入信号保持一致;The first main control unit and the second main control unit receive the input signal sent by the train interface, and control the input signal to be consistent;
在车载设备失电,或,第一主控单元和第二主控单元全部发生故障时,车载设备向列车接口发送安全命令;When the on-board equipment loses power, or when the first main control unit and the second main control unit all fail, the on-board equipment sends a safety command to the train interface;
在所述第一主控单元和第二主控单元中至少一个处于正常运行状态时,车载设备按照运行情况确定是否向列车接口发送安全命令。When at least one of the first main control unit and the second main control unit is in a normal operating state, the on-board equipment determines whether to send a safety command to the train interface according to the operating conditions.
进一步的,控制所述输入信号保持一致,具体包括如下步骤:Further, controlling the input signals to be consistent includes the following steps:
S1:所述第二主控单元接收第一主控单元发送的当前采集的第一输入信号;S1: The second main control unit receives the currently collected first input signal sent by the first main control unit;
S2:所述第二主控单元将所述第一输入信号和当前采集的第二输入信号进行比较,若所述第一输入信号和第二输入信号的信号内容一致,则所述第一主控单元采用当前采集的第一输入信号作为输入,所述第二主控单元采用当前采集的第二输入信号作为输入;若所述第一输入信号和第二输入信号的信号内容不一致,则所述第一主控单元舍弃第一输入信号,所述第二主控单元舍弃第二输入信号,所述第一主控单元和第二主控单元维持采用之前的一致信号作为输入。S2: The second main control unit compares the first input signal with the currently collected second input signal. If the signal content of the first input signal and the second input signal are the same, the first main control unit The control unit uses the currently collected first input signal as input, and the second main control unit uses the currently collected second input signal as input; if the signal content of the first input signal and the second input signal are inconsistent, all The first main control unit discards the first input signal, the second main control unit discards the second input signal, and the first main control unit and the second main control unit maintain the previous consistent signal as input.
进一步的,在所述第一输入信号和第二输入信号的信号内容不一致时,若所述第一输入信号和第二输入信号的信号内容不一致的时间超过规定时间,则判断第二主控单元故障。Further, when the signal content of the first input signal and the second input signal are inconsistent, if the signal content of the first input signal and the second input signal are inconsistent for more than a predetermined time, the second main control unit is determined Fault.
进一步的,控制所述输入信号保持一致,具体为:Further, controlling the input signal to be consistent is specifically:
所述第一主控单元接收当前的输入信号,并将所述输入信号发送给第二主控单元;The first main control unit receives the current input signal, and sends the input signal to the second main control unit;
所述第二主控单元接收所述输入信号作为自身的输入信号。The second main control unit receives the input signal as its own input signal.
进一步的,在所述第一主控单元和第二主控单元中至少一个处于正常运行状态时,车载设备按照运行情况确定是否向列车接口发送安全命令:Further, when at least one of the first main control unit and the second main control unit is in a normal operation state, the on-board equipment determines whether to send a safety command to the train interface according to the operation situation:
所述第一主控单元故障或无电时,第二主控单元根据需要确定是否向列车接口发送安全命令;When the first main control unit fails or has no power, the second main control unit determines whether to send a safety command to the train interface as required;
或,or,
所述第二主控单元故障或无电时,第一主控单元根据需要确定是否向列车接口发送安全命令;When the second main control unit fails or has no power, the first main control unit determines whether to send a safety command to the train interface as required;
或,or,
所述第一主控单元和第二主控单元全部正常运行时,第二主控单元持续向车载设备内的电路模块发送安全命令;第一主控单元根据需要确定是否向所述电路模块发送安全命令;所述电路模块若接收到所述第二主控单元的安全命令和第一主控单元的安全命令,则向列车接口发送安全命令;所述电路模块若仅接收到所述第二主控单元的安全命令,则不向列车接口发送安全命令。When the first main control unit and the second main control unit are all operating normally, the second main control unit continues to send safety commands to the circuit module in the vehicle equipment; the first main control unit determines whether to send to the circuit module as needed Security command; if the circuit module receives the security command of the second main control unit and the security command of the first main control unit, it sends a security command to the train interface; if the circuit module only receives the second The safety command of the main control unit does not send the safety command to the train interface.
进一步的,在第一主控单元和第二主控单元中至少一个处于正常运行状态时,车载设备按照运行情况确定是否向列车接口发送安全命令:Further, when at least one of the first main control unit and the second main control unit is in a normal operating state, the on-board equipment determines whether to send a safety command to the train interface according to the operating conditions:
所述第一主控单元故障或无电时,第二主控单元根据需要确定是否向列车接口发送安全命令;When the first main control unit fails or has no power, the second main control unit determines whether to send a safety command to the train interface as required;
或,所述第二主控单元故障或无电时,第一主控单元根据需要确定是否向列车接口发送安全命令;Or, when the second main control unit fails or has no power, the first main control unit determines whether to send a safety command to the train interface as required;
或,所述第一主控单元和第二主控单元全部正常运行时,所述第一主控单元或第二主控单元根据本端和对端的状态,确定是否向列车接口发送安全命令。Or, when the first main control unit and the second main control unit are all operating normally, the first main control unit or the second main control unit determines whether to send a safety command to the train interface according to the status of the local end and the opposite end.
进一步的,所述第一主控单元和第二主控单元全部正常运行时,所述第一主控单元或第二主控单元根据本端和对端的状态,确定向列车接口发送安全命令还是取消向列车接口发送安全命令,具体包括:Further, when the first main control unit and the second main control unit are all operating normally, the first main control unit or the second main control unit determines whether to send a safety command to the train interface according to the status of the local end and the opposite end Cancel the sending of safety commands to the train interface, including:
T1:初始,本端和对端均处于空闲状态;T1: Initially, both the local end and the opposite end are in an idle state;
T2:本端向列车接口发送安全命令时,判断安全命令的发送状态是否发生改变,若安全命令的发送状态发生改变,则开启第一定时器,进入监控对端状态,执行步骤T3;若安全命令的发送状态没有发生改变,则判断是否收到对端的安全命令信息,若收到对端的安全命令信息,则向对端发送收到安全命令信息的确认包,并开启第二定时器,进入监控本端状态,执行步骤T4,若未收到对端的安全命令信息,则继续判断本端的安全命令的发送状态是否发生改变;T2: When the local end sends a safety command to the train interface, it is judged whether the sending status of the safety command has changed. If the sending status of the safety command changes, the first timer is started, the monitoring peer status is entered, and step T3 is executed; if it is safe If the sending status of the command has not changed, it is judged whether the security command information of the opposite end is received, and if the security command information of the opposite end is received, the confirmation packet of receiving the security command information is sent to the opposite end, and the second timer is started, and enter Monitor the status of the local end, and execute step T4. If the security command information from the opposite end is not received, continue to determine whether the sending status of the security command of the local end has changed;
T3:判断改变后的安全命令的发送状态是否为向列车接口发送安全命令,若改变后的安全命令的发送状态为向列车接口发送安全命令,则本端向列车接口发送安全命令,并周期性向对端发送向列车接口发送安全命令的信息,继续执行步骤T3-1,若改变后的安全命令的发送状态为不向列车接口发送安全命令,则本端暂时不向列车接口发送安全命令,并周期性向对端发送不向列车接口发送安全命令的信息,继续执行步骤T3-2;T3: Judge whether the sending status of the changed safety command is sending a safety command to the train interface. If the sending status of the changed safety command is sending a safety command to the train interface, the local end sends the safety command to the train interface and periodically The opposite terminal sends a message to send a safety command to the train interface, and continues to step T3-1. If the changed safety command status is not to send a safety command to the train interface, the local terminal will not send a safety command to the train interface temporarily, and Periodically send messages not to send safety commands to the train interface to the opposite end, and continue to perform step T3-2;
T3-1:判断是否收到对端的安全命令信息,若收到对端的安全命令信息,则向对端发送收到安全命令信息的确认包,并判断对端的安全命令信息和本端改变后的安全命令的发送状态是否一致,若对端的安全命令信息和本端改变后的安全命令的发送状态一致,则关闭第一定时器,本端进入空闲状态,若对端的安全命令信息和本端改变后的安全命令的发送状态不一致,则本端进入故障状态,若没有收到对端的安全命令信息,则判断第一计时器的计时时间是否超时,若第一计时器的计时时间超时,则关闭第一定时器,本端进入空闲状态,若第一计时器的计时时间未超时,则判断是否收到对端的安全命令信息的确认包,若收到对端的安全命令信息的确认包,则停止向对端发送向列车接口发送安全命令的信息,维持当前状态,若未收到对端的安全命令信息的确认包,则判断向对端发送向列车接口发送安全命令的信息是否超过规定次数,若向对端发送向列车接口发送安全命令的信息超过规定次数,则停止向对端发送向列车接口发送安全命令的信息,本端进入故障状态,若向对端发送向列车接口发送安全命令的信息未超过规定次数,则继续向对端发送向列车接口发送安全命令的信息;T3-1: Judge whether the security command information of the opposite end is received, if the security command information of the opposite end is received, send a confirmation packet of receiving the security command information to the opposite end, and judge the security command information of the opposite end and the changed value of the local end Whether the sending status of the security command is consistent, if the security command information of the opposite end is consistent with the sending status of the changed security command of the local end, the first timer is turned off and the local end enters the idle state. If the security command information of the opposite end changes with the local end If the sending state of the subsequent security commands is inconsistent, the local end enters the fault state. If the security command information from the opposite end is not received, it is judged whether the timing time of the first timer has expired, and if the timing time of the first timer expires, it will be turned off. The first timer, the local end enters the idle state, if the time of the first timer does not expire, it is judged whether the confirmation packet of the security command information of the opposite end is received, and if the confirmation packet of the security command information of the opposite end is received, it stops Send the message of sending the safety command to the train interface to the opposite end to maintain the current state. If the confirmation packet of the safety command information of the opposite end is not received, it is judged whether the message of sending the safety command to the train interface to the opposite end exceeds the specified number of times. If the information of sending safety commands to the train interface to the opposite end exceeds the specified number of times, stop sending the information of sending safety commands to the train interface to the opposite end, and the local end enters a fault state. If the information of sending safety commands to the train interface is sent to the opposite end If it does not exceed the specified number of times, continue to send information to the opposite end to send safety commands to the train interface;
T3-2:判断是否收到对端的安全命令信息,若收到对端的安全命令信息,则向对端发送收到安全命令信息的确认包,并判断对端的安全命令信息和本端改变后的安全命令 的发送状态是否一致,若对端的安全命令信息和本端改变后的安全命令的发送状态一致,则关闭第一定时器,本端进入空闲状态,若对端的安全命令信息和本端改变后的安全命令的发送状态不一致,则本端进入故障状态,若没有收到对端的安全命令信息,则判断第一计时器的计时时间是否超时,若第一计时器的计时时间超时,则关闭第一定时器,本端进入空闲状态,若第一计时器的计时时间未超时,则判断是否收到对端的安全命令信息的确认包,若收到对端的安全命令信息的确认包,则停止向对端发送不向列车接口发送安全命令的信息,维持当前状态,若未收到对端的安全命令信息的确认包,则判断向对端发送不向列车接口发送安全命令的信息是否超过规定次数,若向对端发送不向列车接口发送安全命令的信息超过规定次数,则停止向对端发送不向列车接口发送安全命令的信息,本端进入故障状态,若向对端发送不向列车接口发送安全命令的信息未超过规定次数,则继续向对端发送不向列车接口发送安全命令的信息;T3-2: Judge whether the security command information of the opposite end is received, if the security command information of the opposite end is received, then send a confirmation packet of receiving the security command information to the opposite end, and judge the security command information of the opposite end and the changed local end Whether the sending status of the security command is consistent, if the security command information of the opposite end is consistent with the sending status of the changed security command of the local end, the first timer is turned off and the local end enters the idle state. If the security command information of the opposite end changes with the local end If the sending state of the subsequent security commands is inconsistent, the local end enters the fault state. If the security command information from the opposite end is not received, it is judged whether the timing time of the first timer has expired, and if the timing time of the first timer expires, it will be turned off. The first timer, the local end enters the idle state, if the time of the first timer does not expire, it is judged whether the confirmation packet of the security command information of the opposite end is received, and if the confirmation packet of the security command information of the opposite end is received, it stops Send the message not to send the safety command to the train interface to the opposite end and maintain the current state. If the confirmation packet of the safety command information from the opposite end is not received, judge whether the message of not sending the safety command to the train interface to the opposite end exceeds the specified number of times If the message of not sending safety commands to the train interface is sent to the opposite end more than the specified number of times, stop sending the message of not sending safety commands to the train interface to the opposite end, and the local end enters a fault state. If the information of sending safety commands does not exceed the specified number of times, it will continue to send information not to send safety commands to the train interface to the opposite end;
T4:本端向列车接口发送安全命令时,判断安全命令的发送状态是否发生改变,若安全命令的发送状态发生改变,则判断改变后的安全命令的发送状态与接收到的对端的安全命令信息是否一致,若改变后的安全命令的发送状态与接收到的对端的安全命令信息一致,则本端保持改变后的安全命令的发送状态,并向对端发送改变后的安全命令信息,关闭第二定时器,进入等待对端确认状态,继续执行步骤T5,若改变后的安全命令的发送状态与接收到的对端的安全命令信息不一致,则关闭第二定时器,本端进入故障状态,若否,则判断第二定时器是否超时,若第二定时器超时,则关闭第二定时器,进入故障状态,若第二定时器未超时,则继续判断本端向列车接口发送安全命令时,安全命令的发送状态是否发生改变;T4: When the local end sends a safety command to the train interface, it judges whether the sending status of the safety command has changed. If the sending status of the safety command changes, it judges the sending status of the changed safety command and the received safety command information of the opposite end. Whether it is consistent or not, if the sending status of the changed security command is consistent with the received security command information of the opposite end, the local end keeps the sending status of the changed security command, and sends the changed security command information to the opposite end, closing the first The second timer enters the state of waiting for confirmation from the peer and continues to perform step T5. If the sending state of the changed security command is inconsistent with the received security command information of the peer, the second timer is turned off and the local end enters the fault state. If no, it is judged whether the second timer has timed out. If the second timer has timed out, the second timer will be turned off and enter the fault state. If the second timer has not timed out, it will continue to judge when the local end sends a safety command to the train interface. Whether the sending status of the safety command has changed;
T5:周期性向对端发送改变后的安全命令信息,判断是否收到对端有关安全命令的确认信息,若收到对端有关安全命令的确认信息,则本端进入空闲状态,若没有收到对端有关安全命令的确认信息,则判断向对端发送改变后的安全命令信息的次数是否超过规定次数,若向对端发送改变后的安全命令信息的次数超过规定次数,则本端进入空闲状态,若向对端发送改变后的安全命令信息的次数未超过规定次数,则继续向对端发送改变后的安全命令信息。T5: Periodically send the changed security command information to the opposite end to determine whether the confirmation information about the security command from the opposite end is received. If the confirmation information about the security command from the opposite end is received, the local end enters the idle state, if not received For the confirmation information of the security command on the opposite end, it is judged whether the number of times of sending the changed security command information to the opposite end exceeds the specified number of times. If the number of times of sending the changed security command information to the opposite end exceeds the specified number of times, the local end enters idle Status, if the number of times that the changed security command information is sent to the opposite end does not exceed the specified number of times, continue to send the changed security command information to the opposite end.
进一步的,所述安全命令包括速度控制命令、切除牵引命令。Further, the safety command includes a speed control command and a cutting traction command.
进一步的,所述安全命令包括列车接口控制命令;Further, the safety command includes a train interface control command;
在所述第一主控单元和第二主控单元中至少一个处于正常运行状态时,车载设备按照运行情况确定是否向列车接口发送所述列车接口控制命令,具体包括:When at least one of the first main control unit and the second main control unit is in a normal operating state, the on-board equipment determines whether to send the train interface control command to the train interface according to the operating conditions, which specifically includes:
所述第一主控单元故障或无电时,第一主控单元不向列车接口发送所述列车接口控制命令,第二主控单元根据需要确定是否向列车接口发送所述列车接口控制命令;When the first main control unit fails or has no power, the first main control unit does not send the train interface control command to the train interface, and the second main control unit determines whether to send the train interface control command to the train interface as needed;
或,所述第二主控单元故障或无电时,第二主控单元不向列车接口发送所述列车接口控制命令,第一主控单元根据需要确定是否向列车接口发送所述列车接口控制命令;Or, when the second main control unit fails or has no power, the second main control unit does not send the train interface control command to the train interface, and the first main control unit determines whether to send the train interface control to the train interface as needed Order;
或,第一主控单元和第二主控单元全部处于正常运行状态,第二主控单元取消向车载设备内的电路模块发送所述列车接口控制命令;第一主控单元根据需要确定是否向所述电路模块发送所述列车接口控制命令;所述电路模块若没有收到所述列车接口控制命令,则不向列车接口发送所述列车接口控制命令;所述电路模块若接收到第一主控单元的列车接口控制命令的信息,则向列车接口发送所述列车接口控制命令。Or, the first main control unit and the second main control unit are all in a normal operating state, and the second main control unit cancels sending the train interface control command to the circuit module in the on-board equipment; the first main control unit determines whether to The circuit module sends the train interface control command; if the circuit module does not receive the train interface control command, it does not send the train interface control command to the train interface; if the circuit module receives the first master The train interface control command information of the control unit sends the train interface control command to the train interface.
进一步的,还包括车载设备的制动测试,所述制动测试包括如下步骤:Further, it also includes a brake test of on-board equipment, and the brake test includes the following steps:
D1:第一主控单元收到制动测试请求后,执行制动测试,若制动测试失败,则提醒司机制动测试失败,并重新执行制动测试直至制动测试成功,若制动测试成功,则命令第二主控单元执行制动测试;D1: After the first main control unit receives the brake test request, it will execute the brake test. If the brake test fails, it will remind the driver that the brake test has failed, and re-execute the brake test until the brake test is successful. If successful, command the second main control unit to perform the brake test;
D2:第二主控单元接收所述命令,并向第一主控单元发送确认接收命令后,开始执行制动测试,若制动测试成功,则将制动测试结果发送给第一主控单元,第一主控单元将本端和第二主控单元的制动测试结果反馈给司机;D2: After the second main control unit receives the command and sends a confirmation receipt command to the first main control unit, it starts to perform the brake test. If the brake test is successful, the brake test result is sent to the first main control unit , The first main control unit feeds back the brake test results of the local end and the second main control unit to the driver;
若制动测试失败,则判断制动次数是否超过规定次数,若超过,则执行步骤D3,若未超过,则执行步骤D4;If the brake test fails, it is determined whether the number of braking times exceeds the specified number of times, if it exceeds, then execute step D3, if it does not exceed, then execute step D4;
D3:重复进行制动测试,直至制动测试成功,然后将制动测试结果发送给第一主控单元,第一主控单元将本端和第二主控单元的制动测试结果反馈给司机;D3: Repeat the brake test until the brake test is successful, and then send the brake test result to the first main control unit, and the first main control unit feeds back the brake test results of the local end and the second main control unit to the driver ;
D4:告知第一主控单元测试结束,第二主控单元进入故障状态,第一主控单元接收到第二主控单元的测试结束消息后,将第一主控单元的制动测试结果反馈给司机。D4: Inform the first main control unit that the test is over and the second main control unit enters a fault state. After the first main control unit receives the test end message of the second main control unit, it will feed back the brake test result of the first main control unit To the driver.
和最接近的现有技术比,本发明的技术方案具备如下有益效果:Compared with the closest prior art, the technical solution of the present invention has the following beneficial effects:
本发明提供用于热备车载设备的列车接口数据的处理方法,利用第二主控单元热备份第一主控单元,对所述第一主控单元和所述第二主控单元同时供电,控制所述第一主控单元和第二主控单元的列车接口的输入信号保持一致,保证第一主控单元和第二主控单元运行同步,使得第一主控单元故障时,无需停车即可自动切换到第二主控单元。The present invention provides a method for processing train interface data for hot standby on-board equipment, using a second main control unit to hot backup the first main control unit, and supply power to the first main control unit and the second main control unit at the same time, Control the input signals of the train interface of the first main control unit and the second main control unit to keep the same, to ensure that the first main control unit and the second main control unit are synchronized in operation, so that when the first main control unit fails, there is no need to stop the machine. Can automatically switch to the second main control unit.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1为本发明的热备车载设备与列车接口之间的信号传输示意图;Fig. 1 is a schematic diagram of signal transmission between the hot standby on-board equipment and the train interface of the present invention;
图2为本发明的用于热备车载设备的列车接口数据的处理方法的整体流程框图;FIG. 2 is a block diagram of the overall flow of the method for processing train interface data for hot backup on-board equipment according to the present invention;
图3为针对输入信号保持一致,方案1的流程框图;Figure 3 is a flow chart of Scheme 1 for keeping the input signal consistent;
图4为针对输入信号保持一致,方案2的流程框图;Figure 4 is a flow chart of Scheme 2 for keeping the input signal consistent;
图5为对于制动命令的处理措施中,采取的方案2中,针对状况3的部分流程框图;Figure 5 is a block diagram of a part of the process for the situation 3 in the plan 2 adopted in the processing measures for the brake command;
图6为对于制动命令的处理措施中,采取的方案2中,针对状况3的部分流程框图;Figure 6 is a block diagram of a part of the process for the situation 3 in the plan 2 adopted in the processing measures for the brake command;
图7为对于制动命令的处理措施中,采取的方案2中,针对状况3的部分流程框图;Fig. 7 is a partial flow diagram for the situation 3 in the plan 2 adopted in the processing measures for the braking command;
图8为对于制动命令的处理措施中,采取的方案2中,针对状况3的部分流程框图;Fig. 8 is a partial flow diagram for the situation 3 in the plan 2 adopted in the processing measures for the braking command;
图9为对于切除牵引命令的处理措施中,采取的方案2中,针对状况3的部分流程框图;FIG. 9 is a partial flow diagram for the situation 3 in the plan 2 adopted in the processing measures for the removal of the traction command;
图10为对于切除牵引命令的处理措施中,采取的方案2中,针对状况3的部分流程框图;FIG. 10 is a partial flow diagram for the situation 3 in the plan 2 adopted in the processing measures for the removal of the traction command;
图11为对于切除牵引命令的处理措施中,采取的方案2中,针对状况3的部分流程框图;FIG. 11 is a partial flow diagram for the situation 3 in the plan 2 adopted in the processing measures for the removal of the traction command;
图12为对于切除牵引命令的处理措施中,采取的方案2中,针对状况3的部分流程框图;FIG. 12 is a partial flow diagram for the situation 3 in the plan 2 adopted in the processing measures for the removal of the traction command;
图13为车载设备的制动测试的流程框图。Fig. 13 is a flowchart of a brake test of on-board equipment.
具体实施方式Detailed ways
下面将结合本发明的实施例,对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
本发明的实施例中,第一主控单元可以为主系主控单元,也可以为备系主控单元,第二主控单元可以为主系主控单元,也可以为备系主控单元,即第一主控单元和第二主控单元互为备份,其中,当第一主控单元为主系主控单元时,第二主控单元为备系主控单元,当第二主控单元为主系主控单元时,第一主控单元为备系主控单元。In the embodiment of the present invention, the first main control unit may be the main system main control unit or the standby system main control unit, and the second main control unit may be the main system main control unit or the standby system main control unit , That is, the first main control unit and the second main control unit are mutual backups, where, when the first main control unit is the main system main control unit, the second main control unit is the standby main control unit, and when the second main control unit When the unit is the main control unit of the main system, the first main control unit is the main control unit of the standby system.
如图1所示,为本实施例的热备车载设备与列车接口之间的信号传输示意图,热备车载设备包括第一主控单元和第二主控单元,第一主控单元和第二主控单元接收列车接口发送的输入信号;并且第一主控单元和第二主控单元向列车接口发送输出信号。As shown in Figure 1, the signal transmission schematic diagram between the hot standby on-board equipment and the train interface of this embodiment, the hot standby on-board equipment includes a first main control unit and a second main control unit, the first main control unit and the second main control unit The main control unit receives the input signal sent by the train interface; and the first main control unit and the second main control unit send output signals to the train interface.
如图2所示,为本实施例的用于热备车载设备的列车接口数据的处理方法,具体包 括:第二主控单元对第一主控单元进行热备份,第一主控单元和第二主控单元同时供电;As shown in FIG. 2, the method for processing train interface data of hot standby on-board equipment of this embodiment specifically includes: the second main control unit performs hot backup to the first main control unit, and the first main control unit and the second main control unit Two main control units supply power at the same time;
针对列车接口发送的输入信号,第一主控单元和第二主控单元对列车接口发送的输入信号进行处理,控制第一主控单元和第二主控单元的列车接口的输入信号保持一致;For the input signal sent by the train interface, the first main control unit and the second main control unit process the input signal sent by the train interface, and control the input signals of the train interface of the first main control unit and the second main control unit to be consistent;
从而使得第一主控单元和第二主控单元保持运行完全同步,使得第一主控单元出现故障时,在不停车的情况下即可自动切换到第二主控单元;Thereby, the first main control unit and the second main control unit are kept fully synchronized, so that when the first main control unit fails, it can automatically switch to the second main control unit without stopping;
上述输入信号包括但不限于驾驶台激活状态、方向手柄位置以及休眠信号;The aforementioned input signals include, but are not limited to, the activation status of the bridge, the position of the direction handle, and the sleep signal;
上述对第一主控单元和第二主控单元同时供电,具体可以分别采用供电模块对第一主控单元和第二主控单元进行同步供电,也可以采用同一供电模块同步对第一主控单元和第二主控单元供电;The above-mentioned supplying power to the first main control unit and the second main control unit at the same time, specifically, the power supply module can be used to simultaneously supply power to the first main control unit and the second main control unit, or the same power supply module can be used to synchronize the first main control unit. Power supply for the unit and the second main control unit;
上述保持第一主控单元和第二主控单元的输入信号一致,具体可以采用以下两种方案实现:The above-mentioned keeping the input signals of the first main control unit and the second main control unit consistent can be implemented in the following two solutions:
方案1,如图3所示:Scheme 1, as shown in Figure 3:
S1:第一主控单元接收当前的第一输入信号,第二主控单元接收当前的第二输入信号;S1: The first main control unit receives the current first input signal, and the second main control unit receives the current second input signal;
S2:第一主控单元将第一输入信号发送给第二主控单元;S2: The first main control unit sends the first input signal to the second main control unit;
S3:第二主控单元将第一输入信号和第二输入信号的信号内容进行比较,若信号内容一致,则通知第一主控单元采用当前采集的第一输入信号作为输入,第二主控单元采用当前采集的第二输入信号作为输入;若信号内容不一致,则通知第一主控单元放弃当前采集的第一输入信号,第二主控单元放弃当前采集的第二输入信号,第一主控单元和第二主控单元维持采用之前的一致信号作为输入。S3: The second main control unit compares the signal content of the first input signal and the second input signal, and if the signal content is the same, it informs the first main control unit to use the currently collected first input signal as input, and the second main control unit The unit uses the currently collected second input signal as input; if the signal content is inconsistent, the first main control unit is notified to abandon the currently collected first input signal, and the second main control unit abandons the currently collected second input signal. The control unit and the second main control unit maintain the previous consistent signal as input.
需要说明的是,这里的“信号内容一致”指的是命令一致,以信号激活举例,第一主控单元和第二主控单元同时收到列车接口发送的激活信号,或者同时收到列车接口发送的非激活信号即表示为信号内容一致。It should be noted that the "consistent signal content" here refers to the same command. Taking signal activation as an example, the first main control unit and the second main control unit receive the activation signal sent by the train interface at the same time, or receive the train interface at the same time. The sent inactive signal means that the signal content is consistent.
作为优选方式,方案1中,在第一输入信号和第二输入信号的信号内容不一致的情况下,如果第一输入信号和第二输入信号的信号内容不一致的时间过长,超过设定时长,则第二主控单元判断第一主控单元和第二主控单元运行不同步,控制第二主控单元进入故障模式,第一主控单元继续运行。As a preferred way, in Solution 1, in the case where the signal content of the first input signal and the second input signal are inconsistent, if the signal content of the first input signal and the second input signal are inconsistent for too long, exceeding the set duration, Then the second main control unit determines that the operation of the first main control unit and the second main control unit are not synchronized, and controls the second main control unit to enter the failure mode, and the first main control unit continues to operate.
方案2,如图4所示:Scheme 2, as shown in Figure 4:
第一主控单元接收当前的输入信号,然后将输入信号发送给第二主控单元;第二主控单元接收第一主控单元发送的输入信号,并采用接收的输入信号作为自身的输入信号。The first main control unit receives the current input signal, and then sends the input signal to the second main control unit; the second main control unit receives the input signal sent by the first main control unit, and uses the received input signal as its own input signal .
针对向列车接口发送的输出信号,在第二主控单元热备份第一主控单元,第一主控单元和第二主控单元同时供电的情形下,为了保证行车安全,需要针对不同情况,确定发送信号的发送采取措施。Regarding the output signal sent to the train interface, when the second main control unit hot backups the first main control unit, the first main control unit and the second main control unit supply power at the same time, in order to ensure driving safety, different situations need to be addressed. Determine the measures to be taken for the transmission of the transmission signal.
输出信号包括安全命令,安全命令包括速度控制命令,速度控制命令包括但不限于制动命令,制动命令包括但不限于紧急制动命令以及最大常用制动命令;The output signal includes safety commands. The safety commands include speed control commands. The speed control commands include but are not limited to brake commands. The brake commands include but are not limited to emergency brake commands and maximum service brake commands;
下面针对不同情况,分别确定速度控制命令的处理措施,以制动命令为例进行说明:The following is to determine the processing measures of the speed control command for different situations, and take the brake command as an example for description:
情况1:Situation 1:
对于车载设备失电,或者是第一主控单元和第二主控单元都故障的情况下,车载设备向列车接口发送制动命令;When the on-board equipment loses power, or when both the first main control unit and the second main control unit fail, the on-board equipment sends a braking command to the train interface;
情况2:Situation 2:
对于第一主控单元和第二主控单元中至少一个处于正常运行状态下的情况,车载设备按照运行情况确定向列车接口发送制动命令还是取消向列车接口发送制动命令。When at least one of the first main control unit and the second main control unit is in a normal operating state, the on-board equipment determines whether to send a braking command to the train interface or cancel the braking command to the train interface according to the operating situation.
这里的“运行情况”包括第一主控单元故障或无电、第二主控单元故障或无电以及第一主控单元和第二主控单元均正常运行三种情形。The "operation condition" here includes three situations where the first main control unit is faulty or has no power, the second main control unit is faulty or has no power, and the first main control unit and the second main control unit are both operating normally.
情况2,具体采用如下两种方案处理:In case 2, the following two solutions are specifically adopted:
方案1:plan 1:
方案1包括如下三种状况的处理:Option 1 includes the following three situations:
状况1:第一主控单元故障或无电,第二主控单元根据需要确定向列车接口发送制动命令还是取消向列车接口发送制动命令,比如说,在列车超速行驶行驶情况下,第二主控单元向列车接口发送制动命令,在列车没有超速的情况下,第二主控单元不向列车接口发送制动命令;Condition 1: The first main control unit is faulty or has no power. The second main control unit determines whether to send a braking command to the train interface or cancel the braking command to the train interface as needed. For example, in the case of an overspeed train, the first The second main control unit sends a braking command to the train interface. When the train is not overspeeding, the second main control unit does not send a braking command to the train interface;
状况2:第二主控单元故障或无电,第一主控单元根据需要确定向列车接口发送制动命令还是取消向列车接口发送制动命令,“根据需要”的场景举例同上;Condition 2: The second main control unit is faulty or has no power. The first main control unit determines whether to send a brake command to the train interface or cancel the brake command to the train interface as needed. The "as needed" scenario is the same as above;
状况3:第一主控单元和第二主控单元均正常运行,第二主控单元持续向车载设备内的电路模块发送制动命令;Condition 3: Both the first main control unit and the second main control unit are operating normally, and the second main control unit continues to send braking commands to the circuit modules in the vehicle equipment;
第一主控单元根据需要确定向上述电路模块发送制动命令还是取消向电路模块发送制动命令,“根据需要”的场景举例同上;The first main control unit determines whether to send a braking command to the above-mentioned circuit module or cancel the braking command to the circuit module according to needs. The "as needed" scenario is the same as the above example;
上述电路模块若接收到第二主控单元的制动命令和第一主控单元的制动命令,则向列车接口发送制动命令;If the above circuit module receives the braking command of the second main control unit and the braking command of the first main control unit, it sends a braking command to the train interface;
上述电路模块若仅接收到第二主控单元的制动命令,则取消向列车接口发送制动命令。If the above circuit module only receives the braking command from the second main control unit, it cancels sending the braking command to the train interface.
方案2:Scenario 2:
方案2包括如下三种状况的处理:Option 2 includes the following three situations:
状况1:第一主控单元故障或无电,第二主控单元根据需要确定向列车接口发送制动命令还是取消向列车接口发送制动命令,“根据需要”的场景举例同上;Condition 1: The first main control unit is faulty or has no power. The second main control unit determines whether to send a brake command to the train interface or cancel the brake command to the train interface as needed. The "as needed" scenario is the same as above;
状况2:第二主控单元故障或无电,第一主控单元根据需要确定向列车接口发送制动命令还是取消向列车接口发送制动命令,“根据需要”的场景举例同上;Condition 2: The second main control unit is faulty or has no power. The first main control unit determines whether to send a brake command to the train interface or cancel the brake command to the train interface as needed. The "as needed" scenario is the same as above;
状况3:第一主控单元和第二主控单元全部正常运行,第一主控单元或第二主控单元根据本端和对端的状态,确定向列车接口发送制动命令还是取消向列车接口发送制动命令,具体处理过程如下:Condition 3: The first main control unit and the second main control unit are all operating normally. The first main control unit or the second main control unit determines whether to send a brake command to the train interface or cancel the train interface according to the status of the local end and the opposite end Send a brake command, the specific processing process is as follows:
T1:如图5所示,初始,本端和对端均处于空闲状态;“本端和对端均处于空闲状态”的含义为本端和对端保持同一状态,即本端和对端同时处于发送制动命令状态,或者是本端和对端同时处于取消发送制动命令状态;T1: As shown in Figure 5, initially, both the local end and the opposite end are in an idle state; "both the local end and the opposite end are in an idle state" means that the local end and the opposite end remain in the same state, that is, the local end and the opposite end are at the same time It is in the state of sending a brake command, or the local end and the opposite end are in the state of canceling sending the brake command at the same time;
T2:判断本端向列车接口发送制动命令时,制动命令的发送状态是否发生改变,如果制动命令的发送状态发生改变,则打开第一定时器,对对端进行监控,然后执行步骤T3,如果制动命令的发送状态没有发生改变,则继续判断是否收到对端的制动命令信息,如果收到对端的制动命令信息,则向对端发送收到制动命令信息的确认包,并打开第二定时器,对本端进行监控,然后执行步骤T4,如果没有收到对端的制动命令信息,则继续判断本端向列车接口发送制动命令时,制动命令的发送状态是否发生改变;T2: Determine whether the sending status of the brake command has changed when the local end sends a brake command to the train interface. If the sending status of the brake command changes, turn on the first timer, monitor the opposite end, and then execute the steps T3, if the sending status of the brake command has not changed, continue to judge whether the brake command information from the opposite end is received, and if the brake command information from the opposite end is received, then send the confirmation packet of the brake command information received to the opposite end , And turn on the second timer to monitor the local terminal, and then execute step T4. If the braking command information from the opposite terminal is not received, continue to determine whether the braking command is sent from the local terminal to the train interface when the braking command is sent changes happened;
T3:判断改变后的制动命令的发送状态是向列车接口发送制动命令还是取消向列车接口发送制动命令,如果改变后的制动命令的发送状态是向列车接口发送制动命令,则本端向列车接口发送制动命令,且周期性向对端发送向列车接口发送制动命令的信息,继续执行步骤T3-1,如果改变后的制动命令的发送状态是取消向列车接口发送制动命令,则本端暂时取消向列车接口发送制动命令,且周期性向对端发送取消向列车接口发送制动命令的信息,继续执行步骤T3-2;T3: Determine whether the changed brake command sending status is to send a brake command to the train interface or cancel the sending brake command to the train interface. If the changed brake command sending status is to send a brake command to the train interface, then The local end sends a brake command to the train interface, and periodically sends a message to the opposite end to send a brake command to the train interface, continue to perform step T3-1, if the changed brake command sending status is to cancel the sending of the brake command to the train interface If the local end temporarily cancels the sending of the brake command to the train interface, and periodically sends the message to the opposite end to cancel the sending of the brake command to the train interface, continue to perform step T3-2;
T3-1:如图6所示,判断是否收到对端的制动命令信息,如果收到对端的制动命令信息,则向对端发送收到制动命令信息的确认包,并判断对端的制动命令信息和本端改变后的制动命令的发送状态是否一致,如果对端的制动命令信息和本端改变后的制动命令的发送状态一致,则关闭第一定时器,本端进入空闲状态,如果对端的制动命令信息和本端改变后的制动命令的发送状态不一致,则本端进入故障状态,如果没有收到对端的制动命令信息,则判断第一计时器的计时时间是否超时,如果第一计时器的计时时间超时,则关闭第一定时器,本端进入空闲状态,如果第一计时器的计时时间没有超时, 则判断是否收到对端的制动命令信息的确认包,如果收到对端的制动命令信息的确认包,则停止向对端发送向列车接口发送制动命令的信息,维持当前状态,如果没有收到对端的制动命令信息的确认包,则判断向对端发送向列车接口发送制动命令的信息是否超过规定次数,如果向对端发送向列车接口发送制动命令的信息超过规定次数,则停止向对端发送向列车接口发送制动命令的信息,本端进入故障状态,如果向对端发送向列车接口发送制动命令的信息没有超过规定次数,则继续向对端发送向列车接口发送制动命令的信息;T3-1: As shown in Figure 6, it is judged whether the brake command information from the opposite end is received. If the brake command information from the opposite end is received, a confirmation packet of the brake command information received is sent to the opposite end, and the opposite end is judged. Whether the brake command information is consistent with the sending status of the brake command after the local end is changed. If the brake command information of the opposite end is consistent with the sending status of the brake command after the local end is changed, the first timer is turned off and the local end enters In idle state, if the braking command information of the opposite end is inconsistent with the sending state of the changed braking command of the local end, the local end enters the fault state. If the braking command information of the opposite end is not received, the timing of the first timer is judged Whether the time has expired, if the time of the first timer expires, the first timer is turned off, and the local end enters the idle state. If the time of the first timer does not expire, it is judged whether the brake command information from the opposite end is received Acknowledgment packet. If it receives a confirmation packet of the brake command information from the opposite end, stop sending the brake command information to the train interface to the opposite end and maintain the current state. If the confirmation packet of the brake command information from the opposite end is not received, Then it is judged whether the information of sending brake commands to the train interface to the opposite end exceeds the specified number of times. If the information of sending brake commands to the train interface to the opposite end exceeds the specified number of times, stop sending the information to the opposite end to send brakes to the train interface Command information, the local end enters the fault state, if the information of sending brake commands to the train interface to the opposite end does not exceed the specified number of times, continue to send the information of sending brake commands to the train interface to the opposite end;
T3-2:如图7所示,判断是否收到对端的制动命令信息,如果收到对端的制动命令信息,则向对端发送收到制动命令信息的确认包,并判断对端的制动命令信息和本端改变后的制动命令的发送状态是否一致,如果对端的制动命令信息和本端改变后的制动命令的发送状态一致,关闭第一定时器,本端进入空闲状态,如果对端的制动命令信息和本端改变后的制动命令的发送状态不一致,则本端进入故障状态,如果没有收到对端的制动命令信息,则判断第一计时器的计时时间是否超时,如果第一计时器的计时时间超时,则关闭第一定时器,本端进入空闲状态,如果第一计时器的计时时间没有超时,则判断是否收到对端的制动命令信息的确认包,如果收到对端的制动命令信息的确认包,则停止向对端发送取消向列车接口发送制动命令的信息,维持当前状态,如果没有收到对端的制动命令信息的确认包,则判断向对端发送取消向列车接口发送制动命令的信息是否超过规定次数,如果向对端发送取消向列车接口发送制动命令的信息超过规定次数,则停止向对端发送取消向列车接口发送制动命令的信息,本端进入故障状态,如果向对端发送取消向列车接口发送制动命令的信息没有超过规定次数,则继续向对端发送取消向列车接口发送制动命令的信息;T3-2: As shown in Figure 7, it is judged whether the brake command information from the opposite end is received. If the brake command information from the opposite end is received, the confirmation packet of the brake command information received is sent to the opposite end, and the opposite end is judged. Whether the brake command information is consistent with the sending status of the brake command after the change of the local end, if the brake command information of the opposite end is consistent with the sending status of the brake command after the change of the local end, the first timer is turned off, and the local end enters idle Status. If the brake command information of the opposite end is inconsistent with the changed brake command sending status of the local end, the local end enters the fault state. If the brake command information of the opposite end is not received, the timing time of the first timer is judged Whether it is timed out, if the timing time of the first timer expires, the first timer is turned off, and the local end enters an idle state. If the timing time of the first timer does not expire, it is judged whether the confirmation of the brake command information from the opposite end is received If it receives the confirmation packet of the brake command information from the opposite end, stop sending the information to cancel the brake command sent to the train interface to the opposite end and maintain the current state. If the confirmation packet of the brake command information from the opposite end is not received, Then it is judged whether the information of canceling the sending of braking command to the train interface exceeds the specified number of times. If the information of canceling the sending of the brake command to the train interface exceeds the specified number of times, stop sending the information of canceling the sending of the brake command to the train interface. Sending the brake command information, the local end enters the fault state, if the message to cancel the brake command to the train interface is not sent to the opposite end for more than the specified number of times, continue to send the message to the opposite end to cancel the brake command to the train interface;
T4:如图8所示,判断本端向列车接口发送制动命令时,制动命令的发送状态是否发生改变,如果制动命令的发送状态发生改变,则判断改变后的制动命令的发送状态与接收到的对端的制动命令信息是否一致,如果改变后的制动命令的发送状态与接收到的对端的制动命令信息一致,则本端继续保持改变后的制动命令的发送状态,并向对端发送改变后的制动命令信息,关闭第二定时器,进入等待对端确认状态,继续执行步骤T5,如果改变后的制动命令的发送状态与接收到的对端的制动命令信息不一致,则关闭第二定时器,本端进入故障状态,如果制动命令的发送状态没有发生改变,则判断第二定时器是否超时,如果第二定时器超时,则关闭第二定时器,进入故障状态,如果第二定时器没有超时,则继续判断本端向列车接口发送制动命令时,制动命令的发送状态是否发生改变;T4: As shown in Figure 8, it is judged whether the sending status of the brake command has changed when the local end sends a brake command to the train interface. If the sending status of the brake command has changed, judge the sending of the changed brake command Whether the status is consistent with the received brake command information of the opposite end, if the changed brake command sending status is consistent with the received brake command information of the opposite end, the local end will continue to maintain the changed brake command sending status , And send the changed brake command information to the opposite end, turn off the second timer, enter the waiting state for the opposite end to confirm, and continue to perform step T5, if the changed brake command sending status is the same as the received brake If the command information is inconsistent, the second timer will be turned off, and the local terminal will enter the fault state. If the sending state of the brake command does not change, it will be judged whether the second timer has timed out. If the second timer has timed out, the second timer will be turned off. , Enter the fault state, if the second timer does not time out, continue to determine whether the sending state of the brake command has changed when the local end sends the brake command to the train interface;
T5:周期性向对端发送改变后的制动命令信息,判断是否收到对端有关制动命令的确认信息,如果收到对端有关制动命令的确认信息,则本端进入空闲状态,如果没有收到对端有关制动命令的确认信息,则判断向对端发送改变后的制动命令信息的次数是否超过规定次数,如果向对端发送改变后的制动命令信息的次数超过规定次数,则本端进入空闲状态,如果向对端发送改变后的制动命令信息的次数没有超过规定次数,则继续向对端发送改变后的制动命令信息。T5: Periodically send the changed brake command information to the opposite end to determine whether the opposite end’s confirmation information about the brake command has been received. If the opposite end has received confirmation information about the brake command, the local end will enter the idle state. If no confirmation information about the brake command is received from the opposite end, it is judged whether the number of times of sending the changed brake command information to the opposite end exceeds the specified number of times, if the number of times of sending the changed brake command information to the opposite end exceeds the specified number of times , The local end enters the idle state, and if the number of times that the changed brake command information is sent to the opposite end does not exceed the specified number of times, it continues to send the changed brake command information to the opposite end.
上述安全命令还包括切除牵引命令,下面针对不同情况,分别确定切除牵引命令的处理措施进行说明:The above-mentioned safety commands also include the removal and traction commands. The following is an explanation of how to determine the removal and traction commands for different situations:
情况1:Situation 1:
车载设备失电,或,第一主控单元和第二主控单元全部故障,车载设备向列车接口发送切除牵引命令;If the on-board equipment loses power, or the first main control unit and the second main control unit are all faulty, the on-board equipment sends a command to cut off the traction to the train interface;
情况2:Situation 2:
第一主控单元和第二主控单元中至少一个处于正常运行状态下的情况,车载设备按照运行情况确定向列车接口发送切除牵引命令还是取消向列车接口发送切除牵引命令。When at least one of the first main control unit and the second main control unit is in a normal operating state, the on-board equipment determines whether to send the traction removal command to the train interface or cancel the sending of the traction removal command to the train interface according to the operating conditions.
这里的“运行情况”包括第一主控单元故障或无电、第二主控单元故障或无电以及 第一主控单元和第二主控单元均正常运行三种情形。The "operation condition" here includes three situations where the first main control unit is faulty or has no power, the second main control unit is faulty or has no power, and both the first main control unit and the second main control unit are operating normally.
情况2,具体采用如下两种方案处理:In case 2, the following two solutions are specifically adopted:
方案1:plan 1:
方案1包括如下3种状况的处理:Plan 1 includes the following three situations:
状况1:第一主控单元故障或无电,第二主控单元根据需要确定向列车接口发送切除牵引命令还是取消向列车接口发送切除牵引命令,比如说,在列车超速行驶的情况下,第二主控单元向列车接口发送切除牵引命令,在列车行驶没有超速的情况下,第二主控单元不向列车接口发送切除牵引命令;Condition 1: The first main control unit is faulty or has no power, and the second main control unit determines whether to send a cut off traction command to the train interface or cancel the cut off traction command to the train interface as needed. For example, in the case of an overspeed train, 2. The main control unit sends a traction removal command to the train interface, and the second main control unit does not send the traction removal command to the train interface when the train is not overspeed;
状况2:第二主控单元故障或无电,第一主控单元根据需要确定向列车接口发送切除牵引命令还是取消向列车接口发送切除牵引命令,“根据需要”的场景举例同上;Condition 2: The second main control unit is faulty or has no power. The first main control unit determines whether to send a cut off traction command to the train interface or cancel the cut off traction command to the train interface as needed. The "as needed" scenario is the same as above;
状况3:第一主控单元和第二主控单元均正常运行,第二主控单元持续向车载设备内的电路模块发送切除牵引命令;Condition 3: Both the first main control unit and the second main control unit are operating normally, and the second main control unit continues to send a removal command to the circuit module in the vehicle equipment;
第一主控单元根据需要确定向上述电路模块发送切除牵引命令还是取消向上述电路模块发送切除牵引命令,“根据需要”的场景举例同上;The first main control unit determines whether to send the removal and pull command to the above circuit module or cancels the transmission of the removal and pull command to the above circuit module according to needs, the scenario example of "as needed" is the same as above;
上述电路模块若接收到第二主控单元的切除牵引命令和第一主控单元的切除牵引命令,则向列车接口发送切除牵引命令;If the circuit module receives the traction removal command of the second main control unit and the traction removal command of the first main control unit, it sends the traction removal command to the train interface;
上述电路模块若仅接收到第二主控单元的切除牵引命令,则取消向列车接口发送切除牵引命令。If the above circuit module only receives the traction removal command from the second main control unit, it cancels sending the traction removal command to the train interface.
方案2:Scenario 2:
方案2包括如下三种状况的处理:Option 2 includes the following three situations:
状况1:第一主控单元故障或无电,第二主控单元根据需要确定向列车接口发送切除牵引命令还是取消向列车接口发送切除牵引命令,“根据需要”的场景举例同上;Condition 1: The first main control unit is faulty or has no power, and the second main control unit determines whether to send the traction removal command to the train interface or cancel the transmission of the traction removal command to the train interface as needed. The "as needed" scenario is the same as above;
状况2:第二主控单元故障或无电,第一主控单元根据需要确定向列车接口发送切除牵引命令还是取消向列车接口切除牵引命令,“根据需要”的场景举例同上;Condition 2: The second main control unit is faulty or has no power. The first main control unit determines whether to send the traction removal command to the train interface or cancel the traction removal command to the train interface as needed. The "as needed" scenario is the same as above;
状况3:第一主控单元和第二主控单元均正常运行,第一主控单元或第二主控单元根据本端和对端的状态,确定向列车接口发送切除牵引命令还是取消向列车接口发送切除牵引命令,具体包括如下处理过程:Condition 3: Both the first main control unit and the second main control unit are operating normally. The first main control unit or the second main control unit determines whether to send a traction command to the train interface or cancel the train interface according to the status of the local end and the opposite end Sending the removal and traction command, including the following processing procedures:
P1:如图9所示,初始,本端和对端均处于空闲状态,“本端和对端均处于空闲状态”的含义为本端和对端保持同一状态,即本端和对端同时处于发送切除牵引命令状态,或者是本端和对端同时处于取消发送切除牵引命令状态;P1: As shown in Figure 9, initially, both the local end and the opposite end are in an idle state, and "both the local end and the opposite end are in an idle state" means that the local end and the opposite end remain in the same state, that is, the local end and the opposite end are at the same time It is in the state of sending the excision towing command, or the local end and the opposite end are in the state of canceling the sending of the excision towing command at the same time;
P2:判断本端向列车接口发送切除牵引命令时,切除牵引命令的发送状态是否发生改变,如果切除牵引命令的发送状态发生改变,则打开第一定时器,对对端进行监控,然后执行步骤P3,如果切除牵引命令的发送状态没有发生改变,则判断是否收到对端的切除牵引命令信息,如果收到对端的切除牵引命令信息,则打开第二定时器,对本端进行监控,然后执行步骤P4,如果没有收到对端的切除牵引命令信息,则继续判断本端向列车接口发送切除牵引命令时,切除牵引命令的发送状态是否发生改变;P2: Determine whether the sending status of the removing traction command has changed when the local end sends the removal traction command to the train interface. If the sending status of the removal traction command changes, the first timer is turned on, the peer end is monitored, and the steps are executed P3, if the sending status of the removal and towing command has not changed, judge whether the removal and towing command information from the opposite end is received. If the removal and towing command information from the opposite end is received, the second timer is turned on, the local end is monitored, and then the steps are performed P4: If the traction removal command information from the opposite end is not received, continue to determine whether the sending status of the traction removal command has changed when the local end sends the traction removal command to the train interface;
P3:判断改变后的切除牵引命令的发送状态是向列车接口发送切除牵引命令还是取消向列车接口发送切除牵引命令,如果改变后的切除牵引命令的发送状态是向列车接口发送切除牵引命令,则本端向列车接口发送切除牵引命令,且周期性向对端发送向列车接口发送切除牵引命令的信息,继续执行步骤P3-1,如果改变后的切除牵引命令的发送状态是取消向列车接口发送切除牵引命令,则本端暂时取消向列车接口发送切除牵引命令,且周期性向对端发送取消向列车接口发送切除牵引命令的信息,继续执行步骤P3-2;P3: Determine whether the changed status of the traction removal command is to send the removal traction command to the train interface or cancel the removal traction command to the train interface. If the status of the changed removal traction command is to send the removal traction command to the train interface, then The local end sends the traction removal command to the train interface, and periodically sends the message to the opposite end to send the removal traction command to the train interface, continue to perform step P3-1, if the changed sending status of the traction removal command is canceled to send the removal to the train interface Towing command, the local terminal temporarily cancels sending the traction removal command to the train interface, and periodically sends the message canceling the traction removal command to the train interface to the opposite terminal, and continues to perform step P3-2;
P3-1:如图10所示,判断是否收到对端的切除牵引命令信息,如果收到对端的切除牵引命令信息,则向对端发送收到切除牵引命令信息的确认包,并判断对端的切除牵引命令信息和本端改变后的切除牵引命令的发送状态是否一致,如果对端的切除牵引命令信息和本端改变后的切除牵引命令的发送状态一致,则关闭第一定时器,本端进入空 闲状态,如果对端的切除牵引命令信息和本端改变后的切除牵引命令的发送状态不一致,则本端进入故障状态,如果没有收到对端的切除牵引命令信息,则判断第一计时器的计时时间是否超时,如果第一计时器的计时时间超时,则关闭第一定时器,本端进入空闲状态,如果第一计时器的计时时间没有超时,则判断是否收到对端的切除牵引命令信息的确认包,如果收到对端的切除牵引命令信息的确认包,则停止向对端发送向列车接口发送切除牵引命令的信息,维持当前状态,如果没有收到对端的切除牵引命令信息的确认包,则判断向对端发送向列车接口发送切除牵引命令的信息是否超过规定次数,如果向对端发送向列车接口发送切除牵引命令的信息超过规定次数,则停止向对端发送向列车接口发送切除牵引命令的信息,本端进入故障状态,如果向对端发送向列车接口发送切除牵引命令的信息没有超过规定次数,则继续向对端发送向列车接口发送切除牵引命令的信息;P3-1: As shown in Figure 10, it is judged whether the removal and pulling command information of the opposite end is received. If the removal and pulling command information of the opposite end is received, the confirmation packet of receiving the removal and pulling command information is sent to the opposite end, and the opposite end is judged. Whether the cutting and pulling command information is consistent with the sending status of the changed cutting and pulling command at the local end. If the sending status of the cutting and pulling command at the opposite end is the same as the sending status of the changing cutting and pulling command at the local end, the first timer is closed and the local end enters In idle state, if the sending state of the removal and pulling command of the opposite end is inconsistent with the sending state of the removal and pulling command after the change of the local end, the local end enters the fault state. If the removal and pulling command information of the opposite end is not received, the timing of the first timer is judged Whether the time has expired, if the time of the first timer expires, the first timer is turned off, and the local end enters the idle state. If the time of the first timer does not expire, it is judged whether the removal of the traction command information from the opposite end is received Acknowledgment packet, if it receives the confirmation packet of the removal of the traction command information from the opposite end, stop sending the information of sending the removal of the traction command to the train interface to the opposite end, and maintain the current state. If the confirmation packet of the removal of the traction command information from the opposite end is not received, Then it is judged whether the information sent to the opposite end to send the removal of traction command to the train interface exceeds the specified number of times. If the information sent to the opposite end to send the removal of the traction command to the train interface exceeds the specified number of times, stop sending the information to the opposite end to send the removal of traction to the train interface Command information, the local end enters a fault state, and if the number of messages sent to the opposite end of the traction removal command to the train interface does not exceed the specified number of times, it will continue to send the message to the opposite end to send the traction removal command to the train interface;
P3-2:如图11所示,判断是否收到对端的切除牵引命令信息,如果收到对端的切除牵引命令信息,则向对端发送收到切除牵引命令信息的确认包,并判断对端的切除牵引命令信息和本端改变后的切除牵引命令的发送状态是否一致,如果对端的切除牵引命令信息和本端改变后的切除牵引命令的发送状态一致,关闭第一定时器,本端进入空闲状态,如果对端的切除牵引命令信息和本端改变后的切除牵引命令的发送状态不一致,则本端进入故障状态,如果没有收到对端的切除牵引命令信息,则判断第一计时器的计时时间是否超时,如果第一计时器的计时时间超时,则关闭第一定时器,本端进入空闲状态,如果第一计时器的计时时间没有超时,则判断是否收到对端的切除牵引命令信息的确认包,如果收到对端的切除牵引命令信息的确认包,则停止向对端发送取消向列车接口发送切除牵引命令的信息,维持当前状态,如果没有收到对端的切除牵引命令信息的确认包,则判断向对端发送取消向列车接口发送切除牵引命令的信息是否超过规定次数,如果向对端发送取消向列车接口发送切除牵引命令的信息超过规定次数,则停止向对端发送取消向列车接口发送切除牵引命令的信息,本端进入故障状态,如果向对端发送取消向列车接口发送切除牵引命令的信息没有超过规定次数,则继续向对端发送取消向列车接口发送切除牵引命令的信息;P3-2: As shown in Figure 11, it is judged whether the removal and pulling command information from the opposite end is received. If the removal and pulling command information from the opposite end is received, the confirmation packet of the removal and pulling command information is sent to the opposite end, and the opposite end is judged. Whether the removal of the towing command information is consistent with the sending status of the changed removal of the towing command at the local end, if the sending status of the removal of the towing command of the opposite end is consistent with the sending status of the changed removal of the towing command at the local end, the first timer is turned off and the local end enters idle Status. If the sending status of the removal command from the opposite end is inconsistent with the sending status of the local removal command after the change, the local end enters the fault state. If the removal command information from the opposite end is not received, the timing of the first timer is judged Whether it is timed out, if the time of the first timer expires, the first timer is turned off, and the local end enters the idle state. If the time of the first timer does not expire, it is judged whether the confirmation of the removal and traction command information from the opposite end is received Packet, if it receives the confirmation packet of the removal of the traction command information from the opposite end, stop sending the information to cancel the sending of the removal of the traction command to the train interface, and maintain the current state. If the confirmation packet of the removal of the traction command information from the opposite end is not received, Then it is judged whether the information of cancelling the traction command sent to the train interface exceeds the specified number of times. If the information of cancelling the traction command sent to the train interface exceeds the specified number of times, stop sending the information of canceling the traction command to the opposite end to the train interface Sending the information of cutting off the traction command, the local end enters the fault state, if the message of canceling the sending of the cutting off traction command to the train interface does not exceed the specified number of times, it will continue to send the message of canceling the sending of the cutting off traction command to the train interface to the opposite end;
P4:如图12所示,判断本端向列车接口发送切除牵引命令时,切除牵引命令的发送状态是否发生改变,如果切除牵引命令的发送状态发生改变,则判断改变后的牵引命令的发送状态与接收到的对端的切除牵引命令信息是否一致,如果改变后的切除牵引命令的发送状态与接收到的对端的切除牵引命令信息一致,则本端继续保持改变后的切除牵引命令的发送状态,并向对端发送改变后的切除牵引命令信息,关闭第二定时器,进入等待对端确认状态,继续执行步骤P5,如果改变后的切除牵引命令的发送状态与接收到的对端的切除牵引命令信息不一致,则关闭第二定时器,本端进入故障状态,如果切除牵引命令的发送状态没有发生改变,则判断第二定时器是否超时,如果第二定时器超时,则关闭第二定时器,进入故障状态,如果第二定时器没有超时,则继续判断本端向列车接口发送切除牵引命令时,切除牵引命令的发送状态是否发生改变;P4: As shown in Figure 12, it is judged whether the sending state of the cutting off traction command has changed when the local end sends the cutting off traction command to the train interface. If the sending state of the cutting off traction command has changed, then judging the sending state of the changed traction command Whether it is consistent with the received information of the removal and towing command of the opposite end, if the sending status of the changed removal and towing command is consistent with the received removal and towing command information of the opposite end, the local end will continue to maintain the sending status of the changed removal and towing command. And send the changed ablation towing command information to the opposite end, turn off the second timer, enter the waiting state for confirmation from the opposite end, and continue to perform step P5, if the changed sending state of the ablated towing command is the same as the received opposite end’s ablation and towing command If the information is inconsistent, the second timer is turned off, and the local end enters a fault state. If the sending state of the cut-off traction command does not change, it is judged whether the second timer has timed out, and if the second timer times out, the second timer is turned off. In the fault state, if the second timer does not time out, continue to determine whether the sending state of the traction removal command has changed when the local end sends the traction removal command to the train interface;
P5:周期性向对端发送改变后的切除牵引命令信息,判断是否收到对端有关切除牵引命令的确认信息,如果收到对端有关切除牵引命令的确认信息,则本端进入空闲状态,如果没有收到对端有关切除牵引命令的确认信息,则判断向对端发送改变后的切除牵引命令信息的次数是否超过规定次数,如果向对端发送改变后的切除牵引命令信息的次数超过规定次数,则本端进入空闲状态,如果向对端发送改变后的切除牵引命令信息的次数没有超过规定次数,则继续向对端发送改变后的切除牵引命令信息。P5: Periodically send the changed removal and towing command information to the opposite end to determine whether the confirmation information about the removal and towing command is received from the opposite end. If the confirmation information about the removal and towing command is received from the opposite end, the local end enters the idle state, if If the confirmation information about the removal and pulling command is not received from the opposite end, it is judged whether the number of times of sending the changed removal and pulling command information to the opposite end exceeds the specified number of times. If the number of times of sending the changed removal and pulling command information to the opposite end exceeds the specified number of times , The local end enters the idle state, and if the number of times that the changed removal and traction command information is sent to the opposite end does not exceed the specified number of times, it continues to send the changed removal and traction command information to the opposite end.
上述安全命令还包括列车接口控制命令,列车接口控制命令包括但不限于常用制动4级,常用制动1级,过分相命令,过分相选择;The aforementioned safety commands also include train interface control commands. Train interface control commands include but are not limited to service brake level 4, service brake level 1, over-phase command, over-phase selection;
下面针对不同情况,分别确定列车接口控制命令的处理措施,以过分相命令为例进行说明:The following is to determine the handling measures of the train interface control commands for different situations, and take the over-phase command as an example for explanation:
情况1:Situation 1:
车载设备失电,或,第一主控单元和第二主控单元均发生故障,取消向列车接口发送过分相命令;If the on-board equipment loses power, or both the first main control unit and the second main control unit are faulty, cancel the sending of the over-phase command to the train interface;
情况2:Situation 2:
第一主控单元和第二主控单元中至少一个处于正常运行状态下的情况,车载设备按照运行情况确定是否向列车接口发送过分相命令;When at least one of the first main control unit and the second main control unit is in a normal operating state, the on-board equipment determines whether to send a phase-separation command to the train interface according to the operating condition;
这里的“运行情况”包括第一主控单元故障或无电、第二主控单元故障或无电以及第一主控单元和第二主控单元均正常运行三种情形。The "operation condition" here includes three situations where the first main control unit is faulty or has no power, the second main control unit is faulty or has no power, and the first main control unit and the second main control unit are both operating normally.
上述情况2,具体包括如下三种情形的处理:The above situation 2 specifically includes the handling of the following three situations:
情形1:第一主控单元故障或无电时,第一主控单元持续取消向列车接口发送过分相命令,第二主控单元根据需要确定是否向列车接口发送过分相命令,比如说,在需要执行过分相命令的铁路区段,第二主控单元向列车接口发送过分相命令,在无需执行过分相命令的铁路区段,第二主控单元不向列车接口发送过分相命令;Scenario 1: When the first main control unit fails or has no power, the first main control unit continues to cancel sending the excessive phase separation command to the train interface, and the second main control unit determines whether to send the excessive phase separation command to the train interface as needed, for example, in For railway sections that need to execute the over-phase command, the second main control unit sends the over-phase command to the train interface, and in the railway section that does not need to execute the over-phase command, the second main control unit does not send the over-phase command to the train interface;
情形2:第二主控单元故障或无电时,第二主控单元持续取消向列车接口发送过分相命令,第一主控单元根据需要确定是否向列车接口发送过分相命令,“根据需要”的场景举例同上;Scenario 2: When the second main control unit fails or has no power, the second main control unit continuously cancels sending the excessive phase division command to the train interface, and the first main control unit determines whether to send the excessive phase division command to the train interface as needed, "as needed" The scene examples are the same as above;
情形3:第一主控单元和第二主控单元全部处于正常运行状态,第二主控单元持续取消向车载设备内的电路模块发送过分相命令;Scenario 3: The first main control unit and the second main control unit are all in a normal operating state, and the second main control unit continuously cancels sending the excessive phase division command to the circuit module in the vehicle equipment;
第一主控单元根据需要确定向上述电路模块发送过分相命令还是取消向上述电路模块发送过分相命令,“根据需要”的场景举例同上;The first main control unit determines whether to send the over-phase division command to the above-mentioned circuit module or cancels the transmission of the over-phase division command to the above-mentioned circuit module according to needs, the scenario example of "as needed" is the same as above;
上述电路模块若没有接收过分相命令,则取消向列车接口发送过分相命令;If the above circuit module does not receive the over-phase division command, it cancels sending the over-phase division command to the train interface;
电路模块若接收到第一主控单元的过分相命令,则向列车接口发送过分相命令。If the circuit module receives the over-phase division command from the first main control unit, it sends the over-phase division command to the train interface.
现有车载设备启动时,需要对制动环路进行测试,从而保证运行过程中,制动命令的准确发送,因此在第二主控单元热备份第一主控单元,第一主控单元和第二主控单元同时供电的情形下,提供车载设备的制动测试的方法,具体包括如下步骤,如图13所示:When the existing on-board equipment is started, the brake loop needs to be tested to ensure that the brake command is accurately sent during operation. Therefore, the second main control unit hot backups the first main control unit, the first main control unit and the In the case that the second main control unit supplies power at the same time, the method of providing the brake test of the on-board equipment includes the following steps, as shown in Figure 13:
D1:第一主控单元实时接收制动测试请求,收到制动测试请求后,第一主控单元开始执行制动测试,如果制动测试失败,则提醒司机制动测试失败,并重新执行制动测试直至制动测试成功,如果制动测试成功,则命令第二主控单元执行制动测试;D1: The first main control unit receives the brake test request in real time. After receiving the brake test request, the first main control unit starts to perform the brake test. If the brake test fails, it reminds the driver that the brake test failed and executes it again Brake test until the brake test is successful, if the brake test is successful, command the second main control unit to perform the brake test;
D2:第二主控单元接收第一主控单元发送的执行制动测试的命令,向第一主控单元发送确认接收命令后,开始执行制动测试,如果制动测试成功,则将制动测试结果发送给第一主控单元,第一主控单元将本端和第二主控单元的制动测试结果反馈给司机;D2: The second main control unit receives the command to execute the brake test sent by the first main control unit, and after sending the confirmation command to the first main control unit, it starts to perform the brake test. If the brake test is successful, it will brake The test result is sent to the first main control unit, and the first main control unit feeds back the brake test results of the local end and the second main control unit to the driver;
如果制动测试失败,则判断制动测试次数是否超过规定次数,如果没有超过,则执行步骤D3,如果超过,则执行步骤D4;If the brake test fails, it is judged whether the number of brake tests exceeds the specified number, if not, then step D3 is executed, if it exceeds, step D4 is executed;
D3:重复进行制动测试,直至制动测试成功,然后将制动测试结果发送给第一主控单元,第一主控单元将本端和第二主控单元的制动测试结果反馈给司机;D3: Repeat the brake test until the brake test is successful, and then send the brake test result to the first main control unit, and the first main control unit feeds back the brake test results of the local end and the second main control unit to the driver ;
D4:告知第一主控单元测试结束,第二主控单元进入故障状态,第一主控单元接收到第二主控单元的测试结束消息后,将第一主控单元的制动测试结果反馈给司机。D4: Inform the first main control unit that the test is over and the second main control unit enters a fault state. After the first main control unit receives the test end message of the second main control unit, it will feed back the brake test result of the first main control unit To the driver.
采用上述方法,在车载设备启机时,对第一主控单元和第二主控单元的制动环路进行测试,从而保证车载设备运行过程中,制动命令的准确发送。Using the above method, when the vehicle-mounted equipment is started, the braking loops of the first main control unit and the second main control unit are tested, so as to ensure that the brake command is accurately sent during the operation of the vehicle-mounted equipment.
以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员依然可以对本发明的具体实施方式进行修改或者等同替换,这些未脱离本发明精神和范围的任何修改或者等同替换,均在申请待批的本发明的权利要求保护范围之内。The above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art can still modify or equivalently replace the specific embodiments of the present invention. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention shall fall within the protection scope of the claims of the present invention pending approval.

Claims (10)

  1. 一种用于热备车载设备的列车接口数据的处理方法,其特征在于,A method for processing train interface data of hot standby on-board equipment, which is characterized in that:
    利用第二主控单元热备份第一主控单元,对所述第一主控单元和所述第二主控单元同时供电;Using the second main control unit to hot backup the first main control unit, and supply power to the first main control unit and the second main control unit at the same time;
    所述第一主控单元和第二主控单元接收列车接口发送的输入信号,并控制所述输入信号保持一致;The first main control unit and the second main control unit receive the input signal sent by the train interface, and control the input signal to be consistent;
    在车载设备失电,或,第一主控单元和第二主控单元全部发生故障时,车载设备向列车接口发送安全命令;When the on-board equipment loses power, or when the first main control unit and the second main control unit all fail, the on-board equipment sends a safety command to the train interface;
    在所述第一主控单元和第二主控单元中至少一个处于正常运行状态时,车载设备按照运行情况确定是否向列车接口发送安全命令。When at least one of the first main control unit and the second main control unit is in a normal operating state, the on-board equipment determines whether to send a safety command to the train interface according to the operating conditions.
  2. 根据权利要求1所述的用于热备车载设备的列车接口数据的处理方法,其特征在于,控制所述输入信号保持一致,具体包括如下步骤:The method for processing train interface data of hot standby on-board equipment according to claim 1, wherein controlling the input signals to be consistent includes the following steps:
    S1:所述第二主控单元接收第一主控单元发送的当前采集的第一输入信号;S1: The second main control unit receives the currently collected first input signal sent by the first main control unit;
    S2:所述第二主控单元将所述第一输入信号和当前采集的第二输入信号进行比较,若所述第一输入信号和第二输入信号的信号内容一致,则所述第一主控单元采用当前采集的第一输入信号作为输入,所述第二主控单元采用当前采集的第二输入信号作为输入;若所述第一输入信号和第二输入信号的信号内容不一致,则所述第一主控单元舍弃第一输入信号,所述第二主控单元舍弃第二输入信号,所述第一主控单元和第二主控单元维持采用之前的一致信号作为输入。S2: The second main control unit compares the first input signal with the currently collected second input signal. If the signal content of the first input signal and the second input signal are the same, the first main control unit The control unit uses the currently collected first input signal as input, and the second main control unit uses the currently collected second input signal as input; if the signal content of the first input signal and the second input signal are inconsistent, all The first main control unit discards the first input signal, the second main control unit discards the second input signal, and the first main control unit and the second main control unit maintain the previous consistent signal as input.
  3. 根据权利要求2所述的用于热备车载设备的列车接口数据的处理方法,其特征在于,在所述第一输入信号和第二输入信号的信号内容不一致时,若所述第一输入信号和第二输入信号的信号内容不一致的时间超过规定时间,则判断第二主控单元故障。The method for processing train interface data of hot standby on-board equipment according to claim 2, wherein when the signal content of the first input signal and the second input signal are inconsistent, if the first input signal If the time that is inconsistent with the signal content of the second input signal exceeds the specified time, it is determined that the second main control unit is faulty.
  4. 根据权利要求1所述的用于热备车载设备的列车接口数据的处理方法,其特征在于,控制所述输入信号保持一致,具体为:The method for processing train interface data of hot standby on-board equipment according to claim 1, wherein controlling the input signals to be consistent is specifically:
    所述第一主控单元接收当前的输入信号,并将所述输入信号发送给第二主控单元;The first main control unit receives the current input signal, and sends the input signal to the second main control unit;
    所述第二主控单元接收所述输入信号作为自身的输入信号。The second main control unit receives the input signal as its own input signal.
  5. 根据权利要求1所述的用于热备车载设备的列车接口数据的处理方法,其特征在于,在所述第一主控单元和第二主控单元中至少一个处于正常运行状态时,车载设备按照运行情况确定是否向列车接口发送安全命令:The method for processing train interface data of hot backup on-board equipment according to claim 1, wherein when at least one of the first main control unit and the second main control unit is in a normal operating state, the on-board equipment Determine whether to send a safety command to the train interface according to the operating conditions:
    所述第一主控单元故障或无电时,第二主控单元根据需要确定是否向列车接口发送安全命令;When the first main control unit fails or has no power, the second main control unit determines whether to send a safety command to the train interface as required;
    或,所述第二主控单元故障或无电时,第一主控单元根据需要确定是否向列车接口发送安全命令;Or, when the second main control unit fails or has no power, the first main control unit determines whether to send a safety command to the train interface as required;
    或,所述第一主控单元和第二主控单元全部正常运行时,第二主控单元持续向车载设备内的电路模块发送安全命令;第一主控单元根据需要确定是否向所述电路模块发送安全命令;所述电路模块若接收到所述第二主控单元的安全命令和第一主控单元的安全命令,则向列车接口发送安全命令;所述电路模块若仅接收到所述第二主控单元的安全命令,则不向列车接口发送安全命令。Or, when the first main control unit and the second main control unit are all operating normally, the second main control unit continues to send safety commands to the circuit module in the on-board equipment; the first main control unit determines whether to send to the circuit as required The module sends a safety command; if the circuit module receives the safety command of the second main control unit and the safety command of the first main control unit, it sends a safety command to the train interface; if the circuit module only receives the safety command The safety command of the second main control unit does not send the safety command to the train interface.
  6. 根据权利要求1所述的用于热备车载设备的列车接口数据的处理方法,其特征在于,在第一主控单元和第二主控单元中至少一个处于正常运行状态时,车载设备按照运行情况确定是否向列车接口发送安全命令:The method for processing train interface data of hot backup on-board equipment according to claim 1, wherein when at least one of the first main control unit and the second main control unit is in a normal operation state, the on-board equipment operates according to The situation determines whether to send a safety command to the train interface:
    所述第一主控单元故障或无电时,第二主控单元根据需要确定是否向列车接口发送安全命令;When the first main control unit fails or has no power, the second main control unit determines whether to send a safety command to the train interface as required;
    或,所述第二主控单元故障或无电时,第一主控单元根据需要确定是否向列车接口发送安全命令;Or, when the second main control unit fails or has no power, the first main control unit determines whether to send a safety command to the train interface as required;
    或,所述第一主控单元和第二主控单元全部正常运行时,所述第一主控单元或第二主控单元根据本端和对端的状态,确定是否向列车接口发送安全命令。Or, when the first main control unit and the second main control unit are all operating normally, the first main control unit or the second main control unit determines whether to send a safety command to the train interface according to the status of the local end and the opposite end.
  7. 根据权利要求6所述的用于热备车载设备的列车接口数据的处理方法,其特征在于,所述第一主控单元和第二主控单元全部正常运行时,所述第一主控单元或第二主控单元根据本端和对端的状态,确定向列车接口发送安全命令还是取消向列车接口发送安全命令,具体包括:The method for processing train interface data of hot standby on-board equipment according to claim 6, wherein when the first main control unit and the second main control unit are all operating normally, the first main control unit Or the second main control unit determines whether to send a safety command to the train interface or cancel the safety command to the train interface according to the status of the local end and the opposite end, which specifically includes:
    T1:初始,本端和对端均处于空闲状态;T1: Initially, both the local end and the opposite end are in an idle state;
    T2:本端向列车接口发送安全命令时,判断安全命令的发送状态是否发生改变,若安全命令的发送状态发生改变,则开启第一定时器,进入监控对端状态,执行步骤T3;若安全命令的发送状态没有发生改变,则判断是否收到对端的安全命令信息,若收到对端的安全命令信息,则向对端发送收到安全命令信息的确认包,并开启第二定时器,进入监控本端状态,执行步骤T4,若未收到对端的安全命令信息,则继续判断本端的安全命令的发送状态是否发生改变;T2: When the local end sends a safety command to the train interface, it is judged whether the sending status of the safety command has changed. If the sending status of the safety command changes, the first timer is started, the monitoring peer status is entered, and step T3 is executed; if it is safe If the sending status of the command has not changed, it is judged whether the security command information of the opposite end is received, and if the security command information of the opposite end is received, the confirmation packet of receiving the security command information is sent to the opposite end, and the second timer is started, and enter Monitor the status of the local end, and execute step T4. If the security command information from the opposite end is not received, continue to determine whether the sending status of the security command of the local end has changed;
    T3:判断改变后的安全命令的发送状态是否为向列车接口发送安全命令,若改变后的安全命令的发送状态为向列车接口发送安全命令,则本端向列车接口发送安全命令,并周期性向对端发送向列车接口发送安全命令的信息,继续执行步骤T3-1,若改变后的安全命令的发送状态为不向列车接口发送安全命令,则本端暂时不向列车接口发送安全命令,并周期性向对端发送不向列车接口发送安全命令的信息,继续执行步骤T3-2;T3: Judge whether the sending status of the changed safety command is sending a safety command to the train interface. If the sending status of the changed safety command is sending a safety command to the train interface, the local end sends the safety command to the train interface and periodically The opposite terminal sends a message to send a safety command to the train interface, and continues to step T3-1. If the changed safety command status is not to send a safety command to the train interface, the local terminal will not send a safety command to the train interface temporarily, and Periodically send messages not to send safety commands to the train interface to the opposite end, and continue to perform step T3-2;
    T3-1:判断是否收到对端的安全命令信息,若收到对端的安全命令信息,则向对端发送收到安全命令信息的确认包,并判断对端的安全命令信息和本端改变后的安全命令的发送状态是否一致,若对端的安全命令信息和本端改变后的安全命令的发送状态一致,则关闭第一定时器,本端进入空闲状态,若对端的安全命令信息和本端改变后的安全命令的发送状态不一致,则本端进入故障状态,若没有收到对端的安全命令信息,则判断第一计时器的计时时间是否超时,若第一计时器的计时时间超时,则关闭第一定时器,本端进入空闲状态,若第一计时器的计时时间未超时,则判断是否收到对端的安全命令信息的确认包,若收到对端的安全命令信息的确认包,则停止向对端发送向列车接口发送安全命令的信息,维持当前状态,若未收到对端的安全命令信息的确认包,则判断向对端发送向列车接口发送安全命令的信息是否超过规定次数,若向对端发送向列车接口发送安全命令的信息超过规定次数,则停止向对端发送向列车接口发送安全命令的信息,本端进入故障状态,若向对端发送向列车接口发送安全命令的信息未超过规定次数,则继续向对端发送向列车接口发送安全命令的信息;T3-1: Judge whether the security command information of the opposite end is received, if the security command information of the opposite end is received, send a confirmation packet of receiving the security command information to the opposite end, and judge the security command information of the opposite end and the changed value of the local end Whether the sending status of the security command is consistent, if the security command information of the opposite end is consistent with the sending status of the changed security command of the local end, the first timer is turned off and the local end enters the idle state. If the security command information of the opposite end changes with the local end If the sending state of the subsequent security commands is inconsistent, the local end enters the fault state. If the security command information from the opposite end is not received, it is judged whether the timing time of the first timer has expired, and if the timing time of the first timer expires, it will be turned off. The first timer, the local end enters the idle state, if the time of the first timer does not expire, it is judged whether the confirmation packet of the security command information of the opposite end is received, and if the confirmation packet of the security command information of the opposite end is received, it stops Send the message of sending the safety command to the train interface to the opposite end to maintain the current state. If the confirmation packet of the safety command information of the opposite end is not received, it is judged whether the message of sending the safety command to the train interface to the opposite end exceeds the specified number of times. If the information of sending safety commands to the train interface to the opposite end exceeds the specified number of times, stop sending the information of sending safety commands to the train interface to the opposite end, and the local end enters a fault state. If the information of sending safety commands to the train interface is sent to the opposite end If it does not exceed the specified number of times, continue to send information to the opposite end to send safety commands to the train interface;
    T3-2:判断是否收到对端的安全命令信息,若收到对端的安全命令信息,则向对端发送收到安全命令信息的确认包,并判断对端的安全命令信息和本端改变后的安全命令的发送状态是否一致,若对端的安全命令信息和本端改变后的安全命令的发送状态一致,则关闭第一定时器,本端进入空闲状态,若对端的安全命令信息和本端改变后的安全命令的发送状态不一致,则本端进入故障状态,若没有收到对端的安全命令信息,则判断第一计时器的计时时间是否超时,若第一计时器的计时时间超时,则关闭第一定时器,本端进入空闲状态,若第一计时器的计时时间未超时,则判断是否收到对端的安全命令信息的确认包,若收到对端的安全命令信息的确认包,则停止向对端发送不向列车接口发送安全命令的信息,维持当前状态,若未收到对端的安全命令信息的确认包,则判断向对端发送不向列车接口发送安全命令的信息是否超过规定次数,若向对端发送不向列车接口发送安全命令的信息超过规定次数,则停止向对端发送不向列车接口发送安全命令的信息,本端进入故障状态,若向对端发送不向列车接口发送安全命令的信息未超过规定次数,则继续向对端发送不向列车接口发送安全命令的信息;T3-2: Judge whether the security command information of the opposite end is received, if the security command information of the opposite end is received, then send a confirmation packet of receiving the security command information to the opposite end, and judge the security command information of the opposite end and the changed local end Whether the sending status of the security command is consistent, if the security command information of the opposite end is consistent with the sending status of the changed security command of the local end, the first timer is turned off and the local end enters the idle state. If the security command information of the opposite end changes with the local end If the sending state of the subsequent security commands is inconsistent, the local end will enter the fault state. If the security command information from the opposite end is not received, it will be judged whether the timing time of the first timer has expired, and if the timing time of the first timer has expired, it will be turned off. The first timer, the local end enters the idle state, if the time of the first timer does not expire, it is judged whether the confirmation packet of the security command information of the opposite end is received, and if the confirmation packet of the security command information of the opposite end is received, it stops Send the message not to send the safety command to the train interface to the opposite end, and maintain the current state. If the confirmation packet of the safety command information from the opposite terminal is not received, judge whether the message of not sending the safety command to the train interface to the opposite end exceeds the specified number of times , If the message of not sending safety commands to the train interface is sent to the opposite end for more than the specified number of times, the message of not sending safety commands to the train interface to the opposite terminal will be stopped, and the local terminal will enter a fault state. If the information of sending safety commands does not exceed the specified number of times, it will continue to send information not to send safety commands to the train interface to the opposite end;
    T4:本端向列车接口发送安全命令时,判断安全命令的发送状态是否发生改变,若安全命令的发送状态发生改变,则判断改变后的安全命令的发送状态与接收到的对端的 安全命令信息是否一致,若改变后的安全命令的发送状态与接收到的对端的安全命令信息一致,则本端保持改变后的安全命令的发送状态,并向对端发送改变后的安全命令信息,关闭第二定时器,进入等待对端确认状态,继续执行步骤T5,若改变后的安全命令的发送状态与接收到的对端的安全命令信息不一致,则关闭第二定时器,本端进入故障状态,若否,则判断第二定时器是否超时,若第二定时器超时,则关闭第二定时器,进入故障状态,若第二定时器未超时,则继续判断本端向列车接口发送安全命令时,安全命令的发送状态是否发生改变;T4: When the local end sends a safety command to the train interface, it judges whether the sending status of the safety command has changed. If the sending status of the safety command changes, it judges the sending status of the changed safety command and the received safety command information of the opposite end. Whether it is consistent or not, if the sending status of the changed security command is consistent with the received security command information of the opposite end, the local end keeps the sending status of the changed security command, and sends the changed security command information to the opposite end, closing the first The second timer enters the state of waiting for confirmation from the peer and continues to perform step T5. If the sending state of the changed security command is inconsistent with the received security command information of the peer, the second timer is turned off and the local end enters the fault state. If no, it is judged whether the second timer has timed out. If the second timer has timed out, the second timer will be turned off and enter the fault state. If the second timer has not timed out, it will continue to judge when the local end sends a safety command to the train interface. Whether the sending status of the safety command has changed;
    T5:周期性向对端发送改变后的安全命令信息,判断是否收到对端有关安全命令的确认信息,若收到对端有关安全命令的确认信息,则本端进入空闲状态,若没有收到对端有关安全命令的确认信息,则判断向对端发送改变后的安全命令信息的次数是否超过规定次数,若向对端发送改变后的安全命令信息的次数超过规定次数,则本端进入空闲状态,若向对端发送改变后的安全命令信息的次数未超过规定次数,则继续向对端发送改变后的安全命令信息。T5: Periodically send the changed security command information to the opposite end to determine whether the confirmation information about the security command from the opposite end is received. If the confirmation information about the security command from the opposite end is received, the local end enters the idle state, if not received For the confirmation information of the security command on the opposite end, it is judged whether the number of times of sending the changed security command information to the opposite end exceeds the specified number of times. If the number of times of sending the changed security command information to the opposite end exceeds the specified number of times, the local end enters idle Status, if the number of times that the changed security command information is sent to the opposite end does not exceed the specified number of times, continue to send the changed security command information to the opposite end.
  8. 根据权利要求7所述的用于热备车载设备的列车接口数据的处理方法,其特征在于,所述安全命令包括速度控制命令、切除牵引命令。The method for processing train interface data of hot standby on-board equipment according to claim 7, wherein the safety command includes a speed control command and a cut-off traction command.
  9. 根据权利要求1所述的用于热备车载设备的列车接口数据的处理方法,其特征在于,The method for processing train interface data for hot backup on-board equipment according to claim 1, characterized in that,
    所述安全命令包括列车接口控制命令;The safety command includes a train interface control command;
    在所述第一主控单元和第二主控单元中至少一个处于正常运行状态时,车载设备按照运行情况确定是否向列车接口发送所述列车接口控制命令,具体包括:When at least one of the first main control unit and the second main control unit is in a normal operating state, the on-board equipment determines whether to send the train interface control command to the train interface according to the operating conditions, which specifically includes:
    所述第一主控单元故障或无电时,第一主控单元不向列车接口发送所述列车接口控制命令,第二主控单元根据需要确定是否向列车接口发送所述列车接口控制命令;When the first main control unit fails or has no power, the first main control unit does not send the train interface control command to the train interface, and the second main control unit determines whether to send the train interface control command to the train interface as needed;
    或,所述第二主控单元故障或无电时,第二主控单元不向列车接口发送所述列车接口控制命令,第一主控单元根据需要确定是否向列车接口发送所述列车接口控制命令;Or, when the second main control unit fails or has no power, the second main control unit does not send the train interface control command to the train interface, and the first main control unit determines whether to send the train interface control to the train interface as needed Order;
    或,第一主控单元和第二主控单元全部处于正常运行状态,第二主控单元取消向车载设备内的电路模块发送所述列车接口控制命令;第一主控单元根据需要确定是否向所述电路模块发送所述列车接口控制命令;所述电路模块若没有收到所述列车接口控制命令,则不向列车接口发送所述列车接口控制命令;所述电路模块若接收到第一主控单元的列车接口控制命令的信息,则向列车接口发送所述列车接口控制命令。Or, the first main control unit and the second main control unit are all in a normal operating state, and the second main control unit cancels sending the train interface control command to the circuit module in the on-board equipment; the first main control unit determines whether to The circuit module sends the train interface control command; if the circuit module does not receive the train interface control command, it does not send the train interface control command to the train interface; if the circuit module receives the first master The train interface control command information of the control unit sends the train interface control command to the train interface.
  10. 根据权利要求1所述的用于热备车载设备的列车接口数据的处理方法,其特征在于,还包括车载设备的制动测试,所述制动测试包括如下步骤:The method for processing train interface data of hot standby on-board equipment according to claim 1, characterized in that it further comprises a brake test of the on-board equipment, and the brake test comprises the following steps:
    D1:第一主控单元收到制动测试请求后,执行制动测试,若制动测试失败,则提醒司机制动测试失败,并重新执行制动测试直至制动测试成功,若制动测试成功,则命令第二主控单元执行制动测试;D1: After the first main control unit receives the brake test request, it will execute the brake test. If the brake test fails, it will remind the driver that the brake test has failed, and re-execute the brake test until the brake test is successful. If successful, command the second main control unit to perform the brake test;
    D2:第二主控单元接收所述命令,并向第一主控单元发送确认接收命令后,开始执行制动测试,若制动测试成功,则将制动测试结果发送给第一主控单元,第一主控单元将本端和第二主控单元的制动测试结果反馈给司机;D2: After the second main control unit receives the command and sends a confirmation receipt command to the first main control unit, it starts to perform the brake test. If the brake test is successful, the brake test result is sent to the first main control unit , The first main control unit feeds back the brake test results of the local end and the second main control unit to the driver;
    若制动测试失败,则判断制动次数是否超过规定次数,若超过,则执行步骤D3,若未超过,则执行步骤D4;If the brake test fails, it is determined whether the number of braking times exceeds the specified number of times, if it exceeds, then execute step D3, if it does not exceed, then execute step D4;
    D3:重复进行制动测试,直至制动测试成功,然后将制动测试结果发送给第一主控单元,第一主控单元将本端和第二主控单元的制动测试结果反馈给司机;D3: Repeat the brake test until the brake test is successful, and then send the brake test result to the first main control unit, and the first main control unit feeds back the brake test results of the local end and the second main control unit to the driver ;
    D4:告知第一主控单元测试结束,第二主控单元进入故障状态,第一主控单元接收到第二主控单元的测试结束消息后,将第一主控单元的制动测试结果反馈给司机。D4: Inform the first main control unit that the test is over and the second main control unit enters a fault state. After the first main control unit receives the test end message of the second main control unit, it will feed back the brake test result of the first main control unit To the driver.
PCT/CN2020/109451 2020-03-06 2020-08-17 Method for processing train interface data of hot-standby vehicle-mounted device WO2021174769A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
RS20230742A RS64526B1 (en) 2020-03-06 2020-08-17 Method for processing train interface data of hot-standby vehicle-mounted device
EP20785425.8A EP3895958B1 (en) 2020-03-06 2020-08-17 Method for processing train interface data of hot-standby vehicle-mounted device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010149479.0 2020-03-06
CN202010149479.0A CN111003024B (en) 2020-03-06 2020-03-06 Train interface data processing method for hot standby vehicle-mounted equipment

Publications (1)

Publication Number Publication Date
WO2021174769A1 true WO2021174769A1 (en) 2021-09-10

Family

ID=70121015

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/109451 WO2021174769A1 (en) 2020-03-06 2020-08-17 Method for processing train interface data of hot-standby vehicle-mounted device

Country Status (5)

Country Link
EP (1) EP3895958B1 (en)
CN (1) CN111003024B (en)
HU (1) HUE063550T2 (en)
RS (1) RS64526B1 (en)
WO (1) WO2021174769A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111003024B (en) * 2020-03-06 2020-07-31 北京全路通信信号研究设计院集团有限公司 Train interface data processing method for hot standby vehicle-mounted equipment
CN113415315B (en) * 2021-07-06 2023-10-17 北京全路通信信号研究设计院集团有限公司 Method and system for switching control rights of general vehicle-mounted equipment and special vehicle-mounted equipment
CN115071790B (en) * 2022-08-22 2022-11-22 中国铁道科学研究院集团有限公司通信信号研究所 Parallel train control method and system applied to C3-level train operation control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005283A (en) * 2015-03-31 2015-10-28 北京航天发射技术研究所 Master control unit dual-redundancy hot backup launching vehicle control method
CN107995079A (en) * 2017-11-27 2018-05-04 中国铁道科学研究院通信信号研究所 A kind of hot standby vehicle-mounted ATP equipment based on MVB bus
CN109823375A (en) * 2019-01-07 2019-05-31 北京全路通信信号研究设计院集团有限公司 A kind of applied to the double of automatic train operation system is hot standby switch method and system
CN111003024A (en) * 2020-03-06 2020-04-14 北京全路通信信号研究设计院集团有限公司 Train interface data processing method for hot standby vehicle-mounted equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003268552A1 (en) * 2002-09-10 2004-04-30 Union Switch And Signal, Inc. Hot standby method and apparatus
JP4562804B2 (en) * 2007-12-06 2010-10-13 三菱電機株式会社 Train information management device
CN102001348B (en) * 2010-12-06 2012-05-23 南京恩瑞特实业有限公司 Realization method based on CPCI bus technology of dual module hot spare system switching
CN103645715A (en) * 2013-12-12 2014-03-19 中国铁道科学研究院 Dual-machine hot standby train automatic operation (ATO) system
CN105599634B (en) * 2016-02-29 2017-12-05 同济大学 A kind of magnetic floating train suspending control device and method
EP3820751B1 (en) * 2018-07-12 2024-05-29 Amsted Rail Company, Inc. Brake monitoring systems for railcars
CN109946956B (en) * 2019-03-27 2020-11-24 北京全路通信信号研究设计院集团有限公司 Device main and standby system synchronization and hot standby method
CN110380915A (en) * 2019-08-26 2019-10-25 湖南中车时代通信信号有限公司 A kind of hot backup redundancy monitoring device based on secure communication protocols

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005283A (en) * 2015-03-31 2015-10-28 北京航天发射技术研究所 Master control unit dual-redundancy hot backup launching vehicle control method
CN107995079A (en) * 2017-11-27 2018-05-04 中国铁道科学研究院通信信号研究所 A kind of hot standby vehicle-mounted ATP equipment based on MVB bus
CN109823375A (en) * 2019-01-07 2019-05-31 北京全路通信信号研究设计院集团有限公司 A kind of applied to the double of automatic train operation system is hot standby switch method and system
CN111003024A (en) * 2020-03-06 2020-04-14 北京全路通信信号研究设计院集团有限公司 Train interface data processing method for hot standby vehicle-mounted equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG, XIANLEI: "Exposition and Application Exploration of AP Switching Mechanism on Urban Rail Transit Trains", INFORMATION & COMMUNICATIONS, no. 11, 30 November 2018 (2018-11-30), pages 142 - 143, XP055842145 *

Also Published As

Publication number Publication date
RS64526B1 (en) 2023-09-29
EP3895958B1 (en) 2023-08-02
CN111003024B (en) 2020-07-31
HUE063550T2 (en) 2024-01-28
CN111003024A (en) 2020-04-14
EP3895958A1 (en) 2021-10-20
EP3895958C0 (en) 2023-08-02
EP3895958A4 (en) 2021-10-20

Similar Documents

Publication Publication Date Title
WO2021174769A1 (en) Method for processing train interface data of hot-standby vehicle-mounted device
CN215244703U (en) Automatic driving vehicle with multiple safety redundancy mechanisms and automatic driving system
US6401015B1 (en) Distributed power and electronic air brake control system for a train and associated methods
CN105539525B (en) Suitable for the Vehicle Controller remote failure repositioning method of full-automatic driving
CN112550362B (en) Restarting method of train controller
CN110275450B (en) Restarting method and device for unmanned rail transit vehicle
CN112193230B (en) Train braking fault control method and device
CN114523992B (en) Intelligent platform door control system based on vehicle-to-vehicle communication
CN101580073A (en) Computer interlocking system code bit-level redundancy method
KR20150070360A (en) Method for operating an electrically operable parking brake system and control device of an electrically operable parking brake system
CN112278016A (en) Fault recovery system and fault recovery method for vehicle-mounted controller
KR101919208B1 (en) Method for monitoring an apparatus connected to a communication channel
CN112277652B (en) Emergency braking circuit and method and railway vehicle
CN113002596B (en) Traction control system
CN114940183B (en) Distributed power backup control system capable of achieving automatic driving and vehicle
WO2023016542A1 (en) Degraded train emergency rescue method and apparatus based on vehicle-to-vehicle communication
CN201151415Y (en) Computer interlock system
CN115071790A (en) Parallel system control method and system applied to C3-level train operation control
CN112506633B (en) Multi-machine redundancy system and processing method
CN115179964B (en) VCU redundancy control system based on functional safety and application thereof
CN114313235B (en) Aircraft braking system and switching method thereof
CN118220259A (en) Rail vehicle control method and device, medium and rail vehicle
CN117775080A (en) Multi-system fusion railway vehicle fusion control method and system
CN108891300B (en) Suspension control method for medium-low speed maglev train
WO2023093536A1 (en) Autonomous driving control system and vehicle

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2020785425

Country of ref document: EP

Effective date: 20201010

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: P-2023/0742

Country of ref document: RS