The specific embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, will combine the embodiment of the invention below, to the technical scheme in the embodiment of the invention carry out clear, intactly describe.Need to prove that in accompanying drawing or specification sheets, similar or components identical is all used identical Reference numeral.
The hot backup redundancy method diagram of circuit of the train Central Processing Unit (CPU) that Fig. 1 provides for the embodiment of the invention.As shown in Figure 1, the hot backup redundancy method of the train Central Processing Unit (CPU) that present embodiment provides specifically can be used for the redundancy setting of the train Central Processing Unit (CPU) CCU of networked control system of the train system.The hot backup redundancy method of the train Central Processing Unit (CPU) that present embodiment provides specifically comprises:
Step 10, conduct are being obtained in order to indicate the Dai-ichi Mutual Life Insurance signal of the 2nd CCU state for the 2nd CCU of main control unit from the first Central Processing Unit (CPU) CCU of control unit; Wherein, Be loaded with master configuration file in the main control unit; From control unit, be loaded with from configuration file, master configuration file comprises source port configuration information and place port configuration information, comprises the place port configuration information from configuration file;
Particularly, a CCU and the 2nd CCU are arranged in the MVB network segment simultaneously, and in operational process, one of them CCU is as main control unit, and another CCU conduct is from control unit.Can like backboard signal value master slave relation be set according to the equipment operation situation of a CCU and the 2nd CCU when initial, the master slave relation of a CCU and the 2nd CCU also can be set according to the control needs according to sampling.Be set to from control unit like a CCU, the 2nd CCU is set to main control unit.
The 2nd CCU as main control unit is loaded with master configuration file; Comprise source port configuration information and place port configuration information in the master configuration file; The 2nd CCU comes source of configuration port and place port according to this master configuration file; To receive the train information that each sensor sends through the place port, the 2nd CCU generates control command according to train information after judging computing, carries out relevant action through the source port transmitting control commands with the actuating unit of controlling other subsystems again.CCU as from control unit is loaded with from configuration file; From configuration file, comprise the place port configuration information; The one CCU with the train information that sends through place port receiving sensor, monitors the operating condition of train according to disposing the place port from configuration file.The first Central Processing Unit (CPU) CCU as from control unit obtains in order to indicate the Dai-ichi Mutual Life Insurance signal of the 2nd CCU state from the 2nd CCU as main control unit, and the Dai-ichi Mutual Life Insurance signal is specifically in order to indicate the 2nd CCU to work well or the 2nd CCU et out of order.
Step 20, a CCU indicate the 2nd CCU et out of order if the Dai-ichi Mutual Life Insurance signal is known in judgement, then load master configuration file, to be set to main control unit.
If as the 2nd CCU et out of order of main control unit, then a CCU loads master configuration file, to be set to main control unit.Master configuration file specifically can be stored among the CCU in advance; Identical with the master configuration file of storing among the 2nd CCU; To take over the 2nd CCU work; Receive the train information that each sensor sends through the place port, after judging computing, generate control command, carry out relevant action through the source port transmitting control commands with the actuating unit of controlling other subsystems again according to train information.
The hot backup redundancy method of the train Central Processing Unit (CPU) that present embodiment provides; The first Central Processing Unit (CPU) CCU as from control unit obtains in order to indicate the Dai-ichi Mutual Life Insurance signal of the 2nd CCU state at the 2nd CCU as main control unit; The one CCU indicates the 2nd CCU et out of order if the Dai-ichi Mutual Life Insurance signal is known in judgement; Then load master configuration file, to be set to main control unit.Through the setting of a CCU, receive the train information that each sensor sends, with the operation conditions of monitoring train, and from the 2nd CCU, obtain in order to indicate the Dai-ichi Mutual Life Insurance signal of the 2nd CCU state.When the 2nd CCU et out of order, a CCU loads master configuration file to take over the work of the 2nd CCU, owing to store the train information that receives among the CCU, can guarantee that Control work is uninterrupted, has improved the reliability of networked control system of the train.
In the present embodiment, a CCU loads after the master configuration file in the step 20, specifically can also comprise the steps:
Step 30, a CCU send switching command to the 2nd CCU;
Switching command is specifically in order to indicate the 2nd CCU to be set to from control unit.The one CCU can constantly send this switching command to the 2nd CCU, till the 2nd CCU response.The one CCU also can send this switching command to the 2nd CCU with Preset Time at interval, till the 2nd CCU response.Particularly, a CCU can also generate in order to indicate the alerting signal of the 2nd CCU fault, and personnel keep in repair the 2nd CCU with the indication Train Management.
Step 40, the 2nd CCU load from configuration file when receiving switching command, being set to from control unit, and obtain in order to indicate second life signal of a CCU state from a CCU.
It is normal that the 2nd CCU of et out of order recovers, and specifically can recover normal through reset mode, when receiving switching command; Loading is from configuration file; To be set to from control unit, through the train information that place port receiving sensor sends, the operating condition of monitoring train.Specifically can be stored in advance the 2nd CCU from configuration file, with among the CCU can be identical from configuration file.The 2nd CCU is set to behind control unit, takes over the work of a CCU, obtains second life signal that is used to indicate a CCU state from a CCU, and with when the CCU et out of order, the principal and subordinate who carries out control unit is switched.
In the present embodiment, step 10, as from the first Central Processing Unit (CPU) CCU of control unit before the 2nd CCU as main control unit obtains in order to the Dai-ichi Mutual Life Insurance signal of indicating the 2nd CCU state, specifically can also comprise the steps:
Step 50, a CCU load from configuration file, to be set to from control unit according to first indication information that receives;
Step 60, the 2nd CCU load master configuration file, to be set to main control unit according to second indication information that receives.
First indication information and second indication information specifically can pass through the indication information in order to indication principal and subordinate setting of the input equipment input of a CCU and the 2nd CCU for the Train Management personnel respectively.
In the present embodiment, the hot backup redundancy method of this train Central Processing Unit (CPU) specifically can also comprise the steps:
Step 70, obtaining as a CCU in order to indicating the 3rd life signal of a CCU state,, then generating alerting signal and send if judge and know that the 3rd life signal indicates a CCU et out of order from control unit as the 2nd CCU of main control unit.
When as the time from a CCU et out of order of control unit; The 2nd CCU as main control unit generates alerting signal to carry out the fault alarm of a CCU; Can improve from the promptness of the malfunction monitoring of control unit, and then improve the reliability of networked control system of the train.
In the present embodiment, the hot backup redundancy method of this train Central Processing Unit (CPU) specifically can also comprise the steps:
Step 80, receive train information, generate control command according to train information, and the source port of control command through the master configuration file configuration sent as the 2nd CCU of the main control unit place port through the master configuration file configuration;
Step 90, conduct receive train information from a CCU of control unit through the place port from the configuration file configuration.
The hot backup redundancy system architecture scheme drawing of the train Central Processing Unit (CPU) that Fig. 2 provides for the embodiment of the invention.As shown in Figure 2, the hot backup redundancy system of the train Central Processing Unit (CPU) that present embodiment provides specifically can realize each step of the hot backup redundancy method of the train Central Processing Unit (CPU) that any embodiment of the present invention provides, and this repeats no more.The hot backup redundancy system of the train Central Processing Unit (CPU) that present embodiment provides specifically comprises a CCU11 and the 2nd CCU12.Be used for obtaining in order to indicate the Dai-ichi Mutual Life Insurance signal of the 2nd CCU12 state as a CCU11 at the 2nd CCU12 as main control unit from control unit; If knowing the Dai-ichi Mutual Life Insurance signal, judgement indicates the 2nd CCU12 et out of order; Then load master configuration file, to be set to main control unit, wherein; Be loaded with master configuration file in the main control unit; From control unit, be loaded with from configuration file, master configuration file comprises source port configuration information and place port configuration information, comprises the place port configuration information from configuration file.Particularly, a CCU11 and the 2nd CCU12 are arranged in the MVB13 network segment simultaneously.
The hot backup redundancy system of the train Central Processing Unit (CPU) that present embodiment provides; The first Central Processing Unit (CPU) CCU as from control unit obtains in order to indicate the Dai-ichi Mutual Life Insurance signal of the 2nd CCU12 state at the 2nd CCU12 as main control unit; The one CCU11 knows that the Dai-ichi Mutual Life Insurance signal is the 2nd CCU12 et out of order if judge; Then load master configuration file, to be set to main control unit.Through the setting of a CCU11, receive the train information that each sensor sends, with the operation conditions of monitoring train, and from the 2nd CCU12, obtain in order to indicate the Dai-ichi Mutual Life Insurance signal of the 2nd CCU12 state.When the 2nd CCU12 et out of order, a CCU11 loads master configuration file to take over the work of the 2nd CCU12, owing to store the train information that receives among the CCU11, can guarantee that Control work is uninterrupted, has improved the reliability of networked control system of the train.
In the present embodiment, a CCU11 also is used for sending switching command to the 2nd CCU12.Correspondingly, the 2nd CCU12 is used for when receiving switching command, loads from configuration file, and obtains in order to indicate second life signal of a CCU11 state, to be set to from control unit from a CCU11.
In the present embodiment, a CCU11 also is used for loading from configuration file, to be set to from control unit according to first indication information that receives.The 2nd CCU12 also is used for loading master configuration file, to be set to main control unit according to second indication information that receives.
In the present embodiment; The 2nd CCU12 also is used for when as main control unit; Obtaining in order to indicate the 3rd life signal of a CCU11 state as a CCU11 from control unit; Indicate a CCU11 et out of order if the 3rd life signal is known in judgement, then generate alerting signal and transmission.
In the present embodiment, the 2nd CCU12 also is used for when as main control unit, and the place port reception train information through the master configuration file configuration generates control command according to train information, and the source port of control command through the master configuration file configuration sent.The one CCU11 also is used for when as from control unit the time, receives train information through the place port from the configuration file configuration.
In the present embodiment, a CCU11 and the 2nd CCU12 all can adopt following Hardware configuration: two-way DC/DC redundant power; 2 MVBs (MVB) interface; 1 Ethernet 10Base-T/100Base-Tx Ethernet interface; 1 USB 1.1/2.0; 2 RS-232 only are used for debugging; The 500Mhz treater; 256Mbyte RAM; 2048Mbyte Flash memory.
Each CCU supports the input of two-way DC power supply, and the two-way power supply can be independence or independent power supply, and power module satisfies the test specification that " during power supply hit 10ms, needs to keep system works " among the EN50155.CCU provides 2 DB-9MVB interfaces, and system provides DB-9F and two kinds of interface modes of DB-9M.The cable that is connected into the MVB network uses shielded cable.2 serial ports that are exclusively used in debugging are provided, and this serial ports can be used to connect final terminal or PC, is used for the system software debugging.1 10Base-T/100Base-Tx Ethernet interface is provided, and interface adopts the M12 connector.Network interface can be used for communicating with the locomotive communication network.The netting twine that is connected with network interface also has the M12 plug, preferably uses shielding netting wire.Each CCU makes network interface all have different MAC Addresss, and burning can be carried out according to client's needs in this address when dispatching from the factory.Have 1 USB 1.1/2.0 interface, interface adopts USB TYPE-A connector.1 16 bit address configuration switch is provided, can the set device address.Have 7 indicator lamps, the pairing status of equipment of each indicator lamp can be as shown in table 1.
Table 1
CCU provides 1 system reset switch, is used for carrying out when crashing appears in system system's hard reset.After pressing switch, system just can carry out hard reset automatically.Support the input of remote system reset switch signal; This signal is a 110V DC signal; Be used to respond the reset signal that the driving position reset button on the train sends, when reset signal greater than 72V DC, time length during greater than 0.5 second, system can re-power automatically and reset.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that previous embodiment is put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.