The present application is based on, and claims priority from JP Application Serial Number 2018-223746, filed Dec. 13, 2018, the disclosure of which is hereby incorporated by reference herein in its entirety.
The present disclosure relates to a vehicle detection method.
In the related art, for example, as described in JP-A-2004-252520, there is known a system including vibration sensors. When a vehicle passes near a vibration sensor, the vibration sensor detects vibrations by front wheels, and then detects vibrations by rear wheels. The detected information is combined with information from another vibration sensor provided at a certain distance. Thus, the system can estimate the number of passing vehicles by calculating a traveling speed and counting vibrations when the front wheels and the rear wheels pass.
However, in processing described in JP-A-2004-252520, it may be difficult to accurately detect axles due to an influence of disturbance such as noise and resonance. As a result, there is a problem that detection failure of a vehicle and erroneous detection of a vehicle occur.
A vehicle detection method according to an aspect of the present disclosure includes: acquiring a first output of a first sensor that detects vibrations of a structure and a second output of a second sensor that detects vibrations at a location different from a location of the first sensor on the structure; detecting a plurality of peaks of the first output and detection times of the plurality of peaks of the first output; detecting a plurality of peaks of the second output and detection times of the plurality of peaks of the second output; extracting a plurality of first peaks for one vehicle moving on the structure from the plurality of peaks of the first output; extracting a plurality of second peaks for the one vehicle moving on the structure from the plurality of peaks of the second output; assuming that the number of the plurality of first peaks is n and the number of the plurality of second peaks is m, when n is larger than m, creating nCm first combinations of the peaks from the plurality of first peaks, calculating first differences between detection times of the plurality of first peaks and detection times of the plurality of second peaks in order of the detection times for each combination of the first combinations, calculating first variation indexes of the first differences for each combination of the first combinations, and selecting a combination of the peaks having the smallest first variation index among the first combinations; and when n is smaller than m, creating mCn second combinations of the peaks from the plurality of second peaks, calculating second differences between detection times of the plurality of first peaks and detection times of the plurality of second peaks in order of the detection times for each combination of the second combinations, calculating second variation indexes of the second differences for each combination of the second combinations, and selecting a combination of the peaks having the smallest second variation index among the second combinations.
The vehicle detection method may further include: calculating magnitudes of energies of the plurality of first peaks and magnitudes of energies of the plurality of second peaks; calculating, when n is larger than m, third differences between the magnitudes of the energies of the plurality of first peaks and the magnitudes of the energies of the plurality of second peaks in order of the detection times for each combination of the first combinations, and calculating third variation indexes of the third differences for each combination of the first combinations; and calculating, when n is smaller than m, fourth differences between the magnitudes of the energies of the plurality of first peaks and the magnitudes of the energies of the plurality of second peaks in order of the detection times for each combination of the second combinations, and calculating fourth variation indexes of the fourth differences for each combination of the second combinations.
In the vehicle detection method, the vehicle may have three or more axles, and the extracting the plurality of first peaks and the extracting the plurality of second peaks may include extracting the plurality of first peaks and the plurality of second peaks, which are detected within a between a minimum time and a maximum time of a time required for a plurality of the axles to pass the first sensor or the second sensor.
In the vehicle detection method, the first sensor and the second sensor may be acceleration sensors.
Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. In the following drawings, a scale of each layer or each member is made different from the actual scale such that each layer or each member can be recognized.
Vehicle Detection System
First, a schematic configuration of a vehicle detection system 100 according to a first embodiment will be described with reference to
As illustrated in
The first acceleration sensor 2a and the second acceleration sensor 2b are attached to the structure 3 at a certain distance. That is, the second acceleration sensor 2b is provided at a place different from the place at which the first acceleration sensor 2a is provided. The first acceleration sensor 2a is provided on a side in which a traveling vehicle 4 enters the structure 3, and the second acceleration sensor 2b is provided on a side in which vehicle 4 leaves the structure 3. The vehicle 4 traveling on the structure 3 includes four axles 5, 6, 7, and 8. Every time the axles 5, 6, 7, and 8 of the vehicle 4 pass the first acceleration sensor 2a and the second acceleration sensor 2b, vibrations occur. The first acceleration sensor 2a and the second acceleration sensor 2b detect the vibrations of the axles 5, 6, 7, and 8. By comparing the first detection data of the first acceleration sensor a and the second detection data of the second acceleration sensor 2b, it is possible to detect the vehicle 4 traveling on the structure 3. In the present embodiment, a case where the number of axles of the vehicle 4 is four is described as an example. On the other hand, the present disclosure is not limited thereto, and the number of axles may be three or more. In the present embodiment, a minimum time is described as a minimum axle passage time, and a maximum time is described as a maximum axle passage time.
Vehicle Detection Method
Next, a vehicle detection method according to the first embodiment will be described with reference to
As illustrated in
As illustrated in
Further, filter processing is performed on the acquired first detection data W1a and the acquired second detection data W1b in order to remove noise and excessive vibrations. As an example, band pass filter processing of 40 Hz to 100 Hz may be performed.
Next, in step S2, from the first detection data W1a detected by the first acceleration sensor 2a, peaks of vibrations caused by the axles 5, 6, 7, and 8 passing the first acceleration sensor 2a and detection times of the peaks are detected. In the example illustrated in
Next, in step S3, from the second detection data W1b detected by the second acceleration sensor 2b, peaks of vibrations caused by the axles 5, 6, 7, and 8 passing the second acceleration sensor 2b and detection times of the peaks are detected. In the example illustrated in
Next, in step S4, from the plurality of peaks and the detection times of the peaks in the first detection data W1a, which are detected in step S2, the plurality of peaks and the detection times of the peaks in the first detection data W1a for one vehicle are extracted. Here, n is the number of the peaks extracted in step S4. In the extraction method for one vehicle, a minimum speed Vmin and a maximum speed Vmax in passage of the vehicle and a shortest axle length Lmin and a longest axle length Lmax in the vehicle are defined, a “minimum axle passage time Tmin=Lmax/Vmin” and a “maximum axle passage time Tmax=Lmin/Vmax” are calculated.
When X is a positive integer, in a case where a time difference ΔT from a detection time of an X-th peak to a detection time of a next (X+1)-th peak is minimum axle passage time≤ΔT≤maximum axle passage time, the X-th peak is added to the plurality of peaks for one vehicle. In a case of time difference ΔT<minimum axle passage time, two axles are regarded as the same, and thus the X-th peak is not added to the plurality of peaks for one vehicle. In a case of time difference ΔT>maximum axle passage time, the plurality of peaks for one vehicle are determined and extracted. In the example illustrated in
Next, in step S5, from the plurality of peaks and the detection times of the peaks in the second detection data W1b, which are detected in step S3, in the same manner as in step S4, the plurality of peaks and the detection times of the peaks in the second detection data W1b for one vehicle are extracted. Here, m is the number of the peaks extracted in step S5. In the example illustrated in
Next, in step S6, the number n of peaks extracted in step S4 is compared with the number m of peaks extracted in step S5, and when n and m are equal, the process proceeds to step S17. In a case of n>m, the process proceeds to step S7. In a case of n<m, the process proceeds to step S12.
In a case of n=m, in step S17, the plurality of peaks of the first detection data W1a and the plurality of peaks of the second detection data W1b are regarded as belonging to the same vehicle, and are extracted as the peaks for one vehicle.
The flow of the vehicle detection method is ended.
In a case of n>m, in step S7, from the plurality of peaks of the first detection data W1a, nCm first combinations, which are combinations of the plurality of peaks of the first detection data W1a, are created such that the number of peaks is m. Here, nCm is a symbol representing the number of combinations, and a combination aCr for extracting r elements from a elements is expressed by Equation (1).
In the example illustrated in
In the example illustrated in
Next, in step S8, one set is selected from the nCm combinations A to D of the plurality of peaks of the first detection data W1a, which are created in step S7, and until all the nCm combinations are selected, steps up to step S10 are repeated.
Next, in step S9, in the one set selected in step S8, first differences from the detection times of the plurality of peaks of the first detection data W1a to the detection times of the plurality of peaks of the second detection data W1b are calculated in order of the detection times. In the example illustrated in
Next, in step S10, a variance is calculated as a first variation index of the differences of the plurality of detection times calculated in step S9. The variance of the differences of the detection times of each combination can be calculated by Equation (2).
Here, σ2 is a variance, i is a positive integer, xi is each of difference values, and μ is an average of the difference values.
In the present embodiment, a variance is calculated as an example of a variation index. On the other hand, an index other than a variance may be used as long as a degree of variation is obtained. For example, a standard deviation may be calculated.
In the example illustrated in
Next, in step S11, the combination having the smallest variance value among a plurality of variance values obtained in step S7 to step S10 is selected. In the example illustrated in
Next, in step S17, the plurality of peaks of the first detection data W1a and the plurality of peaks of the second detection data W1b are regarded as belonging to the same vehicle, and are extracted as the peaks for one vehicle.
The flow of the vehicle detection method is ended.
In a case of n<m, in step S12, from the plurality of peaks of the second detection data W1b, mCn second combinations, which are combinations of the plurality of peaks of the second detection data W1b, are created such that the number of peaks is n.
Next, in step S13, one set is selected from the mCn combinations of the plurality of peaks of the second detection data W1b, which are created in step S12, and until all the mCn combinations are selected, steps up to step S15 are repeated.
Next, in step S14, in the one set selected in step S13, second differences from the detection times of the plurality of peaks of the second detection data W1b to the detection times of the plurality of peaks of the first detection data W1a are calculated in order of the detection times.
Next, in step S15, a variance is calculated as a second variation index of the differences of the plurality of detection times calculated in step S14.
Next, in step S16, the combination having the smallest variance value among a plurality of variance values obtained in step S13 to step S15 is selected.
Next, in step S17, the plurality of peaks of the first detection data W1a and the plurality of peaks of the second detection data W1b are regarded as belonging to the same vehicle, and are extracted as the peaks for one vehicle.
The flow of the vehicle detection method is ended.
According to the vehicle detection method as described above, when the number n of a plurality of first peaks is different from the number m of a plurality of second peaks due to an influence of disturbance such as noise and resonance, by developing mCn or nCm combinations, calculating differences between the detection times of the plurality of first peaks and the detection times of the plurality of second peaks in order of the detection times for each of the combinations of the peaks, and calculating a variance value of the differences, the most appropriate combination can be selected, and thus it is possible to detect that the vehicle 4 detected by the first acceleration sensor 2a and the vehicle 4 detected by the second acceleration sensor 2b are the same. Therefore, erroneous detection of the vehicle 4 and detection failure of the vehicle 4 can be reduced. Accordingly, it is possible to detect the vehicle with high accuracy.
Further, in the step of extracting the plurality of first peaks and the step of extracting the plurality of second peaks, the plurality of first peaks and the plurality of second peaks for one vehicle can be extracted based on a limitation by the minimum axle passage time and the maximum axle passage time. Thus, in the combination processing, errors in the number of peaks can be reduced. Therefore, it is possible to detect the vehicle with higher accuracy.
Furthermore, the acceleration sensors 2a and 2b having a sensitivity higher than that of another sensor are used, and thus data can be acquired ata high sampling frequency. Therefore, even when a traveling speed of the vehicle 4 is fast, the axles can be detected, and thus it is possible to detect the vehicle with higher accuracy.
Vehicle Detection Method
Next, a vehicle detection method according to a second embodiment will be described with reference to
As illustrated in
Further, filter processing is performed on the acquired first detection data W1a and the acquired second detection data W1b in order to remove noise and excessive vibrations. As an example, band pass filter processing of 40 Hz to 100 Hz may be performed.
Next, in step S22, from the first detection data W1a detected by the first acceleration sensor 2a, peaks of vibrations caused by the axles 5, 6, 7, and 8 passing the first acceleration sensor 2a, detection times of the peaks, and energy values of the peaks are detected. In a method of detecting peaks of vibrations caused by passage of the axles and detection times of the peaks, similar to step S2 of the first embodiment, a peak P1 having a maximum sensor output in a section L1 exceeding the threshold value Th1 and the threshold value Th2 is set as a detection peak, and a time T1 when the peak P1 is detected is set as a detection time. In addition, in a method of detecting energy values of the peaks of vibrations caused by passage of the axles, as illustrated in
Next, in step S23, from the second detection data W1b detected by the second acceleration sensor 2b, peaks of vibrations caused by the axles 5, 6, 7, and 8 passing the second acceleration sensor 2b, detection times of the peaks, and energy values of the peaks are detected. Similar to step S3 of the first embodiment, except for the detection peak P7b, which corresponds to the axle 7 and has a magnitude not exceeding the threshold value Th1 and the threshold value Th2, and the detection time T7b of the detection peak P7b, the plurality of detection peaks P5b, P6b, and P8b, which correspond to the axles 5, 6, and 8 and have magnitudes exceeding the threshold value Th1 and the threshold value Th2, detection times T5b, T6b, and T8b of the peaks, and energies E5b, E6b, and E8b are detected. The method of detecting the peaks of vibrations caused by passage of the axles is the same as the method of detecting the peaks from the detection data of the first acceleration sensor 2a.
Next, in step S24, from the plurality of peaks and the detection times of the peaks in the first detection data W1a, which are detected in step S22, the plurality of peaks, the detection times of the peaks, and the energy values of the peaks in the first detection data W1a for one vehicle are extracted. Here, n is the number of the peaks extracted in step S24. The extraction method for one vehicle is the same as the method of step S4 of the first embodiment. In the example illustrated in
Next, in step S25, from the plurality of peaks and the detection times of the peaks in the second detection data W1b, which are detected in step S23, similar to step S24, the plurality of peaks, the detection times of the peaks, and the energy values of the peaks in the second detection data W1b for one vehicle are extracted. Here, m is the number of the peaks extracted in step S25. In the example illustrated in
Next, in step S26, the number n of peaks extracted in step S24 is compared with the number m of peaks extracted in step S25, and when n and m are equal, the process proceeds to step S37. In a case of n>m, the process proceeds to step S27. In a case of n<m, the process proceeds to step S32.
In a case where n and m are equal, in step S37, the plurality of peaks of the first detection data W1a and the plurality of peaks of the second detection data W1b are regarded as belonging to the same vehicle, and are extracted as the peaks for one vehicle. Then, the flow of vehicle detection is ended.
In a case of n>m, in step S27, from the plurality of peaks of the first detection data W1a, nCm first combinations, which are combinations of the plurality of peaks of the first detection data W1a, are created such that the number of peaks is m.
In the example illustrated in
In the example illustrated in
Next, in step S28, one set is selected from the nCm combinations of the plurality of peaks of the first detection data W1a, which are created in step S27, and until all the nCm combinations are selected, steps up to step S30 are repeated.
Next, in step S29, in the one set selected from the combinations in step S28, differences in detection time and third differences as differences in energy are calculated in order of the detection times, the differences in detection time being differences from the detection times of the plurality of peaks of the first detection data W1a to the detection times of the plurality of peaks of the second detection data W1b, and the third differences being differences from the energies of the plurality of peaks of the first detection data W1a to the energies of the plurality of peaks of the second detection data W1b. Since the method of calculating the differences in detection time is described in the first embodiment, a description thereof will be omitted. In the example illustrated in
Next, in step S30, from the differences of the plurality of detection times and the differences of the plurality of energies calculated in step S29, a variance of the differences of the plurality of detection times and a variance as a third variation index of the differences of the plurality of energies are calculated. Since the method of calculating the variance of the differences of the plurality of detection times is described in the first embodiment, a description thereof will be omitted. In the example illustrated in
In the present embodiment, a variance is calculated as an example of a variation index. On the other hand, an index other than a variance may be used as long as a degree of variation is obtained. For example, a standard deviation may be calculated.
Next, in step S31, the combination, which has the smallest variance value among the plurality of variance values of the detection times and the plurality of variance values of the energies obtained in step S27 to step S30, is selected. As illustrated in
In a case of n<m, in step S32, from the plurality of peaks of the second detection data W1b, mCn second combinations, which are combinations of the plurality of peaks of the second detection data W1b, are created such that the number of peaks is n.
Next, in step S33, one set is selected from the mCn combinations of the plurality of peaks of the second detection data W1b, which are created in step S32, and until all the mCn combinations are selected, steps up to step S35 are repeated.
Next, in step S34, in the one set selected from the combinations in step S33, differences in detection time and fourth differences as differences in energy are calculated in order of the detection times, the differences in detection time being differences from the detection times of the plurality of peaks of the second detection data W1b to the detection times of the plurality of peaks of the first detection data W1a, and the fourth differences being differences from the energies of the plurality of peaks of the second detection data W1b to the energies of the plurality of peaks of the first detection data W1a.
Next, in step S35, from the differences of the plurality of detection times and the differences of the plurality of energies calculated in step S34, a variance of the differences of the plurality of detection times and a variance as a fourth variation index of the differences of the plurality of energies are calculated.
Next, in step S36, the combination, which has the smallest variance value among the plurality of variance values of the detection times and the plurality of variance values of the energies obtained in step S33 to step S35, is selected.
Finally, in step S37, the plurality of peaks of the first detection data W1a and the plurality of peaks of the second detection data W1b are regarded as belonging to the same vehicle, and are extracted as the peaks for one vehicle.
The flow of the vehicle detection method is ended.
According to the vehicle detection method as described above, in addition to the selection processing of the combinations based on the detection times in the first embodiment, by calculating the differences in energy between the energies of the plurality of first peaks and the energies of the plurality of second peaks in order of the detection times for each of the combinations of the peaks and calculating the variance value of the differences in energy, the most appropriate combination based on energy can be selected. Thereby, even when a passage speed of the vehicle 4 changes between the first acceleration sensor 2a and the second acceleration sensor 2b, it is possible to detect the vehicle with higher accuracy.
Hereinafter, the contents derived from the embodiments will be described.
A vehicle detection method includes: acquiring a first output of a first sensor that detects vibrations of a structure and a second output of a second sensor that detects vibrations at a location different from a location of the first sensor on the structure; detecting a plurality of peaks of the first output and detection times of the plurality of peaks of the first output; detecting a plurality of peaks of the second output and detection times of the plurality of peaks of the second output; extracting a plurality of first peaks for one vehicle moving on the structure from the plurality of peaks of the first output; extracting a plurality of second peaks for the one vehicle moving on the structure from the plurality of peaks of the second output; assuming that the number of the plurality of first peaks is n and the number of the plurality of second peaks is m, when n is larger than m, creating nCm first combinations of the peaks from the plurality of first peaks, calculating first differences between detection times of the plurality of first peaks and detection times of the plurality of second peaks in order of the detection times for each combination of the first combinations, calculating first variation indexes of the first differences for each combination of the first combinations, and selecting a combination of the peaks having the smallest first variation index among the first combinations; and when n is smaller than m, creating mCn second combinations of the peaks from the plurality of second peaks, calculating second differences between detection times of the plurality of first peaks and detection times of the plurality of second peaks in order of the detection times for each combination of the second combinations, calculating second variation indexes of the second differences for each combination of the second combinations, and selecting a combination of the peaks having the smallest second variation index among the second combinations.
According to the method, when the number n of the plurality of first peaks is different from the number m of the plurality of second peaks due to an influence of disturbance such as noise and resonance, by developing mCn or nCm combinations, calculating differences between the detection times of the plurality of first peaks and the detection times of the plurality of second peaks in order of the detection times for each of the combinations of the peaks, and calculating a variance value of the differences, the most appropriate combination can be selected, and thus it is possible to detect that the vehicle detected by the first sensor and the vehicle detected by the second sensor are the same. Therefore, erroneous detection of the vehicle and detection failure of the vehicle can be reduced. Accordingly, it is possible to detect the vehicle with high accuracy.
The vehicle detection method may further include: calculating magnitudes of energies of the plurality of first peaks and magnitudes of energies of the plurality of second peaks; calculating, when n is larger than m, third differences between the magnitudes of the energies of the plurality of first peaks and the magnitudes of the energies of the plurality of second peaks in order of the detection times for each combination of the first combinations, and calculating third variation indexes of the third differences for each combination of the first combinations; and calculating, when n is smaller than m, fourth differences between the magnitudes of the energies of the plurality of first peaks and the magnitudes of the energies of the plurality of second peaks in order of the detection times for each combination of the second combinations, and calculating fourth variation indexes of the fourth differences for each combination of the second combinations.
According to the method, in addition to the selection processing of the combinations based on the detection times, by calculating the differences in energy between the energies of the plurality of first peaks and the energies of the plurality of second peaks in order of the detection times for each of the combinations of the peaks and calculating the variance value of the differences in energy, the most appropriate combination based on energy can be selected. Thereby, even when a passage speed of a moving object changes between the first sensor and the second sensor, it is possible to detect the vehicle with higher accuracy.
In the vehicle detection method, the vehicle may have three or more axles, and the extracting the plurality of first peaks and the extracting the plurality of second peaks may include extracting the plurality of first peaks and the plurality of second peaks, which are detected within a time between a minimum time and a maximum time of a time required for a plurality of the axles to pass the first sensor or the second sensor.
According to the method, in the extracting the plurality of first peaks and the extracting the plurality of second peaks, the plurality of first peaks and the plurality of second peaks for one vehicle can be extracted based on a limitation by the minimum time and the maximum time. Thus, in the combination processing, errors in the number of peaks can be reduced. Therefore, it is possible to detect the vehicle with higher accuracy.
In the vehicle detection method, the first sensor and the second sensor may be acceleration sensors.
According to the method, the acceleration sensors having a sensitivity higher than that of another sensor are used, and thus data can be acquired ata high sampling frequency. Therefore, even when a traveling speed of the vehicle is fast, the axles can be detected, and thus it is possible to detect the vehicle with higher accuracy.
Number | Date | Country | Kind |
---|---|---|---|
JP2018-233746 | Dec 2018 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20090024336 | Tatom | Jan 2009 | A1 |
20210172828 | Kinoshita | Jun 2021 | A1 |
Number | Date | Country |
---|---|---|
107730895 | Feb 2018 | CN |
110553861 | Dec 2019 | CN |
2004523042 | Apr 2004 | JP |
2004252520 | Sep 2004 | JP |
2018066637 | Apr 2018 | JP |
Number | Date | Country | |
---|---|---|---|
20200191825 A1 | Jun 2020 | US |