Rail train speed measurement method and device
By combining millimeter-wave radar and accelerometers, the final speed of the train is screened, which solves the problems of inaccurate speed measurement and inconvenient maintenance in the existing technology, improves the accuracy and reliability of train speed measurement, and simplifies the maintenance process.
Patent Information
- Application Number
- CN202111250490.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-26
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-10-26
AI Technical Summary
Existing train speed measurement methods have problems such as inaccurate speed measurement and inconvenient maintenance. In particular, the deviation of the speed sensor increases as wheel wear increases, and millimeter-wave radar is easily interfered by moving targets ahead, resulting in low speed measurement reliability.
Using a method that combines millimeter wave radar and accelerometers, the final speed is filtered out by clustering and acceleration integration of the relative speed between the train and the target point, and the on-board computer is used for data processing, which reduces the dependence on wheel installation and improves The accuracy and reliability of speed measurement are ensured.
It achieves reliable measurement of train speed, improves speed measurement accuracy and maintenance convenience, reduces maintenance costs, and enhances the reliability of the speed measurement system.
Smart Images

Figure CN113911173B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of speed measurement, and in particular to a method and device for measuring the speed of a rail train. Background Art
[0002] Existing trains mainly rely on speed sensors, i.e. encoders, to obtain vehicle speed. Some trains also use a combination of speed sensors and millimeter-wave radars. Figure 1 As shown, the speed sensor is installed on the wheel axle, and the millimeter-wave radar is installed on the front of the vehicle. The measured values of the speed sensor and the millimeter-wave radar are calculated by the on-board computer to obtain the vehicle speed.
[0003] Among them, the speed measurement scheme based on speed sensors is directly related to the wheel diameter of the train. As the wheel wear increases during train operation, the deviation of speed measurement will become larger and larger. In addition, the encoder that the speed sensor relies on must be installed on the axle, and the vehicle's bogie and wheelset often need to be polished and replaced for maintenance, which requires frequent vehicle start-ups, that is, lifting the body and separating it from the bogie. The cable between the encoder and the body also needs to be frequently plugged in and out, which is inconvenient for vehicle maintenance and reduces the reliability of the speed sensor.
[0004] In order to make up for the shortcomings of speed sensors, some vehicles use millimeter-wave radars, which are easily disturbed by moving targets in front of the vehicle, resulting in large speed deviations. Summary of the invention
[0005] The present invention provides a rail train speed measurement method and device, which are used to solve the defects of inaccurate train speed measurement, inconvenient maintenance and low speed measurement reliability in the prior art, so as to improve the accuracy and reliability of train speed measurement and facilitate maintenance.
[0006] The present invention provides a rail train speed measurement method, comprising:
[0007] Clustering the relative speed between the train and each target point measured by the millimeter-wave radar on the train in the current frame, and obtaining the group to which each relative speed belongs;
[0008] Filtering all groups according to the acceleration of the train measured by the accelerometer on the train between a frame before the current frame and the current frame and the final speed of the previous frame;
[0009] The final speed of the train in the current frame is determined according to the relative speeds in the filtered groups.
[0010] According to a rail train speed measurement method provided by the present invention, all groups are screened according to the acceleration of the train measured by an accelerometer on the train between a frame before the current frame and the current frame and the final speed of the previous frame, including:
[0011] Integrate the acceleration of the train measured multiple times between the previous frame and the current frame to obtain a speed increment of the train from the previous frame to the current frame;
[0012] Add the speed increment to the final speed of the train in the previous frame to obtain the predicted speed of the train in the current frame;
[0013] All groups are screened according to the predicted speed.
[0014] According to a rail train speed measurement method provided by the present invention, the acceleration of the train measured multiple times between the previous frame and the current frame is integrated to obtain the speed increment of the train from the previous frame to the current frame, and further includes:
[0015] Correcting the acceleration of the train measured between the previous frame and the current frame according to the track slope and gravity acceleration of the train at the position of the current frame;
[0016] The corrected acceleration of the train between the previous frame and the current frame is integrated to obtain a speed increment of the train from the previous frame to the current frame.
[0017] According to a rail train speed measurement method provided by the present invention, screening all groups according to the predicted speed includes:
[0018] Count the average and number of relative speeds in each group;
[0019] Calculating a difference between the predicted speed and an average of the relative speeds in each group;
[0020] A group corresponding to the smallest difference is selected from the groups whose relative speeds are greater than a preset threshold.
[0021] According to a rail train speed measurement method provided by the present invention, the screening of all groups according to the acceleration of the train measured by an accelerometer on the train between a frame before the current frame and the current frame and the final speed of the previous frame comprises:
[0022] Calculating an average value of the acceleration of the train measured between the previous frame and the current frame and an average value of the relative speed in each group;
[0023] calculating a speed change rate of the train between a final speed of the previous frame and an average of relative speeds in each group;
[0024] Calculate the track slope of the train corresponding to each group at the position of the current frame according to the average value of the acceleration, the speed change rate corresponding to each group and the gravity acceleration of the train in the current frame;
[0025] Filter out groups corresponding to track slopes that are less than or equal to a preset maximum track slope.
[0026] According to a rail train speed measurement method provided by the present invention, determining the final speed of the train in the current frame according to the relative speeds in the screened groups includes:
[0027] If the number of the filtered groups is 1, the average value of the relative speeds in the filtered groups is used as the final speed of the train in the current frame;
[0028] If the number of the filtered groups is greater than 1, then filtering out again from the filtered groups the group with the largest number of the relative speeds, or the group with the smallest difference between the average value of the relative speed and the final speed of the previous frame;
[0029] The average value of the relative speeds in the groups screened out again is taken as the final speed of the train in the current frame.
[0030] The present invention also provides a rail train speed measuring device, comprising a millimeter wave radar, an accelerometer and an onboard computer;
[0031] Wherein, the millimeter wave radar, accelerometer and on-board computer are located on the train;
[0032] The millimeter wave radar is used to measure the relative speed between the train and each target point;
[0033] The accelerometer is used to measure the acceleration of the train;
[0034] The on-board computer is used to cluster the relative speed between the train and each target point measured by the millimeter-wave radar on the train in the current frame, and obtain the group to which each relative speed belongs;
[0035] Filtering all groups according to the acceleration of the train measured by the accelerometer on the train between a frame before the current frame and the current frame and the final speed of the previous frame;
[0036] The final speed of the train in the current frame is determined according to the relative speeds in the filtered groups.
[0037] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned methods for measuring the speed of a railway train are implemented.
[0038] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods for measuring the speed of a railway train are implemented.
[0039] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any of the above-mentioned methods for measuring the speed of a railway train are implemented.
[0040] The rail train speed measurement method and device provided by the present invention realize reliable measurement of train speed by relying on only two sensors, namely millimeter wave radar and accelerometer, and no longer use speed sensors installed on the axles, thereby improving the accuracy of train speed measurement; all sensors are installed on the vehicle body, and there is no need to plug and unplug connecting cables during vehicle maintenance, thereby reducing maintenance costs and improving the reliability of train speed measurement. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 It is a schematic diagram of a rail train speed measurement scenario in the prior art;
[0043] Figure 2 It is a schematic diagram of the flow of the rail train speed measurement method provided by the present invention;
[0044] Figure 3 This is one of the scenario schematic diagrams of the rail train speed measurement method provided by the present invention;
[0045] Figure 4 This is the second scenario schematic diagram of the rail train speed measurement method provided by the present invention;
[0046] Figure 5 It is a schematic diagram of the decomposition of gravity acceleration in the rail train speed measurement method provided by the present invention;
[0047] Figure 6 It is a schematic diagram of a flow chart of eliminating gravity acceleration in a rail train speed measurement method provided by the present invention when the train has been positioned;
[0048] Figure 7 It is a schematic diagram of a flow chart of eliminating gravity acceleration in a rail train speed measurement method provided by the present invention when the train fails to achieve positioning;
[0049] Figure 8 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] Combine the following Figure 2 The rail train speed measurement method of the present invention is described, comprising: step 201, clustering the relative speed between the train and each target point measured by the millimeter wave radar on the train in the current frame, and obtaining the group to which each relative speed belongs;
[0052] like Figure 3 As shown, the rail train speed measurement method provided in this embodiment uses an accelerometer, a millimeter wave radar and an onboard computer, all of which are located on the train. The accelerometer is one-axis, two-axis or three-axis. The accelerometer and the millimeter wave radar are connected to the onboard computer and the measured data is sent to the onboard computer for processing.
[0053] The execution subject in this embodiment is the vehicle-mounted computer.
[0054] The millimeter-wave radar measures the speed of the train relative to the target point in front of it based on the Doppler effect, and returns a number of target points in each frame. The specific number of target points depends on the model of the millimeter-wave radar, ranging from dozens to hundreds.
[0055] Each target point corresponds to a target scanned in front of the radar, and each target point corresponds to the relative speed between the target point and the millimeter-wave radar. If there is no moving object in front of the train, only static objects such as tunnel walls, then the relative speed between all target points and the train in the current frame data returned by the millimeter-wave radar is the same, that is, the forward speed of the train.
[0056] However, in some open-air scenarios, vehicles on adjacent tracks may meet each other, such as Figure 4As shown. At this time, in each frame of data returned by the millimeter-wave radar, the speed of some target points is the speed of the preceding vehicle relative to the vehicle itself, rather than the actual running speed of the vehicle itself. In addition, animals, pedestrians, and cars on the trackside roads or viaducts will cause the data returned by the millimeter-wave radar to contain abnormal speeds. It is necessary to find a way to remove this part of the abnormal data from the current frame to obtain the correct train speed.
[0057] In order to minimize the interference of moving targets in front of the train to the millimeter-wave radar, the installation requirements for the millimeter-wave radar are as follows:
[0058] (1) If the line follows the left-hand rule, that is, the train keeps to the left, then the millimeter-wave radar is installed on the left side of the train to avoid interference from the adjacent train on the right. Conversely, under the right-hand rule, the millimeter-wave radar is installed on the right side of the train.
[0059] (2) The millimeter-wave radar should be installed as close to the ground as possible on the train and tilted downward appropriately. Optionally, the millimeter-wave radar is tilted downward at an angle between 0 and 25 degrees to the horizontal direction, and the height from the ground is between 1 meter and 2 meters.
[0060] The on-board computer groups the relative speeds corresponding to the multiple target points measured by the millimeter-wave radar in the current frame, such as the k+1th frame, according to the numerical values of the relative speeds corresponding to the multiple target points measured by the millimeter-wave radar in the current frame, such as the k+1th frame.
[0061] Optionally, the same relative speeds are grouped together. Relative speeds with similar values may also be grouped together, for example, relative speeds with a difference between values less than a preset threshold are grouped together.
[0062] Step 202, screening all groups according to the acceleration of the train measured by the accelerometer on the train between the previous frame and the current frame and the final speed of the previous frame;
[0063] An accelerometer is used to measure the acceleration of the train and output the rate of change of the train speed at each moment, i.e. the acceleration, at a relatively high frequency.
[0064] The final speed of the train in the previous frame is calculated in the same way as the final speed in the current frame.
[0065] Optionally, based on the acceleration output by the accelerometer in the k+1th frame and combined with the final speed of the train in the kth frame, a predicted speed value of the train in the k+1th frame is determined, and abnormal grouped data is eliminated according to the predicted speed value to filter out normal grouped data.
[0066] Alternatively, based on the relative speed of the k+1th frame in each group, the track slope of the train in the k+1th frame is determined in combination with the final speed of the train in the kth frame, and the abnormal group data is eliminated according to the track slope to screen out the normal group data.
[0067] This embodiment does not limit the specific method of using train acceleration and historical speed for grouping screening.
[0068] Step 203, determining the final speed of the train in the current frame according to the relative speeds in the filtered group.
[0069] The target point corresponding to the relative speed in the filtered group is a point on the stationary target, and the relative speed is the speed of the train.
[0070] Optionally, the average of the relative speeds in the filtered groups is taken as the final speed of the current frame.
[0071] This embodiment achieves reliable measurement of train speed by relying only on two sensors, millimeter-wave radar and accelerometer, and no longer uses speed sensors installed on the axles, thereby improving the accuracy of train speed measurement; all sensors are installed on the vehicle body, and there is no need to plug and unplug connecting cables during vehicle maintenance, which reduces maintenance costs and improves the reliability of train speed measurement.
[0072] On the basis of the above embodiment, in this embodiment, according to the acceleration of the train measured by the accelerometer on the train between the previous frame of the current frame and the current frame and the final speed of the previous frame, all groups are screened, including: integrating the acceleration of the train measured multiple times between the previous frame and the current frame to obtain the speed increment of the train from the previous frame to the current frame;
[0073] Since the frame rate of the accelerometer is usually much higher than that of the millimeter-wave radar, one frame of millimeter-wave radar measurement data usually corresponds to multiple frames of accelerometer measurement data. Therefore, the measurement values of several frames of accelerometers between the kth frame and the k+1th frame of the millimeter-wave radar are integrated to obtain the velocity increment Δv corresponding to the millimeter-wave radar from the kth frame to the k+1th frame. k+1 .
[0074] Add the speed increment to the final speed of the train in the previous frame to obtain the predicted speed of the train in the current frame;
[0075] The final velocity v of the pre-calculated k-th frame k Add the velocity increment Δv k+1 , obtain the velocity prediction value of the millimeter-wave radar corresponding to the k+1th frame Right now:
[0076]
[0077] All groups are screened according to the predicted speed.
[0078] Optionally, according to the obtained speed prediction value, a group whose average relative speed in the group is closest to the speed prediction value is selected from all the groups, and the average relative speed in the group is used as the final speed of the train, that is, the actual speed value v measured by the millimeter wave radar at the k+1th frame k+1 .
[0079] v k+1 It is output as the final speed of the train in the k+1th frame and updated to the historical speed as the input for estimating the speed of the train in the next frame.
[0080] On the basis of the above embodiment, the method of this embodiment integrates the acceleration of the train measured multiple times between the previous frame and the current frame to obtain the speed increment of the train from the previous frame to the current frame, and further includes: correcting the acceleration of the train measured between the previous frame and the current frame according to the track slope and gravity acceleration of the train at the position of the current frame;
[0081] The accelerometer is affected by the acceleration of gravity. The acceleration output by the accelerometer is usually called specific force, which is a measurement value that contains the acceleration of gravity.
[0082] When the train is running on a horizontal track, the acceleration due to gravity is perpendicular to the ground, that is, in the Z-axis direction, so we only need to take the acceleration in the direction of the train's forward movement, that is, in the Y-axis direction. However, when the train is on a slope, the acceleration in the Y-axis direction will include the component of the acceleration due to gravity.
[0083] like Figure 5 As shown in the figure, the vertical downward gravitational acceleration g is decomposed into the Y-axis and Z-axis components in the ramp area as g y and g z , where g y It coincides with the acceleration in the vehicle's forward direction and needs to be removed.
[0084] For a ramp with a slope of 3%, the inclination is about 1.7°, and the component of gravity acceleration in the vehicle's forward direction, that is, in the Y-axis direction, is g. y Maximum reach 0.29m / s 2 , relative to 1.4m / s 2 For the train emergency braking rate of about g y The value is relatively large and must be eliminated.
[0085] Optionally, the onboard computer has a built-in map of the train route, and the map records the track slope at each position on the route. When the train has been located, the route map is queried according to the train's location information to obtain the track slope s at the train's location in the current frame.
[0086] According to the track slope s corresponding to the current frame, calculate the component g of the gravity acceleration g in the direction of the train's advance, that is, the Y-axis direction y . Acceleration measurement using the output of the accelerometer Subtract g y , get the correction value of acceleration acc, that is:
[0087] g y = sin(arctan(s))*g;
[0088]
[0089] The corrected acceleration of the train between the previous frame and the current frame is integrated to obtain a speed increment of the train from the previous frame to the current frame.
[0090] After correcting the acceleration of the train measured between the kth frame and the k+1th frame, the obtained correction value is integrated to obtain the velocity increment Δv corresponding to the millimeter wave radar from the kth frame to the k+1th frame. k+1 .
[0091] In this embodiment, the elimination of gravity acceleration is to query the route map according to the train location information when the train has been positioned, find the slope of the current section from the map, and calculate the component g of gravity acceleration on the Y axis. y .
[0092] This embodiment eliminates the interference of gravity acceleration on the accelerometer through the use of an accelerometer and a route map containing slope information, achieves accurate screening of the millimeter-wave radar output speed, eliminates abnormal speed data, outputs the correct vehicle speed when the vehicle is positioned, and realizes reliable measurement of the vehicle speed.
[0093] Based on the above embodiment, the present embodiment screens all groups according to the predicted speed, including: counting the average value and number of relative speeds in each group;
[0094] All groups are sorted in ascending order according to the number of relative speeds in each group. Groups with relative speeds less than or equal to the preset threshold are likely to be noise points and are removed.
[0095] The difference between the predicted speed and the average value of the relative speeds in each group is calculated; and the group corresponding to the smallest difference is selected from the groups whose relative speeds are greater than a preset threshold.
[0096] The group with the smallest difference between the average relative speed and the predicted speed of the train is selected from the groups after the noise points are removed. The final speed of the train is determined based on the selected groups.
[0097] like Figure 6 As shown, this embodiment relies on the route map. When the train has been positioned, the track slope of the current position of the train is queried from the route map according to the train's position information, and the component of the gravity acceleration in the vehicle's forward direction is calculated according to the slope. Then, this component is used to correct the forward acceleration output by the accelerometer to obtain the acceleration correction value in the vehicle's forward direction. The corresponding speed change is obtained by integrating the acceleration correction value corresponding to the previous frame to the current frame, and then superimposed on the final speed of the previous frame to obtain the speed estimation value corresponding to the current frame data of the millimeter-wave radar. Based on this estimation value, the speed value that is closest to the speed estimation value in terms of value is selected from the several speeds output by the millimeter-wave radar, which is the true value of the current train speed.
[0098] On the basis of the above embodiment, in this embodiment, according to the acceleration of the train measured by the accelerometer on the train between the previous frame of the current frame and the current frame and the final speed of the previous frame, screening all groups includes: calculating the average value of the acceleration of the train measured between the previous frame and the current frame and the average value of the relative speed in each group;
[0099] When the train is not positioned, the accurate track slope cannot be obtained. This embodiment calculates several slopes based on several speed measurement values, historical speed and acceleration measurement values output by the millimeter wave radar, and filters out those slopes whose absolute values are greater than the maximum slope of the line, usually 3% of the abnormal values. If there is only one track slope left, the speed measurement value corresponding to the track slope is the true value of the speed.
[0100] First, calculate the average acceleration. The frame rate of the accelerometer is usually much higher than that of the millimeter-wave radar. One frame of millimeter-wave radar data usually corresponds to multiple frames of accelerometer data. Therefore, the measured values of the acceleration of several frames between the k+1th frame and the kth frame of the millimeter-wave radar are averaged to obtain the average acceleration.
[0101] The relative speeds between multiple target points and the train measured by the millimeter-wave radar in the k+1th frame are grouped according to the numerical values, such as grouping the same relative speeds into one group. Optionally, all groups are sorted in order from small to large according to the number of relative speeds in each group. Groups with a relative speed less than or equal to a preset threshold are likely to be noise points and are eliminated. Calculate the average values of the relative speeds v1, v2, v3, ... in each group after elimination.
[0102] calculating a speed change rate of the train between a final speed of the previous frame and an average of relative speeds in each group;
[0103] The frame period of the millimeter wave radar is fixed, according to the final speed v of the kth frame k And the average value of the relative speed in each group, calculate the several speed change rates r1, r2, r3... corresponding to the k+1 frame of the millimeter wave radar.
[0104] Calculate the track slope of the train corresponding to each group at the position of the current frame according to the average value of the acceleration, the speed change rate corresponding to each group and the gravity acceleration of the train in the current frame;
[0105] According to several velocity change rates and acceleration mean Calculate several components of gravity acceleration in the Y-axis direction, and then use the components of gravity acceleration on the Y-axis and gravity acceleration g to calculate several slopes s1, s2, s3..., that is:
[0106]
[0107] Filter out groups corresponding to track slopes that are less than or equal to a preset maximum track slope.
[0108] Eliminate tracks with an absolute value greater than the preset maximum track slope s max The track slope. According to the remaining s i The average of the relative speeds of the corresponding groups determines the final speed of the train.
[0109] This embodiment reversely calculates the track slope through the speed change rate and the acceleration measurement value, thus avoiding the interference of gravity acceleration on the acceleration measurement value, and relies on the acceleration measurement value of the accelerometer to screen the speed output by the millimeter-wave radar, filter out abnormal values, and realize reliable measurement of the train speed.
[0110] Based on the above embodiment, the method of determining the final speed of the train in the current frame according to the relative speeds in the screened groups in this embodiment includes: if the number of the screened groups is 1, taking the average value of the relative speeds in the screened groups as the final speed of the train in the current frame;
[0111] Eliminate the absolute value greater than the maximum slope s of the current line max After the track slope, if the remaining s i If there is only one, then the s i The corresponding v i As the final velocity of the k+1th frame of the millimeter-wave radar.
[0112] If the number of the filtered groups is greater than 1, then filtering out again from the filtered groups the group with the largest number of the relative speeds, or the group with the smallest difference between the average value of the relative speed and the final speed of the previous frame;
[0113] If the remaining s i More than one, then from the remaining s i The corresponding group is selected again with the largest number of relative speeds, or the group with the final speed v of the kth frame k The group that is closest in value.
[0114] The average value of the relative speeds in the groups screened out again is taken as the final speed of the train in the current frame.
[0115] like Figure 7 As shown, this embodiment does not rely on the route map. When the train is not positioned, several speed change rates are calculated based on several speed measurement values output by the millimeter wave radar and the historical speed. Then, several components of gravity acceleration on the Y axis are calculated based on the difference between the acceleration measurement value output by the accelerometer and the speed change rate, and then several estimated values of the slope are calculated using the gravity acceleration and several Y-axis components of gravity acceleration. The estimated values of the slope estimation whose absolute value is greater than the maximum slope of the current line are eliminated, and the millimeter wave radar speed measurement value corresponding to the remaining slope estimation value is the true value of the current train speed. If there are multiple remaining slope estimation values, the group with the largest number of relative speeds is selected from the corresponding millimeter wave radar speed measurement values, or the group that is closest in value to the final speed of the train in the kth frame as the final speed of the train in the k+1th frame.
[0116] The train speed measuring device provided by the present invention is described below. The train speed measuring device described below and the train speed measuring method described above can be referenced to each other.
[0117] The present invention provides a train speed measuring device including a millimeter wave radar, an accelerometer and an onboard computer; wherein the millimeter wave radar, the accelerometer and the onboard computer are located on the train;
[0118] The millimeter wave radar is used to measure the relative speed between the train and each target point;
[0119] The accelerometer is used to measure the acceleration of the train;
[0120] The on-board computer is used to cluster the relative speed between the train and each target point measured by the millimeter-wave radar on the train in the current frame, and obtain the group to which each relative speed belongs; filter all groups according to the acceleration of the train measured by the accelerometer on the train between the previous frame of the current frame to the current frame and the final speed of the previous frame; determine the final speed of the train in the current frame according to the relative speeds in the filtered groups.
[0121] This embodiment achieves reliable measurement of train speed by relying only on two sensors, millimeter-wave radar and accelerometer, and no longer uses speed sensors installed on the axles, thereby improving the accuracy of train speed measurement; all sensors are installed on the vehicle body, and there is no need to plug and unplug connecting cables during vehicle maintenance, which reduces maintenance costs and improves the reliability of train speed measurement.
[0122] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the rail train speed measurement method, which includes: clustering the relative speed between the train and each target point measured by the millimeter wave radar on the train in the current frame, and obtaining the group to which each relative speed belongs; filtering all groups according to the acceleration of the train measured by the accelerometer on the train between the previous frame of the current frame and the current frame and the final speed of the previous frame; and determining the final speed of the train in the current frame according to the relative speed in the filtered group.
[0123] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0124] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the rail train speed measurement method provided by the above-mentioned methods, which includes: clustering the relative speed between the train and each target point measured by the millimeter-wave radar on the train in the current frame, and obtaining the group to which each relative speed belongs; filtering all groups according to the acceleration of the train measured by the accelerometer on the train between the previous frame of the current frame and the current frame and the final speed of the previous frame; determining the final speed of the train in the current frame according to the relative speeds in the filtered groups.
[0125] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the rail train speed measurement method provided by the above-mentioned methods, the method comprising: clustering the relative speed between the train and each target point measured by the millimeter-wave radar on the train in the current frame, and obtaining the group to which each relative speed belongs; filtering all groups according to the acceleration of the train measured by the accelerometer on the train between the previous frame of the current frame and the current frame and the final speed of the previous frame; determining the final speed of the train in the current frame according to the relative speeds in the filtered groups.
[0126] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0127] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0128] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for measuring the speed of a railway train, It is characterized in that include: Clustering the relative speed between the train and each target point measured by the millimeter-wave radar on the train in the current frame, and obtaining the group to which each relative speed belongs; Filtering all groups according to the acceleration of the train measured by the accelerometer on the train between a frame before the current frame and the current frame and the final speed of the previous frame; Determining the final speed of the train in the current frame according to the relative speeds in the filtered groups; The screening of all groups according to the acceleration of the train measured by the accelerometer on the train between the previous frame of the current frame and the current frame and the final speed of the previous frame comprises: Calculating an average value of the acceleration of the train measured between the previous frame and the current frame and an average value of the relative speed in each group; calculating a speed change rate of the train between a final speed of the previous frame and an average of relative speeds in each group; According to the average value of the acceleration, the speed change rate corresponding to each group and the gravity acceleration of the train in the current frame, the track slope of the train corresponding to each group at the position of the current frame is calculated, and the formula is: is the average value of the acceleration, r i is the speed change rate corresponding to the i-th group, s i is the track slope corresponding to the i-th group; Filter out groups corresponding to track slopes that are less than or equal to a preset maximum track slope; Determining the final speed of the train in the current frame according to the relative speeds in the filtered groups includes: if the number of filtered groups is 1, taking the average value of the relative speeds in the filtered groups as the final speed of the train in the current frame; If the number of the filtered groups is greater than 1, then filtering out again from the filtered groups the group with the largest number of the relative speeds, or the group with the smallest difference between the average value of the relative speeds and the final speed of the previous frame; The average value of the relative speeds in the groups screened out again is taken as the final speed of the train in the current frame.
2. A rail train speed measuring device, It is characterized in that Includes millimeter wave radar, accelerometer and onboard computer; Wherein, the millimeter wave radar, accelerometer and on-board computer are located on the train; The millimeter wave radar is used to measure the relative speed between the train and each target point; The accelerometer is used to measure the acceleration of the train; The on-board computer is used to cluster the relative speed between the train and each target point measured by the millimeter-wave radar on the train in the current frame, and obtain the group to which each relative speed belongs; Filtering all groups according to the acceleration of the train measured by the accelerometer on the train between a frame before the current frame and the current frame and the final speed of the previous frame; Determining the final speed of the train in the current frame according to the relative speeds in the filtered groups; The vehicle-mounted computer is specifically used for: Calculating an average value of the acceleration of the train measured between the previous frame and the current frame and an average value of the relative speed in each group; calculating a speed change rate of the train between a final speed of the previous frame and an average of relative speeds in each group; According to the average value of the acceleration, the speed change rate corresponding to each group and the gravity acceleration of the train in the current frame, the track slope of the train corresponding to each group at the position of the current frame is calculated, and the formula is: is the average value of the acceleration, r i is the speed change rate corresponding to the i-th group, s i is the track slope corresponding to the i-th group; Filter out groups corresponding to track slopes that are less than or equal to a preset maximum track slope; The onboard computer is further configured to, if the number of the filtered groups is 1, use the average value of the relative speeds in the filtered groups as the final speed of the train in the current frame; If the number of the filtered groups is greater than 1, then filtering out again from the filtered groups the group with the largest number of the relative speeds, or the group with the smallest difference between the average value of the relative speeds and the final speed of the previous frame; The average value of the relative speeds in the groups screened out again is taken as the final speed of the train in the current frame.
3. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the steps of the rail train speed measurement method as claimed in claim 1 are implemented.
4. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the rail train speed measurement method as claimed in claim 1 are implemented.
