Data processing method for waveform data
The data processing method aligns correction target waveform data with reference data using cross-correlation and dynamic time warping to correct positional deviations, ensuring accurate track displacement measurements.
Patent Information
- Application Number
- JP2023061956
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-06
- Publication Date
- 2024-10-18
AI Technical Summary
Existing methods for correcting positional deviations in waveform data obtained from track displacement measurements using ground elements are inefficient, leading to inconsistencies in comparing and aligning track measurement data.
A data processing method that aligns correction target waveform data with reference waveform data using cross-correlation coefficients, creating a matrix based on dynamic time warping, and setting a minimum cost path to correct positional deviations between two waveform data sets.
The method effectively corrects positional deviations between waveform data, ensuring accurate alignment and reliability of track displacement measurements, even when data inconsistencies occur due to wheel idling or skidding.
Smart Images

Figure 2024148637000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a method for processing waveform data. [Background technology]
[0002] Traditionally, in railway tracks, track irregularity gradually progresses due to repeated loads from railway vehicles, causing a decrease in the running safety and ride comfort of railway vehicles, so maintenance is carried out by periodically running dedicated track inspection cars, etc. to inspect the track irregularity and, based on the data, to return the track to its original shape. In particular, small track inspection devices have been developed in recent years, and by mounting them on commercial vehicles, more frequent inspections are possible. Generally, the kilometres of track inspection data (position information on the track) are based on the detection signals of axle rotation speed detection devices using tachographs or axle rotation displacement detection devices such as rotary encoders for railway vehicles, so if the wheels of a vehicle equipped with a track inspection device spin or slide, differences in the distances measured for each data occur. Therefore, position information obtained based on the detection signals of axle rotation speed detection devices or rotation displacement detection devices is corrected using position information obtained by detecting ground coils such as data depots installed at specified positions on the track.
[0003] For example, FIG. 13 is an explanatory diagram relating to conventional position correction using a ground coil. The position information from the speed generator in this figure is a distance calculated from the wheel diameter and the number of revolutions of the wheel (axle) detected by an axle revolution speed detector. However, as mentioned above, errors occur due to wheels spinning or skidding, so the position information provided by the tachograph often differs from the actual distance. Therefore, this error is eliminated at regular intervals by position correction using ground coils. Specifically, a ground coil having position information is installed at a predetermined position on the track, and the position information of the track inspection data, which is waveform data, is corrected using the ground coil position information detected during the inspection of track irregularity. However, when performing position correction using ground coils, the sampling intervals of different track inspection data may not match, meaning that each track inspection data contains a different position offset for each inspection, making it difficult to compare different track inspection data at any point.
[0004] In order to solve such problems with position correction by ground coils, a technology has been developed in which waveform data of track irregularity is processed by a position correction method using a cross-correlation method (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2020-3247 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, even with the position correction method disclosed in Patent Document 1, partial positional deviations may remain.
[0007] An object of the present invention is to provide a waveform data processing method that is excellent in correcting the positional deviation between two waveform data. [Means for solving the problem]
[0008] In order to achieve the above object, the present invention provides: A data processing method for waveform data, in which, of two waveform data obtained by measuring the same object, a reference waveform data that is obtained first and serves as a reference for position correction, a correction target waveform data that is obtained later is aligned with the reference waveform data, the data comprising: a route setting process for calculating cross-correlation coefficients between values of a plurality of measurement points obtained from the reference waveform data at a predetermined sampling period and values of a plurality of measurement points obtained from the correction target waveform data at the predetermined sampling period, creating a matrix based on the calculated cross-correlation coefficients, and setting a minimum-cost route that has the smallest cost among routes connecting the start point and end point of alignment in the matrix by a dynamic time warping method; a position correction waveform data creation step of connecting the correction target waveform data corresponding to measurement points of the matrix constituting the minimum cost route set in the route setting step, and creating position correction waveform data based on the correction target waveform data; Equipped with The route setting step calculates cross-correlation coefficients within a range of a predetermined width along a diagonal line connecting the start point and the end point to create the matrix, and sets the minimum cost route.
[0009] In a data processing method for waveform data having such a configuration, cross-correlation coefficients are calculated between the values of multiple measurement points obtained from the reference waveform data at a predetermined sampling period and the values of multiple measurement points obtained from the waveform data to be corrected at a predetermined sampling period, a matrix is created using the calculated cross-correlation coefficients, and a minimum-cost path that has the smallest cost among the paths connecting the start point and end point of the alignment in the matrix is set using a dynamic time warping method. In this way, it becomes possible to appropriately correct the positional deviation between the two waveform data. In particular, a matrix can be created by calculating cross-correlation coefficients within a specified range along the diagonal line connecting the start and end points of the alignment in the matrix, and a minimum-cost route can be set, thereby speeding up data processing by narrowing the calculation range in the matrix.
[0010] Also preferably, In the route setting process, when setting the minimum cost route, if the target waveform data includes multiple measurement points corresponding to one measurement point of the reference waveform data, the number of measurement points of the target waveform data for one measurement point of the reference waveform data is adjusted so that there is one measurement point of the target waveform data for each measurement point of the reference waveform data.
[0011] This makes it possible to more appropriately correct the positional deviation between the two waveform data.
[0012] Also preferably, The matrix created in the route setting step is converted into a cost matrix, and the minimum cost route is set based on the cost matrix.
[0013] This makes it possible to more appropriately set the minimum cost route.
[0014] Also preferably, a data number calculation step of calculating a difference between the number of data of the reference waveform data and the number of data of the correction target waveform data, The predetermined width along the diagonal line in the path setting step is set to be wider as the value of the difference in the number of pieces of data calculated in the number of pieces of data calculation step increases.
[0015] The greater the difference between the number of pieces of reference waveform data and the number of pieces of waveform data to be corrected, the greater the deviation of the waveform data. Therefore, by setting the specified width along the diagonal line connecting the start and end points of the alignment in the matrix wider as the difference in the number of pieces of data becomes greater, the calculation range in the matrix can be expanded and a minimum-cost path can be set appropriately. Furthermore, since the smaller the difference between the number of pieces of reference waveform data and the number of pieces of waveform data to be corrected, the smaller the deviation of the waveform data, the smaller the difference in the number of pieces of data is, so by setting a narrower specified width along the diagonal line connecting the start and end points of the alignment in the matrix, the calculation range in the matrix can be narrowed, and data processing can be accelerated to set a minimum-cost path. Effect of the Invention
[0016] According to the present invention, a waveform data processing method excellent in correcting the positional deviation between two waveform data can be obtained. [Brief description of the drawings]
[0017] [Figure 1] FIG. 2 is an explanatory diagram regarding track irregularity inspection in the present embodiment. [Diagram 2] 4 is a flowchart relating to data processing of waveform data according to the present embodiment. [Diagram 3] FIG. 11 is an explanatory diagram relating to data processing of waveform data of track irregularity. [Figure 4] FIG. 11 is an explanatory diagram relating to data processing of waveform data of track irregularity. [Diagram 5] FIG. 11 is an explanatory diagram relating to data processing of waveform data of track irregularity. [Figure 6] FIG. 11 is an explanatory diagram relating to data processing of waveform data of track irregularity. [Figure 7] FIG. 11 is an explanatory diagram relating to data processing of waveform data of track irregularity. [Figure 8] FIG. 11 is an explanatory diagram relating to data processing of waveform data of track irregularity. [Figure 9] FIG. 11 is an explanatory diagram relating to data processing of waveform data of track irregularity. [Figure 10] FIG. 1A is an explanatory diagram showing an example of alignment of waveform data by data processing of the present embodiment, and FIG. 1B is an explanatory diagram showing an example of alignment of waveform data by a conventional technique. [Figure 11] FIG. 11 is an explanatory diagram relating to another form of data processing of waveform data of track irregularity. [Figure 12] 14 is an explanatory diagram (a)(b)(c)(d)(e) regarding data processing that narrows the calculation range in a matrix. [Figure 13] 13A and 13B are explanatory diagrams of patterns for narrowing down the calculation range in a matrix. [Figure 14] FIG. 1 is an explanatory diagram relating to a conventional technique for position correction using a ground coil. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] Hereinafter, an embodiment of a data processing method for waveform data according to the present invention will be described in detail with reference to the drawings. However, the embodiment described below is subject to various technically preferable limitations for carrying out the present invention, but the scope of the present invention is not limited to the following embodiment and illustrated examples.
[0019] In this embodiment, a data processing method for waveform data of track irregularity obtained by measurement using a track irregularity inspection device 1 (see FIG. 1) mounted on a commercial vehicle T traveling on a track inspection section (track R) where ground electrodes D are installed at predetermined distances will be described. The data processing method for waveform data is performed by aligning the waveform data to be corrected, which was acquired later, with the reference waveform data, which was acquired earlier, of two waveform data acquired at different times.
[0020] For example, as shown in FIG. 1, a track displacement inspection device 1 mounted on a commercial vehicle T is capable of communicating with an information management device 10 installed in a specified railway facility, and data related to track displacement measured by the track displacement inspection device 1 is transmitted to the information management device 10, where various data processing operations are performed. The track displacement inspection device 1 includes a storage unit (not shown) that stores data obtained by measurement, a communication unit (not shown) that transmits the data to the information management device 10, and the like.
[0021] As shown in FIG. 1, the information management device 10 includes, for example, a control unit 11, a communication unit 12, an operation unit 13, a display unit 14, a storage unit 15, and the like. This information management device 10 is a computer operated by railway employees and installed in a control room or the like of a railway line.
[0022] The communication unit 12 has, for example, an antenna and a communication circuit, and communicates with the track irregularity inspection device 1 under the control of the control unit 11, and receives data related to track irregularity from the track irregularity inspection device 1. The operation unit 13 is, for example, a keyboard, a mouse, a touch panel formed integrally with the display unit 14, and the like, and operation input for executing various data processes can be performed using this operation unit 13. The display unit 14 is, for example, a liquid crystal display or an organic EL display, and displays waveform data of track irregularity, various processing results, and the like. The storage unit 15 is configured with, for example, a RAM, a ROM, a non-volatile memory, a hard disk drive, etc., and stores various control programs executed by the CPU (control unit 11), various basic data, etc. The storage unit 15 also stores data on track irregularity measured by the track irregularity inspection device 1, data obtained by performing predetermined processing on the track irregularity data, etc. The control unit 11 is, for example, a CPU, and controls each unit of the information management device 10 , and executes various processes according to a control program stored in the storage unit 15 . The data processing of the waveform data performed by the control unit 11 will be described later.
[0023] A track irregularity inspection device 1 mounted on a commercial vehicle T traveling on a track inspection section (track R) is adapted to correspond on-track position information (kilometers) to waveform data of the track irregularity while inspecting the track irregularity of the track R. Note that the on-track position information (kilometers) is information based on, for example, the rotation of the axle of the railway vehicle (axle rotational displacement detection signal), and includes errors due to wheel spin and skid. In the track inspection section (track R) on which the commercial vehicle T runs, ground coils D are installed every 1 km, so when the on-board coil (not shown) of the commercial vehicle T detects a ground coil D during track irregularity inspection, the position information (kilometers) held by the ground coil D is associated with the waveform data of the track irregularity. This position information (kilometers) from the ground coil D is absolute. In this way, the track irregularity waveform data associated with on-track position information (kilometers) is transmitted from the track irregularity inspection device 1 to the information management device 10 and stored in the memory unit 15 of the information management device 10 as waveform data to be corrected. Further, the storage unit 15 of the information management device 10 stores in advance reference waveform data that serves as a reference for position correction.
[0024] Next, a data processing method for waveform data of track irregularity in this embodiment will be described, which is a process for correcting a position shift between two waveform data obtained at different times for track irregularity. Here, the following description will be given with reference to the flowchart shown in FIG. 2, taking as an example data processing of waveform data in which subsequently acquired target waveform data is aligned with previously acquired reference waveform data that serves as the basis for position correction. The waveform data is processed in the information management device 10 (control unit 11).
[0025] First, as shown in FIG. 3, for example, a process is executed to divide the reference waveform data and the correction target waveform data for each installation point of the ground coil in the track inspection section (first division step; step S1). FIG. 3 illustrates processing from the 10 km point to the 12 km point in the track inspection section, in which the reference waveform data and the waveform data to be corrected are separated at the 10 km point, the 11 km point, and the 12 km point where the ground coils are installed. For example, suppose the number of data points in the reference waveform data in the section from the 10 km point to the 11 km point is 4000, and the number of data points in the correction target waveform data is 3999. In this case, the difference in the number of data points (y) in that section is 1. Also, suppose the number of data points in the reference waveform data in the section from the 11 km point to the 12 km point is 4000, and the number of data points in the correction target waveform data is 4015. In this case, the difference in the number of data points (y) in that section is 15. In this manner, a data number calculation process (data number calculation step) is performed to calculate the difference (y) between the number of reference waveform data and the number of correction target waveform data in the section divided in the first division step.
[0026] Next, as shown in FIG. 4, for example, a process is executed to further divide the reference waveform data and the correction target waveform data in the section divided in the first division step (step S1) into predetermined small sections (second division step; step S2). Here, the section divided in the first division step is divided into small sections so as to be ten times smaller (in FIG. 4, the section from the 10 km point to the 11 km point).
[0027] In addition, the second division step (step S2) involves a reference waveform data extraction process (reference waveform data extraction process) that extracts a predetermined length of a portion of the reference waveform data located at the end of the small section, a correction target waveform data extraction process (correction target waveform data extraction process) that extracts a portion of the correction target waveform data corresponding to the end of the small section, the portion being longer than the predetermined length, and a small section end setting process (small section end setting process) that sets the position in the correction target waveform data extracted in the correction target waveform data extraction process at which the cross-correlation coefficient with the reference waveform data extracted in the reference waveform data extraction process is maximum as the end of the small section on the correction target waveform data side. For example, as shown in FIG. 4, a portion of the reference waveform data located at kilometer distance XX, which is the end of a small section, is extracted, and a portion of the correction target waveform data corresponding to that kilometer distance XX is extracted that is longer than the reference waveform data. Then, the same number of data as the extracted reference waveform data is cut out from the extracted correction target waveform data, centered on kilometres X1, X2 and X3, and the correlation between these three waveform data and the extracted reference waveform data is calculated. Here, since the data of kilometer distance X2 has the maximum cross-correlation coefficient with the extracted reference waveform data, that kilometer distance X2 is set as the end of the small section on the side of the waveform data to be corrected. This process is carried out for each small section.
[0028] It is noted that a portion of the waveform data to be corrected that corresponds to the end of a small section is extracted to be longer than a predetermined length (longer than the reference waveform data). Here, the larger the difference (y) between the number of reference waveform data and the number of waveform data to be corrected in the section separated in the first division step, the longer the portion of the waveform data to be corrected that is extracted. For example, if the difference between the number of reference waveform data and the number of waveform data to be corrected in the section divided in the first division step is y and the surcharge rate is α, the portion of the waveform data to be corrected is extracted to be y x α times longer than the specified length for extracting a portion of the reference waveform data. Here, when α=2, the difference (y) between the number of reference waveform data and the number of waveform data to be corrected in the section from the 10 km point to the 11 km point is 1, so the portion of the waveform data to be corrected is extracted to be twice as long (y=1, α=2) than the specified length for extracting a portion of the reference waveform data.
[0029] Next, as shown in Figures 5 and 6, for each small section divided in the second division step, a process is executed to create a matrix using a dynamic time warping method with the cross-correlation coefficient as a scale for multiple measurement points corresponding to the reference waveform data in that small section and multiple measurement points corresponding to the waveform data to be corrected (matrix creation step; step S3). Here, cross-correlation coefficients are calculated between the values of multiple measurement points obtained at a specified sampling period from the reference waveform data in that small section and the values of multiple measurement points obtained at a specified sampling period from the waveform data to be corrected, and a matrix is created using the calculated cross-correlation coefficients. The matrix in FIG. 5 is a matrix of “cross-correlation coefficients” using the dynamic time warping method, which is created according to the following formula (1). The matrix in FIG. 6 is a matrix of “1-cross-correlation coefficient” using the dynamic time warping method, which is created according to the following formula (2). In this embodiment, a 5×5 data matrix is used to make the subsequent processing easier to understand, but in actual processing, the matrix will be, for example, 1000×1000 data.
[0030]
number
[0031]
number
[0032] Next, as shown in FIG. 7, for example, a process of converting the matrix created in the matrix creation step (step S3) into a cost matrix is executed (matrix conversion step; step S4). Here, the matrix in FIG. 6 is converted into a cost matrix. In addition, the "cost" in the cost matrix means the accumulation of distances between two points at a certain point (in other words, the greater the accumulated distance, the greater the cost).
[0033] Next, as shown in FIG. 8, for example, a process is executed to set a minimum-cost route connecting a predetermined start point and an end point in the cost matrix obtained in the matrix conversion process (step S4) (route setting process; step S5). Specifically, a minimum-cost path that has the smallest cost among paths connecting the start point and end point of the alignment is set by dynamic time warping. Here, the starting point is the (1,1) square in the upper left corner of the cost matrix, and the end point is the (5,5) square in the lower right corner of the cost matrix, and the route that connects the smallest value squares from the end point to the starting point is set as the minimum cost route. A minimum-cost route is set connecting the squares (1,1)-(2,2)-(3,2)-(4,3)-(4,4)-(5,5).
[0034] Next, as shown in FIG. 9, if the multiple squares of the cost matrix constituting the minimum-cost route set in the route setting process (step S5) include multiple squares corresponding to one measurement point of the reference waveform data, the number of squares is adjusted so that one square corresponds to one measurement point of the reference waveform data, and a process is executed to adjust the minimum-cost route (route adjustment process; step S6). In this case, there are two squares (the (4,3) square and the (4,4) square) that correspond to "measurement point 4" in the reference waveform data, so a process is performed to select one of the two squares. When this cost matrix (top row in Fig. 9) is matched with the cross-correlation coefficient matrix (bottom row in Fig. 9), we see that, between the (4,3) square and the (4,4) square, the (4,3) square has a larger cross-correlation coefficient, so the (4,3) square is selected and the number of squares is adjusted. (In other words, the (4,4) square is deleted from the route.) In this way, the same number of waveform data to be corrected as the number of measurement points in the reference waveform data is obtained, so that data processing that would extend the reference waveform data is prevented. In addition, by deleting the square (4,4) from the route, the route has been adjusted to the minimum cost route connecting the squares (1,1)-(2,2)-(3,2)-(4,3)-(5,5) (see the bottom of Figure 9).
[0035] In the minimum-cost route, the inclusion of multiple squares corresponding to one measurement point in the reference waveform data (here, "measurement point 4") corresponds to the presence of excess data due to wheels spinning, so the excess data is deleted by processing here. Furthermore, in the minimum-cost route, the inclusion of multiple squares corresponding to one measurement point (here, "measurement point 2") of the waveform data to be corrected corresponds to adding missing data caused by the wheels skidding.
[0036] If there is one square corresponding to one measurement point of the reference waveform data among the multiple squares of the cost matrix that constitutes the minimum cost route, the process of step S6 is not necessary, and the process proceeds from step S5 to step S7.
[0037] Such a route adjustment process (S6) corresponds to adjusting the number of measurement points of the waveform data to be corrected so that there is one measurement point of the reference waveform data for each measurement point of the reference waveform data when multiple measurement points of the waveform data to be corrected corresponding to one measurement point of the reference waveform data are included in the route setting process (S5) to set a minimum-cost route.
[0038] The matrix creation process (S3) through the path adjustment process (S6) described above constitute a path setting process in a broad sense. In other words, for each small section divided in the second division step (S2), cross-correlation coefficients are calculated between the values of multiple measurement points obtained at a predetermined sampling period from the reference waveform data in that small section and the values of multiple measurement points obtained at a predetermined sampling period from the waveform data to be corrected, a matrix is created using the calculated cross-correlation coefficients, and a minimum-cost route that has the smallest cost among the routes connecting the start point and end point of the alignment in the matrix is set using dynamic time warping in a route setting step.When setting the minimum-cost route, if there are multiple measurement points in the waveform data to be corrected that correspond to one measurement point in the reference waveform data, a process is performed to adjust the number of measurement points in the waveform data to be corrected so that there is one measurement point in the reference waveform data.This is the route setting step in a broad sense.
[0039] Next, the data of the measurement points of the waveform data to be corrected that correspond to multiple squares of the cost matrix that constitutes the minimum-cost route adjusted in the route adjustment process (step S6) are connected, and a process is executed to create position-corrected waveform data based on the waveform data to be corrected in the short section (position-corrected waveform data creation process; step S7). In this case, a minimum-cost route is set connecting the squares (1,1)-(2,2)-(3,2)-(4,3)-(5,5), and position-corrected waveform data is created by connecting the data of the measurement points of the waveform data to be corrected that correspond to those squares. The process of creating the position-corrected waveform data in this manner corresponds to the process of aligning the correction target waveform data with the reference waveform data. As described above, if the processing of step S6 is not required, a position correction waveform data creation process (step S7) is executed in which data of measurement points of the waveform data to be corrected corresponding to multiple squares of the cost matrix constituting the minimum cost route set in the route setting process (step S5) is linked together, and position correction waveform data based on the waveform data to be corrected in a small section is created.
[0040] Next, a process is performed to determine whether the cross-correlation coefficient between the position correction waveform data for the small section created in the position correction waveform data creation process (step S7) and the reference waveform data for the small section is greater than or equal to a predetermined threshold value (determination process; step S8). In this judgment process (step S8), if it is determined that the cross-correlation coefficient with the reference waveform data in the short section is equal to or greater than a predetermined threshold value (step S8; Yes), the position-corrected waveform data is adopted and the data is stored in the memory unit 15 of the information management device 10 (created data storage process; step S9). On the other hand, in the judgment step (step S8), if it is determined that the cross-correlation coefficient with the reference waveform data in the small section is not equal to or greater than the predetermined threshold (is less than the threshold) (step S8; No), the data created in step S7 is not adopted, and provisional data for the small section is stored in the storage unit 15 of the information management device 10 (provisional data storage step; step S10). Note that the provisional data for the small section is, for example, the position correction waveform data for the small section adopted at the time of the previous track inspection.
[0041] Then, data processing is performed for all small sections, and the waveform data of track irregularity for the entire track inspection section is processed (processing to align the waveform data to be corrected with the reference waveform data (processing to create position corrected waveform data)), after which all the waveform data (position corrected waveform data) is connected to create waveform data of track irregularity, and data processing is completed.
[0042] In the above-mentioned step S8, if it is determined that the cross-correlation coefficient between the position-corrected waveform data in a small section and the reference waveform data in a small section is not equal to or greater than a predetermined threshold value, this means that the waveform patterns of the waveform data are too different, and this can be said to be a state in which, for example, rails have been replaced on the track, resulting in a track that is different from the track on which the reference waveform data was set. Therefore, new reference waveform data will be set thereafter.
[0043] According to the data processing method for waveform data of this embodiment, for example, as shown in FIG. 10(a), the correction target waveform data can be appropriately aligned with the reference waveform data. In contrast, in the position correction method of the above-mentioned conventional technique (JP Patent Publication No. 2020-3247), partial errors may remain, for example, as shown in FIG. 10(b). As described above, the waveform data processing method of this embodiment is excellent for correcting the positional deviation of two waveform data sets obtained at different times for track irregularity.
[0044] In particular, in the data processing method for waveform data in this embodiment, sections of track inspection waveform data obtained by dividing the data into sections for each installation point of the ground coil in the track inspection section are further divided into smaller sub-sections, and position correction waveform data is created for each of these sub-sections (processing for aligning the waveform data to be corrected with respect to the reference waveform data). Therefore, if there is a defect in part of the created position correction waveform data, that position correction waveform data is not adopted, and other position correction waveform data is used to process the waveform data for most of the track inspection section, making it possible to align the waveform data to be corrected with the reference waveform data. In other words, with the waveform data processing method of this embodiment, even if there is a defect in the processed data, it is only a portion of the data, and the majority of the remaining waveform data is reliable, so future predictions regarding track irregularities can be made based on that reliable data. In contrast, if processing is performed over the entire track inspection section, any defects in the data will reduce the reliability of the entire waveform data, and processing will have to be redone over the entire track inspection section, which is undesirable as it can easily result in waste of time required for data processing. In this manner, the method for processing waveform data according to this embodiment can be said to be an excellent technique.
[0045] In the above embodiment, a matrix is created using a dynamic time warping method with the cross-correlation coefficient as a scale, and then the matrix is converted into a cost matrix, and a route (minimum cost route) connecting a specified start point and end point square in the cost matrix is set; however, the present invention is not limited to the above embodiment. For example, as shown in FIG. 11, a route may be set that connects squares with a high cross-correlation coefficient between a predetermined start point and an end point in the “cross-correlation coefficient” matrix (see FIG. 5) created in the matrix creation process (step S3) (upper part of FIG. 11). In this case, a route is set up starting from square (1,1) and ending at square (5,5), connecting square (1,1) with a cross-correlation coefficient of 0.99, square (2,2) with a cross-correlation coefficient of 0.97, square (3,2) with a cross-correlation coefficient of 0.99, square (4,3) with a cross-correlation coefficient of 0.99, square (4,4) with a cross-correlation coefficient of 0.97, and square (5,5) with a cross-correlation coefficient of 0.99. In this route, there are two squares (the (4,3) square and the (4,4) square) that correspond to "measurement point 4" in the reference waveform data, so a process is performed to select one of the two squares. Of these two squares, the cross-correlation coefficient of the (4,3) square is large, so the (4,3) square is selected and the number of squares is adjusted (the (4,4) square is deleted from the route). In this way, the same number of waveform data to be corrected as the number of measurement points in the reference waveform data is obtained, so data processing that stretches the reference waveform data is not performed. Furthermore, by deleting the (4,4) square from the route, the route has been adjusted to connect the (1,1)-(2,2)-(3,2)-(4,3)-(5,5) squares (bottom of Figure 11). Even with this type of processing, a suitable route can be set, and processing can be performed to correct the positional deviation between two waveform data sets in which track irregularities were acquired at different times.
[0046] In the case of the “1-cross-correlation coefficient” matrix (see FIG. 6) created in the matrix creation process (step S3), by setting a path connecting the squares with a specified start point and end point and having a low “1-cross-correlation coefficient”, it is possible to similarly set and adjust a path connecting the squares (1,1)-(2,2)-(3,2)-(4,3)-(5,5).
[0047] Furthermore, the present invention is not limited to the above-described embodiment. In the above embodiment, in the matrix creation process (step S3), when creating a matrix using a dynamic time warping method in which the cross-correlation coefficient is used as a scale for multiple measurement points corresponding to the reference waveform data in a small section and multiple measurement points corresponding to the waveform data to be corrected, calculations are performed for all squares in the matrix, but the calculation range in the matrix may be narrowed to speed up data processing.
[0048] For example, to explain how to speed up data processing using the data processing described in the above embodiment using a 5 × 5 matrix as an example, data processing will be performed by narrowing the calculation range down to a range of a specified width along the diagonal line connecting a specified start point and end point square in the matrix, as shown in Figure 12. Here, a matrix is created with the calculation range narrowed down to a range of 3 squares vertically and 3 squares horizontally along the diagonal line connecting the squares of the specified start point and end point in the matrix. Figures 12(a) and (b) show a matrix obtained by dynamic time warping using the cross-correlation coefficient as a scale for multiple measurement points corresponding to the reference waveform data in a small section and multiple measurement points corresponding to the waveform data to be corrected, Figure 12(c) shows the cost matrix of Figure 12(b), Figure 12(d) shows the minimum-cost route in the cost matrix, and Figure 12(e) shows the adjusted minimum-cost route. In this case, the calculation range in the matrix is narrowed down to about half, which makes it possible to speed up data processing.
[0049] In this embodiment, the calculation range in the matrix is narrowed down according to the following formula (3). Y calc =ceil(max(α y,y min )) ···(3) where α is the premium rate, y is the difference between the number of reference waveform data and the number of waveform data to be corrected, y min :Minimum width, ceil is rounded up
[0050] For example, as shown in FIG. 3, the difference (y) between the number of reference waveform data and the number of waveform data to be corrected in the section from the 10 km point to the 11 km point is 1, so α=1.1, y min If you set =5, Y calc =ceil(max(1.1 1,5))=5. Then, as shown in FIG. 13(a), the calculation range is narrowed down to a range of 5 squares vertically and 5 squares horizontally along the diagonal line connecting the squares of a given start point and end point in the matrix. As shown in FIG. 3, the difference (y) between the number of reference waveform data and the number of waveform data to be corrected in the section from the 11 km point to the 12 km point is 15. Therefore, α=1.1, y min If you set =5, Y calc =ceil(max(1.1 15,5)) = 17. Then, as shown in FIG. 13(b), the calculation range is narrowed down to a range of 17 squares vertically and 17 squares horizontally along the diagonal line connecting the squares of the predetermined start point and end point in the matrix. In actual processing, the calculation range will be narrowed down to a matrix of data size of, for example, 1000 x 1000.
[0051] Even with this type of data processing method, for example, as shown in Figure 10(a), the waveform data to be corrected can be appropriately aligned with the reference waveform data, and the method is excellent in correcting the positional deviation between the two waveform data. In particular, by narrowing down the calculation range in the matrix, the data processing can be speeded up.
[0052] The application of the present invention is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit of the present invention. [Explanation of symbols]
[0053] 1. Track displacement inspection device 10 Information management device 11 Control section 12 Communications Department 13 Control section 14 Display section 15 Storage section T Commercial vehicle R track (track inspection section) D ground coil
Claims
1. A data processing method for waveform data, in which, of two waveform data obtained by measuring the same object, reference waveform data that is obtained first and serves as a reference for position correction, and correction target waveform data that is obtained later are aligned, the method comprising the steps of: a route setting process for calculating cross-correlation coefficients between values of a plurality of measurement points obtained from the reference waveform data at a predetermined sampling period and values of a plurality of measurement points obtained from the correction target waveform data at the predetermined sampling period, creating a matrix based on the calculated cross-correlation coefficients, and setting a minimum-cost route that has the smallest cost among routes connecting the start point and end point of alignment in the matrix by a dynamic time warping method; a position correction waveform data creation step of connecting the correction target waveform data corresponding to measurement points of the matrix constituting the minimum cost route set in the route setting step, and creating position correction waveform data based on the correction target waveform data; Equipped with A data processing method for waveform data, characterized in that the path setting step calculates cross-correlation coefficients within a range of a predetermined width along a diagonal line connecting the starting point and the end point, creates the matrix, and sets the minimum cost path.
2. The data processing method for waveform data according to claim 1, characterized in that, when setting the minimum cost route, the route setting process adjusts the number of measurement points of the waveform data to be corrected so that there is one measurement point of the waveform data to be corrected for one measurement point of the reference waveform data when multiple measurement points of the waveform data to be corrected corresponding to one measurement point of the reference waveform data are included.
3. 2. The method for processing waveform data according to claim 1, further comprising the step of converting the matrix created in the path setting step into a cost matrix, and setting the minimum cost path based on the cost matrix.
4. a data number calculation step of calculating a difference between the number of data of the reference waveform data and the number of data of the correction target waveform data, A data processing method for waveform data according to any one of claims 1 to 3, characterized in that the specified width along the diagonal line in the path setting process is set wider as the value of the difference in the number of data calculated in the data number calculation process becomes larger.
Citation Information
Patent Citations
Trolley wire wear analysis device, wear analysis method, and program
JP2017090406A
High accuracy position correction method and system of waveform data
JP2020003247A
Method and system for positional correction of waveform data
JP2022164989A
