Method and apparatus for identifying a compensation capacitance signal
Patent Information
- Application Number
- CN202510696834.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2045-05-28
AI Technical Summary
这种方法的主要缺点在于其低效率和劳动强度大,特别是在广阔的铁路网络中,需要大量人力和时间进行检测
[0022] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for identifying compensation capacitor signals.
Smart Images

Figure CN120632339B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of railway signal control technology, and in particular to a method and apparatus for identifying compensation capacitor signals. Background Technology
[0002] This section is intended to provide background or context for the embodiments of the invention set forth in the claims. The description herein is not an admission that it is prior art simply because it is included in this section.
[0003] With the rapid development of high-speed railway technology, train operation control systems are playing an increasingly important role in ensuring train operation safety and improving transportation efficiency. Track circuits, as a crucial part of the train control system, are mainly used to monitor track occupancy status and control signals and switching devices to ensure train operation safety. During signal transmission, the high inductive reactance of the rails due to high carrier frequencies results in reactive power loss, shortening the signal transmission distance. Therefore, installing compensation capacitors at equal intervals within sections counteracts the high inductive impedance of the rails, minimizing the adverse effects of rail inductance on transmission, thereby enhancing signal amplitude and extending transmission distance. Changes in the operating state of the compensation capacitors affect the communication of the track circuit network. In the adjusted state, a faulty compensation capacitor will reduce the signal amplitude of the corresponding section of the track circuit, potentially causing the relays of the corresponding signals to drop, mistakenly identifying a train as present when there is no train on the track, affecting train operation efficiency and even endangering operational safety. To address the serious safety hazards that may result from changes in the state or faults of compensation capacitors in high-speed railway systems, timely and accurate identification of compensation capacitor signals is crucial, directly related to the stability of the track circuits and the safe operation of trains.
[0004] Currently, two main inspection methods are used in the maintenance of compensation capacitors in railway systems: manual on-site measurement and periodic inspections by dedicated inspection vehicles. While each method has its advantages, they also present significant limitations and challenges, requiring further technological improvements and research. Firstly, the manual on-site measurement method relies on personnel using portable equipment to inspect each compensation capacitor on the rails. The main drawbacks of this method are its low efficiency and high labor intensity, especially in the vast railway network, requiring substantial manpower and time for inspection. Furthermore, the low level of automation not only increases the risk of human error but also limits the frequency and real-time nature of inspections. On the other hand, while periodic inspections using dedicated inspection vehicles can improve efficiency and accuracy and are widely used in routine maintenance, this method also has its drawbacks, leading to compromised accuracy of the inspection data. Existing technologies have low accuracy in identifying compensation capacitor signals, relying on manual analysis, which affects the efficiency of signal identification and ultimately reduces the reliability of railway safety operations. Summary of the Invention
[0005] This invention provides a method for identifying compensation capacitor signals, thereby improving the accuracy and efficiency of compensation capacitor signal identification and providing a basis for the reliability of subsequent railway safety operations. The method includes:
[0006] The original capacitor pulse signal is traversed through a sliding window of preset time length. The maximum peak value and the corresponding pulse point position of the capacitor pulse signal in each window are extracted to generate the maximum peak value array and the position array of the capacitor pulse signal.
[0007] Traverse the position array, filter out continuous position sequences that satisfy the position spacing not exceeding the preset maximum width of the strip pulse, generate candidate capacitor pulse regions, obtain the average peak value of the maximum peak array within the candidate capacitor pulse regions, and obtain the maximum peak value of the maximum peak array within the adjacent regions of the candidate capacitor pulse regions.
[0008] Based on the comparison between the average peak value of the maximum peak value array within the candidate capacitor pulse region and the maximum peak value of the maximum peak value array within the adjacent region, the candidate capacitor pulse region is determined as the effective capacitor pulse region.
[0009] The pulse interval that appears most frequently in the effective capacitance pulse region is used as the standard pulse interval of the capacitance pulse signal, and the pulse point and maximum peak value corresponding to the standard pulse interval are obtained.
[0010] Based on each pulse point and maximum peak value corresponding to the standard pulse interval, generate the maximum peak value array and pulse point position array of the compensation capacitor pulse signal;
[0011] A search algorithm is used to perform a bidirectional search, taking each pulse point corresponding to the standard pulse interval as a reference point and the standard pulse interval as the interval between adjacent pulse points, to obtain multiple new pulse points.
[0012] Multiple new pulse points are added to the pulse point position array of the compensation capacitor pulse signal, and the maximum peak value corresponding to the multiple new pulse points is added to the maximum peak value array of the compensation capacitor pulse signal. The compensation capacitor pulse signal is identified based on the maximum peak value array and the pulse point position array of the compensation capacitor pulse signal.
[0013] This invention also provides a device for identifying compensation capacitance signals, which improves the accuracy and efficiency of identifying compensation capacitance signals and provides a basis for the reliability of subsequent railway safety operations. The device includes:
[0014] The module for generating the maximum peak value array and position array of the original capacitor pulse signal is used to traverse the original capacitor pulse signal using a sliding window of a preset time length, extract the maximum peak value and the corresponding pulse point position of the capacitor pulse signal in each window, and generate the maximum peak value array and position array of the capacitor pulse signal.
[0015] The candidate capacitance pulse region determination module is used to traverse the position array, filter out continuous position sequences that satisfy the position spacing not exceeding the preset maximum width of the strip pulse, generate candidate capacitance pulse regions, obtain the average peak value of the maximum peak value array within the candidate capacitance pulse region, and obtain the maximum peak value of the maximum peak value array within the adjacent regions of the candidate capacitance pulse region.
[0016] The effective capacitance pulse region determination module is used to determine the candidate capacitance pulse region as an effective capacitance pulse region based on the comparison result between the average peak value of the maximum peak value array in the candidate capacitance pulse region and the maximum peak value of the maximum peak value array in the adjacent region.
[0017] The standard pulse interval determination module is used to count the pulse interval that appears most frequently in the effective capacitance pulse region, and use it as the standard pulse interval of the capacitance pulse signal to obtain each pulse point and the maximum peak value corresponding to the standard pulse interval.
[0018] The module for generating the maximum peak value array and pulse point position array of the compensation capacitor pulse signal is used to generate the maximum peak value array and pulse point position array of the compensation capacitor pulse signal based on each pulse point and the maximum peak value corresponding to the standard pulse interval.
[0019] The new pulse point acquisition module is used to perform a bidirectional search using a search algorithm, taking each pulse point corresponding to the standard pulse interval as a reference point and the standard pulse interval as the interval between adjacent pulse points, to obtain multiple new pulse points.
[0020] The compensation capacitor pulse signal identification module is used to add multiple new pulse points to the pulse point position array of the compensation capacitor pulse signal, add the maximum peak value corresponding to the multiple new pulse points to the maximum peak value array of the compensation capacitor pulse signal, and identify the compensation capacitor pulse signal based on the maximum peak value array and the pulse point position array of the compensation capacitor pulse signal.
[0021] This invention also provides a computer 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, it implements the above-described method for identifying compensation capacitor signals.
[0022] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for identifying compensation capacitor signals.
[0023] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described method for identifying compensation capacitor signals.
[0024] In this embodiment of the invention, the original capacitance pulse signal is traversed using a sliding window of a preset time length. The maximum peak value and corresponding pulse point position of the capacitance pulse signal within each window are extracted to generate a maximum peak value array and a position array of the capacitance pulse signal. The position array is traversed to filter out continuous position sequences that satisfy the condition that the position spacing does not exceed the maximum width of a preset strip pulse, generating candidate capacitance pulse regions. The average peak value of the maximum peak value array is obtained within the candidate capacitance pulse regions, and the maximum peak value of the maximum peak value array is obtained within the adjacent regions of the candidate capacitance pulse regions. Based on the comparison between the average peak value of the maximum peak value array within the candidate capacitance pulse regions and the maximum peak value of the maximum peak value array within the adjacent regions, the candidate capacitance pulse regions are determined as valid capacitance pulse regions. The effective capacitance pulse regions are statistically analyzed. The most frequent pulse interval is used as the standard pulse interval for the capacitor pulse signal. Each pulse point and maximum peak value corresponding to the standard pulse interval are obtained. Based on each pulse point and maximum peak value corresponding to the standard pulse interval, an array of maximum peak values and an array of pulse point positions for the compensated capacitor pulse signal are generated. A search algorithm is used, with each pulse point corresponding to the standard pulse interval as a reference point and the standard pulse interval as the interval between adjacent pulse points, to perform a bidirectional search, obtaining multiple new pulse points. These multiple new pulse points are added to the array of pulse point positions for the compensated capacitor pulse signal, and the maximum peak values corresponding to these multiple new pulse points are added to the array of maximum peak values for the compensated capacitor pulse signal. Based on the array of maximum peak values and the array of pulse point positions for the compensated capacitor pulse signal, the compensated capacitor pulse signal is identified. In the above process, this embodiment of the invention uses a sliding window to capture the maximum peak value and corresponding pulse point position in the original capacitor pulse signal, completely preserving signal characteristics and avoiding signal distortion problems caused by traditional filtering operations. Furthermore, the search algorithm starts from the pulse point corresponding to the standard pulse interval and searches bidirectionally for new pulse points, forming a complete array of compensated capacitor position values and an array of maximum peak values. This improves the identification accuracy and efficiency of the supplementary capacitor signal, providing a basis for the reliability of subsequent railway safety operations. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:
[0026] Figure 1 This is a flowchart of the method for identifying compensation capacitor signals in an embodiment of the present invention;
[0027] Figure 2 This is a schematic diagram illustrating the working principle of the sliding window in an embodiment of the present invention;
[0028] Figure 3 This is a flowchart illustrating the process of selecting pulse intervals in an embodiment of the present invention;
[0029] Figure 4 This is a flowchart illustrating the determination of a new pulse point in an embodiment of the present invention;
[0030] Figure 5 This is a schematic diagram of the identification device for the compensation capacitor signal in an embodiment of the present invention. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0032] Figure 1 This is a flowchart of a method for identifying compensation capacitor signals in an embodiment of the present invention. The method includes:
[0033] Step 101: Use a sliding window of preset time length to traverse the original capacitor pulse signal, extract the maximum peak value and corresponding pulse point position of the capacitor pulse signal in each window, and generate the maximum peak value array and position array of the capacitor pulse signal.
[0034] Step 102: Traverse the position array, filter out continuous position sequences that satisfy the position spacing not exceeding the preset maximum width of the strip pulse, generate candidate capacitor pulse regions, obtain the average peak value of the maximum peak array in the candidate capacitor pulse regions, and obtain the maximum peak value of the maximum peak array in the adjacent regions of the candidate capacitor pulse regions.
[0035] Step 103: Based on the comparison between the average peak value of the maximum peak value array within the candidate capacitor pulse region and the maximum peak value of the maximum peak value array within the adjacent region, determine the candidate capacitor pulse region as the effective capacitor pulse region.
[0036] Step 104: Calculate the pulse interval with the highest frequency in the effective capacitance pulse region and use it as the standard pulse interval of the capacitance pulse signal. Obtain each pulse point and the maximum peak value corresponding to the standard pulse interval.
[0037] Step 105: Based on each pulse point and maximum peak value corresponding to the standard pulse interval, generate the maximum peak value array and pulse point position array of the compensation capacitor pulse signal;
[0038] Step 106: Using a search algorithm, each pulse point corresponding to the standard pulse interval is used as a reference point, and the standard pulse interval is used as the interval between adjacent pulse points to perform a bidirectional search to obtain multiple new pulse points.
[0039] Step 107: Add multiple new pulse points to the pulse point position array of the compensation capacitor pulse signal, add the maximum peak value corresponding to the multiple new pulse points to the maximum peak value array of the compensation capacitor pulse signal, and identify the compensation capacitor pulse signal based on the maximum peak value array and the pulse point position array of the compensation capacitor pulse signal.
[0040] Each step is explained in detail below.
[0041] In step 101, a sliding window of a preset time length is used to traverse the original capacitor pulse signal, extract the maximum peak value and the corresponding pulse point position of the capacitor pulse signal in each window, and generate the maximum peak value array and position array of the capacitor pulse signal.
[0042] Figure 2 This is a schematic diagram of the working principle of the sliding window in an embodiment of the present invention. In a specific embodiment, the window is continuously moved through a window of a preset time length and the maximum peak value in each window is extracted. In this way, the local maximum peak value of the data in each window can be extracted, thereby more compensation capacitor signals can be retained more effectively. Figure 2 Images ①, ②, and ③ show three sliding windows, each with a preset time length (width) of W. After the maximum peak value detection processing of the sliding windows described above, the peak contention result for window ① is S4, for window ② it is S12, and for window ③ it is S... 13 It can be found that S is located near the position of the second compensation capacitor. 12 and S 13 Pulse points (black dots) are preserved, forming candidate capacitance pulse regions. A sliding window of preset time length is used to traverse the original capacitance pulse signal, thereby accurately capturing the local maximum peak value and its pulse point location, avoiding information distortion caused by traditional filtering.
[0043] In step 102, the position array is traversed to select continuous position sequences that satisfy the condition that the position spacing does not exceed the preset maximum width of the strip pulse, and candidate capacitor pulse regions are generated. The average peak value of the maximum peak array is obtained within the candidate capacitor pulse regions, and the maximum peak value of the maximum peak array is obtained within the adjacent regions of the candidate capacitor pulse regions.
[0044] In a specific embodiment, the position array is traversed, with p i+k -p i ≤D is the screening condition. A continuous sequence of positions satisfying the screening condition is obtained as a candidate capacitance pulse region, where p i+k p represents the position data of the (i+k)th pulse. i Let represent the position data of the i-th pulse, and D represent the preset maximum width of the strip pulse. The maximum width of the strip pulse (D) is set by calculating the third quartile (Q3) and the interquartile range (IQ) of the width of all candidate regions. RAnd set D = Q³ + 1.5 × IQ R .
[0045] In one embodiment, determining a candidate capacitance pulse region as a valid capacitance pulse region based on a comparison between the average peak value of the maximum peak value array within the candidate capacitance pulse region and the maximum peak value of the maximum peak value array within adjacent regions includes:
[0046] When the average peak value of the candidate capacitor pulse region is greater than the maximum peak value of the adjacent region by a preset multiple, the candidate capacitor pulse region is determined as the effective capacitor pulse region.
[0047] In a specific embodiment, the average peak value of the selected capacitor pulse region R is calculated. The relationship between the average peak value of the selected capacitor pulse region R and the maximum peak value of its adjacent regions is compared using a peak comparison factor α. Here, α is used to determine whether the signal peak value near the compensation capacitor location is significantly higher than that of surrounding nodes. If the average peak value of the candidate capacitor pulse region is greater than α times the maximum peak value of the adjacent regions, then R is determined to be a valid capacitor pulse region.
[0048] In step 103, the candidate capacitor pulse region is determined as an effective capacitor pulse region based on the comparison between the average peak value of the maximum peak value array within the candidate capacitor pulse region and the maximum peak value of the maximum peak value array within the adjacent region.
[0049] Figure 3 This is a flowchart of the pulse interval selection process in an embodiment of the present invention. In one embodiment, before selecting the pulse interval that appears most frequently within the effective capacitance pulse region, the process further includes:
[0050] Step 301: Within the effective capacitor pulse region, pulse intervals that meet the screening conditions are obtained by using a screening condition that is greater than the preset minimum capacitor pulse interval and less than the preset maximum capacitor pulse interval.
[0051] Step 302: Among the pulse intervals that meet the screening criteria, count the pulse intervals that appear most frequently.
[0052] In step 104, the pulse interval with the highest frequency within the effective capacitance pulse region is statistically analyzed and used as the standard pulse interval for the capacitance pulse signal. Each pulse point and maximum peak value corresponding to the standard pulse interval are then obtained. In step 105, based on each pulse point and maximum peak value corresponding to the standard pulse interval, an array of maximum peak values and an array of pulse point positions for the compensation capacitance pulse signal are generated. Based on the determined standard pulse interval, subsequent identification of the compensation capacitance signal is performed.
[0053] In step 106, a search algorithm is used to perform a bidirectional search with each pulse point corresponding to the standard pulse interval as a reference point and the standard pulse interval as the interval between adjacent pulse points, to obtain multiple new pulse points.
[0054] Figure 4 This is a flowchart illustrating the determination of new pulse points in an embodiment of the present invention. In one embodiment, a search algorithm is used, with each pulse point corresponding to a standard pulse interval as a reference point and the standard pulse interval as the interval between adjacent pulse points, to perform a bidirectional search, resulting in multiple new pulse points, including:
[0055] Step 401: Using each pulse point as a reference point, a search algorithm is used to extend bidirectionally to the left and right of the reference point based on the standard pulse interval to obtain the extended candidate pulse point positions.
[0056] Step 402: Using the candidate pulse point position as the origin position, determine whether the preset range of the origin position contains a reference point. If not, add the selected pulse point position as the new pulse point position to the pulse point position array of the compensation capacitor pulse signal.
[0057] In a specific embodiment, starting from each reference point, the search expands to the right for each reference point. It checks whether the reference point is contained within the vicinity of the new pulse point. If not, the maximum peak value within the vicinity of the new pulse point and the new pulse point are added to the maximum peak value array and pulse point position array of the compensation capacitor pulse signal. The search to the left is similar.
[0058] In step 107, multiple new pulse points are added to the pulse point position array of the compensation capacitor pulse signal, and the maximum peak value corresponding to the multiple new pulse points is added to the maximum peak value array of the compensation capacitor pulse signal. The compensation capacitor pulse signal is identified based on the maximum peak value array and the pulse point position array of the compensation capacitor pulse signal.
[0059] In a specific embodiment, the search for new pulse points is expanded to the left and right to update the maximum peak value array and pulse point position array of the compensation capacitor pulse signal, thereby establishing a more complete compensation capacitor signal.
[0060] This invention also provides a device for identifying compensation capacitor signals, as described in the following embodiments. Since the principle by which this device solves the problem is similar to the method for identifying compensation capacitor signals, the implementation of this device can refer to the implementation of the method for identifying compensation capacitor signals; repeated details will not be elaborated further.
[0061] Figure 5 This is a schematic diagram of a compensation capacitor signal identification device in an embodiment of the present invention. The device includes:
[0062] The original capacitor pulse signal maximum peak value array and position array generation module 501 is used to traverse the original capacitor pulse signal using a sliding window of preset time length, extract the maximum peak value of the capacitor pulse signal and the corresponding pulse point position in each window, and generate the maximum peak value array and position array of the capacitor pulse signal.
[0063] The candidate capacitor pulse region determination module 502 is used to traverse the position array, filter out the continuous position sequence that satisfies the position spacing not exceeding the preset maximum width of the strip pulse, generate the candidate capacitor pulse region, obtain the average peak value of the maximum peak value array in the candidate capacitor pulse region, and obtain the maximum peak value of the maximum peak value array in the adjacent region of the candidate capacitor pulse region.
[0064] The effective capacitance pulse region determination module 503 is used to determine the candidate capacitance pulse region as an effective capacitance pulse region based on the comparison result between the average peak value of the maximum peak value array in the candidate capacitance pulse region and the maximum peak value of the maximum peak value array in the adjacent region.
[0065] The standard pulse interval determination module 504 is used to count the pulse interval that appears most frequently in the effective capacitance pulse region, and use it as the standard pulse interval of the capacitance pulse signal to obtain each pulse point and the maximum peak value corresponding to the standard pulse interval.
[0066] The compensation capacitor pulse signal maximum peak value array and pulse point position array generation module 505 is used to generate the compensation capacitor pulse signal maximum peak value array and pulse point position array based on each pulse point and maximum peak value corresponding to the standard pulse interval;
[0067] The new pulse point acquisition module 506 is used to perform a bidirectional search using a search algorithm, taking each pulse point corresponding to the standard pulse interval as a reference point and the standard pulse interval as the interval between adjacent pulse points, to obtain multiple new pulse points.
[0068] The compensation capacitor pulse signal identification module 507 is used to add multiple new pulse points to the pulse point position array of the compensation capacitor pulse signal, add the maximum peak value corresponding to the multiple new pulse points to the maximum peak value array of the compensation capacitor pulse signal, and identify the compensation capacitor pulse signal based on the maximum peak value array and the pulse point position array of the compensation capacitor pulse signal.
[0069] In one embodiment, the effective capacitance pulse region determination module 503 is specifically used for:
[0070] When the average peak value of the candidate capacitor pulse region is greater than the maximum peak value of the adjacent region by a preset multiple, the candidate capacitor pulse region is determined as the effective capacitor pulse region.
[0071] In one embodiment, the standard pulse interval determination module 504 is further configured to:
[0072] Within the effective capacitance pulse region, pulse intervals that meet the screening criteria are obtained by using a threshold greater than the preset minimum capacitance pulse interval and a threshold less than the preset maximum capacitance pulse interval.
[0073] Among the pulse intervals that meet the screening criteria, the pulse interval that appears most frequently is counted.
[0074] In one embodiment, the new pulse point acquisition module 506 is specifically used for:
[0075] Using each pulse point as a reference point, a search algorithm is used to extend bidirectionally to the left and right of the reference point based on the standard pulse interval to obtain the extended candidate pulse point positions.
[0076] Using the candidate pulse point position as the origin position, determine whether the preset range of the origin position contains a reference point. If not, add the selected pulse point position as the new pulse point position to the pulse point position array of the compensation capacitor pulse signal.
[0077] This invention also provides a computer 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, it implements the above-described method for identifying compensation capacitor signals.
[0078] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for identifying compensation capacitor signals.
[0079] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described method for identifying compensation capacitor signals.
[0080] In this embodiment of the invention, the original capacitance pulse signal is traversed using a sliding window of a preset time length. The maximum peak value and corresponding pulse point position of the capacitance pulse signal within each window are extracted to generate a maximum peak value array and a position array of the capacitance pulse signal. The position array is traversed to filter out continuous position sequences that satisfy the condition that the position spacing does not exceed the maximum width of a preset strip pulse, generating candidate capacitance pulse regions. The average peak value of the maximum peak value array is obtained within the candidate capacitance pulse regions, and the maximum peak value of the maximum peak value array is obtained within the adjacent regions of the candidate capacitance pulse regions. Based on the comparison between the average peak value of the maximum peak value array within the candidate capacitance pulse regions and the maximum peak value of the maximum peak value array within the adjacent regions, the candidate capacitance pulse regions are determined as valid capacitance pulse regions. The effective capacitance pulse regions are statistically analyzed. The most frequent pulse interval is used as the standard pulse interval for the capacitor pulse signal. Each pulse point and maximum peak value corresponding to the standard pulse interval are obtained. Based on each pulse point and maximum peak value corresponding to the standard pulse interval, an array of maximum peak values and an array of pulse point positions for the compensated capacitor pulse signal are generated. A search algorithm is used, with each pulse point corresponding to the standard pulse interval as a reference point and the standard pulse interval as the interval between adjacent pulse points, to perform a bidirectional search, obtaining multiple new pulse points. These multiple new pulse points are added to the array of pulse point positions for the compensated capacitor pulse signal, and the maximum peak values corresponding to these multiple new pulse points are added to the array of maximum peak values for the compensated capacitor pulse signal. Based on the array of maximum peak values and the array of pulse point positions for the compensated capacitor pulse signal, the compensated capacitor pulse signal is identified. In the above process, this embodiment of the invention uses a sliding window to capture the maximum peak value and corresponding pulse point position in the original capacitor pulse signal, completely preserving signal characteristics and avoiding signal distortion problems caused by traditional filtering operations. Furthermore, the search algorithm starts from the pulse point corresponding to the standard pulse interval and searches bidirectionally for new pulse points, forming a complete array of compensated capacitor position values and an array of maximum peak values. This improves the identification accuracy and efficiency of the supplementary capacitor signal, providing a basis for the reliability of subsequent railway safety operations.
[0081] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0082] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0083] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0084] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0085] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for identifying compensation capacitor signals, characterized in that, include: The original capacitor pulse signal is traversed by a sliding window of preset time length. The maximum peak value and the corresponding pulse point position of the capacitor pulse signal in each window are extracted to generate the maximum peak value array and the position array of the capacitor pulse signal. Traverse the position array, filter out continuous position sequences that satisfy the position spacing not exceeding the preset maximum width of the strip pulse, generate candidate capacitor pulse regions, obtain the average peak value of the maximum peak array within the candidate capacitor pulse regions, and obtain the maximum peak value of the maximum peak array within the adjacent regions of the candidate capacitor pulse regions. Based on the comparison between the average peak value of the maximum peak value array within the candidate capacitance pulse region and the maximum peak value of the maximum peak value array within the adjacent region, the candidate capacitance pulse region is determined as the effective capacitance pulse region. The pulse interval that appears most frequently in the effective capacitance pulse region is used as the standard pulse interval of the capacitance pulse signal, and the pulse point and maximum peak value corresponding to the standard pulse interval are obtained. Based on each pulse point and maximum peak value corresponding to the standard pulse interval, generate the maximum peak value array and pulse point position array of the compensation capacitor pulse signal; A search algorithm is used to perform a bidirectional search, taking each pulse point corresponding to the standard pulse interval as a reference point and the standard pulse interval as the interval between adjacent pulse points, to obtain multiple new pulse points. Multiple new pulse points are added to the pulse point position array of the compensation capacitor pulse signal, and the maximum peak value corresponding to the multiple new pulse points is added to the maximum peak value array of the compensation capacitor pulse signal. The compensation capacitor pulse signal is identified based on the maximum peak value array and the pulse point position array of the compensation capacitor pulse signal. Based on the comparison between the average peak value of the maximum peak value array within the candidate capacitance pulse region and the maximum peak value of the maximum peak value array within the adjacent region, the candidate capacitance pulse region is determined as a valid capacitance pulse region, including: When the average peak value of the candidate capacitor pulse region is greater than the maximum peak value of the adjacent region by a preset multiple, the candidate capacitor pulse region is determined as the effective capacitor pulse region based on the comparison results. A search algorithm is used, with each pulse point corresponding to the standard pulse interval as a reference point and the standard pulse interval as the interval between adjacent pulse points, to perform a bidirectional search, resulting in multiple new pulse points, including: Using each pulse point as a reference point, a search algorithm is used to extend bidirectionally to the left and right of the reference point based on the standard pulse interval to obtain the extended candidate pulse point positions. Using the candidate pulse point position as the origin position, determine whether the preset range of the origin position contains a reference point. If not, add the candidate pulse point position as a new pulse point position to the pulse point position array of the compensation capacitor pulse signal.
2. The method as described in claim 1, characterized in that, Before calculating the pulse interval with the highest frequency within the effective capacitance pulse region, the following is also included: Within the effective capacitance pulse region, pulse intervals that meet the screening criteria are obtained by using a threshold greater than the preset minimum capacitance pulse interval and a threshold less than the preset maximum capacitance pulse interval. Among the pulse intervals that meet the screening criteria, the pulse interval that appears most frequently is counted.
3. A device for identifying compensation capacitor signals, characterized in that, include: The module for generating the maximum peak value array and position array of the original capacitor pulse signal is used to traverse the original capacitor pulse signal using a sliding window of a preset time length, extract the maximum peak value and the corresponding pulse point position of the capacitor pulse signal in each window, and generate the maximum peak value array and position array of the capacitor pulse signal. The candidate capacitance pulse region determination module is used to traverse the position array, filter out continuous position sequences that satisfy the position spacing not exceeding the preset maximum width of the strip pulse, generate candidate capacitance pulse regions, obtain the average peak value of the maximum peak value array within the candidate capacitance pulse region, and obtain the maximum peak value of the maximum peak value array within the adjacent regions of the candidate capacitance pulse region. The effective capacitance pulse region determination module is used to determine the candidate capacitance pulse region as an effective capacitance pulse region based on the comparison result between the average peak value of the maximum peak value array in the candidate capacitance pulse region and the maximum peak value of the maximum peak value array in the adjacent region. The standard pulse interval determination module is used to count the pulse interval that appears most frequently in the effective capacitance pulse region, and use it as the standard pulse interval of the capacitance pulse signal to obtain each pulse point and the maximum peak value corresponding to the standard pulse interval. The module for generating the maximum peak value array and pulse point position array of the compensation capacitor pulse signal is used to generate the maximum peak value array and pulse point position array of the compensation capacitor pulse signal based on each pulse point and the maximum peak value corresponding to the standard pulse interval. The new pulse point acquisition module is used to perform a bidirectional search using a search algorithm, taking each pulse point corresponding to the standard pulse interval as a reference point and the standard pulse interval as the interval between adjacent pulse points, to obtain multiple new pulse points. The compensation capacitor pulse signal identification module is used to add multiple new pulse points to the pulse point position array of the compensation capacitor pulse signal, add the maximum peak value corresponding to the multiple new pulse points to the maximum peak value array of the compensation capacitor pulse signal, and identify the compensation capacitor pulse signal based on the maximum peak value array and the pulse point position array of the compensation capacitor pulse signal. The effective capacitance pulse region determination module is specifically used for: When the average peak value of the candidate capacitor pulse region is greater than the maximum peak value of the adjacent region by a preset multiple, the candidate capacitor pulse region is determined as the effective capacitor pulse region based on the comparison results. The new pulse point acquisition module is specifically used for: Using each pulse point as a reference point, a search algorithm is used to extend bidirectionally to the left and right of the reference point based on the standard pulse interval to obtain the extended candidate pulse point positions. Using the candidate pulse point position as the origin position, determine whether the preset range of the origin position contains a reference point. If not, add the candidate pulse point position as a new pulse point position to the pulse point position array of the compensation capacitor pulse signal.
4. The apparatus as described in claim 3, characterized in that, The standard pulse interval determination module is also used for: Within the effective capacitance pulse region, pulse intervals that meet the screening criteria are obtained by using a threshold greater than the preset minimum capacitance pulse interval and a threshold less than the preset maximum capacitance pulse interval. Among the pulse intervals that meet the screening criteria, the pulse interval that appears most frequently is counted.
5. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 2.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1 to 2.
7. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method of any one of claims 1 to 2.
Citation Information
Patent Citations
Compensation capacitor state automatic identification method and device
CN116304616A
Performance evaluation method for vehicle-mounted electromagnetic pulse device
CN118133658A