Debugging tool of hump speed measuring radar and angle detection method thereof
Through acceleration sensor calibration and carrier signal three-dimensional modeling, the problem of hump speed radar installation angle affecting speed measurement was solved, a more efficient and accurate debugging process was achieved, and the speed measurement accuracy and radar stability were improved.
Patent Information
- Application Number
- CN202510698511.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-09-23
Smart Images

Figure CN120686208A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of angle detection, and in particular to a debugging tool for a hump speed measuring radar and an angle detection method thereof. Background Art
[0002] In the dispatching and control systems of my country's railway hump-type dispatching hubs, hump-type speed radars are used to detect vehicle slippage and provide feedback to the system. The system then controls vehicle speed through brakes, forming a closed-loop system for vehicle slippage. However, the hump's installation position and illumination angle can affect speed data for the track, as well as interfere with speed measurements on adjacent tracks. Current debugging methods rely solely on manual adjustments and corrections through slippage tests, which are unsafe and inefficient. To address this issue, we provide a debugging tool for hump-type speed radars and a method for detecting their angles. Summary of the Invention
[0003] The object of the present invention is to provide a debugging tool for a hump speed measuring radar and an angle detection method thereof, so as to solve the problems raised in the above background technology.
[0004] To achieve the above object, the present invention provides a debugging tool for a hump speed measuring radar and an angle detection method thereof, comprising the following method steps: S1. Calibrate the accelerometer, detect the X-axis and Y-axis angles of the hump installation, and analyze them to obtain the acceleration in the X-axis direction and the acceleration in the Y-axis direction to calculate the tilt angles in the X-axis and Y-axis directions. The tilt angles in the X-axis and Y-axis directions are used as the posture angle of the object. S2. Determine whether the tilt angles in the X-axis and Y-axis directions have changed. If so, trigger a transmission mechanism to send the tilt angles in the X-axis and Y-axis directions to the hump speed measuring radar via Bluetooth communication. The hump speed measuring radar then measures its own speed and determines whether to perform compensation corrections. If compensation corrections are required, the speed measurement data and the tilt angles in the X-axis and Y-axis directions are used for compensation corrections. S3. When the compensated self-speed measurement and compensation angle are known, use a suitable antenna to receive the carrier signal of the hump speed measurement radar, and then analyze the amplitude of the carrier signal to determine whether to amplify. When amplifying, modulate the amplified carrier signal and then perform three-dimensional modeling of the carrier signal amplitude to determine the position and direction where the carrier signal amplitude is the largest.
[0005] As a further improvement of the present technical solution, S2.1 determines whether a change has occurred by determining the inclination angle in the X-axis direction and the inclination angle in the Y-axis direction. When it is determined that the inclination angle in the X-axis direction and the inclination angle in the Y-axis direction have changed, the transmission mechanism is triggered and the inclination angle in the X-axis direction and the inclination angle in the Y-axis direction are sent to the hump speed measurement radar via Bluetooth communication.
[0006] As a further improvement to this technical solution, S2.2, when the hump speed radar receives the tilt angles in the X-axis and Y-axis directions, it measures its own speed and determines whether to perform compensation. If compensation is determined to be necessary, it uses a built-in compensation algorithm to compensate for the speed data. The built-in compensation algorithm is used to compensate for the tilt angles in the X-axis and Y-axis directions. The terrain in hump areas is often complex, with certain slopes and inclinations. Different terrains will cause the radar to face different tilt conditions during operation. Without compensation, the speed measurement results will be significantly affected. By acquiring the tilt angles in real time and performing compensation, the radar can accurately measure train speed under various complex terrain conditions. Furthermore, in actual operation, the hump speed radar may be affected by environmental factors such as vibration and wind, resulting in slight changes in the radar's installation angle. By continuously monitoring the tilt angles in the X-axis and Y-axis directions and promptly compensating for the speed data and angles, the impact of these environmental interferences on the speed measurement results can be reduced, ensuring the radar's stability and reliability.
[0007] As a further improvement of this technical solution, S3.2, by modulating the amplified carrier signal, the modulated carrier signal is passed to the MCU using the spatial scanning modeling method to perform three-dimensional modeling of the carrier signal amplitude. Based on the results of the three-dimensional modeling, the position and direction where the carrier signal amplitude is the largest are determined by analyzing the model. The three-dimensional modeling comprehensively considers the signal conditions at multiple positions in space and can effectively filter out errors caused by factors such as environmental interference and signal multipath propagation. Compared with the single position or simple two-dimensional analysis method, the direction of the strongest signal determined based on the three-dimensional model can better reflect the true target orientation and further improve the accuracy of angle detection. At the same time, during the radar debugging process, determining the position and direction with the largest carrier signal amplitude is crucial for optimizing the radar performance. Through three-dimensional modeling, the signal distribution can be visually viewed, and the radar angle and other parameter settings corresponding to the strongest signal point can be quickly found, thereby reducing the blindness and trial and error times during the debugging process and greatly improving the debugging efficiency.
[0008] A second object of the present invention is to provide a debugging tool for implementing any of the above-mentioned angle detection methods of a hump speed measuring radar, the debugging tool comprising: Acceleration sensor: used to detect acceleration; Hump speed radar: used to detect signals.
[0009] Compared with the prior art, the present invention has the following beneficial effects: 1. A debugging tool for a hump speed radar and an angle detection method thereof. When the hump speed radar receives the tilt angle in the X-axis direction and the tilt angle in the Y-axis direction, the hump speed radar performs its own speed measurement and determines whether to perform compensation correction. When it is determined that compensation correction is to be performed, the speed measurement data is compensated and corrected. Then, the tilt angle in the X-axis direction and the tilt angle in the Y-axis direction are compensated. By receiving the tilt angle and performing speed measurement compensation correction, the speed measurement error caused by installation angle deviation can be eliminated, so that the train speed measured by the radar is closer to the actual value, and the speed measurement accuracy is improved.
[0010] 2. This hump-shaped speed radar debugging tool and its angle detection method modulates an amplified carrier signal and transmits the modulated carrier signal to an MCU using a spatial scanning modeling method for three-dimensional modeling of the carrier signal amplitude. Based on the results of the three-dimensional modeling, the position and direction of the maximum carrier signal amplitude are determined by analyzing the model. The three-dimensional modeling accurately presents the distribution of the carrier signal amplitude in space, thereby accurately identifying the position and direction of the maximum signal amplitude. In hump-shaped speed radar applications, the direction of maximum signal amplitude often corresponds to the direction of the strongest target reflection signal. This helps to more accurately determine the relative angle between the radar and the target, improving the accuracy of angle detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 It is a flowchart of the overall steps of the present invention. DETAILED DESCRIPTION
[0012] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only 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 making any creative efforts shall fall within the scope of protection of the present invention. Example 1
[0013] One of the purposes of the present invention is to provide a method for detecting the angle of a hump speed radar. Figure 1 , comprising the following method steps: S1. Calibrate the accelerometer, detect the X-axis and Y-axis angles of the hump installation, and analyze them to obtain the acceleration in the X-axis direction and the acceleration in the Y-axis direction to calculate the tilt angles in the X-axis and Y-axis directions. The tilt angles in the X-axis and Y-axis directions are used as the posture angle of the object. S1 has the following specific steps: S1.1 Before using an accelerometer for angle measurement, it must be calibrated. The purpose of calibration is to eliminate possible errors and offsets in the accelerometer. Adjusting the accelerometer at a known zero angle ensures that the output accurately reflects the zero angle, which can effectively improve measurement accuracy. After calibration, the debugging tool detects the X-axis and Y-axis angles of the hump installation by calibrating the accelerometer. Since the accelerometer is based on Newton's second law Therefore, the acceleration is calculated by measuring the force exerted on the mass block. In practical applications, common accelerometers are manufactured using micro-electromechanical systems (MEMS) technology. There is a movable mass block inside the MEMS accelerometer. When the calibration accelerometer is accelerated, the mass block will produce relative displacement due to inertia. This displacement will cause the physical parameters of the capacitance, resistance or piezoelectric effect inside the calibration accelerometer to change. The accelerometer converts the changes in these physical parameters into electrical signal outputs, and then analyzes the electrical signals to obtain the acceleration in the X-axis direction. and the acceleration in the Y-axis direction During the debugging process, the calibrated acceleration sensor can monitor the changes in angle in real time. When the installation position of the hump is adjusted, the sensor can immediately feedback the adjusted angle data, timely understand the adjustment effect, and judge whether the ideal installation state has been achieved, avoiding repeated adjustments and trial and error, and improving debugging efficiency.
[0014] In practical applications, the measurement data of the calibrated acceleration sensor may be affected by noise and interference, resulting in reduced angle measurement accuracy. In order to reduce this effect, data filtering technology is used to filter the acceleration in the X-axis direction. and the acceleration in the Y-axis direction Perform filtering to obtain the filtered acceleration in the X-axis direction and the filtered Y-axis acceleration ; S1.2. Once the magnitude and direction of the acceleration are known, the hump installation angle is detected and the gravitational acceleration is recorded. When the hump is detected at different tilt angles, the magnitude of the gravity acceleration detected by the acceleration sensor in the X-axis and Y-axis directions will change. Therefore, according to the trigonometric function relationship, the acceleration in the X-axis direction is filtered. and gravitational acceleration Calculate the tilt angle in the X-axis direction , and then the acceleration in the Y-axis direction through the filter and gravitational acceleration Calculate the tilt angle in the Y-axis direction , the tilt angle in the X-axis direction and the tilt angle in the Y-axis direction Filtering effectively removes these noise artifacts, making the acquired X- and Y-axis acceleration data purer and more accurate. The tilt angle calculated based on this more accurate acceleration data more accurately reflects the actual installation posture of the hump, thereby improving angle measurement accuracy.
[0015] S2. Determine whether the tilt angles in the X-axis and Y-axis directions have changed. If so, trigger a transmission mechanism to send the tilt angles in the X-axis and Y-axis directions to the hump speed measuring radar via Bluetooth communication. The hump speed measuring radar then measures its own speed and determines whether to perform compensation corrections. If compensation corrections are required, the speed measurement data and the tilt angles in the X-axis and Y-axis directions are used for compensation corrections. S2 has the following specific steps: S2.1. Use the debugging tool to set the tilt angle threshold range of the X-axis direction and the tilt angle threshold range of the Y-axis direction, and respectively determine whether the tilt angle of the X-axis direction and the tilt angle of the Y-axis direction have changed. When the tilt angle of the X-axis direction and the tilt angle of the Y-axis direction exceed the tilt angle threshold range of the X-axis direction and the tilt angle threshold range of the Y-axis direction respectively, it is determined that the tilt angle of the X-axis direction and the tilt angle of the Y-axis direction have changed, and the transmission mechanism is triggered to send the tilt angle of the X-axis direction and the tilt angle of the Y-axis direction to the hump speed measurement radar via Bluetooth communication. For example, during the installation of the hump device, if the device position moves significantly, causing the angle change to exceed the threshold, data transmission is triggered.
[0016] S2.2. When the hump speed radar receives the tilt angle in the X-axis direction and the tilt angle in the Y-axis direction, it performs its own speed measurement through the hump speed radar, and uses its own speed measurement and the set speed measurement threshold range to determine whether to perform compensation correction. When its own speed measurement exceeds the set speed measurement threshold range, the built-in compensation algorithm is used to compensate and correct its own speed measurement data to obtain its compensated own speed measurement. The built-in compensation algorithm is then used to perform angle compensation on the tilt angle in the X-axis direction and the tilt angle in the Y-axis direction to obtain the compensated angle. The detected angle data will be transmitted to the hump speed radar via the Bluetooth communication module. This transmission process enables the radar to compensate for the relationship between its own speed measurement data and angle, thereby improving the accuracy of speed measurement. Because the radar's speed measurement results will be affected by the installation angle, angle compensation can eliminate the errors caused by this influence.
[0017] S3. When the compensated self-speed measurement and compensation angle are known, use a suitable antenna to receive the carrier signal of the hump speed measurement radar, and then analyze the amplitude of the carrier signal to determine whether to amplify. When amplifying, modulate the amplified carrier signal and then perform three-dimensional modeling of the carrier signal amplitude to determine the position and direction where the carrier signal amplitude is the largest.
[0018] S3 specific steps are as follows: S3.1. When the compensated self-speed measurement and compensation angle are known, use a suitable antenna to receive the carrier signal of the hump speed measurement radar. The function of the antenna is not only to receive the signal, but also to guide the received signal to the analog circuit to prepare for subsequent processing. The amplitude of the carrier signal is analyzed by the carrier signal, and the amplitude of the carrier signal and the set signal amplitude threshold are used to determine whether to amplify. When the amplitude of the carrier signal is less than the set signal amplitude threshold, the amplitude of the carrier signal is small, which is not conducive to subsequent processing and analysis. Therefore, it is determined to amplify the amplitude of the carrier signal to obtain an amplified carrier signal. This process can be achieved by using an amplification circuit or amplifier. The amplified carrier signal has a larger amplitude range, can more clearly reflect the characteristics of the signal, and is convenient for subsequent modulation and modeling operations.
[0019] S3.2. Modulate the amplified carrier signal to obtain a modulated carrier signal. Here, the signal amplitude can be adjusted to better suit subsequent processing and analysis requirements. Because the modulated signal's amplitude and frequency better meet modeling requirements, a spatial scanning modeling method is used to transmit the modulated carrier signal to the MCU (microcontroller unit) for three-dimensional modeling of the carrier signal amplitude. Based on the results of 3D modeling, the position and direction where the carrier signal amplitude is the largest can be determined by analyzing the model. The obtained position and direction are the optimal illumination angle. By adjusting the illumination angle, the optimal position and direction can be approached, thereby optimizing the performance of the radar and improving the accuracy of speed measurement. The implementation principle of three-dimensional modeling of carrier signal amplitude using spatial scanning modeling method: By scanning the debugging tool at different angles and positions, the amplitude value of the carrier signal is gradually measured. During the scanning process, the current moving direction is transmitted to the MCU. At each scanning point, the MCU will measure the amplitude of the carrier signal and record it. As the scanning range expands and data accumulates, a three-dimensional model of the carrier signal amplitude can be constructed.
[0020] A second object of the present invention is to provide a debugging tool for implementing the above-mentioned angle detection method of a hump speed measuring radar, wherein the debugging tool includes: Acceleration sensor: used to detect acceleration; Hump speed radar: used to detect signals.
[0021] The acceleration is detected by the accelerometer to obtain the best illumination angle, and the hump speed radar is used to receive the signal: When the hump speed measuring radar receives the tilt angles in the X-axis direction and the Y-axis direction, it measures its own speed and determines whether to perform compensation correction. If it determines to perform compensation correction, it performs compensation correction on its own speed measurement data and then performs angle compensation on the tilt angles in the X-axis direction and the Y-axis direction. By receiving the tilt angles and performing speed measurement compensation correction, the speed measurement error caused by the installation angle deviation can be eliminated, making the train speed measured by the radar closer to the true value and improving the speed measurement accuracy. By modulating the amplified carrier signal and transmitting it to the MCU using spatial scanning modeling, the MCU performs three-dimensional modeling of the carrier signal amplitude. Based on the results of the 3D modeling, the position and direction of the maximum carrier signal amplitude are determined through analytical modeling. This 3D modeling accurately depicts the spatial distribution of the carrier signal amplitude, thereby accurately identifying the position and direction of the maximum signal amplitude. In hump speed radar applications, the direction of maximum signal amplitude often corresponds to the direction of the strongest target reflection signal. This helps to more accurately determine the relative angle between the radar and the target, improving the accuracy of angle detection.
[0022] The above shows and describes the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions are merely preferred examples of the present invention and are not intended to limit the present invention. Various changes and improvements may be made to the present invention without departing from the spirit and scope of the present invention. Such changes and improvements fall within the scope of the present invention. The scope of protection claimed in the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for detecting the angle of a hump speed radar, characterized by: The method comprises the following steps: S1. Calibrate the accelerometer, detect the X-axis and Y-axis angles of the hump installation, and analyze them to obtain the acceleration in the X-axis direction and the acceleration in the Y-axis direction to calculate the tilt angles in the X-axis and Y-axis directions. The tilt angles in the X-axis and Y-axis directions are used as the posture angle of the object. S2. Determine whether the tilt angles in the X-axis and Y-axis directions have changed. If so, trigger a transmission mechanism to send the tilt angles in the X-axis and Y-axis directions to the hump speed measuring radar via Bluetooth communication. The hump speed measuring radar then measures its own speed and determines whether to perform compensation corrections. If compensation corrections are required, the speed measurement data and the tilt angles in the X-axis and Y-axis directions are used for compensation corrections. S3. When the compensated self-speed measurement and compensation angle are known, use a suitable antenna to receive the carrier signal of the hump speed measurement radar, and then analyze the amplitude of the carrier signal to determine whether to amplify. When amplifying, modulate the amplified carrier signal and then perform three-dimensional modeling of the carrier signal amplitude to determine the position and direction where the carrier signal amplitude is the largest.
2. The angle detection method of a hump speed radar according to claim 1, characterized in that: The S1 method steps are as follows: S1.
1. Calibrate the accelerometer. The debugging tool uses the calibrated accelerometer to detect the X-axis and Y-axis angles of the hump installation. The acceleration is calculated by measuring the force applied to the mass block. The mass block will produce relative displacement due to inertia. The displacement will cause the physical parameters of the capacitance, resistance, or piezoelectric effect inside the calibration accelerometer to change. The calibration accelerometer converts the changes in physical parameters into electrical signal output. The electrical signal is then analyzed to obtain the acceleration in the X-axis direction and the acceleration in the Y-axis direction.
3. The angle detection method of the hump speed radar according to claim 2, characterized in that: S1.
1. Use data filtering technology to filter the acceleration in the X-axis direction and the acceleration in the Y-axis direction.
4. The angle detection method of a hump speed radar according to claim 3, characterized in that: S1.
2. When the magnitude and direction of the acceleration are known, the hump installation angle is detected. When the hump is detected at different tilt angles, the tilt angle in the X-axis direction and the tilt angle in the Y-axis direction are calculated respectively by filtering the acceleration in the X-axis direction and the acceleration in the Y-axis direction, and the tilt angle in the X-axis direction and the tilt angle in the Y-axis direction are used as the posture angle of the object.
5. The angle detection method of a hump speed radar according to claim 4, characterized in that: The S2 specifically includes the following steps: S2.
1. Determine whether the tilt angle in the X-axis direction and the tilt angle in the Y-axis direction have changed. When it is determined that the tilt angle in the X-axis direction and the tilt angle in the Y-axis direction have changed, trigger a transmission mechanism and send the tilt angle in the X-axis direction and the tilt angle in the Y-axis direction to the hump speed measuring radar via Bluetooth communication.
6. The angle detection method of a hump speed radar according to claim 5, characterized in that: S2.
2. When the hump speed radar receives the tilt angles in the X-axis and Y-axis directions, it measures its own speed and determines whether to perform compensation. If compensation is determined to be necessary, it uses the built-in compensation algorithm to perform compensation on its own speed data. The built-in compensation algorithm is used to compensate for the tilt angles in the X-axis direction and the tilt angles in the Y-axis direction.
7. The angle detection method of a hump speed radar according to claim 6, characterized in that: The S3 specifically includes the following steps: S3.
1. When the compensated self-speed and compensation angle are known, a suitable antenna is used to receive the carrier signal of the hump speed radar, and then the amplitude of the carrier signal is analyzed to determine whether to amplify it.
8. The angle detection method of a hump speed radar according to claim 7, characterized in that: S3.
2. Modulate the amplified carrier signal and transmit the modulated carrier signal to the MCU using the spatial scanning modeling method to perform three-dimensional modeling of the carrier signal amplitude. Based on the results of the three-dimensional modeling, determine the position and direction where the carrier signal amplitude is the largest by analyzing the model.
9. The angle detection method of a hump speed radar according to claim 8, characterized in that: S3.
2. Principle of implementing three-dimensional modeling of carrier signal amplitude using spatial scanning modeling method: By scanning different angles and positions of the debugging tool, the amplitude value of the carrier signal is gradually measured. During the scanning process, the current moving direction is transmitted to the MCU. At each scanning point, the MCU will measure the amplitude of the carrier signal and record it. As the scanning range expands and data accumulates, a three-dimensional model of the carrier signal amplitude is constructed.
10. A debugging tool for implementing the angle detection method of a hump speed measuring radar according to any one of claims 1 to 9, characterized in that: The debugging tools include: Acceleration sensor: used to detect acceleration; Hump speed radar: used to detect signals.