Height measurement method and device of height limit bar based on openmv and millimeter wave radar
By using a multi-sensor fusion method combining OpenMV cameras and millimeter-wave radar, the height of height restriction poles can be measured in real time and accurately. This solves the problem of unstable measurement under environmental conditions caused by traditional single sensors, provides more reliable height information, and enhances road safety.
Patent Information
- Application Number
- CN202311356625.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-19
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-10-19
AI Technical Summary
In traditional height measurement of height restriction poles, the accuracy of a single sensor is limited under different environmental conditions. Obstructions and changes in light cause unstable measurements, making it impossible to provide real-time and timely height information.
A multi-sensor fusion method is adopted, combining an OpenMV camera and millimeter-wave radar. The height of the height restriction pole is calculated through image acquisition and reflected wave signal processing. The Ostu thresholding method is used for binarization processing. The height restriction pole is identified by combining shape and texture features. The height is calculated by measuring the reflected wave delay with millimeter-wave radar, and the average value is taken to improve accuracy.
It enables real-time and accurate measurement of height restriction poles, reduces measurement errors, enhances road safety and the stability of measurement results, has anti-interference capabilities, and is suitable for various environmental conditions.
Smart Images

Figure CN117434527B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent vehicle ranging, and in particular to a method and device for measuring the height of height-limiting poles based on OpenMV and millimeter-wave radar. Background Technology
[0002] Traditional height measurement of height restriction barriers typically uses single-sensor technology, such as a laser rangefinder or camera, to measure the distance and height between the vehicle and the barrier. However, these sensors have limitations, such as limited accuracy under different environmental conditions, interference from obstructions, and changes in lighting, leading to unstable measurement results. Furthermore, these sensors cannot provide real-time measurements, meaning the height information from the barrier may not be timely or accurate for the driver. Summary of the Invention
[0003] Purpose of the invention: The purpose of this invention is to achieve real-time and accurate measurement of the height of height restriction poles through a multi-sensor fusion method.
[0004] Technical solution: A method for measuring the height of height-limiting poles based on OpenMV and millimeter-wave radar, comprising the following steps:
[0005] Step 1: Use an OpenMV camera to acquire images, use the Ostu thresholding method for binarization, and after identifying the height restriction pole, calculate the height H1 of the height restriction pole.
[0006] Step 2: After the millimeter-wave radar transmits a signal, it receives the reflected wave signal from the top of the height restriction pole to calculate the height H2 of the height restriction pole.
[0007] Step 3: Take the average of the height restriction pole heights obtained from S1 and S2 to get the height restriction pole height.
[0008] Furthermore, Step 1 preprocesses the acquired image by removing random noise through Gaussian filtering, adjusting brightness and contrast using histogram equalization, calculating edge intensity in the image using the Sobel operator, and detecting potential target regions using a combination of shape and texture features.
[0009] Furthermore, the binarization process using the Ostu thresholding method specifically involves:
[0010] The Ostu thresholding method is used to select an appropriate threshold based on the inter-class variance of the image to maximize the difference between the target and the background. The formula (1) for calculating the inter-class variance is:
[0011]
[0012] in, Let ω1(T) represent the inter-class variance at threshold T, and let ω2(T) represent the weights of the target and background, respectively. The weights are calculated as the ratio of the number of pixels of each target to the total number of pixels. Let ν1(T) and ν2(T) represent the pixel mean of the target and background, respectively.
[0013] Ostu's thresholding method seeks a threshold T that minimizes the variance between classes. To maximize the optimal segmentation of the target and background, the pixels in the image are divided into two categories using a selected threshold T. Pixels with values greater than the threshold are labeled as the target, while those with values less than or equal to the threshold are labeled as the background, resulting in a binary image where the target area is displayed in white and the background area in black. The calculation formula (2) is as follows:
[0014]
[0015] Where B(x,y) represents the binarized image, and Pixel(x,y) represents the pixel value of the original image.
[0016] Furthermore, after identifying the height restriction bar in Step 1, the calculation of the height restriction bar's height is specifically as follows:
[0017] Assuming the distance between the height restriction warning device and the ground is h1, the vertical distance between the top of the height restriction pole and the same horizontal plane as the height restriction warning device is h2, the horizontal straight-line distance between the vehicle and the height restriction pole directly in front is S1, and the Euclidean distance between the height restriction warning device and the top of the height restriction pole measured by millimeter-wave radar is S2, its expression (3) is:
[0018]
[0019] Where H1 represents the height of the height restriction bar, d p Let f represent the pixel distance of the height restriction bar detected by the camera in the image, and let f represent the focal length of the camera. By solving the system of equations, the horizontal straight-line distance S1 is obtained, and the included angle c is shown in equation (4):
[0020]
[0021] Furthermore, in Step 2, a millimeter-wave radar is installed on the vehicle and set at an appropriate elevation angle so that it faces the top of the height restriction bar. The millimeter-wave radar receives the reflected wave signal from the top of the height restriction bar and determines the distance to the height restriction bar by measuring the time delay of the signal.
[0022] Furthermore, the response of the millimeter-wave radar to electromagnetic wave signals from different directions in Step 2 is shown in Equation (5):
[0023]
[0024] Where θ represents the angle between the distance between the radar and the height restriction bar and the horizontal distance between the vehicle and the point directly below the height restriction bar; σ represents the minimum error caused by the asymmetry in the left and right heights of the height restriction bar; and φ represents the phase difference of the excitation current of adjacent array elements, i.e., the phase difference introduced by the phase shifter. This represents the phase difference in the radiation fields of adjacent array elements caused by the path difference. Let k represent the field strength of the radiation field received by the array element at time k, where k belongs to 1, 2, ..., N; Since the description of electromagnetic wave signals involves complex numbers, Euler's equation is used to represent them. Complex numbers are used to describe the amplitude and phase of the wave, and a geometric series is used to represent the spectral characteristics of the signal. Its calculation formula (6) is as follows:
[0025]
[0026] Where Sn represents the sum of the first n terms of the electromagnetic wave signal, a1 represents the first term of the electromagnetic wave signal (taken from E(θ)), q represents the common ratio, and e ix This indicates that the electromagnetic wave signal is described using Euler's equations, and i represents the imaginary unit;
[0027] Substituting equation (6) into equation (5), we obtain the improved electromagnetic wave signal expression (7):
[0028]
[0029] Taking the modulus of equation (7) yields equation (8):
[0030]
[0031] Where |E(θ)| represents the response amplitude; when θ = 0, then E(θ) = 1; when θ = 0, then E(θ) = 1. When all components are added in phase, the maximum value of the electric field amplitude is obtained, which is the maximum value of |E(θ)|. At this time, |E(θ)| max =NE, therefore the normalized directional function (9) is:
[0032]
[0033] in d is the distance between the two antennas on both sides of the radar, and λ is the wavelength. Then, the normalized directivity function can be simplified to equation (10):
[0034]
[0035] when When Z(θ) = 1, the offset angle θ′ between the distance measured by the radar and the horizontal distance between the vehicle and the height limit bar reaches a specific value, as shown in equation (11):
[0036]
[0037] From equation (11), it can be seen that φ and θ′ are positively correlated. Therefore, when the magnitude of φ is measured, the magnitude of θ′ can be known. Its calculation formula (12) is:
[0038]
[0039] Substituting equation (12) into equation (10) yields:
[0040]
[0041] when When the numerator and denominator of equation (13) are both 0, Z(θ) = 1. Therefore, Z(θ) is multi-lobed. When θ = θ′, it is the main lobe, and at other times it is the grating lobe. In order to eliminate the multi-valued influence of the grating lobe on radar angle measurement, the following condition equation (14) is required:
[0042]
[0043] Since |sinθ-sinθ′|≤1+|sinθ′|, when equation (14) is satisfied, the influence of the grating lobe can be eliminated by adjusting d. When θ′ increases, the beamwidth will also increase. To avoid grating lobes, take... The phase φ is measured by the phase meter on the radar and in the actual reading φ < 2π, so the included angle θ′ can be calculated by equation (10);
[0044] After the included angle θ′ is measured, the vertical distance h2 between the top of the height limit pole and the same horizontal plane of the height limit reminder device can be calculated using trigonometric relationships. The calculation formula (15) is as follows:
[0045]
[0046] Therefore, the height H2 of the height restriction pole is given by equation (16):
[0047]
[0048] Furthermore, in Step 3, the average of H1 and H2 measured at the same time S1 and S2 is taken to obtain the final height of the height restriction bar, and its calculation formula (17) is as follows:
[0049]
[0050] A height measurement device for a height restriction pole based on OpenMV and millimeter-wave radar, the device including a height restriction reminder device, the height restriction reminder device including an OpenMV camera and a millimeter-wave radar, the height restriction reminder device being installed on a moving vehicle;
[0051] The height restriction reminder device uses an OpenMV camera to acquire images, uses the Ostu thresholding method for binarization, and calculates the height H1 of the height restriction bar after it is identified.
[0052] After the millimeter-wave radar of the height restriction reminder device transmits a signal, it receives the reflected wave signal from the top of the height restriction pole to calculate the height H2 of the height restriction pole;
[0053] The height of the height restriction pole is obtained by averaging the heights obtained from the OpenMV camera and the millimeter-wave radar.
[0054] Beneficial effects: This invention enables real-time measurement of the height of height restriction barriers while the vehicle is in motion, allowing drivers to obtain timely height information and enhancing road safety. Simultaneously, the multi-sensor fusion method reduces measurement errors, improves stability, and makes the measurement results more reliable. Attached Figure Description
[0055] Figure 1 This is a flowchart of the method of the present invention;
[0056] Figure 2 This is a schematic diagram of the device of the present invention. Detailed Implementation
[0057] The technical solution of the present invention will be further described below with reference to the accompanying drawings.
[0058] like Figure 1 As shown, the present invention provides a technical solution: a method for measuring the height of a height-limiting pole based on OpenMV and millimeter-wave radar, comprising the following steps:
[0059] Step 1: Use an OpenMV camera to acquire images, use the Ostu thresholding method for binarization, and after identifying the height restriction pole, calculate the height H1 of the height restriction pole.
[0060] Step 2: After the millimeter-wave radar transmits a signal, it receives the reflected wave signal from the top of the height restriction pole to calculate the height H2 of the height restriction pole.
[0061] Step 3: Take the average of the height restriction pole heights obtained from S1 and S2 to get the height restriction pole height.
[0062] Step 1 involves image acquisition using an OpenMV camera. The camera is mounted on the vehicle to ensure it captures the road view directly ahead. The acquired images are preprocessed, using Gaussian filtering to remove random noise and reduce interference. Next, brightness and contrast adjustments are performed, employing histogram equalization to ensure target features are more prominent and clear. The Sobel operator is used to calculate edge intensity, and a method combining shape and texture features is employed to detect potential target regions.
[0063] The Ostu thresholding method is used to select an appropriate threshold based on the inter-class variance of the image to maximize the difference between the target and the background. The formula (1) for calculating the inter-class variance is:
[0064]
[0065] in, Let ω1(T) represent the inter-class variance at threshold T, and let ω2(T) represent the weights of the target and background, respectively, calculated as the ratio of their respective pixel counts to the total pixel count. Let ν1(T) and ν2(T) represent the pixel mean of the target and background, respectively.
[0066] Ostu's thresholding method seeks a threshold T that minimizes the variance between classes. Maximize to achieve optimal segmentation of the target and background. This threshold T is the Otsu threshold, which can be used for image binarization to separate the target from the background. By selecting the threshold T, the pixels in the image are divided into two categories: the pixels with values greater than the threshold are marked as the target (white), while the pixels with values less than or equal to the threshold are marked as the background (black), resulting in a binary image in which the target area is displayed in white and the background area in black. Its calculation formula (2) is:
[0067]
[0068] Where B(x,y) represents the binarized image, and Pixel(x,y) represents the pixel value of the original image.
[0069] After binarization, the target and background in the image are separated, creating a binary image where the target is white and the background is black. Once the height restriction device is detected, the horizontal straight-line distance can be calculated. The pixel coordinates of the height restriction device in the image are determined, camera parameters are obtained to convert the pixel coordinates to real-world coordinates, and similar triangulation is used to calculate the horizontal straight-line distance. For example... Figure 2 As shown, assuming the distance between the installation point of the equipment and the ground is h1, the vertical distance between the top of the height restriction pole and the same horizontal plane of the height restriction reminder device is h2, and the horizontal straight-line distance between the vehicle and the height restriction device directly in front is S1, the distance between the installation point of the height restriction reminder device and the top of the height restriction device measured by the millimeter-wave radar is S2, and its expression (3) is:
[0070]
[0071] Where H1 represents the height of the height restriction bar, d pLet f represent the pixel distance of the height restriction device detected by the camera in the image, and let f represent the focal length of the camera. By solving the system of equations, the horizontal straight-line distance S1 is obtained, and the included angle c is shown in equation (4):
[0072]
[0073] Step 2 specifically involves installing a millimeter-wave radar on the vehicle and setting an appropriate yoke so that it faces the top of the height restriction bar. The millimeter-wave radar receives reflected wave signals from the top of the height restriction bar to measure the distance. The radar sends millimeter-wave signals, which propagate at high speed and are reflected when they interact with the surface of the height restriction bar. The millimeter-wave radar receives the reflected signals and determines the distance to the height restriction bar by measuring the time delay of the signals. The response of the millimeter-wave radar to electromagnetic wave signals from different directions is shown in formula (5):
[0074]
[0075] Where θ represents the angle between the distance between the radar and the height restriction bar and the horizontal distance between the vehicle and the point directly below the height restriction bar; σ represents the minimum error caused by the asymmetry in the left and right heights of the height restriction bar; and φ represents the phase difference of the excitation current of adjacent array elements, i.e., the phase difference introduced by the phase shifter. This represents the phase difference in the radiation fields of adjacent array elements caused by the path difference, i.e.
[0076] Since the description of electromagnetic wave signals involves complex numbers, Euler's equations are used to represent them. Complex numbers are used to describe the amplitude and phase of the wave, and a geometric series is used to represent the spectral characteristics of the signal. The calculation formula (6) is as follows:
[0077]
[0078] Where Sn represents the sum of the first n terms of the electromagnetic wave signal, a1 represents the first term of the electromagnetic wave signal (taken from E(θ)), q represents the common ratio, and e ix This indicates that the Euler equations are used to describe electromagnetic wave signals.
[0079] Substituting equation (6) into equation (5), we obtain the improved electromagnetic wave signal expression (7):
[0080]
[0081] Taking the modulus of equation (7) yields equation (8):
[0082]
[0083] Where |E(θ)| represents the response amplitude; when θ = 0, then E(θ) = 1. When all components are added in phase, the maximum value of the electric field amplitude is obtained, which is the maximum value of |E(θ)|. At this time, |E(θ)| max =NE. Therefore, the normalized directional function (9) is:
[0084]
[0085] in d is the distance between the two antennas on either side of the radar, and λ is the wavelength. The normalized directivity function, after simplification, yields equation (10):
[0086]
[0087] when When Z(θ) = 1, the offset angle θ′ between the distance measured by the radar and the horizontal distance between the vehicle and the height limit bar reaches a specific value, as shown in equation (11):
[0088]
[0089] From equation (11), it can be seen that φ and θ′ are positively correlated. Therefore, when the magnitude of φ is measured, the magnitude of θ′ can be known. Its calculation formula (12) is:
[0090]
[0091] Substituting equation (12) into equation (10) yields:
[0092]
[0093] when When θ = θ′, both the numerator and denominator of equation (13) are 0, and Z(θ) = 1. Therefore, Z(θ) is multi-lobed. When θ = θ′, it is the main lobe, and at other times it is the grating lobe. To eliminate the multi-valued influence of the grating lobe on radar angle measurement, the following condition equation (14) is required:
[0094]
[0095] Since |sinθ-sinθ′|≤1+|sinθ′|, when equation (14) is satisfied, the effect of the grating lobe can be eliminated by adjusting d. When θ′ increases, the beamwidth will also increase. To avoid grating lobes, take... The phase φ is measured by the radar's built-in phase meter, and in the actual reading, φ < 2π. Therefore, the included angle θ′ can be calculated using equation (10).
[0096] After the included angle θ′ is measured, the vertical distance h2 between the top of the height limit pole and the same horizontal plane of the height limit reminder device can be calculated using trigonometric relationships. The calculation formula (15) is as follows:
[0097]
[0098] Therefore, the height H2 of the height restriction pole is given by equation (16):
[0099]
[0100] Step 3 is as follows: To improve the accuracy of identifying the height of the height restriction pole, this invention combines the measurement methods of millimeter-wave radar and OpenMV sensors. The average value of H1 and H2 measured by the two different methods at the same time can be used to obtain the final height of the height restriction pole. The calculation formula (17) is as follows:
[0101]
[0102] This invention utilizes multi-sensor fusion, combining OpenMV cameras and millimeter-wave radar technology, to achieve precise height measurement of height restriction poles. Compared to traditional single-sensor technologies, this invention provides more accurate measurement results, helping drivers accurately understand the height of the height restriction poles. This invention can measure the height of height restriction poles in real time while the vehicle is in motion, enabling drivers to obtain timely height information and enhancing road safety. Simultaneously, the multi-sensor fusion method reduces measurement errors, improves stability, and makes the measurement results more reliable. This invention is not only applicable to height restriction pole measurement but can also be widely applied in other fields requiring the measurement of object height or distance. This multi-sensor fusion method has potential commercial value and market prospects. By using millimeter-wave radar, this invention reduces sensitivity to environmental conditions, such as in adverse weather or low-light conditions, and can still reliably measure heights, exhibiting greater anti-interference capabilities compared to traditional visual sensors. Compared to traditional technologies, the main performance indicators of this invention include the accuracy, real-time performance, stability, and anti-interference capability of height measurement. Traditional technologies may be limited by lighting conditions, obstructions, or unstable environmental conditions. However, this invention, through multi-sensor fusion, can better address these challenges and provide more accurate, real-time, and stable measurement results, thus offering significant technological advantages in vehicle operation and traffic management.
[0103] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A method for measuring the height of a height-limiting pole based on OpenMV and millimeter-wave radar, characterized in that, Includes the following steps: Step 1: Use an OpenMV camera to acquire images, perform binarization using the Ostu thresholding method, and calculate the height of the height restriction bar after identifying it. ; Step 2: After the millimeter-wave radar transmits a signal, it receives the reflected wave signal from the top of the height restriction bar to calculate the height of the bar. ; Step 3: Take the average of the height restriction pole heights obtained from S1 and S2 to get the height restriction pole height; The response of the millimeter-wave radar to electromagnetic wave signals from different directions in Step 2 is shown in Equation (5): (5) in, This indicates the angle between the distance between the radar and the height restriction bar and the horizontal distance between the vehicle and the point directly below the height restriction bar. This indicates a very small error caused by the asymmetry in the left and right heights of the height restriction bar. This represents the phase difference between the excitation currents of adjacent array elements, i.e., the phase difference introduced by the phase shifter. This represents the phase difference in the radiation fields of adjacent array elements caused by the path difference. Let k represent the field strength of the radiation field received by the array element at time k, where k belongs to 1, 2, ..., N; use complex numbers to describe the amplitude and phase of the wave, and use a geometric sequence to represent the spectral characteristics of the signal. Its calculation formula (6) is as follows: (6) in, This represents the sum of the first n terms of an electromagnetic wave signal. The first term representing the electromagnetic wave signal is taken from... , Indicates the common ratio. This indicates that the Euler equations are used to describe electromagnetic wave signals. Represents the imaginary unit; Substituting equation (6) into equation (5), we obtain the improved electromagnetic wave signal expression (7): (7) Taking the modulus of equation (7) yields equation (8): (8) in, Indicates the response amplitude, when At that time, ,when When all components are added in phase, the maximum amplitude of the electric field is obtained, which is the result of the calculation. The maximum value is at this time. Therefore, the normalized directional function (9) is: (9) in , The distance between the two antennas on either side of the radar. Let be the wavelength. Then, the normalized directional function, after simplification, yields equation (10): (10) when hour, At this point, the offset angle between the distance measured by the radar and the horizontal distance between the vehicle and the height limit bar. Reaching a specific value, as shown in equation (11): (11) From equation (11), we can see that and There is a positive correlation, therefore when measured The size can be known The size of is calculated using formula (12): (12) Substituting equation (12) into equation (10) yields: (13) when When both the numerator and denominator of equation (13) are 0, we have Therefore, it can be concluded that It is multi-lobed, when At time 1, the main lobe is present; at other times, the grating lobe is present. To eliminate the multi-valued effect of the grating lobe on radar angle measurement, the following condition (14) is required: (14) because Therefore, when equation (14) is satisfied, the influence of the grid lobe can be eliminated by adjusting d. As the beamwidth increases, the beam width also increases. To avoid grating lobes, [the following is taken]: Phase Measured by the radar's built-in phase meter and in the actual readings. Therefore, the included angle It can be calculated using equation (10); When the included angle is measured Afterwards, the vertical distance between the top of the height restriction pole and the height restriction reminder device on the same horizontal plane is... It can be calculated using trigonometric relationships, and its calculation formula (15) is: (15) Therefore, the height of the height restriction pole For equation (16): (16)。 2. The height measurement method for height-limiting poles based on OpenMV and millimeter-wave radar according to claim 1, characterized in that, Step 1 preprocesses the acquired image by removing random noise through Gaussian filtering, adjusting brightness and contrast using histogram equalization, calculating edge intensity using the Sobel operator, and detecting potential target regions using a combination of shape and texture features.
3. The height measurement method for height-limiting poles based on OpenMV and millimeter-wave radar according to claim 1, characterized in that, The binarization process using the Ostu thresholding method specifically involves: The Ostu thresholding method is used to select an appropriate threshold based on the inter-class variance of the image to maximize the difference between the target and the background. The formula (1) for calculating the inter-class variance is: (1) in, Indicates threshold Inter-class variance and These represent the weights of the target and background, respectively. The weights are calculated as the ratio of the number of pixels in each target element to the total number of pixels. and These represent the average pixel values of the target and the background, respectively. Ostu's thresholding method searches for a threshold. , making the inter-class variance Maximize and achieve the best segmentation between the target and the background by using the selected threshold. The pixels in the image are divided into two categories: pixels with values greater than a threshold are marked as targets, while pixels with values less than or equal to the threshold are marked as background, resulting in a binary image where the target area is displayed in white and the background area in black. The calculation formula (2) is as follows: (2) in, This represents the binarized image. Represents the pixel values of the original image.
4. The height measurement method for height-limiting poles based on OpenMV and millimeter-wave radar according to claim 1, characterized in that, After identifying the height restriction bar in Step 1, the height of the height restriction bar is calculated as follows: Assuming the distance between the height restriction warning device and the ground is... The vertical distance between the top of the height restriction pole and the height restriction warning device on the same horizontal plane is The horizontal straight-line distance between the vehicle and the height restriction bar directly in front is The millimeter-wave radar measured the Euclidean distance between the height restriction warning device installation point and the top of the height restriction pole as follows: Its expression (3) is: (3) in, Indicates the height of the height restriction pole. This indicates the pixel distance in the image to the height restriction bar detected by the camera. The focal length of the camera is represented; the horizontal straight-line distance is obtained by solving a system of equations. Then the included angle As shown in equation (4): (4)。 5. The height measurement method for height-limiting poles based on OpenMV and millimeter-wave radar according to claim 1, characterized in that, In Step 2, a millimeter-wave radar is installed on the vehicle and set at an appropriate elevation angle so that it faces the top of the height restriction bar. The millimeter-wave radar receives the reflected wave signal from the top of the height restriction bar and determines the distance to the height restriction bar by measuring the time delay of the signal.
6. The height measurement method for height-limiting poles based on OpenMV and millimeter-wave radar according to claim 1, characterized in that, Step 3 involves measuring S1 and S2 at the same time. and Taking the average value, the final height of the height restriction bar can be obtained, and its calculation formula (17) is: (17)。 7. A height measurement device for height-limiting poles based on OpenMV and millimeter-wave radar, characterized in that, The device includes a height restriction warning device, which includes an OpenMV camera and a millimeter-wave radar. The height restriction warning device is installed on a moving vehicle. The height restriction warning device uses an OpenMV camera to capture images, performs binarization using the Ostu thresholding method, and calculates the height of the height restriction bar after it is detected. ; The height restriction warning device uses millimeter-wave radar to transmit signals and then receives reflected wave signals from the top of the height restriction bar to calculate the bar's height. ; The height of the height restriction pole is obtained by averaging the heights obtained from the OpenMV camera and the millimeter-wave radar. The response of millimeter-wave radar to electromagnetic wave signals from different directions is shown in Equation (5): (5) in, This indicates the angle between the distance between the radar and the height restriction bar and the horizontal distance between the vehicle and the point directly below the height restriction bar. This indicates a very small error caused by the asymmetry in the left and right heights of the height restriction bar. This represents the phase difference between the excitation currents of adjacent array elements, i.e., the phase difference introduced by the phase shifter. This represents the phase difference in the radiation fields of adjacent array elements caused by the path difference. Let k represent the field strength of the radiation field received by the array element at time k, where k belongs to 1, 2, ..., N; use complex numbers to describe the amplitude and phase of the wave, and use a geometric sequence to represent the spectral characteristics of the signal. Its calculation formula (6) is as follows: (6) in, This represents the sum of the first n terms of an electromagnetic wave signal. The first term representing the electromagnetic wave signal is taken from... , Indicates the common ratio. This indicates that the Euler equations are used to describe electromagnetic wave signals. The imaginary unit; Substituting equation (6) into equation (5), we obtain the improved electromagnetic wave signal expression (7): (7) Taking the modulus of equation (7) yields equation (8): (8) in, Indicates the response amplitude, when At that time, ,when When all components are added in phase, the maximum amplitude of the electric field is obtained, which is the result of the calculation. The maximum value is at this time. Therefore, the normalized directional function (9) is: (9) in , The distance between the two antennas on either side of the radar. Let be the wavelength. Then, the normalized directional function, after simplification, yields equation (10): (10) when hour, At this point, the offset angle between the distance measured by the radar and the horizontal distance between the vehicle and the height limit bar. Reaching a specific value, as shown in equation (11): (11) From equation (11), we can see that and There is a positive correlation, therefore when measured The size can be known The size of is calculated using formula (12): (12) Substituting equation (12) into equation (10) yields: (13) when When both the numerator and denominator of equation (13) are 0, we have Therefore, it can be concluded that It is multi-lobed, when At time 1, the main lobe is present; at other times, the grating lobe is present. To eliminate the multi-valued effect of the grating lobe on radar angle measurement, the following condition (14) is required: (14) because Therefore, when equation (14) is satisfied, the influence of the grid lobe can be eliminated by adjusting d. As the beamwidth increases, the beam width also increases. To avoid grating lobes, [the following is taken]: Phase Measured by the radar's built-in phase meter and in the actual readings. Therefore, the included angle It can be calculated using equation (10); When the included angle is measured Afterwards, the vertical distance between the top of the height restriction pole and the height restriction reminder device on the same horizontal plane is... It can be calculated using trigonometric relationships, and its calculation formula (15) is: (15) Therefore, the height of the height restriction pole For equation (16): (16)。 8. The height measuring device for a height-limiting pole based on OpenMV and millimeter-wave radar according to claim 7, characterized in that, After identifying the height restriction bar, the height of the height restriction bar is calculated as follows: Assuming the distance between the height restriction warning device and the ground is... The vertical distance between the top of the height restriction pole and the height restriction warning device on the same horizontal plane is The horizontal straight-line distance between the vehicle and the height restriction bar directly in front is The millimeter-wave radar measured the Euclidean distance between the height restriction warning device installation point and the top of the height restriction pole as follows: Its expression (3) is: (3) in, Indicates the height of the height restriction pole. This indicates the pixel distance in the image to the height restriction bar detected by the camera. The focal length of the camera is represented; the horizontal straight-line distance is obtained by solving a system of equations. Then the included angle As shown in equation (4): (4)。
Citation Information
Patent Citations
Fully-automatic measurement method of plant heights of crops and device
CN106871799A
Data fusion dynamic vehicle detection method based on millimeter wave radar and machine vision
CN111368706A
