Running locomotive distance identification method and system, medium and electronic equipment
By acquiring the inherent noise frequency band of the operating locomotive and performing signal processing, the safe distance between the locomotive and personnel can be identified, thus solving the problem of rail transit safety accidents and realizing safety early warning and accident prevention.
Patent Information
- Application Number
- CN202411111535.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-12
AI Technical Summary
Existing technologies cannot effectively identify the safe distance between operating locomotives and construction workers or other personnel near the track, leading to frequent rail transit safety accidents.
By acquiring the inherent noise frequency band of the operating locomotive, a filter is set to receive the inherent noise frequency band signal. Track signals are collected using signal acquisition sensors, and Fourier transform and data cleaning are performed. The output of the filter is judged to determine whether the locomotive distance has reached the safe range and to issue an early warning.
It enables accurate identification and timely early warning of the distance between operating locomotives, preventing rail transit safety accidents and ensuring the safety of rail operation.
Smart Images

Figure CN118928501A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rail vehicles, and in particular to a method, system, medium and electronic equipment for identifying the distance between running locomotives. Background Art
[0002] All types of locomotives have their own natural frequency characteristics when they leave the factory. This natural frequency comes from the mechanical equipment configuration on the locomotive, the structural characteristics of the locomotive composition, and the electrical equipment configured on the locomotive. Each device has its own natural frequency. When these devices are installed on a specific locomotive, the natural frequencies of these devices constitute the spectrum characteristics of the running locomotive's natural frequency.
[0003] While people enjoy the convenience and comfort brought by high-speed rail, casualties and property damage accidents caused by railways also occur frequently. When construction workers are working on or near the track, or other people are close to the track, if there is no warning of whether the running locomotive has traveled to a safe distance, the construction workers or other people close to the track cannot evacuate in time, which can easily cause rail transit safety accidents. Therefore, it is necessary to provide a solution for identifying and warning the distance of the running locomotive to prevent rail transit safety accidents. Summary of the invention
[0004] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, the first object of the present invention is to provide a method for identifying the distance between a running locomotive and a running locomotive, which can identify whether the distance between the running locomotive and the running locomotive has entered a safe distance range and issue an early warning, so that people near the track can be dispersed in time to prevent the occurrence of rail transit safety accidents.
[0005] A second object of the present invention is to provide a system for identifying the distance of a running locomotive.
[0006] A third object of the present invention is to provide a computer-readable storage medium.
[0007] A third object of the present invention is to provide an electronic device.
[0008] To achieve the above object, the present invention is implemented through the following technical solutions:
[0009] A method for identifying the distance of a running locomotive, comprising:
[0010] Obtain the complete inherent noise frequency band of the running locomotive;
[0011] Setting a filter based on the inherent noise frequency band so that the filter only receives signals in the inherent noise frequency band;
[0012] Collecting signals on the track by using a signal collection sensor, inputting the collected signals into the filter, and determining whether the filter outputs a signal;
[0013] The filter does not output a signal, and it is determined that there is no locomotive running on the track; the filter outputs a continuous signal, and it is determined that there is a locomotive running on the track;
[0014] It is determined whether the distance between the running locomotives reaches a safe distance range according to the continuous signal. When the distance between the running locomotives reaches the safe distance range, an alarm signal is issued to provide a safety warning.
[0015] Preferably, the step of obtaining the complete inherent noise frequency band of the running locomotive includes:
[0016] Before performing distance recognition of the running locomotive, the signal acquisition sensor is used to collect the complete process signal of the running locomotive from far to near and then from near to far;
[0017] Dividing the complete process signal into n slices per unit time;
[0018] Performing Fourier transform on the n slice signals respectively to obtain frequency spectra of the n slice signals within a preset frequency range;
[0019] Based on the frequency spectra of the n sliced signals, two data cleaning operations are performed to obtain the complete inherent noise frequency band of the running locomotive.
[0020] Preferably, a first data cleaning operation is performed based on the frequency spectra of the n slice signals to filter out discontinuous noise and obtain a first frequency band.
[0021] Preferably, based on the first frequency band, a second data cleaning operation is performed to filter out continuous noise to obtain a second frequency band, where the second frequency band is a complete inherent noise frequency band of the running locomotive.
[0022] Preferably, the first data cleaning operation is performed based on the frequency spectra of the n slice signals, including:
[0023] In the preset frequency range, frequency points appearing in the spectra of the n slice signals are screened out in ascending order, and the screened frequency points are defined as first frequency points, and all first frequency points are included in the first frequency band.
[0024] Preferably, based on the first frequency band, a second data cleaning operation is performed, including:
[0025] Acquire all first frequency points from the first frequency band;
[0026] sequentially determining the amplitude of each first frequency point in the frequency spectrum of the n slice signals;
[0027] Arrange the amplitude of each first frequency point in the frequency spectrum of n slice signals in time order to obtain an image corresponding to the arranged first frequency point;
[0028] If the image after arrangement does not satisfy the normal distribution, the corresponding first frequency point is removed;
[0029] If the arranged image satisfies a quasi-normal distribution, the corresponding first frequency point is further defined as a second frequency point, and all the second frequency points obtained after cleaning are included in the second frequency band.
[0030] Preferably, judging whether the distance between the running locomotives reaches a safe distance range according to the continuous signal includes:
[0031] determining a frequency band of the continuous signal;
[0032] Performing Fourier transform on the continuous signal of the frequency band to obtain a corresponding spectrum;
[0033] The amplitude of the second frequency point is sequentially extracted from the corresponding frequency spectrum and compared with a preset threshold. If the amplitude of the extracted second frequency point is greater than the preset threshold, it is determined that the running locomotive distance reaches a safe distance range.
[0034] To achieve the above object, the second aspect of the present invention provides a running locomotive distance identification system, comprising:
[0035] An acquisition module, used to acquire the complete inherent noise frequency band of the running locomotive;
[0036] A setting module, configured to set a filter based on the inherent noise frequency band, wherein the filter only filters signals passing through the inherent noise frequency band;
[0037] A collection module, used for collecting signals on the track and inputting the collected signals into the filter;
[0038] The judgment module is used to judge whether the filter outputs a signal; if the filter does not output a signal, it is judged that there is no running locomotive on the track; if the filter outputs a continuous signal, it is judged that there is a running locomotive on the track; and, based on the continuous signal, it is judged whether the distance of the running locomotive reaches a safe distance range. When the distance of the running locomotive reaches the safe distance range, an alarm signal is issued to provide a safety warning.
[0039] To achieve the above object, the third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the above-mentioned method for identifying the distance between running locomotives is implemented.
[0040] To achieve the above objectives, the fourth aspect of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the above-mentioned method for identifying the distance between running locomotives is implemented.
[0041] The present invention has at least the following technical effects:
[0042] The present invention provides a scheme for identifying the distance of running locomotives. Each running locomotive has a natural frequency when it is manufactured. The amplitude of the frequency is related to the distance from the collected signal source. According to these two characteristics, the inherent noise frequency band of the running locomotive can be analyzed. Further, the signal on the track is collected and input into the filter. If the filter has no signal output, it means that there is no running locomotive; if there is a continuous signal output, it means that there is a running locomotive. Then, the continuous signal is Fourier transformed to obtain the corresponding spectrum, and then the amplitude of the natural frequency of the running locomotive is sequentially extracted from the corresponding spectrum and compared with the preset threshold. If the amplitude of a certain natural frequency is greater than the preset threshold, it is determined that the distance of the running locomotive has reached the safe distance range, and an early warning is issued to promptly drive away people near the track to prevent the occurrence of rail transit safety accidents, thereby ensuring the safety of track operation.
[0043] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 The figure is a flow chart of a method for identifying the distance between running locomotives according to an embodiment of the present invention.
[0045] Figure 2 This is a schematic diagram of a signal acquisition sensor according to an embodiment of the present invention.
[0046] Figure 3 Schematic diagram of acquisition signal slices according to an embodiment of the present invention.
[0047] Figure 4 Schematic diagram of amplitude normal distribution according to an embodiment of the present invention.
[0048] Figure 5 Schematic diagram of threshold comparison according to an embodiment of the present invention.
[0049] Figure 6 4 is a structural block diagram of a running locomotive distance identification system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0050] The present embodiment is described in detail below, and examples of the embodiment are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0051] The natural frequency characteristics of a running locomotive are fixed. During the operation of the running locomotive, the frequency spectrum characteristics of the running locomotive are transmitted over long distances on the rails in the form of vibration. The vibration signal of the running locomotive is collected by the signal acquisition sensor. According to the collected signal, the natural frequency of the running locomotive is extracted and saved. When it is necessary to determine whether there is a running locomotive on the track, it is only necessary to collect the signal on the rail and filter the signal through the filter. When the signal appears on the filter, it can be judged that there is a running locomotive on the rail, and then the distance from the running locomotive to the collection point can be determined according to the amplitude of the frequency. It should be noted that when the construction party is near the track, the collection point can be set near the construction party.
[0052] The natural frequency of a running locomotive will not change with time and the change of the distance from the running locomotive, but the amplitude of the frequency will change with the distance from the running locomotive. The signal collected by the signal acquisition sensor is that the running locomotive gradually approaches from a distance, passes through the signal acquisition sensor, and then gradually moves away. It can be known that the collected running locomotive signal gradually increases from a small value, reaches the maximum value, and then gradually decreases. Plotting this section of the signal according to the distance from the running locomotive to the collection point and the amplitude size, it presents a normal distribution diagram.
[0053] Divide the collected signal into equal parts according to time, and perform Fourier transform on each of the divided signals to obtain the spectrum of the signal. This spectrum contains the frequency of the collected signal at this time point. In each of the signal spectrums, there must be a common locomotive frequency segment. In the Fourier transform function, the horizontal axis is frequency and the vertical axis is amplitude. Since the distance (time) and amplitude are similar to the normal distribution image, the value of the vertical axis and the distance after Fourier transform are also normally distributed. Then, in the Fourier transform function at each time point, you only need to find out which frequency segment in the horizontal axis conforms to the normal distribution, and the inherent frequency segment of the running locomotive is in this frequency segment.
[0054] Further filtering is performed to determine whether there is a running locomotive. After finding the natural frequency segment of the running locomotive, a filter is set according to the natural frequency segment of the running locomotive, so that the frequencies in the natural frequency segment can pass through the filter, and all frequencies that are not in the natural frequency segment of the running locomotive are filtered out. When the signal collected by the signal acquisition sensor passes through the filter and has a continuous signal output, it means that there is a running locomotive on the rail; when there is no signal output after passing through the filter, it means that there is no running locomotive on the rail.
[0055] Therefore, we can first collect the track signal, slice the signal, and then perform Fourier transform on each slice signal, and find the same frequency segment in the Fourier transformed function, whose modulus is from small to large and then from large to small, and the image conforms to a normal distribution diagram, so as to determine the natural frequency of the running locomotive. After determining the natural frequency of the running locomotive, we can use the filter to determine whether there is a running locomotive on the rail, and then determine the distance from the running locomotive to the signal collection point, and then get the running locomotive distance identification solution.
[0056] After a general description of the running locomotive distance identification scheme, the running locomotive distance identification method, system, medium and electronic device of this embodiment are described below with reference to the accompanying drawings.
[0057] Figure 1 FIG. 1 is a flow chart of a method for identifying the distance between running locomotives according to an embodiment of the present invention. Figure 1 As shown, the method includes:
[0058] Step S1: Obtain the complete inherent noise frequency band of the running locomotive.
[0059] Specifically, a complete inherent noise frequency band of the running locomotive may be acquired in advance, where the inherent noise frequency band is a natural frequency segment of the running locomotive.
[0060] The basic principle of collecting the inherent noise frequency band is: in the process of collecting the signals of the running locomotive from far to near and then from near to far, the inherent noise spectrum of the running locomotive is analyzed to find the relationship between the inherent frequency and amplitude of the running locomotive. Since the amplitude of the collected frequency of the running locomotive and the distance between the measurement point and the signal source conform to a similar normal distribution, and the inherent frequency of the running locomotive is a constant, the inherent noise frequency band of the running locomotive can be analyzed based on this relationship.
[0061] In one embodiment of the present invention, a complete inherent noise frequency band of a running locomotive is obtained, including: before performing distance identification of the running locomotive, collecting complete process signals of the running locomotive from far to near and then from near to far through a signal acquisition sensor; dividing the complete process signal into n slices per unit time; performing Fourier transform on the n slice signals respectively to obtain frequency spectra of the n slice signals within a preset frequency range; and performing two data cleaning operations based on the frequency spectra of the n slice signals to obtain a complete inherent noise frequency band of the running locomotive.
[0062] like Figure 2As shown, the vibration signal of the running locomotive from far to near and then from near to far can be collected on the track by the signal collection sensor. The signal collection sensor collects the signal through the track medium and converts the collected signal format into wav (standard digital audio file) format. The signal duration is not less than 1 minute and not more than 5 minutes. Among them, the acquisition time of the signal is too short to affect the accuracy of the result, and the acquisition time of the signal is too long to affect the computer processing efficiency.
[0063] like Figure 3 As shown, the collected signal is divided into n segments according to time Δt (1 second is more suitable) and arranged in order. In the computer, each slice signal is subjected to fast Fourier transform to obtain n-segment spectrum, i.e., the spectrum of n slice signals. Among them, the horizontal axis of the transformed spectrum is frequency, and the vertical axis is amplitude.
[0064] In one embodiment of the present invention, a first data cleaning operation is performed based on the frequency spectra of the n slice signals to filter out discontinuous noise and obtain a first frequency band.
[0065] In this embodiment, based on the frequency spectra of the n slice signals, a first data cleaning operation is performed, including: within a preset frequency range, frequency points that appear in the frequency spectra of the n slice signals are filtered out in ascending order, and the filtered frequency points are defined as first frequency points, and all first frequency points are included in the first frequency band.
[0066] Specifically, the frequency points that appear in all the spectrums of n slice signals (referred to as n-segment spectrum) can be searched to form a noise frequency band containing the natural frequency of the running locomotive, namely the first frequency band H. Through the computer search algorithm, the frequency f=i (i ranges from 1 to kHz, k is the right end point of the preset frequency range) is matched and searched in the n-segment spectrum. If the frequency i appears in all the n-segment spectrum (frequency i may be the natural frequency of the running locomotive), the frequency i is defined as the first frequency point and included in the first frequency band H. In this way, after the first data cleaning, the first frequency band H finally formed is the frequency band containing the natural frequency of the running locomotive. The frequencies that do not appear in all the n-segment spectrum are discarded, because the natural frequency of the running locomotive is constant and should appear in all the n-segment spectrum. In this way, discontinuous noise can be eliminated, such as the sound of the construction party's device knocking. Since the sound is discontinuous, it will not appear in all the n-segment spectrum. It may appear in the first segment spectrum, but not in the second segment spectrum, so the discontinuous noise can be eliminated. If there are other devices emitting continuous noise next to the signal acquisition sensor, these noise frequencies will also appear in the acquired signal. After Fourier transform and the first data cleaning, they will still be stored in the first frequency band H. These signals are interference signals and the data needs to be cleaned a second time.
[0067] In one embodiment of the present invention, a second data cleaning operation is performed based on the first frequency band to filter out continuous noise and obtain a second frequency band, which is a complete inherent noise frequency band of the running locomotive.
[0068] In this embodiment, based on the first frequency band, a second data cleaning operation is performed, including:
[0069] All first frequency points are obtained from the first frequency band; the amplitude of each first frequency point in the frequency spectrum of n slice signals is determined in turn; the amplitude of each first frequency point in the frequency spectrum of n slice signals is arranged in chronological order to obtain an arranged image of the corresponding first frequency point; if the arranged image does not satisfy a quasi-normal distribution, the corresponding first frequency point is removed; if the arranged image satisfies a quasi-normal distribution, the corresponding first frequency point is further defined as a second frequency point, and all second frequency points obtained after cleaning are included in the second frequency band.
[0070] Specifically, the amplitude corresponding to each frequency point in the first frequency band H can be detected. For each frequency point i in the first frequency band H, the corresponding amplitude in the n-segment spectrum is detected respectively. If the amplitude of the frequency point i gradually increases from small to large, and then gradually decreases from large to small, it is represented as a normal distribution graph on the image, and the frequency point i value is included in the second frequency band F. The frequency point i value that is not close to the normal distribution is discarded. At this time, the second frequency band F formed is the inherent frequency segment of the running locomotive, that is, the complete inherent noise frequency band of the running locomotive. Table 1 is a table of the frequency and amplitude of each slice. The second data cleaning operation is explained below with Table 1.
[0071] Table 1 Frequency and amplitude of each slice
[0072]
[0073] In Table 1, the y value represents the amplitude, for example, f 11 represents the amplitude of 1 Hz in the spectrum of the first slice signal, f n1 represents the amplitude of 1 Hz in the spectrum of the nth slice signal, f 12 represents the amplitude of 2 Hz in the spectrum of the first slice signal, f n2 represents the amplitude of 2 Hz in the spectrum of the nth slice signal, f nm represents the amplitude in mHz in the spectrum of the nth slice signal.
[0074] For example, the amplitude of the first frequency point of 1 Hz in the spectrum of n slice signals is determined in sequence and sorted by time to be f 11 、f 21 ……f n1 , its corresponding image is Figure 4As shown in the figure, if the image satisfies the quasi-normal distribution, 1Hz is defined as the second frequency point, that is, it is included in the second frequency band. If the corresponding image does not meet the quasi-normal distribution, the 1Hz frequency point is removed. Similarly, if the amplitude of 2Hz in the spectrum of n slice signals is combined to meet the quasi-normal distribution, it is also included in the second frequency band. In this way, continuous noise can be filtered out, and all the second frequency points obtained after cleaning can be included in the second frequency band, that is, the complete inherent noise frequency band of the running locomotive can be obtained, thereby obtaining the inherent frequency segment of the running locomotive.
[0075] It should be noted that, through the above self-learning algorithm, the natural frequency segments of all running locomotives can be found to form a complete natural noise frequency band of all running locomotives.
[0076] Step S2: Setting a filter based on the inherent noise frequency band so that the filter only receives signals in the inherent noise frequency band.
[0077] In this embodiment, the inherent noise frequency band obtained above can be used to set a filter to filter the collected signal to determine whether there is a running locomotive.
[0078] Step S3: Collect the signal on the track through the signal acquisition sensor, input the collected signal into the filter, and determine whether the filter outputs a signal.
[0079] Step S4: The filter does not output a signal, and it is determined that there is no locomotive running on the track; the filter outputs a continuous signal, and it is determined that there is a locomotive running on the track.
[0080] Specifically, the signal on the track can be collected by a signal sensor, and then the collected signal is filtered through a filter. If there is no signal after filtering, it means that there is no running locomotive; if there is a continuous signal after filtering, it means that there is a running locomotive on the track, and then the frequency segment M (which may be a frequency band array composed of multiple frequencies) is recorded.
[0081] Step S5: judging whether the distance between the running locomotives reaches the safe distance range according to the continuous signal, and sending an alarm signal for safety warning when the distance between the running locomotives reaches the safe distance range.
[0082] In this embodiment, judging whether the distance between the running locomotive and the vehicle reaches a safe distance range is based on a continuous signal, including: determining a frequency band of the continuous signal; performing Fourier transform on the continuous signal of the frequency band to obtain a corresponding spectrum; sequentially extracting the amplitude of the second frequency point from the corresponding spectrum, and comparing it with a preset threshold value, if the amplitude of the extracted second frequency point is greater than the preset threshold value, it is judged that the distance between the running locomotive and the vehicle reaches a safe distance range.
[0083] Specifically, when a continuous signal appears after filtering, it means that a running locomotive is approaching the signal collection point, and the continuous signal of the frequency band M passing through the filter is Fourier transformed to obtain the corresponding spectrum.
[0084] Take the amplitude of the second frequency point in the frequency band M in order from the corresponding spectrum, and then Figure 5 As shown, when the amplitude of the second frequency point is less than the preset threshold β, there is no need to send an alarm signal, indicating that the running locomotive is far away from the signal collection point; if the amplitude of the second frequency point is greater than or equal to the preset threshold β, an alarm message is sent, indicating that the running locomotive is already at a safe distance from the signal collection point, and an alarm message needs to be sent to remind people near the track next to the signal collection point to evacuate in time. Among them, the smaller the value of the preset threshold β, the farther the running locomotive is from the signal collection point, and the alarm is triggered; the larger the value of the preset threshold β, the closer the running locomotive is to the signal collection point, and the alarm is triggered.
[0085] Figure 6 FIG. 1 is a structural block diagram of a running locomotive distance identification system according to an embodiment of the present invention. Figure 6 As shown, the running locomotive distance identification system 100 includes an acquisition module 10, a setting module 20, a collection module 30 and a judgment module 40. Among them, the acquisition module 10, the collection module 30 and the judgment module 40 are respectively connected to the setting module 20, and the acquisition module 10 is also connected to the collection module 30. The acquisition module 10 is used to acquire the complete inherent noise frequency band of the running locomotive; the setting module 20 is used to set a filter based on the inherent noise frequency band, and the filter only filters the signal passing through the inherent noise frequency band; the collection module 30 is used to collect the signal on the track and input the collected signal into the filter; the judgment module 40 is used to judge whether the filter outputs a signal; if the filter does not output a signal, it is judged that there is no running locomotive on the track; if the filter outputs a continuous signal, it is judged that there is a running locomotive on the track; and, according to the continuous signal, it is judged whether the distance of the running locomotive reaches the safe distance range, and when the distance of the running locomotive reaches the safe distance range, an alarm signal is issued to perform a safety warning.
[0086] In one embodiment of the present invention, when the acquisition module 10 acquires the complete inherent noise frequency band of the running locomotive, it is specifically used for: before performing distance identification of the running locomotive, collecting the complete process signal of the running locomotive from far to near and then from near to far through the acquisition module 30; dividing the complete process signal into n slices per unit time; performing Fourier transform on the n slice signals respectively to obtain the frequency spectrum of the n slice signals within a preset frequency range; based on the frequency spectrum of the n slice signals, performing two data cleaning operations to obtain the complete inherent noise frequency band of the running locomotive.
[0087] Wherein, based on the frequency spectrum of the n slice signals, a first data cleaning operation is performed to filter out discontinuous noise to obtain a first frequency band. Based on the first frequency band, a second data cleaning operation is performed to filter out continuous noise to obtain a second frequency band, which is a complete inherent noise frequency band of the running locomotive.
[0088] In one embodiment of the present invention, when the acquisition module 10 performs the first data cleaning operation based on the frequency spectra of n slice signals, it is specifically used to: within a preset frequency range, filter out the frequency points that appear in the frequency spectra of the n slice signals in ascending order, define the filtered frequency points as first frequency points, and include all first frequency points into the first frequency band.
[0089] In one embodiment of the present invention, when the acquisition module 10 performs the second data cleaning operation based on the first frequency band, it is specifically used to: acquire all first frequency points from the first frequency band; determine the amplitude of each first frequency point in the frequency spectrum of n slice signals in turn; arrange the amplitude of each first frequency point in the frequency spectrum of n slice signals in chronological order to obtain an arranged image of the corresponding first frequency points; if the arranged image does not satisfy the quasi-normal distribution, the corresponding first frequency point is eliminated; if the arranged image satisfies the quasi-normal distribution, the corresponding first frequency point is further defined as a second frequency point, and all second frequency points obtained after cleaning are included in the second frequency band.
[0090] In one embodiment of the present invention, when the judgment module 40 judges whether the distance between the running locomotive and the running locomotive reaches the safe distance range based on the continuous signal, it is specifically used to: determine the frequency segment of the continuous signal; perform Fourier transform on the continuous signal of the frequency segment to obtain the corresponding spectrum; extract the amplitude of the second frequency point from the corresponding spectrum in sequence, and compare it with the preset threshold value. If the amplitude of the extracted second frequency point is greater than the preset threshold value, it is determined that the distance between the running locomotive and the running locomotive reaches the safe distance range.
[0091] In summary, the present invention provides a scheme for identifying the distance of a running locomotive. Each running locomotive has a natural frequency when it is manufactured. The amplitude of the frequency is related to the distance from the collected signal source. Based on these two characteristics, the inherent noise frequency band of the running locomotive can be analyzed. Further, the signal on the track is collected, and the collected signal is input into the filter. If the filter has no signal output, it means that there is no running locomotive; if there is a continuous signal output, it means that there is a running locomotive. Then, the continuous signal is Fourier transformed to obtain the corresponding spectrum, and then the amplitude of the natural frequency of the running locomotive is sequentially extracted from the corresponding spectrum, and compared with the preset threshold. If the amplitude of a certain natural frequency is greater than the preset threshold, it is determined that the distance of the running locomotive has reached the safe distance range, and an early warning is issued to promptly drive away people near the track to prevent the occurrence of rail transit safety accidents, thereby ensuring the safety of track operation.
[0092] Furthermore, the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned running locomotive distance identification method is implemented.
[0093] Furthermore, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned running locomotive distance identification method is implemented.
[0094] It should be noted that, in this article, relational terms such as first and second, etc. 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 variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0095] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.
Claims
1. A method for identifying the distance between running locomotives, characterized in that: include: Obtain the complete inherent noise frequency band of the running locomotive; Setting a filter based on the inherent noise frequency band so that the filter only receives signals in the inherent noise frequency band; Collecting signals on the track by using a signal collection sensor, inputting the collected signals into the filter, and determining whether the filter outputs a signal; The filter does not output a signal, and it is determined that there is no locomotive running on the track; the filter outputs a continuous signal, and it is determined that there is a locomotive running on the track; It is determined whether the distance between the running locomotives reaches a safe distance range according to the continuous signal. When the distance between the running locomotives reaches the safe distance range, an alarm signal is issued to provide a safety warning.
2. The method for identifying the distance between running locomotives according to claim 1, characterized in that: The method of obtaining the complete inherent noise frequency band of the running locomotive includes: Before performing distance recognition of the running locomotive, the signal acquisition sensor is used to collect the complete process signal of the running locomotive from far to near and then from near to far; Dividing the complete process signal into n slices per unit time; Performing Fourier transform on the n slice signals respectively to obtain frequency spectra of the n slice signals within a preset frequency range; Based on the frequency spectra of the n sliced signals, two data cleaning operations are performed to obtain the complete inherent noise frequency band of the running locomotive.
3. The method for identifying the distance between running locomotives according to claim 2, characterized in that: Based on the frequency spectra of the n slice signals, a first data cleaning operation is performed to filter out discontinuous noise to obtain a first frequency band.
4. The method for identifying the distance between running locomotives according to claim 3, characterized in that: Based on the first frequency band, a second data cleaning operation is performed to filter out continuous noise to obtain a second frequency band, where the second frequency band is a complete inherent noise frequency band of the running locomotive.
5. The method for identifying the distance between running locomotives according to claim 4, characterized in that: The first data cleaning operation is performed based on the frequency spectrum of the n slice signals, including: In the preset frequency range, frequency points appearing in the spectra of the n slice signals are screened out in ascending order, and the screened frequency points are defined as first frequency points, and all first frequency points are included in the first frequency band.
6. The method for identifying the distance between running locomotives according to claim 5, characterized in that: Based on the first frequency band, a second data cleaning operation is performed, including: Acquire all first frequency points from the first frequency band; sequentially determining the amplitude of each first frequency point in the frequency spectrum of the n slice signals; Arrange the amplitude of each first frequency point in the frequency spectrum of n slice signals in time order to obtain an image corresponding to the arrangement of the first frequency points; If the image after arrangement does not satisfy the normal distribution, the corresponding first frequency point is removed; If the arranged image satisfies a quasi-normal distribution, the corresponding first frequency point is further defined as a second frequency point, and all the second frequency points obtained after cleaning are included in the second frequency band.
7. The method for identifying the distance between running locomotives according to claim 1, characterized in that: The step of judging whether the distance between the running locomotives reaches a safe distance range according to the continuous signal includes: determining a frequency band of the continuous signal; Performing Fourier transform on the continuous signal of the frequency band to obtain a corresponding spectrum; The amplitude of the second frequency point is sequentially extracted from the corresponding frequency spectrum and compared with a preset threshold. If the amplitude of the extracted second frequency point is greater than the preset threshold, it is determined that the running locomotive distance reaches a safe distance range.
8. A running locomotive distance identification system, characterized in that: include: An acquisition module, used to acquire the complete inherent noise frequency band of the running locomotive; A setting module, configured to set a filter based on the inherent noise frequency band, wherein the filter only filters signals passing through the inherent noise frequency band; A collection module, used for collecting signals on the track and inputting the collected signals into the filter; The judgment module is used to judge whether the filter outputs a signal; if the filter does not output a signal, it is judged that there is no running locomotive on the track; if the filter outputs a continuous signal, it is judged that there is a running locomotive on the track; and, based on the continuous signal, it is judged whether the distance of the running locomotive reaches a safe distance range. When the distance of the running locomotive reaches the safe distance range, an alarm signal is issued to provide a safety warning.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the running locomotive distance identification method according to any one of claims 1 to 7 is implemented.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the running locomotive distance identification method according to any one of claims 1-7 is implemented.
