CN113391196A - Self-checking method for train-mounted speed measurement positioning board card - Google Patents
Self-checking method for train-mounted speed measurement positioning board card Download PDFInfo
- Publication number
- CN113391196A CN113391196A CN202110662065.2A CN202110662065A CN113391196A CN 113391196 A CN113391196 A CN 113391196A CN 202110662065 A CN202110662065 A CN 202110662065A CN 113391196 A CN113391196 A CN 113391196A
- Authority
- CN
- China
- Prior art keywords
- self
- checking
- cpu
- peak searching
- peak
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/3177—Testing of logic operation, e.g. by logic analysers
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Train Traffic Observation, Control, And Security (AREA)
Abstract
The invention provides a self-checking method for a train vehicle-mounted speed measurement positioning board card, which comprises a speed transmission self-checking step and a beacon self-checking step; the fast transmission self-checking step comprises: when the FPGA is electrified, a fast transmission self-checking square wave signal with corresponding frequency is generated based on a fast transmission self-checking command sent by a CPU, and the CPU judges whether the fast transmission self-checking is successful or not according to the pulse number of the fast transmission self-checking square wave signal in set time; the beacon self-checking step comprises the following steps: the FPGA generates a corresponding digital FSK signal according to a beacon self-checking command sent by the CPU, obtains an energy value of the digital FSK signal, the peak searching module performs peak searching calculation on the energy value larger than a peak searching initial threshold value, and the CPU judges whether beacon self-checking of the positioning board card succeeds or not according to a peak searching result of the peak searching module and the energy value stored by the energy register.
Description
Technical Field
The invention relates to the technical field of rail transit, in particular to a self-checking method for a train-mounted speed-measuring positioning board card.
Background
The train speed measurement and positioning mainly includes continuously measuring the running speed of a train, integrating the instant speed of the train to obtain the running distance of the train, and assisting other positioning methods (such as inquiry-transponder positioning and electronic map matching) to obtain the position information of the train.
There are many devices for measuring the speed of a train, such as a pulse rate sensor, a doppler radar, a GNSS (Global Navigation Satellite System), and the like. The development of the pulse speed sensor technology is relatively mature, the pulse speed sensor technology is relatively simple to realize in practical application, and high-precision and digital vehicle speed and distance information can be provided, so that the pulse speed sensor technology is widely applied in recent years.
The transponder positioning method is also an auxiliary train positioning mode widely adopted at present, and the accurate position of the train can be obtained by judging the time of the central point of the transponder through peak searching and the geographical position information stored in the transponder.
In the transponder positioning method, the speed measurement positioning of the train depends on the processing of the FPGA of the train-mounted speed measurement positioning board card on an external speed transmission signal and a transponder signal, and if the FPGA logic processing function of the train-mounted speed measurement positioning board card has a fault, the accuracy and reliability of the whole train speed measurement positioning can be influenced. Therefore, when the board card is powered on, the self-checking of the FPGA logic function of the train vehicle-mounted speed measuring and positioning board card is vital.
Disclosure of Invention
The invention aims to provide a self-checking method for a train vehicle-mounted speed-measuring positioning board card, which can be used for self-checking the vehicle-mounted speed-measuring positioning board card when the vehicle-mounted speed-measuring positioning board card is electrified, so that the safety of a vehicle-mounted system is ensured.
In order to achieve the above object, the present invention provides a self-checking method for a train vehicle-mounted speed measurement positioning board, where the positioning board includes an FPGA and a CPU, the CPU communicates with the FPGA through a driving interface, the FPGA includes a signal generation module, a reading module, and a peak finding module, and the self-checking method includes a fast transmission self-checking step, a beacon self-checking step, and a double board 2oo2 self-checking result checking:
the fast transmission self-checking step comprises the following steps:
when the FPGA is electrified, a fast-transmission self-detection command is sent to the FPGA through a CPU, and the fast-transmission self-detection command comprises a fast-transmission self-detection signal period; the signal generating module generates a fast transmission self-detection square wave signal with corresponding frequency according to the period of the fast transmission self-detection signal; the CPU obtains the pulse number of the fast transmission self-checking square wave signal within a set time, and if the difference between the pulse number and the expected pulse number stored in the CPU exceeds a set pulse difference threshold value, the fast transmission self-checking failure of the positioning board card is judged;
the beacon self-checking step comprises: when the FPGA is electrified, a beacon self-checking command is sent to the FPGA through the CPU, and a signal generation module generates a corresponding digital FSK signal according to the beacon self-checking command;
the reading module acquires the energy value of the digital FSK signal and stores the energy value into an energy register of the FPGA according to a time sequence; the peak searching module performs peak searching calculation on the energy value greater than the peak searching initial threshold value;
and the GPU judges whether beacon self-checking of the positioning board card is successful or not according to the peak searching result of the peak searching module and the energy value stored by the energy register.
Optionally, the period of the fast self-test signal includes: first self-test period T1Second self-test period T2And a third self-test period T3Wherein T is1<T2<T3。
Optionally, the beacon self-check command includes: a self-checking command of low amplitude of the in-band low frequency point signal; the beacon self-checking step comprises:
s11, the CPU sends an in-band low-frequency point signal low-amplitude self-checking command to the FPGA, and the FPGA generates a corresponding low-frequency point low-amplitude digital FSK signal based on the received in-band low-frequency point signal low-amplitude self-checking command; the energy of the low-frequency point low-amplitude digital FSK signal is smaller than the peak searching starting threshold value;
s12, if the CPU receives a peak searching success signal or a peak searching overtime interrupt signal sent by the peak searching module within the set time T, the CPU judges that the beacon self-check fails; otherwise, go to S13; t < T ', and T' is the peak searching time length upper limit value of the peak searching module;
s13, the CPU reads the energy value stored by the energy register; if the energy value is larger than the peak searching starting threshold value, the CPU judges that the in-band low frequency point signal low amplitude self-checking of the beacon fails, and the positioning board card is down; otherwise, the CPU judges that the in-band low frequency point signal low amplitude self-checking of the beacon is successful.
Optionally, the beacon self-check command further includes: a self-checking command of low amplitude of the in-band high frequency point signal; the beacon self-checking step further comprises:
s21, the CPU sends an in-band high-frequency point signal low-amplitude self-checking command to the FPGA, and the FPGA generates a corresponding high-frequency point low-amplitude digital FSK signal based on the received in-band high-frequency point signal low-amplitude self-checking command; the energy of the high-frequency point low-amplitude digital FSK signal is smaller than the peak searching starting threshold value, and the frequency of the high-frequency point low-amplitude digital FSK signal is higher than that of the low-frequency point low-amplitude digital FSK signal;
s22, if the CPU receives a peak searching success signal or a peak searching overtime interrupt signal sent by the peak searching module within the set time T, the CPU judges that the beacon self-check fails; otherwise, go to S23; t < T ', and T' is the peak searching time length upper limit value of the peak searching module;
s23, the CPU reads the energy value stored by the energy register; if the energy value is larger than the peak searching starting threshold value, the CPU judges that the in-band high frequency point signal low amplitude self-checking of the beacon fails, and the positioning board card is down; otherwise, the CPU judges that the in-band high-frequency point signal low-amplitude self-check of the beacon is successful.
Optionally, the beacon self-check command further includes: a high-amplitude self-checking command of an in-band low-frequency point signal; the beacon self-checking step further comprises:
s31, the CPU receives and stores the peak searching failure count value and the peak searching success count value sent by the FPGA;
s32, the CPU sends an in-band low-frequency point signal high-amplitude self-checking command to the FPGA, and the FPGA generates a corresponding low-frequency point high-amplitude digital FSK signal based on the received in-band low-frequency point signal high-amplitude self-checking command; the energy of the low-frequency high-amplitude digital FSK signal is greater than the peak searching starting threshold value;
s33, if the CPU receives a peak searching success signal or a peak searching overtime interrupt signal sent by the peak searching module within the set time T, the CPU judges that the in-band low frequency point signal high amplitude self-checking of the beacon fails; otherwise, go to S34; wherein T < T ', T' is the peak searching time length upper limit value of the peak searching module;
s34, the CPU reads the energy value stored by the energy register; if the energy value is smaller than the peak searching starting threshold value, the CPU judges that the in-band low frequency point signal high amplitude self-checking of the beacon fails, and the positioning board card is down; otherwise, go to S35;
s35, CPU continuously waits for a set time length TCS(ii) a If in the duration TCSThe CPU receives a peak searching overtime interrupt signal sent by the peak searching module and enters S36; otherwise, the CPU judges that the self-checking of the high amplitude of the in-band low frequency point signal of the beacon fails, and the positioning board is down;
s36, the FPGA updates the stored peak searching failure count value and peak searching success count value and sends the values to the CPU; if the CPU judges that the received peak searching failure count value is increased by 1 compared with the peak searching failure count value stored by the CPU in the step S31, and the received peak searching success count value is equal to the peak searching success count value stored by the CPU in the step S31, the CPU judges that the in-band low frequency point signal low amplitude self-checking of the beacon is successful, and the CPU updates the stored peak searching failure count value; otherwise, the CPU judges that the self-checking of the high amplitude of the in-band low frequency point signal of the beacon fails, and the board card is down.
Optionally, the beacon self-check command further includes: a high-amplitude self-checking command of an in-band high-frequency point signal; the beacon self-checking step further comprises:
s41, the CPU receives and stores the peak searching failure count value and the peak searching success count value sent by the FPGA;
s42, the CPU sends an in-band high-frequency point signal high-amplitude self-checking command to the FPGA, and the FPGA generates a corresponding high-frequency point high-amplitude digital FSK signal based on the received in-band high-frequency point signal high-amplitude self-checking command; the energy of the high-frequency point high-amplitude digital FSK signal is greater than a peak searching starting threshold value; the frequency of the high-frequency point high-amplitude digital FSK signal is higher than that of the low-frequency point high-amplitude digital FSK signal;
s43, if the CPU receives a peak searching success signal or a peak searching overtime interrupt signal sent by the peak searching module within the set time T, the CPU judges that the in-band high frequency point signal high amplitude self-checking of the beacon fails; otherwise, go to S44; wherein T < T ', T' is the peak searching time length upper limit value of the peak searching module;
s44, the CPU reads the energy value stored by the energy register; if the energy value is smaller than the peak searching starting threshold value, the CPU judges that the in-band high frequency point signal high amplitude self-checking of the beacon fails, and the positioning board card is down; otherwise, go to S45;
s45, CPU continuously waits for a set time length TCS(ii) a If in the duration TCSThe CPU receives a peak searching overtime interrupt signal sent by the peak searching module and enters S36; otherwise, the CPU judges that the self-checking of the high amplitude of the in-band high frequency point signal of the beacon fails, and the positioning board is down;
s46, the FPGA updates the stored peak searching failure count value and peak searching success count value and sends the values to the CPU; if the CPU judges that the received peak searching failure count value is increased by 1 compared with the peak searching failure count value stored by the CPU in the step S41, and the received peak searching success count value is equal to the peak searching success count value stored by the CPU in the step S41, the CPU judges that the in-band high frequency point signal high amplitude value self-checking of the beacon is successful, and the CPU updates the stored peak searching failure count value; otherwise, the CPU judges that the self-checking of the high amplitude of the in-band high frequency point signal of the beacon fails, and the positioning board card is down.
Optionally, the beacon self-check command further includes: a self-checking command of the peak value envelope of the in-band low-frequency point signal; the beacon self-checking step further comprises:
s51, the CPU receives and stores the peak searching failure count value and the peak searching success count value sent by the FPGA;
s52, the CPU sends an in-band low-frequency point signal peak envelope self-checking command to the FPGA, and the FPGA generates a corresponding low-frequency envelope digital FSK signal based on the received in-band low-frequency point signal peak envelope self-checking command; the peak searching module can obtain peak value time through peak searching calculation in the period of the low-frequency envelope digital FSK signal;
s53, when the peak searching is successful, the peak searching module updates the peak searching success count value inside the peak searching module and sends the updated peak searching success count value and the peak time to the CPU; if the CPU judges that the received peak searching success count value is increased by 1 compared with the peak searching success count value stored in the CPU, the CPU increases the stored peak searching success count value by 1 and enters S54; otherwise, the CPU judges that the self-checking of the in-band low-frequency point signal peak value envelope of the beacon fails, and the board card is positioned to be down;
s54, CPU calculates the interval duration of two adjacent peak time, if the interval duration is larger than the set interval duration TjgThe CPU judges that the self-checking of the in-band low-frequency point signal peak value envelope of the beacon fails, and a board card is positioned to be down; otherwise, the CPU judges that the self-checking of the in-band low-frequency point signal peak value envelope of the beacon is successful.
Optionally, the beacon self-check command further includes: a self-checking command of the peak value envelope of the in-band high-frequency point signal; the beacon self-checking step further comprises:
s61, the CPU receives and stores the peak searching failure count value and the peak searching success count value sent by the FPGA;
s62, the CPU sends an in-band high-frequency point signal peak envelope self-checking command to the FPGA, and the FPGA generates a corresponding high-frequency envelope digital FSK signal based on the received in-band high-frequency point signal peak envelope self-checking command; the peak searching module can obtain peak value time through peak searching calculation in the period of the high-frequency envelope digital FSK signal; the frequency of the high-frequency envelope digitized FSK signal is higher than that of the low-frequency envelope digitized FSK signal;
s63, when the peak searching is successful, the peak searching module updates the peak searching success count value inside the peak searching module and sends the updated peak searching success count value and the peak time to the CPU; if the CPU judges that the received peak searching success count value is increased by 1 compared with the peak searching success count value stored in the CPU, the CPU increases the stored peak searching success count value by 1 and enters S64; otherwise, the CPU judges that the self-checking of the in-band high-frequency point signal peak value envelope of the beacon fails, and the board card is positioned to be down;
s64, CPU calculates the interval duration of two adjacent peak time, if the interval duration is larger than the set interval duration TjgThe CPU judges that the self-checking of the in-band high-frequency point signal peak value envelope of the beacon fails, and a board card is positioned to be down; otherwise, the CPU judges that the self-checking of the in-band high-frequency point signal peak value envelope of the beacon is successful.
Optionally, after the fast transmission self-checking step and the beacon self-checking step are completed, the signal source of the reading module is switched to an external signal source. Optionally, the checking of the self-test result of the dual board card 2oo2 includes the steps of:
s71, two train vehicle speed measurement positioning board cards are adopted and respectively marked as a first positioning board card and a second positioning board card; the CPU of the first positioning board card and the CPU of the second positioning board card both store the pulse difference threshold;
s72, the first positioning board card carries out speed transmission self-checking and sends a speed transmission self-checking command generated by the CPU of the first positioning board card to the CPU of the second positioning board card;
s73, the CPU of the first positioning board card sends the pulse number generated by the FPGA of the first positioning board card to the CPU of the second positioning board card; the CPU of the second positioning board card judges whether the fast transmission self-check of the first positioning board card is successful or not according to the received pulse number and the stored pulse difference threshold value;
s74, the first positioning board card performs beacon self-check and sends a beacon self-check command generated by the CPU of the first positioning board card to the CPU of the second positioning board card;
s75, the CPU of the first positioning board card sends a peak searching result generated by the FPGA of the first positioning board card to the CPU of the second positioning board card; and the CPU of the second positioning board card judges whether the fast transmission self-check of the first positioning board card is successful or not according to the received peak searching result.
Compared with the prior art, the invention has the beneficial effects that:
1) according to the self-checking method for the train vehicle-mounted speed measurement positioning board card, before the vehicle-mounted speed measurement positioning board card runs, the speed transmission acquisition function of the positioning board card is self-checked, and the fact that the bottom layer logic function runs normally is confirmed, so that the accuracy of the FPGA speed transmission acquisition function is better guaranteed, and the safety of a vehicle-mounted system is guaranteed.
2) According to the self-checking method for the train vehicle-mounted speed-measuring positioning board card, before the vehicle-mounted speed-measuring positioning board card runs, the beacon peak-finding function of the positioning board card is self-checked, and the positioning board card is confirmed to normally find the peak, so that the correctness of the beacon peak-finding result of the positioning board card is better guaranteed, and the safety of a vehicle-mounted system is guaranteed.
3) The scheme realizes the comparison of the self-checking result by 2oo2, prevents the self-checking failure of the single board card, and better ensures the accuracy and reliability of the train speed-measuring positioning result.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description will be briefly introduced, and it is obvious that the drawings in the following description are an embodiment of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts according to the drawings:
fig. 1 is a schematic diagram illustrating a fast-forwarding self-test step of a self-test method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a self-checking step of in-band low frequency point signal low amplitude value according to the self-checking method in the embodiment of the present invention;
fig. 2A is a schematic diagram illustrating a low amplitude self-checking step of an in-band high frequency point signal according to the self-checking method in the embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a high amplitude self-inspection step of an in-band low frequency point signal according to the self-inspection method of the present invention in an embodiment;
fig. 3A is a schematic diagram illustrating a high amplitude self-inspection step of an in-band high frequency point signal according to the self-inspection method in the embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a self-inspection step of an in-band low frequency point signal peak envelope in the self-inspection method according to the embodiment of the present invention;
fig. 4A is a schematic diagram illustrating a self-checking step of an in-band high frequency point signal peak envelope in the self-checking method according to the embodiment of the present invention;
FIG. 5 is a schematic diagram of an embodiment of a vehicle-mounted positioning board card connected with an external signal source and a CPU;
in the figure: 101. a transponder; 102. an antenna module; 103. an A/D conversion module; 104. a transfer switch; 105. a signal generation module; 106. a reading module; 107. a comparison module; 108. an energy register; 109. a peak searching module; 110. an FPGA; 111. a CPU.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Beacons are physical markers installed along a line that reflect the absolute position of the line (other information may also be provided such as the slope, camber, etc. of the line). Generally, a passive beacon is used, and when a train passes through the position of the beacon, electromagnetic waves emitted by a vehicle-mounted antenna excite the beacon to work and transmit absolute position information to the train. The position information provided by the beacon can reach the centimeter level precision.
As train operation speeds continue to increase, the transponder 101 becomes an important infrastructure in high speed train control systems. When a train passes above the transponder 101, the transponder 101 converts electromagnetic energy transmitted by the vehicle-mounted antenna into electric energy after receiving the electromagnetic energy, so that an electronic circuit in the transponder 101 works to circularly transmit data stored in the transponder 101 until the electric energy disappears (namely, the vehicle-mounted antenna leaves). The data transmitted by the transponder 101 contains the line basic parameters, the line speed, the temporary speed limit, etc. The accurate position of the train can be obtained by searching the peak through the vehicle-mounted speed measuring and positioning board card of the train to judge the time of the central point of the transponder and the geographical position information stored in the transponder 101.
The antenna module 102 on the train roof converts the data transmitted by the transponder 101 into a corresponding FSK (Frequency Shift Keying) signal, which is an analog signal. The data transmitted by the transponder 101 can be regarded as energy, and the closer to the center of the vehicle, the stronger the energy, and the larger the energy (amplitude) of the FSK signal generated by the antenna module 102.
As shown in fig. 5, an antenna module 102 on the train on board the train receives an analog FSK signal (as an external signal source) wirelessly transmitted by a transponder 101, and an a/D conversion module 103 converts the analog FSK signal into a corresponding digital FSK signal. The positioning board card comprises an FPGA110 and a CPU111, and the CPU111 is communicated with the FPGA110 through a driving interface. The FPGA110 includes a signal generating module 105 (which is an internal signal source and generates another corresponding digital FSK signal according to a command of the CPU 111), a reading module 106, an energy register 108, and a peak searching module 109. The change-over switch 104 is connected between the a/D conversion module 103 and the signal generation module 105, and the digital FSK signal of the external signal source or the internal signal source is selectively input to the reading module 106 through the change-over switch 104.
The energy value of the input digital FSK signal is obtained by the reading module 106. As shown in fig. 5, in the embodiment of the present invention, the FPGA110 further comprises a comparing module 107, and the comparing module 107 is disposed between the output end of the reading module 106 and the input end of the peak finding module 109. The comparing module 107 receives the energy value sent by the reading module 106, compares the energy value with a peak searching start threshold value set therein, and transmits the energy value to the peak searching module 109 if the energy value is greater than the peak searching start threshold value. The peak finding module 109 performs peak finding calculation on the energy value greater than the peak finding start threshold.
The invention provides a self-checking method for a train vehicle-mounted speed measurement positioning board card, which comprises a speed transmission self-checking step, a beacon self-checking step and double board card 2oo2 self-checking result verification. In the invention, beacon self-checking is continued after the rapid transmission self-checking is finished.
The fast transmission self-checking step comprises the following steps:
the signal source of the read module 106 is switched to the internal signal source. When the FPGA110 is powered on, a fast transmission self-detection command is sent to the FPGA110 through the CPU111, wherein the fast transmission self-detection command comprises a fast transmission self-detection signal period; the signal generating module 105 generates a fast transmission self-checking square wave signal with a corresponding frequency according to the fast transmission self-checking signal period; the CPU111 obtains the pulse number of the fast transmission self-checking square wave signal within a set time (50 ms in the embodiment of the present invention) through the driving interface, and if the difference between the pulse number and the expected pulse number stored in the CPU111 exceeds a set pulse difference threshold, it is determined that the fast transmission self-checking of the positioning board card fails.
In the step of the fast self-test according to the embodiment of the present invention, as shown in fig. 1, the low speed is sequentially tested (having a first self-test period T)1Corresponding to steps f 1-f 4 in FIG. 1, medium speed (having a second self-test period T)2Corresponding to steps f 5-f 8 in FIG. 1, high speed (with a third self-test period T)3Corresponding to steps f 9-f 12) in fig. 1). Wherein T is1、T2、T3And the corresponding pulse difference threshold values are shown in table 1.
TABLE 1
The beacon self-checking step comprises: the method comprises the steps of self-checking of low amplitude of an in-band low-frequency point signal, self-checking of low amplitude of an in-band high-frequency point signal, self-checking of high amplitude of an in-band low-frequency point signal, self-checking of high amplitude of an in-band high-frequency point signal, self-checking of peak envelope of an in-band low-frequency point signal and self-checking of peak envelope of an in-band high-frequency point signal.
In the embodiment of the present invention, after the fast transmission self-check is completed, the in-band low frequency point signal low amplitude self-check is performed, as shown in fig. 2, the method includes the steps of:
s11, the CPU111 sends an in-band low-frequency point signal low-amplitude self-detection command to the FPGA110, and the FPGA110 generates a corresponding low-frequency point low-amplitude digital FSK signal based on the received in-band low-frequency point signal low-amplitude self-detection command; in the actual beacon peak searching process, the energy of the digital FSK signal changes from low to high and then changes to low, the peak searching module 109 starts to search the peak only when the energy of the digital FSK signal is greater than the peak searching starting threshold, and since the energy of the low-amplitude digital FSK signal at the low frequency point is less than the peak searching starting threshold, the peak searching module 109 cannot start to search the peak in the low-amplitude digital FSK signal at the low frequency point, and the peak time is obtained through peak searching calculation;
s12, if the CPU111 receives the peak searching success signal or the peak searching timeout interrupt signal sent by the peak searching module 109 within the set time T, the CPU111 determines that the beacon self-check fails; otherwise, go to S13; t < T ', T' is the peak searching time length upper limit value of the peak searching module 109;
s13, the CPU111 reads the energy value stored in the energy register 108; if the energy value is larger than the peak searching starting threshold value, the CPU111 judges that the in-band low frequency point signal low amplitude self-checking of the beacon fails, and the board card is positioned to be down; otherwise, the CPU111 determines that the in-band low-frequency signal low-amplitude self-check of the beacon is successful.
In the embodiment of the present invention, after completing the low amplitude self-check of the in-band low frequency point signal, the in-band high frequency point signal low amplitude self-check is performed, as shown in fig. 2A, the method includes the steps of:
s21, the CPU111 sends an in-band high frequency point signal low amplitude self-checking command to the FPGA110, and the FPGA110 generates a corresponding high frequency point low amplitude digital FSK signal based on the received in-band high frequency point signal low amplitude self-checking command; the energy of the high-frequency point low-amplitude digital FSK signal is smaller than the peak searching starting threshold, so that the peak searching module 109 cannot obtain the peak time through peak searching calculation in the high-frequency point low-amplitude digital FSK signal; the frequency of the high-frequency point low-amplitude digital FSK signal is higher than that of the low-frequency point low-amplitude digital FSK signal;
s22, if the CPU111 receives the peak searching success signal or the peak searching overtime interrupt signal sent by the peak searching module within the set time T, the CPU111 judges that the beacon self-check fails; otherwise, go to S23; t < T ', T' is the peak searching time length upper limit value of the peak searching module 109
S23, the CPU111 reads the energy value stored in the energy register 108; if the energy value is smaller than the peak searching starting threshold value, the CPU111 judges that the in-band high frequency point signal low amplitude self-checking of the beacon fails, and the board card is positioned to be down; otherwise, the CPU111 determines that the in-band high-frequency signal low-amplitude self-check of the beacon is successful.
In the embodiment of the present invention, after completing the low amplitude self-check of the in-band high frequency point signal, the in-band low frequency point signal high amplitude self-check is performed, as shown in fig. 3, which includes the steps of:
s31 and the CPU111 receive and store the peak searching failure count value and the peak searching success count value sent by the FPGA110, and in the embodiment of the present invention, the peak searching failure count value and the peak searching success count value may be stored in the peak searching module 109;
s32, the CPU111 sends an in-band low-frequency point signal high-amplitude self-checking command to the FPGA110, and the FPGA110 generates a corresponding low-frequency point high-amplitude digital FSK signal based on the received in-band low-frequency point signal high-amplitude self-checking command; the energy of the low-frequency high-amplitude digital FSK signal is greater than a peak searching starting threshold value; successful peak finding requires that the energy of the digitized FSK signal applied to peak finding increases over time, with a transition from low (less than the peak finding onset threshold) to high (greater than the peak finding onset threshold) to low (less than the peak finding onset threshold), and high frequency points have no transition in the energy of the digitized FSK signal of high amplitude, so that successful peak finding is not possible. Therefore, the peak searching module 109 cannot obtain the peak time through peak searching calculation in the digital FSK signal with the low frequency point and high amplitude;
s33, if the CPU111 receives the peak searching success signal or the peak searching overtime interrupt signal sent by the peak searching module 109 within the set time T, the CPU111 judges that the in-band low frequency point signal high amplitude self-checking of the beacon fails; otherwise, go to S34; wherein T < T ', T' is the peak searching time length upper limit value of the peak searching module 109;
s34, the CPU111 reads the energy value stored in the energy register 108 within the set time T; if the energy value is smaller than the peak searching starting threshold value, the CPU111 judges that the in-band low frequency point signal high amplitude self-checking of the beacon fails, and the board card is positioned to be down; otherwise, go to S35;
s35, CPU111 continues waiting for a set time period TCS(ii) a If in the duration TCSIn the process, the CPU111 receives the peak searching timeout interrupt signal sent by the peak searching module 109, and proceeds to S36; otherwise, the CPU111 determines that the in-band low-frequency point signal high amplitude self-checking of the beacon fails, and locates the board card down;
s36, FPGA110 updates the stored peak searching failure count value and peak searching success count value and sends the values to CPU 111; if the CPU111 determines that the received peak searching failure count value is 1 greater than the peak searching failure count value stored in the CPU111 in step S31, and the received peak searching success count value is equal to the peak searching success count value stored in the CPU111 in step S31, the CPU111 determines that the in-band low frequency point signal low amplitude self-check of the beacon is successful, and the CPU111 updates the peak searching failure count value stored therein; otherwise, the CPU111 determines that the in-band low-frequency point signal high amplitude self-checking of the beacon fails, and locates the board card downtime.
In the embodiment of the present invention, after the in-band low frequency point signal high amplitude self-inspection is completed, the in-band high frequency point signal high amplitude self-inspection is performed, as shown in fig. 3A, the method includes the steps of:
s41, CPU111 receives and stores peak searching failure count value and peak searching success count value sent by FPGA 110;
s42, the CPU111 sends an in-band high frequency point signal high amplitude self-checking command to the FPGA110, and the FPGA110 generates a corresponding high frequency point high amplitude digital FSK signal based on the received in-band high frequency point signal high amplitude self-checking command; the energy of the high-frequency high-amplitude digital FSK signal is greater than the peak searching starting threshold and less than the preset peak energy, so that the peak searching module 109 cannot obtain the peak time in the high-frequency high-amplitude digital FSK signal through peak searching calculation; the frequency of the high-frequency point high-amplitude digital FSK signal is higher than that of the low-frequency point high-amplitude digital FSK signal;
s43, if the CPU111 receives the peak searching success signal or the peak searching overtime interrupt signal sent by the peak searching module 109 within the set time T, the CPU111 judges that the in-band high frequency point signal high amplitude self-checking of the beacon fails; otherwise, go to S44; wherein T < T ', T' is the peak searching time length upper limit value of the peak searching module 109;
s44, the CPU111 reads the energy value stored in the energy register 108; if the energy value is smaller than the peak searching starting threshold value, the CPU111 judges that the in-band high frequency point signal high amplitude self-checking of the beacon fails, and the board card is positioned to be down; otherwise, go to S45;
s45, CPU111 continues waiting for a set time period TCS(ii) a If in the duration TCSIn the process, the CPU111 receives the peak searching timeout interrupt signal sent by the peak searching module 109, and proceeds to S36; otherwise, the CPU111 determines that the in-band high frequency point signal high amplitude self-checking of the beacon fails, and locates the board card down;
s46, FPGA110 updates the stored peak searching failure count value and peak searching success count value and sends the values to CPU 111; if the CPU111 determines that the received peak searching failure count value is 1 greater than the peak searching failure count value stored in the CPU111 in step S41, and the received peak searching success count value is equal to the peak searching success count value stored in the CPU111 in step S41, the CPU111 determines that the in-band high frequency point signal high amplitude self-checking of the beacon is successful, and the CPU111 updates the peak searching failure count value stored therein; otherwise, the CPU111 determines that the self-checking of the high amplitude of the in-band high frequency point signal of the beacon fails, and locates the downtime of the board card.
As shown in fig. 4, the self-inspection step of the peak envelope of the in-band low-frequency signal includes:
s51, CPU111 receives and stores peak searching failure count value and peak searching success count value sent by FPGA 110;
s52, the CPU111 sends an in-band low frequency point signal peak envelope self-checking command to the FPGA110, and the FPGA110 generates a corresponding low frequency envelope digital FSK signal based on the received in-band low frequency point signal peak envelope self-checking command; the peak searching module 109 can obtain peak time through peak searching calculation in the period of the low-frequency envelope digital FSK signal and send the peak time to the CPU 111;
s53, the CPU111 calculates an interval duration between the most recently received peak time and the previously received peak time (in the embodiment of the present invention, the CPU111 calculates the interval duration through the peak time of the first successful peak finding and the peak time of the second successful peak finding of the FPGA 110), and if the interval duration is greater than the expected interval duration TjgThe CPU111 judges that the self-checking of the in-band low-frequency point signal peak value envelope of the beacon fails, and the board card is positioned to be down; otherwise, the process proceeds to S54.
S54, each time the peak searching is successful, the peak searching module 109 updates the peak searching success count value inside it, and sends the updated peak searching success count value to the CPU 111; in the embodiment of the present invention, the peak searching module 109 further sends the peak searching timeout count value and the peak searching success count value to the CPU111 together.
In the present embodiment, the CPU111 makes the following determination every time it receives a peak time: whether the peak searching success count value received this time is increased by 1 compared with the peak searching success count value stored in the CPU111, and whether the peak searching timeout count value received this time is equal to the peak searching timeout count value stored in the CPU 111. If yes, the CPU111 increases the peak searching success count value stored therein by 1, and determines that the in-band low frequency point signal peak envelope self-check of the beacon is successful; otherwise, the CPU111 determines that the in-band low-frequency point signal peak envelope self-inspection of the beacon fails, and locates the board card downtime.
In another embodiment, the CPU111 determines whether the peak-finding success count value in the FPGA110 is updated successfully (increased by 2 compared to the peak-finding success count value stored in the CPU 111) after the second peak-finding success of the FPGA 110.
As shown in fig. 4A, the self-inspection step of the peak envelope of the in-band high-frequency signal includes:
s61, CPU111 receives and stores peak searching failure count value and peak searching success count value sent by FPGA 110;
s62, the CPU111 sends an in-band high frequency point signal peak envelope self-checking command to the FPGA110, and the FPGA110 generates a corresponding high frequency envelope digital FSK signal based on the received in-band high frequency point signal peak envelope self-checking command; the peak searching module 109 can obtain peak time through peak searching calculation in the period of the high-frequency envelope digital FSK signal; the frequency of the high-frequency envelope digitized FSK signal is higher than that of the low-frequency envelope digitized FSK signal;
s63, the CPU111 calculates an interval duration between the most recently received peak time and the previously received peak time (in the embodiment of the present invention, the CPU111 calculates the interval duration through the peak time of the first successful peak finding and the peak time of the second successful peak finding of the FPGA 110), and if the interval duration is greater than the expected interval duration TjgThe CPU111 judges that the self-checking of the in-band high frequency point signal peak value envelope of the beacon fails, and the board card is positioned to be down; otherwise, the process proceeds to S54.
S64, each time the peak searching is successful, the peak searching module 109 updates the peak searching success count value inside it, and sends the updated peak searching success count value to the CPU 111; in the embodiment of the present invention, the peak searching module 109 further sends the peak searching timeout count value and the peak searching success count value to the CPU111 together.
In one embodiment of the present invention, the CPU111 determines whether the peak searching success count value in the FPGA110 is updated successfully (increased by 2 compared to the peak searching success count value stored in the CPU 111) after the second peak searching success of the FPGA110, and whether the peak searching timeout count value is equal to the peak searching timeout count value stored in the CPU 111. If yes, the CPU111 increases the peak searching success count value stored therein by 2, and determines that the in-band high frequency point signal peak envelope self-check of the beacon is successful; otherwise, the CPU111 determines that the in-band high-frequency-point signal peak envelope self-inspection of the beacon fails, and locates the board card downtime.
After the beacon self-test step is completed, the signal source of the reading module 106 is switched to the external signal source through the switch 104.
The double board card 2oo2 self-checking result is verified by two train-mounted speed measuring positioning board cards (respectively marked as a first positioning board card and a second positioning board card). Therefore, the CPU of the first positioning board card and the CPU of the second positioning board card store the same pulse difference threshold value, the peak searching time length upper limit value, the set time T and the set time TCSInterval duration TjgAnd the like.
The double board card 2oo2 self-checking result verification comprises the following steps:
s71, the first positioning board card carries out speed transmission self-checking and sends a speed transmission self-checking command generated by the CPU of the first positioning board card to the CPU of the second positioning board card;
s72, the CPU of the first positioning board card sends the pulse number generated by the FPGA of the first positioning board card to the CPU of the second positioning board card; the CPU of the second positioning board card judges whether the fast transmission self-check of the first positioning board card is successful or not according to the received pulse number and the stored pulse difference threshold value;
s73, the first positioning board card performs beacon self-check and sends a beacon self-check command generated by the CPU of the first positioning board card to the CPU of the second positioning board card;
s74, the CPU of the first positioning board card sends a peak searching result generated by the FPGA of the first positioning board card to the CPU of the second positioning board card; and the CPU of the second positioning board card judges whether the fast transmission self-check of the first positioning board card is successful or not according to the received peak searching result.
Taking the check of the self-checking result of the dual board card 2oo2 in the in-band low-frequency-point-signal low-amplitude self-checking mode as an example, the CPU of the second positioning board card learns that the first positioning board card is in the in-band low-frequency-point-signal low-amplitude self-checking mode through the in-band low-frequency-point-signal low-amplitude self-checking command sent by the CPU of the first positioning board card, and in this mode, if the second positioning board card receives the peak searching success signal and the peak searching timeout interrupt signal sent by the first positioning board card within the set time T from receiving the beacon self-checking command of the first positioning board card, the second positioning board card determines that the beacon self-checking of the first positioning board card fails. The same principle is applied to the double board card 2oo2 self-checking results under the in-band low-frequency point signal low-amplitude self-checking mode, the in-band low-frequency point signal low-amplitude self-checking mode and the in-band low-frequency point signal low-amplitude self-checking mode.
Taking the verification of the self-checking result of the dual board 2oo2 in the in-band low-frequency point signal high-amplitude self-checking mode and the in-band high-frequency point signal high-amplitude self-checking mode as an example, the CPU of the second positioning board continues to wait for a set duration T after the set time TCS(ii) a If in the duration TCSAnd if the CPU of the second positioning board card does not receive the peak searching overtime interrupt signal sent by the first positioning board card, the beacon self-check failure of the first positioning board card is judged.
Taking the verification of the self-checking result of the dual board card 2oo2 in the in-band high-frequency point signal peak envelope self-checking mode and the in-band low-frequency point signal peak envelope self-checking mode as an example, if the second positioning board card judges: the time length of the peak value time interval between two adjacent peak searching successes of the first positioning board card is larger than the expected time length T of the intervaljgAnd the second positioning board card judges that the beacon self-check of the first positioning board card fails.
According to the self-checking method for the train vehicle-mounted speed measurement positioning board card, before the vehicle-mounted speed measurement positioning board card runs, the speed transmission acquisition function and the beacon peak searching function of the positioning board card are self-checked, and the fact that the bottom layer logic function runs normally is confirmed, so that the accuracy of the FPGA110 speed transmission acquisition function is better guaranteed, and the safety of a vehicle-mounted system is guaranteed. In the invention, the double board cards are used for realizing the comparison of the self-checking result 2oo2, thereby preventing the self-checking failure of the single board card and better ensuring the accuracy and reliability of the train speed-measuring positioning result
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. The utility model provides a self-checking method for train on-vehicle location integrated circuit board that tests speed, the location integrated circuit board contains FPGA and CPU, CPU pass through drive interface with the FPGA communication, FPGA contains signal generation module, reads the module, seeks the peak module, its characterized in that contains fast and passes self-checking step, beacon self-checking step and the check-up of two integrated circuit board 2oo2 self-checking results:
the fast transmission self-checking step comprises the following steps:
when the FPGA is powered on, the CPU sends a fast-transmission self-detection command to the FPGA, wherein the fast-transmission self-detection command comprises a fast-transmission self-detection signal period; the signal generation module generates a fast transmission self-detection square wave signal with corresponding frequency based on the period of the fast transmission self-detection signal; the CPU obtains the pulse number of the fast transmission self-checking square wave signal within a set time, and if the difference between the pulse number and the expected pulse number stored in the CPU exceeds a set pulse difference threshold value, the fast transmission self-checking failure of the positioning board card is judged;
the beacon self-checking step comprises: the signal generation module generates a corresponding digital FSK signal based on a beacon self-checking command sent by the CPU;
the reading module acquires the energy value of the digital FSK signal and stores the energy value into an energy register of the FPGA according to a time sequence; the peak searching module performs peak searching calculation on the energy value greater than the peak searching initial threshold value;
and the CPU judges whether the beacon self-check of the positioning board card is successful or not according to the peak searching result of the peak searching module and the energy value stored by the energy register.
2. The self-checking method for the train vehicle speed-measuring positioning board card according to claim 1, wherein the period of the speed-measuring self-checking signal comprises: first self-test period T1Second self-test period T2And a third self-test period T3Wherein T is1<T2<T3。
3. The self-checking method for the train vehicle speed-measuring positioning board card according to claim 1, wherein the beacon self-checking command comprises: a self-checking command of low amplitude of the in-band low frequency point signal; the beacon self-checking step comprises:
s11, the CPU sends an in-band low-frequency point signal low-amplitude self-checking command to the FPGA, and the FPGA generates a corresponding low-frequency point low-amplitude digital FSK signal based on the received in-band low-frequency point signal low-amplitude self-checking command; the energy of the low-frequency point low-amplitude digital FSK signal is smaller than the peak searching starting threshold value;
s12, if the CPU receives a peak searching success signal or a peak searching overtime interrupt signal sent by the peak searching module within the set time T, the CPU judges that the beacon self-check fails; otherwise, go to S13; t < T ', and T' is the peak searching time length upper limit value of the peak searching module;
s13, the CPU reads the energy value stored by the energy register; if the energy value is larger than the peak searching starting threshold value, the CPU judges that the in-band low frequency point signal low amplitude self-checking of the beacon fails, and the positioning board card is down; otherwise, the CPU judges that the in-band low frequency point signal low amplitude self-checking of the beacon is successful.
4. The self-checking method for the train vehicle speed-measuring positioning board card according to claim 3, wherein the beacon self-checking command further comprises: a self-checking command of low amplitude of the in-band high frequency point signal; the beacon self-checking step further comprises:
s21, the CPU sends an in-band high-frequency point signal low-amplitude self-checking command to the FPGA, and the FPGA generates a corresponding high-frequency point low-amplitude digital FSK signal based on the received in-band high-frequency point signal low-amplitude self-checking command; the energy of the high-frequency point low-amplitude digital FSK signal is smaller than the peak searching starting threshold value, and the frequency of the high-frequency point low-amplitude digital FSK signal is higher than that of the low-frequency point low-amplitude digital FSK signal;
s22, if the CPU receives a peak searching success signal or a peak searching overtime interrupt signal sent by the peak searching module within the set time T, the CPU judges that the beacon self-check fails; otherwise, go to S23; t < T ', and T' is the peak searching time length upper limit value of the peak searching module;
s23, the CPU reads the energy value stored by the energy register; if the energy value is larger than the peak searching starting threshold value, the CPU judges that the in-band high frequency point signal low amplitude self-checking of the beacon fails, and the positioning board card is down; otherwise, the CPU judges that the in-band high-frequency point signal low-amplitude self-check of the beacon is successful.
5. The self-checking method for the train vehicle speed-measuring positioning board card according to claim 1, wherein the beacon self-checking command further comprises: a high-amplitude self-checking command of an in-band low-frequency point signal; the beacon self-checking step further comprises:
s31, the CPU receives and stores the peak searching failure count value and the peak searching success count value sent by the FPGA;
s32, the CPU sends an in-band low-frequency point signal high-amplitude self-checking command to the FPGA, and the FPGA generates a corresponding low-frequency point high-amplitude digital FSK signal based on the received in-band low-frequency point signal high-amplitude self-checking command; the energy of the low-frequency high-amplitude digital FSK signal is greater than a peak searching starting threshold value;
s33, if the CPU receives a peak searching success signal or a peak searching overtime interrupt signal sent by the peak searching module within the set time T, the CPU judges that the in-band low frequency point signal high amplitude self-checking of the beacon fails; otherwise, go to S34; wherein T < T ', T' is the peak searching time length upper limit value of the peak searching module;
s34, the CPU reads the energy value stored by the energy register; if the energy value is smaller than the peak searching starting threshold value, the CPU judges that the in-band low frequency point signal high amplitude self-checking of the beacon fails, and the positioning board card is down; otherwise, go to S35;
s35, CPU continuously waits for a set time length TCS(ii) a If in the duration TCSThe CPU receives a peak searching overtime interrupt signal sent by the peak searching module and enters S36; otherwise, the CPU judges that the self-checking of the high amplitude of the in-band low frequency point signal of the beacon fails, and the positioning board is down;
s36, the FPGA updates the stored peak searching failure count value and peak searching success count value and sends the values to the CPU; if the CPU judges that the received peak searching failure count value is increased by 1 compared with the peak searching failure count value stored by the CPU in the step S31, and the received peak searching success count value is equal to the peak searching success count value stored by the CPU in the step S31, the CPU judges that the in-band low frequency point signal low amplitude self-checking of the beacon is successful, and the CPU updates the stored peak searching failure count value; otherwise, the CPU judges that the self-checking of the high amplitude of the in-band low frequency point signal of the beacon fails, and the board card is down.
6. The self-checking method for the train vehicle speed-measuring positioning board card according to claim 5, wherein the beacon self-checking command further comprises: a high-amplitude self-checking command of an in-band high-frequency point signal; the beacon self-checking step further comprises:
s41, the CPU receives and stores the peak searching failure count value and the peak searching success count value sent by the FPGA;
s42, the CPU sends an in-band high-frequency point signal high-amplitude self-checking command to the FPGA, and the FPGA generates a corresponding high-frequency point high-amplitude digital FSK signal based on the received in-band high-frequency point signal high-amplitude self-checking command; the energy of the high-frequency point high-amplitude digital FSK signal is greater than a peak searching starting threshold value; the frequency of the high-frequency point high-amplitude digital FSK signal is higher than that of the low-frequency point high-amplitude digital FSK signal;
s43, if the CPU receives a peak searching success signal or a peak searching overtime interrupt signal sent by the peak searching module within the set time T, the CPU judges that the in-band high frequency point signal high amplitude self-checking of the beacon fails; otherwise, go to S44; wherein T < T ', T' is the peak searching time length upper limit value of the peak searching module;
s44, the CPU reads the energy value stored by the energy register; if the energy value is smaller than the peak searching starting threshold value, the CPU judges that the in-band high frequency point signal high amplitude self-checking of the beacon fails, and the positioning board card is down; otherwise, go to S45;
s45, CPU continuously waits for a set time length TCS(ii) a If in the duration TCSThe CPU receives a peak searching overtime interrupt signal sent by the peak searching module and enters S36; otherwise, the CPU judges that the self-checking of the high amplitude of the in-band high frequency point signal of the beacon fails, and the positioning board is down;
s46, the FPGA updates the stored peak searching failure count value and peak searching success count value and sends the values to the CPU; if the CPU judges that the received peak searching failure count value is increased by 1 compared with the peak searching failure count value stored by the CPU in the step S41, and the received peak searching success count value is equal to the peak searching success count value stored by the CPU in the step S41, the CPU judges that the in-band high frequency point signal high amplitude value self-checking of the beacon is successful, and the CPU updates the stored peak searching failure count value; otherwise, the CPU judges that the self-checking of the high amplitude of the in-band high frequency point signal of the beacon fails, and the positioning board card is down.
7. The self-checking method for the train vehicle speed-measuring positioning board card according to claim 1, wherein the beacon self-checking command further comprises: a self-checking command of the peak value envelope of the in-band low-frequency point signal; the beacon self-checking step further comprises:
s51, the CPU receives and stores the peak searching failure count value and the peak searching success count value sent by the FPGA;
s52, the CPU sends an in-band low-frequency point signal peak envelope self-checking command to the FPGA, and the FPGA generates a corresponding low-frequency envelope digital FSK signal based on the received in-band low-frequency point signal peak envelope self-checking command; the peak searching module can obtain peak value time through peak searching calculation in the period of the low-frequency envelope digital FSK signal;
s53, when the peak searching is successful, the peak searching module updates the peak searching success count value inside the peak searching module and sends the updated peak searching success count value and the peak time to the CPU; if the CPU judges that the received peak searching success count value is increased by 1 compared with the peak searching success count value stored in the CPU, the CPU increases the stored peak searching success count value by 1 and enters S54; otherwise, the CPU judges that the self-checking of the in-band low-frequency point signal peak value envelope of the beacon fails, and the board card is positioned to be down;
s54, CPU calculates the interval duration of two adjacent peak time, if the interval duration is larger than the set interval duration TjgThe CPU judges that the self-checking of the in-band low-frequency point signal peak value envelope of the beacon fails, and a board card is positioned to be down; otherwise, the CPU judges that the self-checking of the in-band low-frequency point signal peak value envelope of the beacon is successful.
8. The self-checking method for the train vehicle speed-measuring positioning board card according to claim 7, wherein the beacon self-checking command further comprises: a self-checking command of the peak value envelope of the in-band high-frequency point signal; the beacon self-checking step further comprises:
s61, the CPU receives and stores the peak searching failure count value and the peak searching success count value sent by the FPGA;
s62, the CPU sends an in-band high-frequency point signal peak envelope self-checking command to the FPGA, and the FPGA generates a corresponding high-frequency envelope digital FSK signal based on the received in-band high-frequency point signal peak envelope self-checking command; the peak searching module can obtain peak value time through peak searching calculation in the period of the high-frequency envelope digital FSK signal; the frequency of the high-frequency envelope digitized FSK signal is higher than that of the low-frequency envelope digitized FSK signal;
s63, when the peak searching is successful, the peak searching module updates the peak searching success count value inside the peak searching module and sends the updated peak searching success count value and the peak time to the CPU; if the CPU judges that the received peak searching success count value is increased by 1 compared with the peak searching success count value stored in the CPU, the CPU increases the stored peak searching success count value by 1 and enters S64; otherwise, the CPU judges that the self-checking of the in-band high-frequency point signal peak value envelope of the beacon fails, and the board card is positioned to be down;
s64, CPU calculates the interval duration of two adjacent peak time, if the interval duration is larger than the set interval duration TjgThe CPU judges that the self-checking of the in-band high-frequency point signal peak value envelope of the beacon fails, and a board card is positioned to be down; otherwise, the CPU judges that the self-checking of the in-band high-frequency point signal peak value envelope of the beacon is successful.
9. The self-checking method for the train vehicle-mounted speed-measuring positioning board card according to claim 1, wherein after the speed-measuring self-checking step and the beacon self-checking step are completed, the signal source of the reading module is switched to an external signal source.
10. The self-checking method for the train vehicle speed-measuring positioning board card as claimed in claim 1, wherein the checking of the self-checking result of the dual board card 2oo2 comprises the steps of:
s71, two train vehicle speed measurement positioning board cards are adopted and respectively marked as a first positioning board card and a second positioning board card;
s72, the first positioning board card carries out speed transmission self-checking and sends a speed transmission self-checking command generated by the CPU of the first positioning board card to the CPU of the second positioning board card;
s73, the CPU of the first positioning board card sends the pulse number generated by the FPGA of the first positioning board card to the CPU of the second positioning board card; the CPU of the second positioning board card judges whether the fast transmission self-check of the first positioning board card is successful or not according to the received pulse number and the stored pulse difference threshold value;
s74, the first positioning board card performs beacon self-check and sends a beacon self-check command generated by the CPU of the first positioning board card to the CPU of the second positioning board card;
s75, the CPU of the first positioning board card sends a peak searching result generated by the FPGA of the first positioning board card to the CPU of the second positioning board card; and the CPU of the second positioning board card judges whether the fast transmission self-check of the first positioning board card is successful or not according to the received peak searching result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110662065.2A CN113391196B (en) | 2021-06-15 | 2021-06-15 | Self-checking method for train-mounted speed measurement positioning board card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110662065.2A CN113391196B (en) | 2021-06-15 | 2021-06-15 | Self-checking method for train-mounted speed measurement positioning board card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113391196A true CN113391196A (en) | 2021-09-14 |
CN113391196B CN113391196B (en) | 2022-07-26 |
Family
ID=77621521
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110662065.2A Active CN113391196B (en) | 2021-06-15 | 2021-06-15 | Self-checking method for train-mounted speed measurement positioning board card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113391196B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117596317A (en) * | 2024-01-17 | 2024-02-23 | 北京全路通信信号研究设计院集团有限公司 | Transponder transmission simulation method, device, equipment and medium |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0414205D0 (en) * | 2004-06-24 | 2004-07-28 | Arkas Evangelos | Pulse peak and/or trough detector |
JP2005265744A (en) * | 2004-03-22 | 2005-09-29 | Sony Corp | Peak voltage detection circuit and electronic equipment inspection device |
US20080012574A1 (en) * | 2006-06-29 | 2008-01-17 | Stmicroelectronics S.A. | Qualifying of a detector of noise peaks in the supply of an integrated circuit |
CN101193398A (en) * | 2006-11-22 | 2008-06-04 | 浙江大学 | An uplink distance measuring method, device and base station |
CN102095952A (en) * | 2010-11-26 | 2011-06-15 | 中国电力科学研究院 | Self-monitoring system of valve-based electronic device of converter valve |
CN102343921A (en) * | 2011-06-21 | 2012-02-08 | 北京康拓红外技术股份有限公司 | On-line monitoring device for performances of wheel sensor and on-line monitoring method thereof |
CN106814604A (en) * | 2017-03-01 | 2017-06-09 | 北京航天自动控制研究所 | A kind of passive separate current of triple redundance mutually examines power-off restarting system and method |
CN109062184A (en) * | 2018-08-10 | 2018-12-21 | 中国船舶重工集团公司第七〇九研究所 | Two-shipper emergency and rescue equipment, failure switching method and rescue system |
CN109459678A (en) * | 2018-10-10 | 2019-03-12 | 北京艾博唯科技有限公司 | A kind of board testing system, board test machine |
CN110095978A (en) * | 2019-05-06 | 2019-08-06 | 杭州耘新科技有限公司 | One kind 2 multiplies 2 and takes 2 systems and its security diagnostics method |
CN110133633A (en) * | 2018-02-08 | 2019-08-16 | 恩智浦有限公司 | Built-in self-test and its method for radar cell receiver |
CN110501523A (en) * | 2019-08-26 | 2019-11-26 | 中国铁道科学研究院集团有限公司 | A kind of locomotive velocity measuring distance-measuring equipment fault detection system and method |
CN111157766A (en) * | 2020-01-20 | 2020-05-15 | 卡斯柯信号有限公司 | Vehicle speed measuring device and method with self-checking function |
CN111158348A (en) * | 2020-01-15 | 2020-05-15 | 卡斯柯信号有限公司 | Hardware maintenance test platform of subway vehicle-mounted signal control equipment |
CN111929670A (en) * | 2020-07-28 | 2020-11-13 | 胡运成 | Rail transit train speed measuring method and system |
CN112606879A (en) * | 2020-12-29 | 2021-04-06 | 卡斯柯信号有限公司 | Vehicle positioning system and method for railway traffic |
-
2021
- 2021-06-15 CN CN202110662065.2A patent/CN113391196B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005265744A (en) * | 2004-03-22 | 2005-09-29 | Sony Corp | Peak voltage detection circuit and electronic equipment inspection device |
GB0414205D0 (en) * | 2004-06-24 | 2004-07-28 | Arkas Evangelos | Pulse peak and/or trough detector |
US20080012574A1 (en) * | 2006-06-29 | 2008-01-17 | Stmicroelectronics S.A. | Qualifying of a detector of noise peaks in the supply of an integrated circuit |
CN101193398A (en) * | 2006-11-22 | 2008-06-04 | 浙江大学 | An uplink distance measuring method, device and base station |
CN102095952A (en) * | 2010-11-26 | 2011-06-15 | 中国电力科学研究院 | Self-monitoring system of valve-based electronic device of converter valve |
CN102343921A (en) * | 2011-06-21 | 2012-02-08 | 北京康拓红外技术股份有限公司 | On-line monitoring device for performances of wheel sensor and on-line monitoring method thereof |
CN106814604A (en) * | 2017-03-01 | 2017-06-09 | 北京航天自动控制研究所 | A kind of passive separate current of triple redundance mutually examines power-off restarting system and method |
CN110133633A (en) * | 2018-02-08 | 2019-08-16 | 恩智浦有限公司 | Built-in self-test and its method for radar cell receiver |
CN109062184A (en) * | 2018-08-10 | 2018-12-21 | 中国船舶重工集团公司第七〇九研究所 | Two-shipper emergency and rescue equipment, failure switching method and rescue system |
CN109459678A (en) * | 2018-10-10 | 2019-03-12 | 北京艾博唯科技有限公司 | A kind of board testing system, board test machine |
CN110095978A (en) * | 2019-05-06 | 2019-08-06 | 杭州耘新科技有限公司 | One kind 2 multiplies 2 and takes 2 systems and its security diagnostics method |
CN110501523A (en) * | 2019-08-26 | 2019-11-26 | 中国铁道科学研究院集团有限公司 | A kind of locomotive velocity measuring distance-measuring equipment fault detection system and method |
CN111158348A (en) * | 2020-01-15 | 2020-05-15 | 卡斯柯信号有限公司 | Hardware maintenance test platform of subway vehicle-mounted signal control equipment |
CN111157766A (en) * | 2020-01-20 | 2020-05-15 | 卡斯柯信号有限公司 | Vehicle speed measuring device and method with self-checking function |
CN111929670A (en) * | 2020-07-28 | 2020-11-13 | 胡运成 | Rail transit train speed measuring method and system |
CN112606879A (en) * | 2020-12-29 | 2021-04-06 | 卡斯柯信号有限公司 | Vehicle positioning system and method for railway traffic |
Non-Patent Citations (4)
Title |
---|
GANG WANG: "Research on Improving the Accuracy of Speed and Distance Measurement of Train by Redundant Convolution Fault-tolerant Analysis and Multiple Data Fusion", 《JOURNAL OF APPLIED SCIENCES》 * |
LIU FENG 等: "Analysis on aerodynamic pressure of tunnel wall of high-speed railways by full-scale train test", 《JOURNAL OF ZHEJIANG UNIVERSITY. ENGINEERING SCIENCE》 * |
徐海贵: "现代有轨电车信标定位系统比较", 《城市轨道交通研究》 * |
钱存元 等: "磁悬浮列车测速定位技术", 《上海交通大学学报》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117596317A (en) * | 2024-01-17 | 2024-02-23 | 北京全路通信信号研究设计院集团有限公司 | Transponder transmission simulation method, device, equipment and medium |
CN117596317B (en) * | 2024-01-17 | 2024-03-29 | 北京全路通信信号研究设计院集团有限公司 | Transponder transmission simulation method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN113391196B (en) | 2022-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7768392B1 (en) | Received signal strength location determination of low frequency tags | |
JP3327333B2 (en) | Vehicle guidance and destination guidance device | |
CN109901156A (en) | A kind of subject fusion method and apparatus of vehicle millimetre-wave radar and camera | |
US20020019702A1 (en) | Environmental location system | |
CN104925092B (en) | Track traffic assistance tracking early warning CAS and its tracking method for early warning | |
US8111141B1 (en) | Received signal strength distance determination of low frequency tags | |
JPH06148308A (en) | Traveling body position detector | |
CN113391196B (en) | Self-checking method for train-mounted speed measurement positioning board card | |
CN101097150A (en) | Navigation method used for navigation in small region | |
US5864588A (en) | Communications device | |
CN110687564A (en) | High-precision positioning system in train tunnel based on RFID | |
CN107804343A (en) | Train follows the trail of early warning system | |
CN112485818A (en) | Train control vehicle-mounted positioning method and system and vehicle-mounted terminal | |
JP2001028095A (en) | Road traffic system | |
EP3616019B1 (en) | Compensating for stray capacitances for a robotic lanwmower system | |
US6775616B1 (en) | Environmental location system | |
CN211123287U (en) | High-precision positioning system in train tunnel based on RFID | |
CN114124147B (en) | Miniaturized transponder | |
CN101700780A (en) | Providing method, receiving method and speed limit sign of train operation speed limit | |
CN209802669U (en) | Vehicle reliability test data collection and analysis system based on gyroscope | |
CN101507130A (en) | Radio frequency identification IC tag reader and radio frequency identification IC tag system | |
JP3205260B2 (en) | Non-contact data transmission / reception method and device | |
CN206327390U (en) | Train follows the trail of early warning system | |
CN204423431U (en) | One drives training system | |
CN107968668B (en) | Antenna, ground transponder and transponder transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |