A method for judging the continuity of the relay state of a manual switching module

By setting up a dual-channel board in the manual switching module and calculating the relay status check word, the dual main problem of the rail-side safety platform in the communication barrier between the two systems is solved, and the continuous judgment of the relay status under the communication barrier is realized to ensure the system safety.

CN115372811BActive Publication Date: 2025-07-29CASCO SIGNAL LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210943559.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-08
Publication Date
2025-07-29
Estimated Expiration
2042-08-08

AI Technical Summary

Technical Problem

When there is a communication barrier between the two systems of the rail-side safety platform, manual switching of the module may lead to a dual main phenomenon. The existing technology cannot effectively judge the continuity of the relay status, resulting in safety hazards.

Method used

By setting the first and second boards of the dual channel in the manual switching module, collecting the relay status and calculating the relay status check words, using large prime numbers and fixed array parameters, we can judge whether the relay status is continuous and prevent the occurrence of the dual main situation.

Benefits of technology

When the railside safety platform is in automatic transmission and communication is hindered between the systems, it can be accurately judged whether the relay status is continuous, prevent the dual main phenomenon, and ensure system safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115372811B_ABST
    Figure CN115372811B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for judging the continuity of the relay state of a manual switching module. By calculating and comparing whether the first relay state verification word is the same as the second relay state verification word, the continuity of the relay state can be judged. The present invention can prevent the double-master situation that may occur when the trackside safety platform is in the automatic gear and there is an inter-system communication obstacle between the two systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of train running safety, and particularly to a method for judging the continuity of the relay state of a manual switching module for a trackside safety platform. Background Art

[0002] At present, the trackside safety platform generally adopts a redundant structure, and only the main system can output application messages to the peripherals. The main and standby machines are connected to the manual switching module, and the user can manually switch the main and standby systems of the platform through the switching module. When the manual switching module is in the automatic gear (neither in gear A nor in gear B), the two systems negotiate, and one system sends a main-raising application to the manual switching module, so that the relay state of this system is in the pulled-up state, and thus this system becomes the main system. When there is a communication failure between the two systems and effective negotiation cannot be carried out, both systems may send main-raising applications to the manual switching module successively. When the manual switching module replies with the relay state to each system, the relay state may change between the reply to the first system and the reply to the second system, resulting in both systems thinking that the relay state is pulled up in their own systems, and there may be a double-main phenomenon, which is not allowed in the trackside safety platform. Summary of the Invention

[0003] At present, when the manual switching module automatically switches the main and standby systems, when there is a communication obstacle between the two systems of the trackside safety platform, a double-main phenomenon may occur. The purpose of the present invention is to propose a method for judging the continuity of the relay state of a manual switching module for a trackside safety platform to solve the above problems.

[0004] To achieve the above object, the present invention proposes a method for judging the continuity of the relay state of a manual switching module. The manual switching module includes a first board and a second board with the same functions and structures, and both are provided with relays that are safety mutually exclusive; both the first board and the second board are set with two channels, and the method includes the following steps:

[0005] S1. The manual switching module continuously collects the relay state and records the collected data;

[0006] S2. A certain system of the trackside safety platform sends a main-raising request message to the first board and the second board of the manual switching module;

[0007] S3. According to the received main-raising request message and its own mask, the first board and the second board respectively calculate the main verification words of the two channels and reply with the relay state information to the trackside safety platform;

[0008] S4. According to the received relay state information, the trackside safety platform calculates and judges whether the relay state is continuous.

[0009] Preferably, step S1 further includes the following steps:

[0010] S11. Set a relay status acquisition count value. Each time the manual switching module acquires the relay status of the manual switching module, increment this relay status acquisition count value by one.

[0011] S12. Each time the manual switching module acquires the relay status of the manual switching module, calculate the relay status verification word for the dual channels of the first board and the second board once.

[0012] Preferably, the calculation formula for the relay status verification word is:

[0013] StateChkWrd(n) = StateChkWrd(n - 1) × NISAL(TRUE / FALSE)^PD_result % PRIME;

[0014] Wherein, StateChkWrd(n) is the current relay status verification word, StateChkWrd(n - 1) is the previous relay status verification word, NISAL(TRUE / FALSE) is the acquired relay content, PD_result is the result obtained by performing a PD operation on the start and end addresses storing the acquired data and the relay status acquisition count value in the manual switching module, and PRIME is a large prime number.

[0015] Preferably, according to the different states of the relay in the manual switching module being pulled in or dropped, NISAL(TRUE / FALSE)^PD_result is a different fixed value VALUE.

[0016] Preferably, the main request information includes: dual-channel verification word, dual-channel timestamp, external system timestamp, and main application system flag; the calculation formula for the channel verification word is:

[0017] sysChkWrd = CVC_CHECKWORD_M^VSN0;

[0018] Wherein, sysChkWrd is the channel verification word, CVC_CHECKWORD_M is the inherent parameter of the channel, and VSN0 is the external system timestamp.

[0019] Preferably, in step S3, the calculation formula for the main verification word of the channel is:

[0020] sysChkWrdM(n) = sysChkWrd^VSNX^StateChkWrd(n)^SA_Channel_MASK;

[0021] Wherein, sysChkWrdM(n) is the main verification word of the channel, VSNX is the channel timestamp of this channel, and SA_Channel_MASK is the mask of this channel.

[0022] Preferably, the relay status information sent back to the trackside safety platform includes: dual-channel main check word, switch board card number, relay status acquisition times value, relay status of the current manual switching module, and external system timestamp.

[0023] Preferably, step S4 further includes the following steps:

[0024] S41. Calculate the first relay status check word;

[0025] S42. Calculate the second relay status check word according to the set fixed array;

[0026] S43. Compare whether the first relay status check word and the second relay status check word are correspondingly equal. If they are equal, it indicates that the relay of the manual switching module continuously pulls in; if they are not equal, it indicates that the relay status of the manual switching module does not continuously pull in.

[0027] Preferably, the first relay status check word is calculated based on the information sent back by the manual switching module to the trackside safety platform, and the first relay status check word includes the first relay status check words of the dual channels.

[0028] Preferably, the calculation formula of the first relay status check word is:

[0029] RelayA_CurM(n) = sysChkWrdM(n) ^ CVC_CHECKWORD_M ^ VSN0 ^ VSNX ^ SA_Channel_MASK;

[0030] Wherein, RelayA_CurM(n) is the first relay status check word.

[0031] Preferably, step S42 further includes the following steps:

[0032] S421. Generate a fixed array Fixarray according to the determination requirement;

[0033] S422. Calculate the second relay status check words of the dual channels according to the generated fixed array Fixarray.

[0034] Preferably, the calculation formula of the second relay status check word is:

[0035] RelayA_CalcM(n) = ((RelayA_CurM(n - x) × Fixarray[CheckPos]) % PRIME);

[0036] Among them, RelayA_CalcM(n) is the second relay status verification word, RelayA_CurM(n - x) is the first relay status verification word calculated based on the dual-channel main verification word replied by the previous manual switching module to the trackside safety platform, and CheckPos is the result obtained by subtracting the previous relay status acquisition count value from the current relay status acquisition count value.

[0037] Preferably, when the relays on the first board or the second board are continuously pulled in, the corresponding system of the trackside safety platform can be promoted to the main system.

[0038] Preferably, there are 8 fixed arrays, which respectively correspond to the continuous pulling in of the relays on the first board of the dual channel, the continuous dropping of the relays on the first board, the continuous pulling in of the relays on the second board, and the continuous dropping of the relays on the second board.

[0039] Preferably, the rule for generating the fixed array is: take VALUE as the fixed value; define Fixarray[0]=1; generate the fixed array Fixarray according to Fixarray[n + 1]=Fixarray1[n]×VALUE%PRIME.

[0040] In summary, compared with the existing methods, the method of the present invention has the following advantages:

[0041] 1. The present invention uses large prime numbers and designs fixed array parameters that will not repeat within a certain range, which can be used in conjunction with predictive calculations;

[0042] 2. The present invention corresponds the state of the relay being continuously pulled in or continuously dropped for several times to the parameters in the fixed array, thereby designing to judge whether the relay state is continuous by comparing the predicted value obtained through calculation with the actual message acquisition value;

[0043] 3. When the trackside safety platform is in the automatic gear and there are obstacles in inter-system communication, the present invention decides whether to promote to the main system by judging whether a continuous pulled-in state of the relay is obtained, which can prevent the double-main situation that may occur when there are inter-system communication obstacles between the two systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is the connection diagram of the dual systems of the trackside safety platform and the manual switching module in the present invention;

[0045] Figure 2 It is the communication diagram of one system of the trackside safety platform and the manual switching module in the present invention;

[0046] Figure 3 It is the calculation and comparison flowchart of the first relay status verification word and the second relay status verification word. DETAILED DESCRIPTION OF THE INVENTION

[0047] The following will combine with those in the embodiments of the present invention Figures 1 to 3 to elaborate in detail on the technical solutions, structural features, achieved objectives, and effects in the embodiments of the present invention.

[0048] It should be noted that the accompanying drawings adopt a very simplified form and use non-precise scales, only for conveniently and clearly assisting in explaining the purpose of the embodiments of the present invention, and are not used to limit the limiting conditions for implementing the present invention. Therefore, they do not have substantial technical significance. Any modification of the structure, change in the proportional relationship, or adjustment of the size, without affecting the effects that the present invention can produce and the objectives that can be achieved, should still fall within the scope covered by the technical content disclosed by the present invention.

[0049] It should be noted that in the present invention, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise", or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device including a series of elements not only includes those elements explicitly listed, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article, or device.

[0050] As Figure 1 shown, the trackside safety platform generally adopts a redundant structure, including a first system and a second system. After one system is elevated to the main system, the other system is the standby system, and only the main system can output application messages to the peripherals. Both systems of the trackside safety platform are connected to the manual switching module, and through the manual switching module, the main system and the standby system can be switched according to needs.

[0051] The manual switching module also includes two sub-modules, namely the SA board and the SB board, both of which are set with dual channels and are both connected to the two systems of the trackside safety platform. Relays are provided in both the SA board and the SB board, and the relay states of the SA board and the SB board are mutually exclusive: when the relay of the SA board is pulled in, the relay of the SB board will surely not be pulled in, and vice versa. The corresponding relationship between the SA board and the SB board and the two systems of the trackside safety platform can be set. If the SA board corresponds to the first system and the SB board corresponds to the second system, then when the relay state of the SA board is continuously pulled in for a certain period of time, the first system can be switched and elevated to the main system; when the relay state of the SB board is continuously pulled in for a certain period of time, the second system can be switched and elevated to the main system; if the SA board corresponds to the second system and the SB board corresponds to the first system, the above causal relationship is exchanged accordingly.

[0052] This embodiment takes the communication between the SA board in the manual switching module and the trackside safety platform as an example, asFigure 2 As shown in the figure, a method for judging the continuity of the relay state of the manual switching module of the trackside safety platform of the present invention is described. The method includes the following steps:

[0053] S1. The SA board continuously collects the relay state of the manual switching module and records the collected data;

[0054] The SA board continuously collects the states of the relays of the SA board and the SB board, which are either picked up or dropped, and records the obtained relay states and other relevant collected data. Specifically, it includes the following steps;

[0055] S11. Set a relay state collection times value count. Each time the SA board collects the relay state of the manual switching module, the relay state collection times value count is incremented by one;

[0056] S12. The SA board is set with two channels, namely the first channel and the second channel. Each time the SA board collects the relay state, the relay state check words of the first channel and the second channel are calculated for this time;

[0057] The relay state check word can be calculated based on the previous relay state check word, the current relay state collection times value count, and the relay state obtained from this collection.

[0058] The relay state check word of the first channel is StateChkWrd1(n), and its calculation formula is as follows: StateChkWrd1(n) = StateChkWrd1(n - 1) × NISAL1(TRUE / FALSE)^PD_result % PRIME1; The relay state check word of the second channel is StateChkWrd2(n), and its calculation formula is as follows: StateChkWrd2(n) = StateChkWrd2(n - 1) × NISAL2(TRUE / FALSE)^PD_result % PRIME2.

[0059] Among them, n is the collection times, StateChkWrd1(n - 1) and StateChkWrd2(n - 1) are the relay state check words obtained from the previous calculation; NISAL1(TRUE / FALSE) and NISAL2(TRUE / FALSE) are respectively the state contents of the relays of the SA board and the SB board collected by the SA board this time; PD_result is the result obtained by performing a PD (proportional - derivative control) operation on the start and end addresses where the SA board stores the collected data and the relay state collection times value count after the SA board performs memory refresh; PRIME1 and PRIME2 are two different large prime numbers greater than 10000, which have been preset in advance.

[0060] When the relay state of the SA board is picked up, NISAL1 (TRUE / FALSE) ^ PD_result should be equal to the fixed value VALUE1. At the same time, the relay state of the SB board must be dropped. At this time, NISAL2 (TRUE / FALSE) ^ PD_result should be equal to the fixed value VALUE2; when the relay state collected by the SA board is dropped, NISAL1 (TRUE / FALSE) ^ PD_result should be equal to the fixed value VALUE3. At the same time, the relay state of the SB board must be picked up. At this time, NISAL2 (TRUE / FALSE) ^ PD_result should be equal to the fixed value VALUE4.

[0061] S2. One of the first system and the second system of the trackside safety platform sends a request message for applying for the main system (applying for the main system) to the SA board;

[0062] The parameters of the request message for applying for the main system include: the first channel check word sysChkWrd1, the second channel check word sysChkWrd2, the first channel timestamp VSN1, the second channel timestamp VSN2, the external system timestamp VSN0, and the mark for applying for the main system.

[0063] Among them, the first channel check word sysChkWrd1 = CVC_CHECKWORD_M1 ^ VSN0, and the second channel check word sysChkWrd2 = CVC_CHECKWORD_M2 ^ VSN0, where the CVC_CHECKWORD_M1 and CVC_CHECKWORD_M2 are fixed values and are the inherent parameters of the first channel and the second channel of the SA board respectively.

[0064] S3. Combining the received request message for applying for the main system with its own mask, the SA board calculates the main check words of the first channel and the second channel respectively, and replies with the relay state information to the trackside safety platform;

[0065] The main check word of the first channel of the SA board is sysChkWrdM1, and its calculation formula is sysChkWrdM1(n) = sysChkWrd1 ^ VSN1 ^ StateChkWrd1(n) ^ SA_Channel1_MASK, where sysChkWrd1 and VSN1 are the parameters in the request message for applying for the main system, StateChkWrd1(n) is the relay state check word of the first channel calculated in S1, and SA_Channel1_MASK is the mask of the first channel of the SA board.

[0066] The second-channel main check word of the SA board is sysChkWrdM2, and its calculation formula is sysChkWrdM2(n) = sysChkWrd2 ^ VSN2 ^ StateChkWrd2(n) ^ SA_Channel2_MASK, where sysChkWrd2 and VSN2 are parameters in the main request information, StateChkWrd2(n) is the relay status check word of the current second channel calculated in S1, and SA_Channel2_MASK is the mask of the second channel of the SA board.

[0067] The parameters of the relay status information replied by the SA board to the trackside safety platform include: the first-channel main check word sysChkWrdM1(n), the second-channel main check word sysChkWrdM2(n), the switching board card number (SA board or SB board, in this embodiment, the communication between the SA board and the trackside safety platform is taken as an example, so it is the SA board), the relay status acquisition times value count, the relay status (pulled up or dropped) of the SA board collected, and the external system timestamp VSN0. This external system timestamp VSN0 is a parameter in the main request information sent by the trackside safety platform to the SA board.

[0068] It should be noted that the SA board continuously collects the relay status of the manual switching module, and only replies the relay status information to the trackside safety platform after receiving the main request information; after replying the relay status information to the trackside safety platform, the SA board still continuously collects the relay status of the manual switching module.

[0069] S4. As Figure 3 shown, according to the received relay status information, the trackside safety platform calculates and judges whether the relay status is continuous, specifically including the following steps:

[0070] S41. Calculate the first relay status check word;

[0071] Specifically, the first relay status check word is calculated according to the relay status information replied by the SA board. The first relay status check word includes the first relay status check word RelayA_CurM1(n) of the first channel of the SA board and the first relay status check word RelayA_CurM2(n) of the second channel of the SA board, and its calculation formula is as follows:

[0072] RelayA_CurM1(n) = sysChkWrdM1(n) ^ CVC_CHECKWORD_M1 ^ VSN0 ^ VSN1 ^ SA_Channel1_MASK;

[0073] RelayA_CurM2(n) = sysChkWrdM2(n) ^ CVC_CHECKWORD_M2 ^ VSN0 ^ VSN2 ^ SA_Channel2_MASK;

[0074] S42. Calculate the second relay status verification word according to the set fixed array;

[0075] S421. Generate a fixed array according to the determination requirement;

[0076] Since only the continuity of the relay status needs to be determined, and relays are provided on both the SA board and the SB board, the statuses to be considered include: the relay on the SA board continuously pulling in, the relay on the SA board continuously dropping out, the relay on the SB board continuously pulling in, and the relay on the SB board continuously dropping out. Also, since both the SA board and the SB board are of dual-channel design, a total of 8 fixed arrays need to be designed.

[0077] In this embodiment, the SA board is taken as an example, and only the case where the relay on the SA board continuously pulls in is used as an example to give its code rule.

[0078] Set the relay on the SA board to continuously pull in. The fixed array corresponding to the first channel of the SA board is Fixarray1, and the fixed array corresponding to the second channel of the SA board is Fixarray2. Its calculation method is as follows:

[0079] According to what is described in S1, take VALUE1 as the fixed value of the first channel when the relay on the SA board pulls in; take VALUE2 as the fixed value of the second channel when the relay on the SA board pulls in.

[0080] Define Fixarray1[0] = 1; Fixarray2[0] = 1; Obtain the fixed arrays Fixarray1 and Fixarray2 according to the following formula:

[0081] Fixarray1[n + 1] = Fixarray1[n] × VALUE1 % PRIME1;

[0082] Fixarray2[n + 1] = Fixarray2[n] × VALUE2 % PRIME2;

[0083] Thus, the fixed arrays Fixarray1 and Fixarray2 are obtained.

[0084] The detailed code is as follows:

[0085]

[0086] Fixarray1 is TempValueOut1, and Fixarray2 is TempValueOut2.

[0087] S422. The second relay status verification word is obtained according to the fixed array. The second relay status verification word includes the second relay status verification word RelayA_CalcM1(n) of the first channel of the SA board and the second relay status verification word RelayA_CalcM2(n) of the second channel of the SA board. Since the SA board still continuously collects the relay status after replying the relay status information to the trackside safety platform, and it will only reply the information to the trackside safety platform according to the collected data at that time after receiving the master request from the trackside safety platform. Assuming that there are x times of collection intervals between two replies of the SA board to the trackside safety platform, then the calculation formulas of the second relay status verification word are respectively

[0088] RelayA_CalcM1(n) = ((RelayA_CurM1(n - x) × Fixarray1[CheckPos]) % PRIME1);

[0089] RelayA_CalcM2(n) = ((RelayA_CurM2(n - x) × Fixarray2[CheckPos]) % PRIME2),

[0090] where RelayA_CurM1(n - x) and RelayA_CurM2(n - x) are the first relay status verification words of the first channel and the second channel calculated according to the first channel master verification word and the second channel master verification word replied by the SA board to the trackside safety platform after receiving the master request last time. CheckPos = the current relay status collection times value count - the previous relay status collection times value count, that is, x.

[0091] S43. Compare whether the first relay status verification word and the second relay status verification word are correspondingly equal. If they are equal, it means that the relays of the SA board are continuously pulled in. If they are not equal, it means that the relay status of the SA board is not continuously pulled in. The formula derivation is as follows:

[0092] Assume that the relays of the SA board are continuously pulled in, then the derivation process is as follows:

[0093] Based on RelayA_CurM1(n) = sysChkWrdM1(n) ^ CVC_CHECKWORD_M1 ^ VSN0 ^ VSN1 ^ SA_Channel1_MASK;

[0094] where,

[0095] sysChkWrdM1(n) = sysChkWrd1 ^ VSN1 ^ StateChkWrd1(n)

[0096] ^ SA_Channel1_MASK;

[0097] sysChkWrd1 = CVC_CHECKWORD_M1 ^ VSN0 = StateChkWrd1(n)

[0098] Therefore,

[0099] RelayA_CurM1(n)

[0100] = StateChkWrd1(n)

[0101] = StateChkWrd1(n - 1) × VALUE1 % PRIME1

[0102] = StateChkWrd1(n - x) × VALUE1 x % PRIME1

[0103] = (RelayA_CurM1(n - x) × Fixarray1[x]) % PRIME1

[0104] = (RelayA_CurM1(n - x) × Fixarray1[CheckPos]) % PRIME1

[0105] = RelayA_CalcM1(n)

[0106] The derivation process of the equality between RelayA_CalcM2 and RelayA_CurM2 is similar to the above. By contradiction, if RelayA_CurM1 = RelayA_CalcM1 and RelayA_CurM2 = RelayA_CalcM2, it proves that the relay on the SA board is continuously pulled in.

[0107] On the contrary, if the relay on the SA board is not continuously pulled in but its state has changed, then in the calculation of RelayA_CurM1, it will not be the product of checkpos VALUE1s, but there will be other collected fixed values (such as VALUE3), so it is not equal to RelayA_CalcM1.

[0108] Therefore, by judging whether the first relay state check word and the second relay state check word are equal, it can be determined whether the relay on the SA board is continuously pulled in. Only when the relay is continuously pulled in can the first or second system in the corresponding trackside safety system be promoted to the main system.

[0109] Although this embodiment is described by taking the SA board as an example, in actual situations, the SA board and the SB board work synchronously. The SB board also collects the relay status, and the main request of the trackside safety platform is also sent to the SB board. Considering the safety mutual exclusion of the relays of the SA board and the SB board, they can be compared with each other to make the judgment result more accurate.

[0110] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be recognized that the above description should not be regarded as a limitation of the present invention. After those skilled in the art have read the above content, various modifications and substitutions of the present invention will be obvious. Therefore, the protection scope of the present invention should be defined by the appended claims.

Claims

1. A method for judging the continuity of the relay state of a manual switching module, the manual switching module includes a first board and a second board with the same functions and structures, and relays with safety mutual exclusion are provided therein; both the first board and the second board are set with two channels, and is characterized in that, It includes the following steps: S1. The manual switching module continuously collects the relay status and records the collected data; S2. A certain system of the trackside safety platform sends a main request message to the first board and the second board of the manual switching module; S3. According to the received main request message and its own mask, the first board and the second board respectively calculate the main check words of the dual channels and reply with the relay status information to the trackside safety platform; S4. According to the received relay status information, the trackside safety platform calculates and judges whether the relay status is continuous; The step S1 includes the following steps: S11. Set a relay status collection times value. Each time the manual switching module collects the relay status of the manual switching module, increment this relay status collection times value by one; S12. Each time the manual switching module collects the relay status of the manual switching module, calculate the relay status check words of the dual channels of the first board and the second board once; The calculation formula of the relay status check word is: StateChkWrd(n) = StateChkWrd(n - 1) × NISAL(TRUE / FALSE)^PD_result % PRIME; where, StateChkWrd(n) is the relay status check word this time, StateChkWrd(n - 1) is the relay status check word last time, NISAL(TRUE / FALSE) is the collected relay content, PD_result is the result obtained by performing a PD operation on the start and end addresses storing the collected data in the manual switching module and the relay status collection times value, and PRIME is a large prime number; According to the different states of the relay in the manual switching module being pulled in or dropped, NISAL(TRUE / FALSE)^PD_result is a different fixed value VALUE; The main request message includes: dual-channel check word, dual-channel timestamp, external system timestamp, and main system application flag; the calculation formula of the channel check word is sysChkWrd = CVC_CHECKWORD_M^VSN0; where, sysChkWrd is the channel check word, CVC_CHECKWORD_M is the inherent parameter of the channel, and VSN0 is the external system timestamp; In step S3, the calculation formula of the main check word of the channel is: sysChkWrdM(n) = sysChkWrd^VSNX^StateChkWrd(n)^ SA_Channel_MASK; where, sysChkWrdM(n) is the main check word of the channel, VSNX is the channel timestamp of this channel, and SA_Channel_MASK is the mask of this channel; The relay status information replied to the trackside safety platform includes: dual-channel main check word, switching board card number, relay status collection times value, relay status of the manual switching module this time, and external system timestamp.

2. The method for judging the continuity of the relay state of the manual switching module according to claim 1, characterized in that, The step S4 further includes the following steps: S41. Calculate the first relay status check word; S42. Calculate the second relay status check word according to the set fixed array; S43. Compare whether the first relay status verification word and the second relay status verification word are exactly equal. If they are equal, it indicates that the relays of the manual switching module are continuously pulled in. If they are not equal, it indicates that the relay status of the manual switching module is not continuously pulled in.

3. The method for judging the continuity of the relay state of the manual switching module according to claim 2, wherein, The first relay status verification word is calculated based on the information replied by the manual switching module to the trackside safety platform. The first relay status verification word includes a dual-channel first relay status verification word.

4. A method for judging the continuity of the relay state of the manual switching module according to claim 3, characterized in that, The calculation formula of the first relay status verification word is: RelayA_CurM(n) = sysChkWrdM(n) ^ CVC_CHECKWORD_M ^ VSN0 ^ VSNX ^ SA_Channel_MASK; where RelayA_CurM(n) is the first relay status verification word.

5. The method for judging the continuity of the relay state of the manual switching module according to claim 4, characterized in that, The step S42 further includes the following steps: S421. Generate a fixed array Fixarray according to the determination requirement. S422. Calculate the dual-channel second relay status verification word based on the generated fixed array Fixarray.

6. The method for judging the continuity of the relay state of the manual switching module according to claim 5, wherein The calculation formula of the second relay status verification word is: RelayA_CalcM(n) = ((RelayA_CurM(n - x) × Fixarray[CheckPos]) % PRIME); where RelayA_CalcM(n) is the second relay status verification word, RelayA_CurM(n - x) is the first relay status verification word calculated based on the dual-channel main verification word replied by the manual switching module to the trackside safety platform last time, and CheckPos is the result obtained by subtracting the previous relay status acquisition count value from the current relay status acquisition count value.

7. The method for judging the continuity of the relay state of the manual switching module according to claim 1, characterized in that When the relays of the first board or the second board are continuously pulled in, the corresponding trackside safety platform system can be promoted to the main system.

8. The method for judging the continuity of the relay state of the manual switching module according to claim 5, characterized in that, There are 8 fixed arrays, which respectively correspond to the continuous pulling in of the relays of the first board of the dual channel, the continuous dropping of the relays of the first board, the continuous pulling in of the relays of the second board, and the continuous dropping of the relays of the second board.

9. A method for judging the continuity of the relay state of the manual switching module according to claim 5, characterized in that, The rule for generating the fixed array is: Take VALUE as the fixed value. Define Fixarray[0] = 1; Generate the fixed array Fixarray according to Fixarray[n + 1] = Fixarray1[n] × VALUE % PRIME.

Citation Information

Patent Citations

  • Switch reluctance motor double master switch power converter master switch fault diagnosis method

    CN101666858A

  • Control switch method of main machine and standby machine

    CN103057572A