Distance measurement method and distance measurement device

By constructing and processing radar signal echo point cloud data sets, denoising and clustering to identify target obstacles, the problem of low accuracy of radar signal ranging in complex environments is solved, and higher measurement accuracy and stability are achieved.

CN112986973BActive Publication Date: 2024-10-18HUAWEI TECH CO LTD

Patent Information

Application Number
CN201911311965.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-18
Publication Date
2024-10-18
Estimated Expiration
2039-12-18

AI Technical Summary

Technical Problem

Existing radar signal ranging methods are easily affected by obstacles in the surrounding environment, resulting in low measurement accuracy.

Method used

By receiving multiple radar signal echo signals, a point cloud data set is constructed, denoised and clustered, target obstacles are identified, interference is eliminated, and distance measurement accuracy is improved.

Benefits of technology

It improves the accuracy of distance measurement, reduces noise interference, enhances the stability of measurement, and is suitable for complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112986973B_ABST
    Figure CN112986973B_ABST
Patent Text Reader

Abstract

The present application provides a distance measurement method and device, which can improve the accuracy of distance measurement. The method includes: receiving multiple first echo signals generated by multiple first radar signals emitted in a first time period within a detection range; determining a first point cloud data set according to the multiple first echo signals; denoising the first point cloud data set according to the signal-to-noise ratio value and rate value in each first point cloud data included in the first point cloud data set to obtain a target data set, and the noise and rate at obstacle points with different motion states are different; clustering the first point cloud data included in the target data set according to the distance value in each first point cloud data included in the target data set to obtain at least one classification, and the at least one classification corresponds to at least one obstacle; determining the distance of the obstacle corresponding to each classification from the emission origin according to the distance value in each first point cloud data included in each classification in the at least one classification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of sensor technology, and more specifically, to a distance measurement method and a distance measurement device in the field of sensor technology. Background Art

[0002] With the development of society and the advancement of science and technology, sensor technology is increasingly being used in distance measurement. For example, a height measuring device is a distance measuring device that can measure people's height. The height measured by the height measuring device is combined with physiological parameters such as weight and body fat to comprehensively evaluate the health of the body.

[0003] The existing 60GHz and 77GHz millimeter-wave frequency bands have a large available bandwidth. The frequency modulated continuous wave (FMCW) modulation method can achieve centimeter-level ranging accuracy and can also measure speed. It is currently widely used in vehicle-mounted radars to detect obstacle distances and sense the distance of objects.

[0004] However, when using existing radar signal ranging methods in different frequency bands to measure target distance, the radar signal is easily affected by obstacles in the surrounding environment, which may lead to the detection of the distance of the wrong target, so the measurement accuracy is low. Summary of the invention

[0005] The embodiments of the present application provide a distance measurement method and a distance measurement device, which can improve the measurement accuracy.

[0006] In a first aspect, an embodiment of the present application provides a height measurement method, the method comprising:

[0007] receiving a plurality of first echo signals generated within a detection range by a plurality of first radar signals emitted within a first time period;

[0008] Determine a first point cloud data set according to the multiple first echo signals, wherein the first point cloud data set includes multiple first point cloud data, the multiple first point cloud data are used to represent multiple obstacle points on the object under test within the detection range, each of the multiple first point cloud data includes a distance value, a velocity value and a signal-to-noise ratio value, the distance value in each first point cloud data is used to represent the distance between the obstacle point represented by each first point cloud data and the emission origin of the multiple first radar signals, the velocity value in each first point cloud data is used to represent the movement velocity of the obstacle point represented by each first point cloud data relative to the emission origin, and the signal-to-noise ratio value in each first point cloud data is used to represent the noise at the obstacle point represented by each first point cloud data;

[0009] Denoising the first point cloud data set according to a signal-to-noise ratio value and a rate value in each first point cloud data set included in the first point cloud data set to obtain a target data set;

[0010] Clustering the first point cloud data included in the target data set according to the distance value in each first point cloud data included in the target data set to obtain at least one classification, wherein the at least one classification corresponds to at least one obstacle, and the obstacle points included in each classification in the at least one classification constitute the obstacle corresponding to each classification;

[0011] According to the distance value in each first point cloud data included in each category, the distance between the obstacle corresponding to each category and the emission origin is determined.

[0012] It should be noted that the "first", "second", etc. described in the embodiments of the present application are only used to distinguish the same terms in different time periods and have nothing to do with quantity, type, etc. unless otherwise specified.

[0013] It should also be noted that the embodiments of the present application are only introduced by taking the measured object as a person and measuring the height of the measured person by using a distance measuring device as an example, but the embodiments of the present application are not limited to this.

[0014] It should be noted that before receiving the multiple first echo signals generated within the detection range by the multiple first radar signals emitted in the first time period, measurement preparation needs to be performed at the object under measurement, that is, micro-jittering is performed on the target obstacle set at the end of the object under measurement farthest from the emission origin.

[0015] For example, when measuring height, the person being measured needs to put his palm over his forehead and shake it slightly.

[0016] It should be noted that, since the speeds at the obstacle points with different motion states are different, the speed at the obstacle point constituting the shaking target obstacle above the head of the person being measured is different from the speeds at other surrounding obstacle points.

[0017] In a possible implementation, denoising the first point cloud dataset according to a signal-to-noise ratio value and a rate value in each first point cloud data included in the first point cloud dataset to obtain a target dataset includes: denoising the first point cloud dataset according to a signal-to-noise ratio value and a rate value in each first point cloud data included in the first point cloud dataset and a preset signal-to-noise ratio threshold and a rate threshold to obtain the target dataset, wherein the rate threshold is determined according to a rate of a target obstacle among the at least one obstacle.

[0018] It should be noted that the first point cloud data in the distance measurement method in the embodiment of the present application extracts a reflector with velocity information. When the velocity resolution of the radar reaches 0.08 m / s, the radar can identify obstacles with tiny vibrations, such as micro-vibrations of the torso when the body is static. The first point cloud data formed by such vibrating objects interferes with the distance measurement of the target obstacle and needs to be filtered out. Therefore, the interference can be filtered out by using a velocity threshold.

[0019] At the same time, the distance measurement method in the embodiment of the present application detects the micro-jitter of the target obstacle. The echo signal intensity generated by such micro-jitter is weak and the signal-to-noise ratio is not strong. Therefore, the noise can be filtered out by the signal-to-noise ratio threshold.

[0020] In a possible implementation manner, the speed of the target obstacle is greater than or equal to the speed threshold.

[0021] It should be noted that at least one obstacle obtained by clustering includes the target obstacle, the target obstacle includes a first obstacle point and a second obstacle point, and the distance between the first obstacle point and the second obstacle point is less than a preset distance threshold.

[0022] Optionally, the first point cloud data in the target first point cloud data set may be clustered by a density-based clustering method with noise.

[0023] In a possible implementation manner, the target obstacle includes a first obstacle point and a second obstacle point, and a distance between the first obstacle point and the second obstacle point is less than a preset distance threshold.

[0024] In a possible implementation, the target obstacle corresponds to a target category in the at least one category, and determining the distance of the obstacle corresponding to each category from the emission origin according to the distance value in each first point cloud data included in each category includes: determining the category including the largest number of first point cloud data in the at least one category as the target category; and determining the distance of the target obstacle from the emission origin according to the distance value in each first point cloud data included in the target category.

[0025] It should be noted that the at least one category includes a target category corresponding to the target obstacle. Taking height measurement as an example, the target obstacle is set above the head of the person being measured, and the distance between the target obstacle and the emission origin can be understood as the height of the person being measured.

[0026] By adopting the distance measurement method described in the embodiment of the present application, clustering the first point cloud data in the target first point cloud data set and selecting the target classification is beneficial to further eliminate the interference due to abnormal points. These abnormal points come from other environmental interferences other than the target obstacles, and also from the signal parameter estimation errors caused by the jitter of the target obstacles, such as the x, y coordinate deviations caused by the angle estimation errors. These parameters will be used for distance measurement in the next step. Therefore, clustering can further reduce the interference of interference points and improve the accuracy of distance measurement.

[0027] In a possible implementation, the distance value in each first point cloud data includes the distance component value of the obstacle point represented by each first point cloud data in the first direction and the distance component value in the second direction, and the first direction is perpendicular to the second direction; or, the distance value in each first point cloud data includes the distance component value of the obstacle point represented by each first point cloud data in the first direction, the distance component value in the second direction and the distance component in a third direction, and the third direction is perpendicular to the first direction and the second direction, respectively.

[0028] In a possible implementation, determining the first point cloud data set according to the multiple first echo signals includes: determining multiple first spectrum data groups corresponding to the multiple first echo signals according to the multiple first echo signals, each of the multiple first spectrum data groups includes multiple first spectrum data, the multiple first spectrum data represent multiple obstacle points within the detection range, each of the multiple first spectrum data includes a distance value and a signal strength value, the distance value of each first spectrum data is used to represent the distance between the obstacle point represented by each first spectrum data and the transmission origin, and the signal strength value of each first spectrum data is used to represent the reflection intensity of the obstacle point represented by each first spectrum data to the first radar signal corresponding to each first spectrum data, wherein the multiple distance values ​​included in each first spectrum data group are the same; determining the first point cloud data set according to the distance value and the signal strength value in each first spectrum data.

[0029] In a possible implementation, before determining the first point cloud data set based on the distance value and the signal strength value in each of the first spectrum data, the method further includes: receiving a plurality of second echo signals generated by a plurality of second radar signals emitted in a second time period within the detection range, the end time of the second time period being no later than the end time of the first time period; determining a plurality of second spectrum data groups corresponding to the plurality of second echo signals based on the plurality of second echo signals, each of the plurality of second spectrum data groups including a plurality of second spectrum data, the plurality of second spectrum data representing the plurality of obstacle points within the detection range, the plurality of second spectrum data Each second spectrum data in the data includes a distance value and a signal strength value, the distance value of each second spectrum data is used to represent the distance between the obstacle point represented by each second spectrum data and the transmission origin, and the signal strength value of each second spectrum data is used to represent the reflection intensity of the obstacle point represented by each second spectrum data to the second radar signal corresponding to each second spectrum data, wherein the multiple distance values ​​included in each second spectrum data group are the same; according to the distance value and the signal strength value in each second spectrum data, determine whether the position of the object to be measured meets the measurement conditions; when it is determined that the position of the object to be measured meets the measurement conditions, determine the first point cloud data set.

[0030] It should be noted that before determining the first point cloud data set based on the distance value and signal strength value in each first spectrum data, the distance measurement device can first determine whether the position of the object to be measured meets the measurement conditions. When the position of the object to be measured meets the measurement conditions, the distance measurement is performed. When the position of the object to be measured does not meet the measurement conditions, the distance measurement function can be suspended to save energy consumption.

[0031] In a possible implementation, determining whether the position of the object under measurement meets the measurement conditions based on the distance values ​​and signal strength values ​​in each second spectrum data includes: normalizing the signal strength value corresponding to each distance value in the multiple distance values ​​included in each second spectrum data group to obtain the normalized signal strength value corresponding to each distance value in the multiple distance values ​​included in each second spectrum data group; determining the variance value of the signal strength value corresponding to each distance value in the multiple distance values ​​based on the normalized signal strength values ​​corresponding to the same distance value in the multiple second spectrum data groups; and determining whether the position of the object under measurement meets the measurement conditions based on the variance value of the signal strength value corresponding to each distance value in the multiple distance values.

[0032] Optionally, the end time of the second time period is not later than the end time of the first time period, which may include: the end time of the second time period is earlier than the end time of the first time period; or, the end time of the second time period is equal to the end time of the first time period. This embodiment of the present application is not limited to this.

[0033] Optionally, the duration of the second time period may be the same as or different from the duration of the first time period, which is not limited in this embodiment of the present application.

[0034] In a possible implementation, determining whether the position of the object under measurement meets the measurement condition based on the variance value of the signal strength value corresponding to each distance value in the multiple distance values ​​includes: when the number of variance values ​​of the signal strength values ​​corresponding to each distance value in the multiple distance values ​​that are greater than a variance threshold is greater than or equal to a quantity threshold, determining that the position of the object under measurement meets the measurement condition; or when the number of variance values ​​of the signal strength values ​​corresponding to each distance value in the multiple distance values ​​that are greater than the variance threshold is less than the quantity threshold, determining that the position of the object under measurement does not meet the measurement condition.

[0035] By using the distance measurement device provided in the embodiment of the present application, there is no need to use external sensors such as human infrared sensors and pressure sensors to determine whether the distance measurement function can be activated, thereby simplifying the measurement device and reducing power consumption and cost.

[0036] It should be noted that, taking height measurement as an example, since the instantaneous height value obtained by the method described in the first aspect above is affected by noise interference, hand raising, hand dropping, trunk micro-movement, etc., resulting in large changes in the instantaneous value, the accuracy and stability of the measured height value can be improved by the following two methods.

[0037] Method 1: Count the variance of the instantaneous height value measured in each frame within 1s if The average value of the instantaneous height value measured in each frame within 1s is taken as the final height value of the person being measured. th1 is a preset first variance threshold, and the value range of the first variance threshold is a first threshold range.

[0038] Method 2: Count the variance of the instantaneous height value obtained in each frame in consecutive frames over multiple seconds if The most concentrated height interval is extracted using the histogram distribution, and then the average of the height values ​​included in the interval is taken as the final height value of the person being measured. th2is a preset second variance threshold, the value range of the second variance threshold is a second threshold range, and the second threshold range is greater than the first threshold range.

[0039] In a second aspect, an embodiment of the present application further provides a distance measurement method, the method comprising:

[0040] receiving a plurality of first echo signals generated within a detection range by a plurality of first radar signals emitted within a first time period;

[0041] Determine, according to the plurality of first echo signals, a plurality of first spectrum data groups corresponding to the plurality of first echo signals, each of the plurality of first spectrum data groups comprising a plurality of first spectrum data, the plurality of first spectrum data representing a plurality of obstacle points on the measured object within the detection range, each of the plurality of first spectrum data comprising a distance value and a signal strength value, the distance value of each first spectrum data being used to represent the distance between the obstacle point represented by each first spectrum data and the emission origin of the plurality of first radar signals, the signal strength value of each first spectrum data being used to represent the signal reflection strength at the obstacle point represented by each first spectrum data, wherein the plurality of distance values ​​included in each first spectrum data group are the same;

[0042] Normalizing the signal strength value corresponding to each distance value included in each first spectrum data group to obtain a normalized signal strength value corresponding to each distance value included in each first spectrum data group;

[0043] Determine, according to the normalized signal strength values ​​corresponding to the same distance value in the plurality of first frequency spectrum data groups, a variance value of the signal strength value corresponding to each distance value included in the plurality of first frequency spectrum data groups;

[0044] According to the variance value of the signal strength value corresponding to each distance value included in the multiple first spectrum data groups, the distance of the target obstacle on the object under test from the transmission origin is determined, and the target obstacle is composed of at least one obstacle point, and the signal reflection intensities at obstacle points with different motion states are different.

[0045] It should be noted that, taking height measurement as an example, the target obstacle is set above the head of the person being measured, and the distance between the target obstacle and the emission origin can be understood as the height of the person being measured.

[0046] It should be noted that, taking height measurement as an example, when preparing for measurement, the user extends his palm and slightly moves it above his head, which increases the variance value at the range-bin corresponding to the height of the head. Therefore, within the distance threshold range, the distance value corresponding to the farthest peak value on the Range-FFT variance curve spectrum whose value is greater than or equal to the variance threshold is searched as the current instantaneous height value; or the maximum distance value whose variance is greater than or equal to the variance threshold is used as the current instantaneous height value.

[0047] In a possible implementation, determining the distance of the target obstacle on the measured object from the emission origin based on the variance value of the signal strength value corresponding to each distance value included in the multiple first spectrum data groups includes: determining the distance of the target obstacle from the emission origin based on the variance value of the signal strength value corresponding to each distance value included in the multiple first spectrum data groups and a first variance threshold, wherein the first variance threshold is determined based on the signal strength at at least one obstacle point constituting the target obstacle.

[0048] In a possible implementation, before normalizing the signal strength value corresponding to each distance value included in each first spectrum data group to obtain the normalized signal strength value corresponding to each distance value included in each first spectrum data group, the method further includes: receiving a plurality of second echo signals generated by a plurality of second radar signals emitted in a second time period within the detection range, the end time of the second time period being no later than the end time of the first time period; determining a plurality of second spectrum data groups corresponding to the plurality of second echo signals based on the plurality of second echo signals, each of the plurality of second spectrum data groups including a plurality of second spectrum data, the plurality of second spectrum data representing the plurality of second echo signals within the detection range; Obstacle point, each of the multiple second spectrum data includes a distance value and a signal strength value, the distance value of each second spectrum data is used to indicate the distance between the obstacle point represented by each second spectrum data and the transmission origin, and the signal strength value of each second spectrum data is used to indicate the signal reflection strength at the obstacle point represented by each second spectrum data, wherein the multiple distance values ​​included in each second spectrum data group are the same; according to the distance value and the signal strength value in each second spectrum data, determine whether the position of the measured object meets the measurement conditions; when it is determined that the position of the measured object meets the measurement conditions, normalize the signal strength value corresponding to each distance value included in each first spectrum data group.

[0049] In a possible implementation, determining whether the position of the object under measurement meets the measurement conditions based on the distance values ​​and signal strength values ​​in each second spectrum data includes: normalizing the signal strength values ​​corresponding to each distance value included in each second spectrum data group to obtain the normalized signal strength values ​​corresponding to each distance value included in each second spectrum data group; determining the variance values ​​of the signal strength values ​​corresponding to each distance value included in the multiple second spectrum data groups based on the normalized signal strength values ​​corresponding to the same distance value in the multiple second spectrum data groups; and determining whether the position of the object under measurement meets the measurement conditions based on the variance values ​​of the signal strength values ​​corresponding to each distance value included in the multiple second spectrum data groups.

[0050] In a possible implementation, determining whether the position of the object under measurement meets the measurement condition based on the variance value of the signal strength value corresponding to each distance value included in the multiple second spectrum data groups includes: when the number of variance values ​​of the signal strength values ​​corresponding to each distance value included in the multiple second spectrum data groups that are greater than a second variance threshold is greater than or equal to a quantity threshold, determining that the position of the object under measurement meets the measurement condition; or when the number of variance values ​​of the signal strength values ​​corresponding to each distance value included in the multiple second spectrum data groups that are greater than the second variance threshold is less than the quantity threshold, determining that the position of the object under measurement does not meet the measurement condition.

[0051] In a third aspect, an embodiment of the present application further provides a distance measurement method, the method comprising:

[0052] receiving a plurality of first echo signals generated within a first detection range by a plurality of first radar signals transmitted within a first time period;

[0053] Determine, according to the plurality of first echo signals, a plurality of first spectrum data groups corresponding to the plurality of first echo signals, each of the plurality of first spectrum data groups comprising a plurality of first spectrum data, the plurality of first spectrum data representing a plurality of obstacle points within the first detection range, each of the plurality of first spectrum data comprising a distance value and a signal strength value, the distance value of each first spectrum data being used to represent the distance between the obstacle point represented by each first spectrum data and the first emission origin of the plurality of first radar signals, the signal strength value of each first spectrum data being used to represent the reflection strength of the obstacle point represented by each first spectrum data to the first radar signal corresponding to each first spectrum data, wherein the plurality of distance values ​​included in each first spectrum data group are the same;

[0054] Normalizing the signal strength value corresponding to each of the multiple distance values ​​included in each of the first spectrum data groups to obtain a normalized signal strength value corresponding to each of the multiple distance values ​​included in each of the first spectrum data groups;

[0055] Determine a first distance between a reference object at a fixed position and the first emission origin according to normalized signal strength values ​​corresponding to the same distance value in the plurality of first frequency spectrum data groups, wherein the first distance is greater than a distance between a measured object and the first emission origin;

[0056] The distance between the measured object and the first emission origin is determined according to the first distance.

[0057] It should be noted that, since the amplitude of each range-bin on the normalized Rang-FFT reflects the reflection intensity of the radar signal at the obstacle point, the distance corresponding to the farthest peak in the normalized Rang-FFT whose amplitude is greater than the amplitude threshold can be considered as the first distance between the reference object and the first transmission origin.

[0058] It should be noted that when measuring the first distance, the detection direction of the first radar signal is from the first emission origin to the reference object. Since the first distance is not related to the object to be measured, the first radar signal does not need to detect the distance information of the object to be measured. Therefore, the object to be measured can be located at a position far away from the first radar signal, or outside the detection range of the first radar signal. The embodiment of the present application is not limited to this.

[0059] For example, taking height measurement as an example, the first distance may be the distance between the soles of the measured person's feet and the ceiling, and the second distance may be the distance between the top of the measured person's head and the ceiling.

[0060] Optionally, before determining the distance between the object under measurement and the first emission origin based on the first distance, a second distance between the reference object and the end of the object under measurement closest to the reference object can be obtained; determining the distance between the object under measurement and the first emission origin based on the first distance includes: determining the distance between the object under measurement and the first emission origin based on the first distance and the second distance.

[0061] In a possible implementation, a plurality of second echo signals generated by a plurality of second radar signals emitted in a second time period within a second detection range may be received, wherein the second detection range is opposite to the detection range of the first detection range; and a plurality of second spectrum data groups corresponding to the plurality of second echo signals are determined based on the plurality of second echo signals, wherein each second spectrum data group in the plurality of second spectrum data groups includes a plurality of second spectrum data, wherein the plurality of second spectrum data represent a plurality of obstacle points within the second detection range, and each second spectrum data in the plurality of second spectrum data includes a distance value and a signal strength value, and the distance value of each second spectrum data is used to represent the distance of each second The obstacle point represented by the spectrum data is at a distance from the second emission origin of the plurality of second radar signals, and the signal strength value of each second spectrum data is used to represent the reflection intensity of the plurality of second radar emission signals by the obstacle point represented by each second spectrum data, wherein the plurality of distance values ​​included in each second spectrum data group are the same; the signal strength value corresponding to each distance value in the plurality of distance values ​​included in each second spectrum data group is normalized to obtain a normalized signal strength value corresponding to each distance value in the plurality of distance values ​​included in each second spectrum data group; and the second distance is determined according to the normalized signal strength values ​​corresponding to the same distance value in the plurality of second spectrum data groups.

[0062] It should be noted that the principle of the second distance determination process is similar to that of the first distance determination process, the only difference being that the second distance is the distance from the reference object to the end of the object to be measured that is closest to the reference object. Therefore, the distance measuring device needs to be placed at the end closest to the reference object, that is, the detection direction of the second radar signal is opposite to the detection direction of the first radar signal, that is, from the end closest to the reference object to the reference object.

[0063] It should also be noted that the method for improving the accuracy of distance measurement introduced in the first aspect can also be used to improve the longitude of distance measurement, and the method for determining whether the position of the object to be measured meets the measurement conditions introduced in the first aspect can be used to determine whether the position of the object to be measured meets the measurement conditions. To avoid repetition, it will not be repeated here.

[0064] The distance measurement method provided in the embodiment of the present application can better reflect the distribution of obstacles within the radar detection range, facilitate the setting of unified threshold values, and improve the universality of the algorithm and the product.

[0065] In a fourth aspect, the embodiments of the present application further provide a distance measurement device, which is used to execute the methods in the above aspects or any possible implementations thereof. Specifically, the distance measurement device may include a unit for executing the methods in the above aspects or any possible implementations thereof.

[0066] In a fifth aspect, an embodiment of the present application further provides a distance measurement device, which includes a processor and a transceiver, wherein the processor and the transceiver communicate with each other via an internal connection path, and the processor is used to implement the methods in the above aspects or any possible implementation methods thereof.

[0067] In a seventh aspect, an embodiment of the present application further provides a computer-readable storage medium for storing a computer program, wherein the computer program includes instructions for implementing the methods in the above-mentioned various aspects or any possible implementation thereof.

[0068] In an eighth aspect, an embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to implement the methods in the above-mentioned aspects or any possible implementation thereof.

[0069] In the ninth aspect, an embodiment of the present application also provides a chip device, a processor and a communication interface, wherein the processor and the communication interface communicate with each other through an internal connection path, the communication interface is used to communicate with external devices or internal devices, and the processor is used to implement the methods in the above-mentioned various aspects or any possible implementation methods thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1 A schematic block diagram of a distance measurement device 100 provided in an embodiment of the present application;

[0071] Figure 2 A schematic block diagram of a distance measurement device provided in an embodiment of the present application;

[0072] Figure 3 A schematic block diagram of a body fat scale provided in an embodiment of the present application;

[0073] Figure 4 A schematic diagram of an application scenario provided by an embodiment of the present application;

[0074] Figure 5 A schematic diagram of another application scenario provided by an embodiment of the present application;

[0075] Figure 6 A schematic flow chart of a distance measurement method 200 provided in an embodiment of the present application;

[0076] Figure 7 A schematic diagram of a radar signal provided in an embodiment of the present application;

[0077] Figure 8 A schematic diagram of Range-FFT provided in an embodiment of the present application;

[0078] Fig. 9 A schematic diagram of the 2D-FFT processing process of a radar signal provided in an embodiment of the present application;

[0079] Fig.10 A schematic diagram of the clustering process provided in the embodiment of the present application;

[0080] Fig.11 A histogram of distance values ​​provided in an embodiment of the present application;

[0081] Fig.12 A schematic diagram of a normalized Range-FFT provided in an embodiment of the present application;

[0082] Fig.13 A schematic diagram of the variance value of the normalized Range-FFT provided in an embodiment of the present application;

[0083] Fig.14 A schematic flow chart of a distance measurement method 300 provided in an embodiment of the present application;

[0084] Fig.15 A schematic diagram of variance values ​​of another normalized Range-FFT provided in an embodiment of the present application;

[0085] Fig.16 A schematic flow chart of a distance measurement method 400 provided in an embodiment of the present application;

[0086] Fig.17 Another Range-FFT schematic diagram provided for an embodiment of the present application;

[0087] Fig.18 A schematic flow chart of a distance measurement device 500 provided in an embodiment of the present application;

[0088] Fig.19 A schematic flow chart of a distance measurement device 600 provided in an embodiment of the present application;

[0089] Fig. 20 A schematic flow chart of a distance measurement device 700 provided in an embodiment of the present application;

[0090] Fig.21 A schematic flowchart of a distance measurement device 800 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0091] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0092] Figure 1 A schematic block diagram of a distance measurement device 100 provided in an embodiment of the present application is shown. Figure 1 As shown, the device 100 includes a radar module 110 , a signal processing module 120 and an output module 130 .

[0093] The radar module 110 is used to periodically transmit a radar signal using a frequency modulated continuous wave (FMCW) modulation method, receive an echo signal generated by the radar signal within a detection range, and send the received echo signal to the signal processing module 120 .

[0094] It should be noted that the above radar signal may be a millimeter wave, a microwave or an ultrasonic wave, which is not limited in the embodiments of the present application.

[0095] Optionally, the radar module 110 may be a radar.

[0096] Optionally, the radar module 110 can also be used to sense whether there is an object to be measured that meets the measurement conditions. When it is determined that there is an object to be measured that meets the measurement conditions, the distance information of the object to be measured is measured, and the distance information is used to indicate the distance between the object to be measured and the emission origin of the radar signal.

[0097] Optionally, the antenna configuration of the radar may be a single-transmit single-receive antenna, or may be a multi-transmit multi-receive antenna array, which is not limited in the embodiments of the present application.

[0098] The signal processing module 120 is used to receive the echo signal sent by the radar module, calculate the distance information according to the echo signal, and send the distance information to the output module 130.

[0099] The output module 130 is used to output the distance information.

[0100] Optionally, the output module 130 may output the distance information in a variety of ways, which is not limited in this embodiment of the present application.

[0101] In a possible implementation, the output module may be a display, and the device 100 may display the distance information through the display.

[0102] In another possible implementation, the output module may be a speaker, and the device 100 may report the audio of the distance information through the speaker.

[0103] In yet another possible implementation, the output module may be an output interface, and the apparatus 100 may send the distance information to other measuring devices through the output module, so that the other measuring devices can measure other data according to the distance information.

[0104] Optionally, the object to be measured is not limited to a person, but may also be an animal, a plant, or other object, which is not limited in this embodiment of the present application.

[0105] Optionally, the distance measuring device is not limited to measuring height, but can also measure distance, for example, measuring the size or distance of the measured object, etc., which is not limited in this embodiment of the present application.

[0106] Optionally, the apparatus 100 may be an independent distance measuring device, or the apparatus 100 may be integrated into other existing measuring devices as a module for implementing a distance measurement function in the measuring device, which is not limited in the embodiments of the present application.

[0107] In one possible implementation, Figure 2 The distance measuring device is shown as a possible product form of an independent distance measuring device (the modules inside the distance measuring device are not shown).

[0108] In another possible implementation, taking height measurement as an example, Figure 3 A possible product form of the distance measuring device integrated in a measuring device is shown (the module inside the distance measuring device is not shown), and the position where the distance measuring device is set does not overlap with the position where the person being measured stands.

[0109] For example, the distance measuring device can be integrated on a body fat scale and disposed under a surface shell of the upper surface of the body fat scale in front of the standing position of the person being measured.

[0110] Optionally, the distance measuring device may also be arranged at other positions of the standing position of the person being measured on the body fat scale, which is not limited in this embodiment of the present application.

[0111] It should be noted that Figure 2 and Figure 3 The y-axis is the radial direction of the radar signal, the x-axis is the tangential direction of the radar signal, the z-axis is the vertical direction of the radar signal, the plane formed by the y-axis and the z-axis is the vertical plane of the radar, and the plane formed by the x-axis and the y-axis is the horizontal plane of the radar. The distance measured in the embodiment of the present application can be understood as the distance of the object being measured in the radial direction.

[0112] Combined with the above Figures 1 to 3 The distance measuring device provided in the embodiment of the present application is introduced. The following will take the measurement of height as an example. Figure 4 and Figure 5 Introduce the application scenarios provided by the embodiments of the present application.

[0113] It should be noted that, in the embodiments of the present application, only the measured object is a person, and the height of the measured person is measured by the distance measuring device as an example for introduction, but the embodiments of the present application are not limited to this.

[0114] It should also be noted that before measuring height, the person being measured needs to first prepare for the measurement.

[0115] For example, Figure 4 As shown, when using Figure 2When the distance measuring device shown measures height, the distance measuring device is placed on the floor in front of the person being measured. When the person being measured is ready to be measured, he or she extends the palm of his or her hand above the forehead at head height, perpendicular to the y-axis of the radar signal, and quickly shakes the palm slightly so that the radar signal can detect the slight shaking of the palm at the top of the head. The distance measuring device determines the height of the person being measured by measuring the distance between the palm and the origin of the radar signal.

[0116] Optionally, the distance measuring device can also be placed at other positions around the soles of the feet of the person being measured. The person being measured needs to extend his palm at a corresponding position at head height and shake it slightly. This embodiment of the present application is not limited to this.

[0117] For example, Figure 5 As shown, when using Figure 3 When the measuring device measures height, taking the measuring device as a body fat scale as an example, the person being measured stands on the body fat scale, and the distance measuring device is set in front of the soles of the feet of the person being measured. When the person being measured is ready to be measured, the palm is extended in front of the forehead at the height of the head, perpendicular to the y-axis of the radar signal, and the palm is quickly and slightly shaken, so that the radar signal can detect the slight shake of the palm at the top of the head. The distance measuring device determines the height of the person being measured by measuring the distance between the palm and the emission origin of the radar signal.

[0118] Optionally, the distance measuring device in the body fat scale can also be placed at other positions around the soles of the feet of the person being measured. The person being measured needs to extend his palm at the corresponding position at the height of the head and shake it slightly. This embodiment of the present application is not limited to this.

[0119] Optionally, in Figure 4 or Figure 5 In the application scenario, the person being measured can also use other objects (referred to as target obstacles in the embodiment of the present application) to replace the hand shaking, and the embodiment of the present application is not limited to this.

[0120] For example, hold a ruler or book above your head at head height and shake it slightly.

[0121] For another example, the parent or friend of the person being measured can stand by and stretch out their hands to shake above the person's head on behalf of the person being measured.

[0122] The distance measuring device provided in the embodiment of the present application does not require auxiliary facilities such as support rods and support plates, thereby improving convenience of use; in addition, the radar signal is penetrating and can be integrated under the casing of other measuring equipment without affecting the aesthetic design of the product.

[0123] In addition, when the radar signal is a microwave radar signal, a measurement accuracy of centimeters can be achieved.

[0124] The following will be combined Figure 6A schematic flow chart of a distance measurement method 200 provided in an embodiment of the present application is introduced. The method 200 may be Figure 1 The distance measuring device shown is executed, and the method 200 is applicable to Figure 4 or Figure 5 The application scenario shown in .

[0125] S210, receiving a plurality of first echo signals generated within a detection range by a plurality of first radar signals emitted within a first time period.

[0126] It should be noted that the "first", "second", etc. described in the embodiments of the present application are only used to distinguish the same terms in different time periods and have nothing to do with quantity, type, etc. unless otherwise specified.

[0127] It should also be noted that the embodiments of the present application are only introduced by taking the measured object as a person and measuring the height of the measured person by using a distance measuring device as an example, but the embodiments of the present application are not limited to this.

[0128] It should be noted that, before S210, measurement preparation needs to be performed on the measured object, that is, a target obstacle set at the end of the measured object farthest from the emission origin is slightly shaken.

[0129] For example, taking height measurement as an example, the person being measured needs to follow Figure 4 or Figure 5 In the method described in the application scenario shown in , put your hand out to your forehead and shake it slightly.

[0130] For example, the distance measurement device periodically transmits K chirp signals (K=64-128) within a frame time, and the frame rate is greater than or equal to 20 Hz, that is, the frame period can be set to 50-100 ms. The chirp signal can be as shown in expression (1):

[0131] x(t)=A cos(2πf(t)t+Φ0) (1)

[0132] in, B is the bandwidth, f0 is the fixed initial phase, t c is the Chirp signal period, A is the amplitude, and Φ0 is the starting frequency.

[0133] Figure 7 The first sub-figure shows a schematic diagram of the time domain amplitude change of the chirp signal, the second sub-figure shows a schematic diagram of the linear frequency change of the chirp signal, and the third sub-figure shows a schematic diagram of the time domain amplitude change of K chirp signals within one frame time.

[0134] It should be noted that in the embodiment of the present application, the bandwidth of the first radar signal emitted by the distance measuring device is greater than 3 GHz, the number of transmitting antennas in the distance measuring device is greater than or equal to 1, the number of receiving antennas is greater than or equal to 1, and the antenna radiation 3dB beam width requires that the horizontal plane (H-plane) and the vertical plane (E-plane) are both less than or equal to 90°, that is, the main lobe beam needs to be relatively concentrated.

[0135] Optionally, in the embodiment of the present application, only the first radar signal being a chirp signal is used as an example for introduction. The distance measurement device can also transmit other types of radar signals, which is not limited in the embodiment of the present application.

[0136] S220. Determine a first point cloud data set based on the multiple first echo signals, wherein the first point cloud data set includes multiple first point cloud data, and the multiple first point cloud data are used to represent multiple obstacle points on the object to be measured within the detection range. Each first point cloud data in the multiple first point cloud data includes a distance value, a rate value, and a signal-to-noise ratio value. The distance value in each first point cloud data is used to represent the distance between the obstacle point represented by each first point cloud data and the emission origin of the multiple first radar signals. The rate value in each first point cloud data is used to represent the movement rate of the obstacle point represented by each first point cloud data relative to the emission origin. The signal-to-noise ratio value in each first point cloud data is used to represent the noise at the obstacle point represented by each first point cloud data.

[0137] In a possible implementation, a plurality of first spectrum data groups corresponding to the plurality of first echo signals can be determined based on the plurality of first echo signals, each of the plurality of first spectrum data groups including a plurality of first spectrum data, the plurality of first spectrum data representing a plurality of obstacle points within the detection range, each of the plurality of first spectrum data including a distance value and a signal strength value, the distance value of each first spectrum data being used to represent the distance between the obstacle point represented by each first spectrum data and the emission origin, the signal strength value of each first spectrum data being used to represent the reflection intensity of the first radar signal corresponding to each first spectrum data by the obstacle point represented by each first spectrum data, wherein the plurality of distance values ​​included in each first spectrum data group are the same; the first point cloud data set is determined based on the distance value and the signal strength value in each first spectrum data.

[0138] For example, assuming that r(n) is the baseband discrete sampling signal after receiving and demodulating a single chirp signal at the receiving antenna, and n is the number of samples in a single chirp signal period, r(n) is subjected to an N1-point fast Fourier transform (FFT) calculation, i.e., a 1D-FFT calculation, by the following formula (2), to obtain a Range-FFT (also called a distance spectrum) R(k).

[0139] R(k)=FFT(r(n),N1),N1≥n1 (2)

[0140] It should be noted that Figure 8 The Range-FFT is shown, which is defined as the modulus of N1 / 2 complex numbers in the positive frequency domain R(k) The vector is composed of two frequency points, each value of which corresponds to a frequency point (range-bin). The range of range-bin is in is the distance corresponding to a single range-bin, that is, the distance resolution, and the maximum detection distance is

[0141] like Figure 8 As shown, the Range-FFT includes N1 / 2 frequency points, the horizontal axis value corresponding to each frequency point represents the distance between the obstacle point represented by the frequency point and the emission origin of the first radar signal, and the vertical axis value corresponding to each frequency point represents the reflection intensity of the obstacle point represented by the frequency point to the first radar signal. Among them, an obstacle within the detection range of the first radar signal can be composed of at least one obstacle point.

[0142] That is to say, K chirp signals can obtain K of the above R(k) sequences, i.e., K Range-FFTs, where one Range-FFT is called a first spectrum data group, and the distance value and reflection intensity value corresponding to one frequency point on the Range-FFT are called one first spectrum data in the first spectrum data group.

[0143] For example, Fig. 9 The first to second sub-figures in the figure show the process of calculating a single chirp signal by 1D-FFT to obtain Range-FFT, and the second to third sub-figures show the process of calculating K Range-FFTs arranged in rows. complex matrix composed of complex numbers, each complex number in the complex matrix (i.e. Fig. 9 The grid in the third sub-graph in FIG) includes a real part and an imaginary part, the real part represents the range-bin, and the imaginary part represents the signal reflection intensity at the range-bin.

[0144] Then, the FFT calculation of the second dimension, i.e., 2D-FFT calculation, is performed on the sequence consisting of K values ​​on the same range-bin in each of the K R(k) sequences to obtain the Range-Doppler (also called the Range Doppler rate spectrum).

[0145] In one possible implementation, Fig. 9 The third and fourth sub-figures in the figure show the process of obtaining the Range-Doppler by performing an N2-point FFT calculation, i.e., 2D-FFT calculation, on each column of the K Range-FFTs. The Range-Doppler is represented as complex matrix composed of complex numbers, each complex number in the complex matrix (i.e. Fig. 9 The fourth sub-graph in the figure includes a real part and an imaginary part. The real part represents the range-bin and the imaginary part represents the Doppler rate value. Each Doppler-bin corresponds to a rate resolution v res , then the rate value range of Range-Doppler is:

[0146] like Fig. 9 As shown in the fourth sub-figure, a square in the Range-Doppler is a complex number in the complex matrix. The complex number at each square corresponds to an obstacle point, wherein the real part of the complex number represents the distance value of the obstacle point from the emission origin of the first radar signal, and the imaginary part represents the Doppler rate value of the obstacle point from the emission origin. The color of the square represents the signal noise size at the obstacle point, that is, the SNR value. The darker the color, the larger the SNR value.

[0147] It should be noted that the three-dimensional information of the real part, imaginary part and color of each square in the above Range-Doppler is called a first point cloud data, and the first point cloud data corresponding to all squares on K Range-Dopplers constitute a first point cloud data set.

[0148] That is to say, the multiple first point cloud data represent multiple obstacle points on the object to be measured within the detection range, and each first point cloud data in the multiple first point cloud data includes a distance value, a velocity value and a signal-to-noise ratio value. The distance value in each first point cloud data is used to represent the distance between the obstacle point represented by each first point cloud data and the emission origin, the velocity value in each first point cloud data is used to represent the movement rate of the obstacle point relative to the emission origin, and the signal-to-noise ratio value in each first point cloud data is used to represent the noise at the obstacle point.

[0149] Optionally, the first point cloud data in the embodiment of the present application may be represented in a variety of formats, which is not limited in the embodiment of the present application.

[0150] In a possible implementation, the first point cloud data may be represented by the format 1 in the following expression (3):

[0151] α=[r,v,s] (3)

[0152] Where r is the distance value, v is the modulus of the Doppler rate, and s is the SNR value.

[0153] In another possible implementation, when the radar of the distance measuring device has a multiple-input multiple-output (MIMO) antenna array, for example, a 3×4 MIMO antenna array with three transmitting antennas and four receiving antennas, the radar can perform angle estimation of the first echo signal, and the horizontal two-dimensional coordinates of the data points corresponding to each Range-Doppler grid can be estimated according to the estimated horizontal azimuth angle. Therefore, the first point cloud data can be represented by the format 2 in the following expression (4):

[0154] α=[x,y,v,s] (4)

[0155] Among them, the y-axis is the horizontal radial direction of the radar, the x-axis is the horizontal tangential direction of the radar, v is the modulus of the Doppler rate, and s is the SNR value.

[0156] In another possible implementation, when the radar of the distance measuring device has a MIMO antenna array, the radar can perform angle estimation of the first echo signal, and the horizontal two-dimensional coordinates corresponding to each Range-Doppler grid can be estimated according to the estimated horizontal azimuth angle, and the three-dimensional coordinates corresponding to each grid can be estimated according to the estimated vertical azimuth angle. Therefore, the first point cloud data can be expressed by format three in the following expression (5):

[0157] α=[x,y,z,v,s] (5)

[0158] Wherein, the y-axis is the horizontal radial direction of the first radar signal, the x-axis is the horizontal tangential direction of the first radar signal, the z-axis is the vertical direction of the first radar signal, v is the modulus value of the Doppler rate, and s is the SNR value.

[0159] That is to say, the distance value in each first point cloud data includes the distance component value of the obstacle point represented by each first point cloud data in the radial direction and the distance component value in the tangential direction of the first radar signal; or, the distance value in each first point cloud data includes the distance component value of the obstacle point represented by each first point cloud data in the radial direction, the distance component value in the tangential direction and the distance component value in the vertical direction of the first radar signal.

[0160] Therefore, the first point cloud dataset on K Range-Doppler It can be expressed by the following expression (6):

[0161]

[0162] Among them, α i Indicates 1 first point cloud data.

[0163] S230: De-noising the first point cloud data set according to the signal-to-noise ratio value and the rate value in each first point cloud data included in the first point cloud data set to obtain a target data set.

[0164] It should be noted that, since the speeds at the obstacle points with different motion states are different, the speed at the obstacle point constituting the shaking target obstacle above the head of the person being measured is different from the speeds at other surrounding obstacle points.

[0165] Optionally, the first point cloud dataset is denoised according to a signal-to-noise ratio value and a rate value in each first point cloud data included in the first point cloud dataset and a preset signal-to-noise ratio threshold and a rate threshold to obtain the target dataset, and the rate threshold is determined according to the rate of the target obstacle among the at least one obstacle.

[0166] In a possible implementation manner, the speed of the target obstacle may be equal to the speed threshold.

[0167] In another possible implementation, the speed of the target obstacle may be slightly greater than the speed threshold.

[0168] It should be noted that the first point cloud data in the distance measurement method in the embodiment of the present application extracts a reflector with velocity information. When the velocity resolution of the radar reaches 0.08 m / s, the radar can identify obstacles with tiny vibrations, such as micro-vibrations of the torso when the body is static. The first point cloud data formed by such vibrating objects interferes with the distance measurement of the target obstacle and needs to be filtered out. Therefore, the interference can be filtered out by using a velocity threshold.

[0169] At the same time, the distance measurement method in the embodiment of the present application detects the micro-jitter of the target obstacle. The echo signal intensity generated by such micro-jitter is weak and the signal-to-noise ratio is not strong. Therefore, the noise can be filtered out by the signal-to-noise ratio threshold.

[0170] In summary, the first point cloud data set can be concentrated into v≤v th And s≥s th The first point cloud data is filtered out to reduce interference and noise, where v th is the preset rate threshold, s th is the preset noise threshold.

[0171] For example, v th The value can be 0.16m / s, s th and v th It can be set according to the movement rate of the target obstacle. In addition, s th Different values ​​can be set for different platforms.

[0172] The first point cloud dataset of the target after denoising It can be expressed by the following formula (7):

[0173]

[0174] Optionally, the denoising process in the embodiment of the present application may also perform denoising only based on a rate threshold, which is not limited in the embodiment of the present application.

[0175] S240, clustering the first point cloud data included in the target data set according to the distance value in each first point cloud data included in the target data set to obtain at least one classification, wherein the at least one classification corresponds to at least one obstacle, and the obstacle points included in each classification in the at least one classification constitute the obstacle corresponding to each classification.

[0176] It should be noted that at least one obstacle obtained by clustering includes the target obstacle, the target obstacle includes a first obstacle point and a second obstacle point, and the distance between the first obstacle point and the second obstacle point is less than a preset distance threshold.

[0177] That is, from the target first point cloud dataset The feature quantities of each first point cloud data are extracted and clustered.

[0178] Optionally, in the embodiment of the present application, a variety of clustering methods can be used to cluster the first point cloud data in the target first point cloud data set, and the embodiment of the present application is not limited to this.

[0179] In a possible implementation manner, the first point cloud data in the target first point cloud data set may be clustered by using a density-based spatial clustering of applications with noise (DBSCAN).

[0180] Optionally, first point cloud data in different formats may be clustered according to different information, which is not limited in this embodiment of the present application.

[0181] In a possible implementation manner, the first point cloud data included in the target data set may be clustered according to a distance value in each first point cloud data included in the target data set to obtain at least one classification.

[0182] That is, for the format 1 of the first point cloud data shown in formula (3), [r, v] can be extracted as a single first point cloud data for clustering.

[0183] In another possible implementation manner, the first point cloud data included in the target data set may be clustered according to the distance value and the speed value in each first point cloud data included in the target data set to obtain the at least one classification.

[0184] That is, for the format 2 of the first point cloud data shown in formula (4) and the format 3 of the first point cloud data shown in formula (5), [x, y] or [x, y, v] can be extracted as a single first point cloud data for clustering.

[0185] S250: Determine the distance between the obstacle corresponding to each category and the emission origin according to the distance value in each first point cloud data included in each category.

[0186] It should be noted that the at least one category includes a target category corresponding to the target obstacle. Taking height measurement as an example, the target obstacle is set above the head of the person being measured, and the distance between the target obstacle and the emission origin can be understood as the height of the person being measured.

[0187] Optionally, the target classification may be determined from the at least one classification, and the obstacle point represented by each first point cloud data included in the target classification constitutes the target obstacle.

[0188] In a possible implementation manner, the category including the largest number of first point cloud data in the at least one category may be determined as the target category.

[0189] Optionally, the first point cloud data included in the target classification can be expressed by the following formula (8):

[0190]

[0191] For example, taking the DBSCAN algorithm as an example, when the key parameter ε-domain of the algorithm is set to 0.8 and the minimum number of core object sample points MinPts is set to 5, the target classification can be selected as follows: Fig.10 Shown in the dotted circle.

[0192] By adopting the distance measurement method described in the embodiment of the present application, clustering the first point cloud data in the target first point cloud data set and selecting the target classification is beneficial to further eliminate the interference due to abnormal points. These abnormal points come from other environmental interferences other than the target obstacles, and also from the signal parameter estimation errors caused by the jitter of the target obstacles, such as the x, y coordinate deviations caused by the angle estimation errors. These parameters will be used for distance measurement in the next step. Therefore, clustering can further reduce the interference of interference points and improve the accuracy of distance measurement.

[0193] Optionally, taking height measurement as an example, according to different formats of the first point cloud data included in the target classification, the height value of the person being measured, that is, the distance from the target obstacle above the head of the person being measured to the emission origin, can be determined by different methods.

[0194] In a possible implementation, when the first point cloud data included in the target classification adopts the format of the first point cloud data shown in formula (3), the current instantaneous height value h can be expressed by formula (9):

[0195]

[0196] Among them, w i is the weighting factor, r i It is the distance value of the i-th first point cloud data in the target classification.

[0197] In another possible implementation, when the first point cloud data included in the target classification adopts the format 2 of the first point cloud data shown in formula (4) and the format 3 of the first point cloud data shown in formula (5), the current instantaneous height value h can be expressed by formula (10):

[0198]

[0199] Among them, w i is the weighting factor, y i It is the component of the distance value of the i-th first point cloud data in the target classification on the y-axis.

[0200] It should be noted that the current instantaneous height value described in the embodiment of the present application refers to the height value measured based on K chirp signals in the current frame.

[0201] Optionally, w in the embodiment of the present application i It can be determined in many ways, and the embodiments of the present application are not limited to this.

[0202] In one possible implementation, each w i The values ​​are equal, that is, w i =1 / m.

[0203] In another possible implementation, the w i The value of is related to the signal-to-noise ratio, such as Among them, s” i is the signal-to-noise ratio value of the i-th first point cloud data in the target classification.

[0204] Using the distance measurement method provided in the embodiment of the present application, since the component of the distance value of the first point cloud data on the y-axis reflects the actual distance in the radial direction of the radar, the accuracy of the distance measurement can be improved by weighting the component of the distance value of each first point cloud data in the target classification on the y-axis.

[0205] In addition, the distance measurement method provided in the embodiment of the present application can effectively eliminate interference noise such as surrounding obstacles and micro-movements of the human body, effectively improve measurement accuracy, and adapt to more complex measurement environments.

[0206] In addition, when measuring height, it can meet the needs of adults measuring the height of children nearby, thus improving practicality.

[0207] It should be noted that, taking height measurement as an example, since the instantaneous height value obtained through the above S210~S250 is affected by noise interference, hand raising, hand dropping, trunk micro-movement, etc., resulting in a large change in the instantaneous value, the following two methods can be used to improve the accuracy and stability of the measured height value.

[0208] Method 1:

[0209] Count the variance of the instantaneous height value measured in each frame within 1s if The average value of the instantaneous height value measured in each frame within 1s is taken as the final height value of the person being measured. th1 is a preset first variance threshold, and the value range of the first variance threshold is a first threshold range.

[0210] Method 2:

[0211] Count the variance of the instantaneous height value obtained in each frame in consecutive frame moments over multiple seconds if Use the histogram distribution to extract the most concentrated height value interval, such as Fig.11 The dotted circle interval is then used as the average height value of the person being measured. th2 is a preset second variance threshold, the value range of the second variance threshold is a second threshold range, and the second threshold range is greater than the first threshold range.

[0212] Through the above-mentioned method one and method two, invalid measurement values ​​under interference such as large-scale shaking of the human body can be eliminated, thereby improving the measurement accuracy and measurement stability.

[0213] It should be noted that before determining the first point cloud data set based on the distance value and signal strength value in each first spectrum data, the distance measurement device can first determine whether the position of the object to be measured meets the measurement conditions. When the position of the object to be measured meets the measurement conditions, the distance measurement is performed. When the position of the object to be measured does not meet the measurement conditions, the distance measurement function can be suspended to save energy consumption.

[0214] In a possible implementation manner, whether the position of the measured object meets the measurement condition may be determined in the following manner: receiving a plurality of second echo signals generated by a plurality of second radar signals emitted in a second time period within the detection range, the end time of the second time period being no later than the end time of the first time period; determining a plurality of second spectrum data groups corresponding to the plurality of second echo signals according to the plurality of second echo signals, each of the plurality of second spectrum data groups including a plurality of second spectrum data, the plurality of second spectrum data representing a plurality of obstacle points within the detection range, each of the plurality of second spectrum data including a distance value and a signal strength value, the distance value of each second spectrum data being used to represent the distance between the obstacle point represented by each second spectrum data and the emission origin, the signal strength value of each second spectrum data being used to represent the reflection strength of the obstacle point represented by each second spectrum data to the second radar signal corresponding to each second spectrum data, wherein the plurality of distance values ​​included in each second spectrum data group are the same; determining whether the position of the measured object meets the measurement condition according to the distance value and the signal strength value in each second spectrum data.

[0215] Optionally, the end time of the second time period is not later than the end time of the first time period, which may include: the end time of the second time period is earlier than the end time of the first time period; or, the end time of the second time period is equal to the end time of the first time period. This embodiment of the present application is not limited to this.

[0216] Optionally, the duration of the second time period may be the same as or different from the duration of the first time period, which is not limited in this embodiment of the present application.

[0217] In one possible implementation, the process of determining whether the position of the object to be measured meets the measurement conditions can be performed before determining the first point cloud data. That is, the cache of the distance measurement device can cache the Range-FFT obtained based on the echo signal of the chirp signal emitted in multiple time periods, and the Range-FFT of each chirp is stored and deleted in the cache according to the first-in-first-out principle. When the Range-FFT obtained from the echo signal (i.e., the second echo signal) obtained based on the multiple chirp signals (i.e., the second radar signal) in the second time period determines that the position of the object to be measured meets the measurement conditions, the first point cloud data is continued to be determined based on the multiple first echo signals in the first time period and the distance measurement is performed.

[0218] Optionally, in an embodiment of the present application, it is possible to determine whether the position of the object under test meets the measurement conditions based on the distance value and the signal strength value in each second spectrum data in a variety of ways, which is not limited in this embodiment of the present application.

[0219] In a possible implementation, the signal strength value corresponding to each distance value among the multiple distance values ​​included in each second spectrum data group can be normalized to obtain a normalized signal strength value corresponding to each distance value among the multiple distance values ​​included in each second spectrum data group; based on the normalized signal strength values ​​corresponding to the same distance value in the multiple second spectrum data groups, the variance value of the signal strength value corresponding to each distance value among the multiple distance values ​​can be determined; based on the variance value of the signal strength value corresponding to each distance value among the multiple distance values, it can be determined whether the position of the object under measurement meets the measurement condition.

[0220] It should be noted that the process of determining the multiple second spectrum data groups corresponding to the multiple second echo signals based on the multiple second echo signals, that is, obtaining P Range-FFTs based on the P chirp signals emitted in the second time period, can refer to the above-mentioned processing of the multiple first echo signals, and will not be repeated here to avoid repetition.

[0221] In a possible implementation, the process of normalizing each of the P Range-FFTs includes: Step 1, finding the maximum amplitude in the Range-FFT Step 2: Divide the amplitude of each range-bin in the Range-FFT by the maximum value to obtain the normalized Range-FFT at the current frame time. like Fig.12shown.

[0222] Then, the variance of the amplitude on each range-bin in the P normalized Range-FFTs is calculated to obtain the variance value of the normalized amplitude corresponding to each range-bin.

[0223] In a possible implementation, the P normalized Range-FFTs in the second time period can be expressed as Wherein, P is the number of chirp signals in the second time period, is the normalized Range-FFT of the ith chirp, then for The matrix of Calculate the variance of each column element, that is, calculate the variance of each range-bin value The variance curve spectrum is obtained as is the standard deviation of the mth range-bin, such as Fig.13 Shown by the dashed line.

[0224] Optionally, in an embodiment of the present application, it is possible to determine whether the position of the object under measurement meets the measurement conditions in a variety of ways based on the variance value of the signal strength value corresponding to each distance value in the multiple distance values, that is, the variance value of the normalized amplitude corresponding to each range-bin. The embodiment of the present application is not limited to this.

[0225] In a possible implementation, when the variance value of the signal strength value corresponding to each distance value in the plurality of distance values ​​is greater than a third variance threshold (such as Fig.13 The third difference threshold in the measurement is 0.2) is greater than or equal to the quantity threshold, it is determined that the position of the object under measurement meets the measurement condition; or, when the number of variance values ​​of the signal strength values ​​corresponding to each distance value in the multiple distance values ​​that is greater than the third difference threshold is less than the quantity threshold, it is determined that the position of the object under measurement does not meet the measurement condition.

[0226] For example, taking height measurement as an example, when the number of variance values ​​of the signal strength values ​​corresponding to each distance value in the plurality of distance values ​​that is greater than the third variance threshold k>k th When the position of the person being measured meets the measurement conditions, that is, the person being measured has approached the device, and effective measurement can be started. The person being measured is prompted to prepare for measurement. The person being measured can follow the Figure 4 and Figure 5 The action described in the application scenario is completed to prepare for measurement; when the number of variance values ​​of the signal strength values ​​corresponding to each distance value in the multiple distance values ​​that is greater than the third variance threshold k≤k thWhen k=0, it is determined that the position of the person being measured does not meet the measurement conditions, that is, the person being measured is far away from the device, and the person being measured can be reminded to move closer; when the number of variance values ​​of the signal strength values ​​corresponding to each distance value in the multiple distance values ​​is greater than the third difference threshold value, it is determined that there is no one in the current detection area, and the distance measurement can be stopped or enter sleep mode. th is the quantity threshold.

[0227] By using the distance measurement device provided in the embodiment of the present application, there is no need to use external sensors such as human infrared sensors and pressure sensors to determine whether the distance measurement function can be activated, thereby simplifying the measurement device and reducing power consumption and cost.

[0228] Fig.14 A schematic flow chart of a distance measurement method 300 provided in an embodiment of the present application is shown. The method 300 may be performed by Figure 1 The distance measuring device shown is implemented.

[0229] S310, receiving a plurality of first echo signals generated within a detection range by a plurality of first radar signals emitted within a first time period.

[0230] S320. Determine, based on the multiple first echo signals, multiple first spectrum data groups corresponding to the multiple first echo signals, each of the multiple first spectrum data groups includes multiple first spectrum data, the multiple first spectrum data represent multiple obstacle points on the object under test within the detection range, each of the multiple first spectrum data includes a distance value and a signal strength value, the distance value of each first spectrum data is used to represent the distance between the obstacle point represented by each first spectrum data and the emission origin of the multiple first radar signals, and the signal strength value of each first spectrum data is used to represent the signal reflection strength at the obstacle point represented by each first spectrum data, wherein the multiple distance values ​​included in each first spectrum data group are the same.

[0231] S330, normalizing the signal strength value corresponding to each distance value included in each first spectrum data group to obtain a normalized signal strength value corresponding to each distance value included in each first spectrum data group.

[0232] S340: Determine, according to the normalized signal strength values ​​corresponding to the same distance value in the plurality of first frequency spectrum data groups, a variance value of the signal strength value corresponding to each distance value included in the plurality of first frequency spectrum data groups.

[0233] It should be noted that the implementation process of the above S310-340 can refer to the corresponding introduction in the above method 200, and will not be repeated here to avoid repetition.

[0234] S350, determining the distance of the target obstacle on the measured object from the emission origin according to the variance value of the signal strength value corresponding to each distance value included in the multiple first spectrum data groups, wherein the target obstacle is composed of at least one obstacle point, and the signal reflection intensities at the obstacle points with different motion states are different.

[0235] It should be noted that, taking height measurement as an example, the target obstacle is set above the head of the person being measured, and the distance between the target obstacle and the emission origin can be understood as the height of the person being measured.

[0236] In one possible implementation, the distance of the target obstacle from the transmission origin can be determined based on the variance value of the signal strength value corresponding to each distance value included in the multiple first spectrum data groups and a first variance threshold, and the first variance threshold is determined based on the signal strength at at least one obstacle point constituting the target obstacle.

[0237] It should be noted that, taking height measurement as an example, when preparing for measurement, the user stretches out his palm and moves it slightly above his head, which increases the variance value at the range-bin corresponding to the height of the head. Therefore, within the distance threshold range, search for the distance value corresponding to the farthest peak value on the Range-FFT variance curve whose value is greater than or equal to the variance threshold, for example Fig.15 d0 in , as the current instantaneous height value; or the maximum distance value whose variance is greater than or equal to the variance threshold, for example Fig.15 The d1 in is used as the current instantaneous height value.

[0238] It should be noted that the distance threshold can be considered to be set to a value higher than the height of the person being measured and lower than or equal to the height of the ceiling, such as 2.5m, and the variance threshold can be set to a variance value that can include the height caused by palm shake, such as 0.2.

[0239] It should also be noted that the method for improving the accuracy of height measurement introduced in method 200 and the method for determining whether there is a measured object that meets the measurement conditions introduced in method 200 can also be used in method 300. To avoid repetition, they will not be repeated here.

[0240] Fig.16 A schematic flow chart of a distance measurement method 400 provided in an embodiment of the present application is shown. The method 400 may be performed by Figure 1 The distance measuring device shown is implemented.

[0241] S410, receiving a plurality of first echo signals generated within a first detection range by a plurality of first radar signals transmitted within a first time period.

[0242] S420. Determine, based on the multiple first echo signals, multiple first spectrum data groups corresponding to the multiple first echo signals, each of the multiple first spectrum data groups includes multiple first spectrum data, the multiple first spectrum data represent multiple obstacle points within the first detection range, each of the multiple first spectrum data includes a distance value and a signal strength value, the distance value of each first spectrum data is used to represent the distance between the obstacle point represented by each first spectrum data and the first emission origin of the multiple first radar signals, and the signal strength value of each first spectrum data is used to represent the reflection intensity of the obstacle point represented by each first spectrum data to the first radar signal corresponding to each first spectrum data, wherein the multiple distance values ​​included in each first spectrum data group are the same.

[0243] S430, normalizing the signal strength value corresponding to each distance value in the multiple distance values ​​included in each first spectrum data group to obtain a normalized signal strength value corresponding to each distance value in the multiple distance values ​​included in each first spectrum data group.

[0244] It should be noted that the implementation process of the above S410-430 can refer to the corresponding introduction in the above method 200, and will not be repeated here to avoid repetition.

[0245] S440, determining a first distance between a reference object at a fixed position and the first emission origin according to normalized signal strength values ​​corresponding to the same distance values ​​in the multiple first spectrum data groups, wherein the first distance is greater than a distance between the measured object and the first emission origin.

[0246] Fig.17 The normalized signal strength values ​​corresponding to the same distance values ​​in the multiple second spectrum data groups, i.e., the normalized Range-FFT, are shown. Since the amplitude of each range-bin on the normalized Rang-FFT reflects the reflection intensity of the radar signal at the obstacle point, the distance corresponding to the farthest peak in the normalized Rang-FFT with an amplitude greater than the amplitude threshold (the amplitude threshold is, for example, 0.2) can be considered to be the first distance between the reference object and the first transmission origin.

[0247] It should be noted that, in the implementation process of methods S410 to S440, the first distance between the reference object and the first emission origin is measured, and the detection direction of the first radar signal is from the first emission origin to the reference object. Since the first distance is independent of the object to be measured, the first radar signal does not need to detect the distance information of the object to be measured. Therefore, the object to be measured can be located far away from the first radar signal, or outside the detection range of the first radar signal, and this embodiment of the application does not limit this.

[0248] For example, taking height measurement as an example, the first distance may be the distance between the soles of the measured person's feet and the ceiling, and the second distance may be the distance between the top of the measured person's head and the ceiling.

[0249] S450: Determine the distance between the measured object and the first emission origin according to the first distance.

[0250] Optionally, before S450, a second distance between the reference object and the end of the object under test that is closest to the reference object can be obtained; determining the distance between the object under test and the first emission origin based on the first distance includes: determining the distance between the object under test and the first emission origin based on the first distance and the second distance.

[0251] In a possible implementation, a plurality of second echo signals generated by a plurality of second radar signals emitted in a second time period within a second detection range may be received, wherein the second detection range is opposite to the detection range of the first detection range; and a plurality of second spectrum data groups corresponding to the plurality of second echo signals are determined based on the plurality of second echo signals, wherein each second spectrum data group in the plurality of second spectrum data groups includes a plurality of second spectrum data, wherein the plurality of second spectrum data represent a plurality of obstacle points within the second detection range, and each second spectrum data in the plurality of second spectrum data includes a distance value and a signal strength value, and the distance value of each second spectrum data is used to represent the distance of each second The obstacle point represented by the spectrum data is at a distance from the second emission origin of the plurality of second radar signals, and the signal strength value of each second spectrum data is used to represent the reflection intensity of the plurality of second radar emission signals by the obstacle point represented by each second spectrum data, wherein the plurality of distance values ​​included in each second spectrum data group are the same; the signal strength value corresponding to each distance value in the plurality of distance values ​​included in each second spectrum data group is normalized to obtain a normalized signal strength value corresponding to each distance value in the plurality of distance values ​​included in each second spectrum data group; and the second distance is determined according to the normalized signal strength values ​​corresponding to the same distance value in the plurality of second spectrum data groups.

[0252] It should be noted that the principle of the second distance determination process is similar to that of the first distance determination process, the only difference being that the second distance is the distance from the reference object to the end of the object to be measured that is closest to the reference object. Therefore, the distance measuring device needs to be placed at the end closest to the reference object, that is, the detection direction of the second radar signal is opposite to the detection direction of the first radar signal, that is, from the end closest to the reference object to the reference object.

[0253] It should also be noted that the method 400 adopts the method for improving the accuracy of distance measurement introduced in method 200, and the method for determining whether there is an object to be measured that meets the measurement conditions introduced in method 200. To avoid repetition, they are not repeated here.

[0254] The distance measurement method provided in the embodiment of the present application can better reflect the distribution of obstacles within the radar detection range, facilitate the setting of unified threshold values, and improve the universality of the algorithm and the product.

[0255] The distance measurement method provided in the embodiment of the present application is described above. Figures 18 to 21 The distance measuring device provided in the embodiment of the present application is described in detail.

[0256] Fig.18 A schematic block diagram of a distance measurement device 500 provided in an embodiment of the present application is shown. The device 500 includes:

[0257] A receiving unit 510 is used to receive a plurality of first echo signals generated within a detection range by a plurality of first radar signals emitted within a first time period;

[0258] The processing unit 520 is used to determine a first point cloud data set according to the multiple first echo signals, wherein the first point cloud data set includes multiple first point cloud data, and the multiple first point cloud data are used to represent multiple obstacle points on the object under test within the detection range. Each of the multiple first point cloud data includes a distance value, a speed value, and a signal-to-noise ratio value. The distance value in each of the first point cloud data is used to represent the distance between the obstacle point represented by each of the first point cloud data and the emission origin of the multiple first radar signals. The speed value in each of the first point cloud data is used to represent the movement speed of the obstacle point represented by each of the first point cloud data relative to the emission origin. The signal-to-noise ratio value in each of the first point cloud data is used to represent the movement speed of the obstacle point represented by each of the first point cloud data relative to the emission origin. The method comprises the steps of: removing noise at an obstacle point represented by each of the first point cloud data according to a signal-to-noise ratio value and a rate value in each of the first point cloud data included in the first point cloud data set, denoising the first point cloud data set to obtain a target data set; clustering the first point cloud data included in the target data set according to a distance value in each of the first point cloud data included in the target data set to obtain at least one classification, wherein the at least one classification corresponds to at least one obstacle, and the obstacle points included in each of the at least one classification constitute the obstacle corresponding to each classification; and determining the distance between the obstacle corresponding to each classification and the emission origin according to the distance value in each of the first point cloud data included in each classification.

[0259] Optionally, the processing unit 520 is specifically used to denoise the first point cloud data set according to the signal-to-noise ratio value and the rate value in each first point cloud data included in the first point cloud data set and a preset signal-to-noise ratio threshold and a rate threshold to obtain the target data set, and the rate threshold is determined according to the rate of the target obstacle among the at least one obstacle.

[0260] Optionally, the speed of the target obstacle is greater than or equal to the speed threshold.

[0261] Optionally, the target obstacle includes a first obstacle point and a second obstacle point, and a distance between the first obstacle point and the second obstacle point is less than a preset distance threshold.

[0262] Optionally, the target obstacle corresponds to a target category in the at least one category, and the processing unit 520 is specifically used to: determine the category in the at least one category that includes the largest number of first point cloud data as the target category; and determine the distance of the target obstacle from the emission origin based on the distance value in each first point cloud data included in the target category.

[0263] Optionally, the distance value in each first point cloud data includes the distance component value of the obstacle point represented by each first point cloud data in the first direction and the distance component value in the second direction, and the first direction is perpendicular to the second direction; or, the distance value in each first point cloud data includes the distance component value of the obstacle point represented by each first point cloud data in the first direction, the distance component value in the second direction and the distance component in a third direction, and the third direction is perpendicular to the first direction and the second direction, respectively.

[0264] Optionally, the processing unit 520 is specifically used to: determine, based on the multiple first echo signals, multiple first spectrum data groups corresponding to the multiple first echo signals, each of the multiple first spectrum data groups includes multiple first spectrum data, the multiple first spectrum data represent multiple obstacle points within the detection range, each of the multiple first spectrum data includes a distance value and a signal strength value, the distance value of each first spectrum data is used to indicate the distance between the obstacle point represented by each first spectrum data and the transmission origin, and the signal strength value of each first spectrum data is used to indicate the reflection intensity of the obstacle point represented by each first spectrum data to the first radar signal corresponding to each first spectrum data, wherein the multiple distance values ​​included in each first spectrum data group are the same; determine the first point cloud data set based on the distance value and signal strength value in each first spectrum data.

[0265] Optionally, the receiving unit 510 is further used to receive a plurality of second echo signals generated by a plurality of second radar signals emitted in a second time period within the detection range before determining the first point cloud data set based on the distance value and the signal strength value in each of the first spectrum data, and the end time of the second time period is no later than the end time of the first time period; the processing unit 520 is further used to determine a plurality of second spectrum data groups corresponding to the plurality of second echo signals based on the plurality of second echo signals, each of the plurality of second spectrum data groups including a plurality of second spectrum data, the plurality of second spectrum data representing a plurality of obstacle points within the detection range, and the plurality of second Each second spectrum data in the spectrum data includes a distance value and a signal strength value, the distance value of each second spectrum data is used to indicate the distance between the obstacle point represented by each second spectrum data and the transmission origin, and the signal strength value of each second spectrum data is used to indicate the reflection intensity of the obstacle point represented by each second spectrum data to the second radar signal corresponding to each second spectrum data, wherein the multiple distance values ​​included in each second spectrum data group are the same; based on the distance value and the signal strength value in each second spectrum data, determine whether the position of the object to be measured meets the measurement conditions; when it is determined that the position of the object to be measured meets the measurement conditions, determine the first point cloud data set.

[0266] Optionally, the processing unit 520 is also used to normalize the signal strength value corresponding to each distance value in the multiple distance values ​​included in each second spectrum data group to obtain a normalized signal strength value corresponding to each distance value in the multiple distance values ​​included in each second spectrum data group; determine the variance value of the signal strength value corresponding to each distance value in the multiple distance values ​​based on the normalized signal strength value corresponding to the same distance value in the multiple second spectrum data groups; and determine whether the position of the object under measurement meets the measurement condition based on the variance value of the signal strength value corresponding to each distance value in the multiple distance values.

[0267] Optionally, the processing unit 520 is specifically used to: when the number of variance values ​​of the signal strength values ​​corresponding to each distance value in the multiple distance values ​​that are greater than the variance threshold is greater than or equal to the number threshold, determine that the position of the object under measurement meets the measurement condition; or, when the number of variance values ​​of the signal strength values ​​corresponding to each distance value in the multiple distance values ​​that are greater than the variance threshold is less than the number threshold, determine that the position of the object under measurement does not meet the measurement condition.

[0268] It should be understood that the device 500 here is embodied in the form of a functional unit. The term "unit" here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit and / or other suitable components that support the described functions. In an optional example, those skilled in the art can understand that the device 500 can be specifically a distance measuring device in the embodiment of the above-mentioned method 200, and the device 500 can be used to execute the various processes and / or steps corresponding to the distance measuring device in the above-mentioned method 200. To avoid repetition, it will not be repeated here.

[0269] Fig.19 A schematic block diagram of a distance measurement device 600 provided in an embodiment of the present application is shown. The device 600 includes:

[0270] A receiving unit 610 is used to receive a plurality of first echo signals generated within a detection range by a plurality of first radar signals transmitted within a first time period;

[0271] The processing unit 620 is used to determine a plurality of first spectrum data groups corresponding to the plurality of first echo signals according to the plurality of first echo signals, each of the plurality of first spectrum data groups including a plurality of first spectrum data, the plurality of first spectrum data representing a plurality of obstacle points on the object under test within the detection range, each of the plurality of first spectrum data including a distance value and a signal strength value, the distance value of each first spectrum data being used to represent the distance between the obstacle point represented by each first spectrum data and the emission origin of the plurality of first radar signals, the signal strength value of each first spectrum data being used to represent the signal reflection strength at the obstacle point represented by each first spectrum data, wherein the The multiple distance values ​​included in each first spectrum data group are the same; the signal strength value corresponding to each distance value included in each first spectrum data group is normalized to obtain the normalized signal strength value corresponding to each distance value included in each first spectrum data group; the variance value of the signal strength value corresponding to each distance value included in the multiple first spectrum data groups is determined based on the normalized signal strength value corresponding to the same distance value in the multiple first spectrum data groups; the distance of the target obstacle on the measured object from the emission origin is determined based on the variance value of the signal strength value corresponding to each distance value included in the multiple first spectrum data groups, the target obstacle is composed of at least one obstacle point, and the signal reflection intensities at the obstacle points with different motion states are different.

[0272] Optionally, the processing unit 620 is specifically used to determine the distance of the target obstacle from the transmission origin based on the variance value of the signal strength value corresponding to each distance value included in the multiple first spectrum data groups and a first variance threshold, and the first variance threshold is determined based on the signal strength at at least one obstacle point constituting the target obstacle.

[0273] Optionally, the receiving unit 610 is further used to receive a plurality of second echo signals generated by a plurality of second radar signals transmitted in a second time period within the detection range before normalizing the signal strength value corresponding to each distance value included in each first spectrum data group to obtain the normalized signal strength value corresponding to each distance value included in each first spectrum data group, and the end time of the second time period is no later than the end time of the first time period; the processing unit 620 is further used to determine a plurality of second spectrum data groups corresponding to the plurality of second echo signals based on the plurality of second echo signals, each of the plurality of second spectrum data groups including a plurality of second spectrum data, and the plurality of second spectrum data representing a plurality of obstacle points within the detection range, Each of the multiple second spectrum data includes a distance value and a signal strength value, the distance value of each second spectrum data is used to indicate the distance between the obstacle point represented by each second spectrum data and the transmission origin, and the signal strength value of each second spectrum data is used to indicate the signal reflection intensity at the obstacle point represented by each second spectrum data, wherein the multiple distance values ​​included in each second spectrum data group are the same; based on the distance value and the signal strength value in each second spectrum data, it is determined whether the position of the object under test meets the measurement conditions; the processing unit 620 is specifically used to normalize the signal strength value corresponding to each distance value included in each first spectrum data group when it is determined that the position of the object under test meets the measurement conditions.

[0274] Optionally, the processing unit 620 is also used to normalize the signal strength value corresponding to each distance value included in each second spectrum data group to obtain a normalized signal strength value corresponding to each distance value included in each second spectrum data group; determine the variance value of the signal strength value corresponding to each distance value included in the multiple second spectrum data groups based on the normalized signal strength values ​​corresponding to the same distance value in the multiple second spectrum data groups; and determine whether the position of the object under measurement meets the measurement condition based on the variance value of the signal strength value corresponding to each distance value included in the multiple second spectrum data groups.

[0275] Optionally, the processing unit 620 is specifically used to: determine that the position of the object under measurement satisfies the measurement condition when the number of variance values ​​of the signal strength values ​​corresponding to each distance value included in the multiple second spectrum data groups that are greater than a second variance threshold is greater than or equal to a quantity threshold; or, determine that the position of the object under measurement does not satisfy the measurement condition when the number of variance values ​​of the signal strength values ​​corresponding to each distance value included in the multiple second spectrum data groups that are greater than the second variance threshold is less than the quantity threshold.

[0276] It should be understood that the device 600 here is embodied in the form of a functional unit. The term "unit" here may refer to an ASIC, an electronic circuit, a processor (such as a shared processor, a dedicated processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a merged logic circuit and / or other suitable components that support the described functions. In an optional example, those skilled in the art can understand that the device 600 can be specifically a distance measuring device in the embodiment of the above-mentioned method 300, and the device 600 can be used to execute the various processes and / or steps corresponding to the distance measuring device in the above-mentioned method 300. To avoid repetition, it will not be repeated here.

[0277] Fig. 20 The distance measuring device 700 provided in the embodiment of the present application is shown. The device 700 can be Fig.18 The device 500 described in the embodiment, or the device 700 may include Fig.18 The device 500 in FIG. The device 500 may be used as follows Fig. 20 The hardware architecture shown in FIG. 7 is a schematic diagram of a device 700. The device 700 may include a processor 710 and a transceiver 720, and the processor 710 and the transceiver 720 communicate with each other via an internal connection path. Fig.18 The related functions implemented by the processing unit 520 in the embodiment can be implemented by the processor 710, and the related functions implemented by the receiving unit 510 can be implemented by the processor 710 controlling the transceiver 720.

[0278] The processor 710 may include one or more processors, for example, one or more central processing units (CPUs). When the processor is a CPU, the CPU may be a single-core CPU or a multi-core CPU.

[0279] The transceiver 720 is used to send and receive signals. The transceiver may include a transmitter and a receiver, the transmitter is used to send radar signals, and the receiver is used to receive radar signals.

[0280] Optionally, the device 700 may further include a memory 730, and the processor 710, the transceiver 720 and the memory 730 communicate with each other via an internal connection path.

[0281] The memory 730 includes but is not limited to random access memory (RAM), read-only memory (ROM), erasable programmable readonly memory (EPROM), and compact disc read-only memory (CD-ROM). The memory 730 is used to store relevant instructions and data.

[0282] The memory 730 is used to store program codes and data of the device, and may be a separate device or integrated in the processor 710 .

[0283] Specifically, the processor 710 is used to control the transceiver 720 to transmit radar signals and receive echo signals. For details, please refer to the description in the method embodiment, which will not be repeated here.

[0284] Understandably, Fig. 20 Only a simplified design of the device 700 is shown. In practical applications, the device 700 may also include other necessary components, including but not limited to any number of transceivers, processors, controllers, memories, etc., and all management devices that can implement the present application are within the protection scope of the present application.

[0285] In a possible design, the device 700 can be replaced by a chip device for implementing the relevant functions of the processor in the device. The chip device can be a field programmable gate array, a dedicated integrated chip, a system chip, a central processing unit, a network processor, a digital signal processing circuit, a microcontroller, and a programmable controller or other integrated chips for implementing the relevant functions. The chip can optionally include one or more memories for storing program codes, and when the code is executed, the processor implements the corresponding function.

[0286] Fig.21 The distance measuring device 800 provided in the embodiment of the present application is shown. The device 800 can be Fig.19 The device 600 described in the embodiment, or the device 800 may include Fig.19 The device 600 described in the embodiment of the present invention can be used as follows: Fig.21 The hardware architecture shown in FIG. 800 may include a processor 810 and a transceiver 820 , and the processor 810 and the transceiver 820 communicate with each other via an internal connection path. Fig.19The related functions implemented by the processing unit 620 in the embodiment can be implemented by the processor 810, and the related functions implemented by the receiving unit 610 can be implemented by the processor 810 controlling the transceiver 820.

[0287] The processor 810 may include one or more processors, for example, one or more CPUs. When the processor is a CPU, the CPU may be a single-core CPU or a multi-core CPU.

[0288] The transceiver 820 is used to send and receive signals. The transceiver may include a transmitter and a receiver, wherein the transmitter is used to send radar signals and the receiver is used to receive radar signals.

[0289] Optionally, the device 800 may further include a memory 830, and the processor 810, the transceiver 820 and the memory 830 communicate with each other via an internal connection path.

[0290] The memory 830 includes but is not limited to RAM, ROM, EPROM, and CD-ROM. The memory 830 is used to store relevant instructions and data.

[0291] The memory 830 is used to store program codes and data of the device, and may be a separate device or integrated in the processor 810 .

[0292] Specifically, the processor 810 is used to control the transceiver to transmit radar signals and receive echo signals. For details, please refer to the description in the method embodiment, which will not be repeated here.

[0293] Understandably, Fig.21 Only a simplified design of the device 800 is shown. In practical applications, the device 800 may also include other necessary components, including but not limited to any number of transceivers, processors, controllers, memories, etc., and all management devices that can implement the present application are within the protection scope of the present application.

[0294] In a possible design, the device 800 can be replaced by a chip device for implementing the relevant functions of the processor in the device. The chip device can be a field programmable gate array, a dedicated integrated chip, a system chip, a central processing unit, a network processor, a digital signal processing circuit, a microcontroller, and a programmable controller or other integrated chip for implementing the relevant functions. The chip can optionally include one or more memories for storing program codes, and when the codes are executed, the processor implements the corresponding functions.

[0295] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0296] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0297] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0298] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0299] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0300] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0301] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, 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, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0302] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A distance measurement method, It is characterized in that include: receiving a plurality of first echo signals generated within a detection range by a plurality of first radar signals emitted within a first time period; Determine a first point cloud data set according to the multiple first echo signals, wherein the first point cloud data set includes multiple first point cloud data, the multiple first point cloud data are used to represent multiple obstacle points on the object under test within the detection range, each of the multiple first point cloud data includes a distance value, a velocity value and a signal-to-noise ratio value, the distance value in each first point cloud data is used to represent the distance between the obstacle point represented by each first point cloud data and the emission origin of the multiple first radar signals, the velocity value in each first point cloud data is used to represent the movement velocity of the obstacle point represented by each first point cloud data relative to the emission origin, and the signal-to-noise ratio value in each first point cloud data is used to represent the noise at the obstacle point represented by each first point cloud data; Denoising the first point cloud data set according to a signal-to-noise ratio value and a rate value in each first point cloud data set included in the first point cloud data set to obtain a target data set; Clustering the first point cloud data included in the target data set according to the distance value in each first point cloud data included in the target data set to obtain at least one classification, wherein the at least one classification corresponds to at least one obstacle, and the obstacle points included in each classification in the at least one classification constitute the obstacle corresponding to each classification; According to the distance value in each first point cloud data included in each category, the distance between the obstacle corresponding to each category and the emission origin is determined.

2. The method according to claim 1, It is characterized in that The step of denoising the first point cloud data set according to the signal-to-noise ratio value and the rate value in each first point cloud data included in the first point cloud data set to obtain the target data set comprises: The first point cloud data set is denoised according to a signal-to-noise ratio value and a rate value in each first point cloud data included in the first point cloud data set and a preset signal-to-noise ratio threshold and a rate threshold to obtain the target data set, wherein the rate threshold is determined according to a rate of a target obstacle among the at least one obstacle.

3. The method according to claim 2, It is characterized in that The speed of the target obstacle is greater than or equal to the speed threshold.

4. The method according to claim 2 or 3, It is characterized in that The target obstacle includes a first obstacle point and a second obstacle point, and a distance between the first obstacle point and the second obstacle point is less than a preset distance threshold.

5. The method according to claim 2 or 3, It is characterized in that The target obstacle corresponds to a target category in the at least one category, and determining, according to the distance value in each first point cloud data included in each category, the distance between the obstacle corresponding to each category and the emission origin includes: Determine the category including the largest number of first point cloud data among the at least one category as the target category; The distance between the target obstacle and the emission origin is determined according to the distance value in each first point cloud data included in the target classification.

6. The method according to any one of claims 1 to 3, It is characterized in that The distance value in each first point cloud data includes a distance component value of the obstacle point represented by each first point cloud data in a first direction and a distance component value in a second direction, wherein the first direction is perpendicular to the second direction; or, The distance value in each first point cloud data includes a distance component value in the first direction, a distance component value in the second direction, and a distance component in a third direction of the obstacle point represented by each first point cloud data, and the third direction is perpendicular to the first direction and the second direction respectively.

7. The method according to any one of claims 1 to 3, It is characterized in that The step of determining a first point cloud data set according to the plurality of first echo signals comprises: Determine, according to the plurality of first echo signals, a plurality of first spectrum data groups corresponding to the plurality of first echo signals, each of the plurality of first spectrum data groups includes a plurality of first spectrum data, the plurality of first spectrum data represent a plurality of obstacle points within the detection range, each of the plurality of first spectrum data includes a distance value and a signal strength value, the distance value of each first spectrum data is used to represent the distance between the obstacle point represented by each first spectrum data and the emission origin, and the signal strength value of each first spectrum data is used to represent the reflection strength of the obstacle point represented by each first spectrum data to the first radar signal corresponding to each first spectrum data, wherein the plurality of distance values ​​included in each first spectrum data group are the same; The first point cloud data set is determined according to the distance value and the signal strength value in each first frequency spectrum data.

8. The method according to claim 7, It is characterized in that Before determining the first point cloud data set according to the distance value and the signal strength value in each first spectrum data, the method further includes: receiving a plurality of second echo signals generated within the detection range by a plurality of second radar signals emitted within a second time period, wherein an end time of the second time period is no later than an end time of the first time period; Determine, according to the plurality of second echo signals, a plurality of second spectrum data groups corresponding to the plurality of second echo signals, each of the plurality of second spectrum data groups includes a plurality of second spectrum data, the plurality of second spectrum data represent the plurality of obstacle points within the detection range, each of the plurality of second spectrum data includes a distance value and a signal strength value, the distance value of each second spectrum data is used to represent the distance between the obstacle point represented by each second spectrum data and the emission origin, and the signal strength value of each second spectrum data is used to represent the reflection strength of the obstacle point represented by each second spectrum data to the second radar signal corresponding to each second spectrum data, wherein the plurality of distance values ​​included in each second spectrum data group are the same; Determining whether the position of the measured object meets the measurement condition according to the distance value and the signal strength value in each second spectrum data; When it is determined that the position of the measured object meets the measurement condition, the first point cloud data set is determined.

9. The method according to claim 8, It is characterized in that The determining, according to the distance value and the signal strength value in each second spectrum data, whether the position of the measured object meets the measurement condition comprises: Normalizing the signal strength value corresponding to each of the multiple distance values ​​included in each of the second spectrum data groups to obtain a normalized signal strength value corresponding to each of the multiple distance values ​​included in each of the second spectrum data groups; Determine, according to the normalized signal strength values ​​corresponding to the same distance value in the plurality of second frequency spectrum data groups, a variance value of the signal strength value corresponding to each distance value in the plurality of distance values; Whether the position of the measured object meets the measurement condition is determined according to the variance value of the signal strength value corresponding to each distance value in the multiple distance values.

10. The method according to claim 9, It is characterized in that The determining, according to the variance value of the signal strength value corresponding to each distance value in the multiple distance values, whether the position of the measured object meets the measurement condition includes: When the number of variance values ​​of the signal strength values ​​corresponding to each distance value in the multiple distance values ​​that is greater than the variance threshold is greater than or equal to the number threshold, it is determined that the position of the measured object meets the measurement condition; or, When the number of variance values ​​of the signal strength values ​​corresponding to each distance value in the multiple distance values ​​that are greater than the variance threshold is less than the number threshold, it is determined that the position of the measured object does not meet the measurement condition.

11. A distance measurement method, It is characterized in that include: receiving a plurality of first echo signals generated within a detection range by a plurality of first radar signals emitted within a first time period; Determine, according to the plurality of first echo signals, a plurality of first spectrum data groups corresponding to the plurality of first echo signals, each of the plurality of first spectrum data groups comprising a plurality of first spectrum data, the plurality of first spectrum data representing a plurality of obstacle points on the measured object within the detection range, each of the plurality of first spectrum data comprising a distance value and a signal strength value, the distance value of each first spectrum data being used to represent the distance between the obstacle point represented by each first spectrum data and the emission origin of the plurality of first radar signals, the signal strength value of each first spectrum data being used to represent the signal reflection strength at the obstacle point represented by each first spectrum data, wherein the plurality of distance values ​​included in each first spectrum data group are the same; Normalizing the signal strength value corresponding to each distance value included in each first spectrum data group to obtain a normalized signal strength value corresponding to each distance value included in each first spectrum data group; Determine, according to the normalized signal strength values ​​corresponding to the same distance value in the plurality of first frequency spectrum data groups, a variance value of the signal strength value corresponding to each distance value included in the plurality of first frequency spectrum data groups; According to the variance value of the signal strength value corresponding to each distance value included in the multiple first spectrum data groups, the distance of the target obstacle on the object under test from the transmission origin is determined, and the target obstacle is composed of at least one obstacle point, and the signal reflection intensities at obstacle points with different motion states are different.

12. The method according to claim 11, It is characterized in that Determining the distance between the target obstacle on the measured object and the emission origin according to the variance value of the signal strength value corresponding to each distance value included in the plurality of first frequency spectrum data groups comprises: The distance of the target obstacle from the transmission origin is determined based on the variance value of the signal strength value corresponding to each distance value included in the multiple first spectrum data groups and a first variance threshold, wherein the first variance threshold is determined based on the signal strength at at least one obstacle point constituting the target obstacle.

13. The method according to claim 11 or 12, It is characterized in that Before normalizing the signal strength value corresponding to each distance value included in each first spectrum data group to obtain the normalized signal strength value corresponding to each distance value included in each first spectrum data group, the method further includes: receiving a plurality of second echo signals generated within the detection range by a plurality of second radar signals emitted within a second time period, wherein an end time of the second time period is no later than an end time of the first time period; Determine, according to the plurality of second echo signals, a plurality of second spectrum data groups corresponding to the plurality of second echo signals, each of the plurality of second spectrum data groups comprising a plurality of second spectrum data, the plurality of second spectrum data representing the plurality of obstacle points within the detection range, each of the plurality of second spectrum data comprising a distance value and a signal strength value, the distance value of each second spectrum data being used to represent the distance between the obstacle point represented by each second spectrum data and the emission origin, the signal strength value of each second spectrum data being used to represent the signal reflection strength at the obstacle point represented by each second spectrum data, wherein the plurality of distance values ​​included in each second spectrum data group are the same; Determining whether the position of the measured object meets the measurement condition according to the distance value and the signal strength value in each second spectrum data; When it is determined that the position of the measured object meets the measurement condition, the signal strength value corresponding to each distance value included in each first frequency spectrum data group is normalized.

14. The method according to claim 13, It is characterized in that The determining, according to the distance value and the signal strength value in each second spectrum data, whether the position of the measured object meets the measurement condition comprises: Normalizing the signal strength value corresponding to each distance value included in each second spectrum data group to obtain a normalized signal strength value corresponding to each distance value included in each second spectrum data group; Determine, according to the normalized signal strength values ​​corresponding to the same distance value in the plurality of second frequency spectrum data groups, a variance value of the signal strength value corresponding to each distance value included in the plurality of second frequency spectrum data groups; Whether the position of the measured object meets the measurement condition is determined according to the variance value of the signal strength value corresponding to each distance value included in the plurality of second frequency spectrum data groups.

15. The method according to claim 14, It is characterized in that The determining, according to the variance value of the signal strength value corresponding to each distance value included in the plurality of second frequency spectrum data groups, whether the position of the measured object meets the measurement condition comprises: When the number of variance values ​​of the signal strength values ​​corresponding to each distance value included in the plurality of second frequency spectrum data groups that is greater than the second variance threshold is greater than or equal to the number threshold, it is determined that the position of the measured object meets the measurement condition; or, When the number of variance values ​​of the signal strength values ​​corresponding to each distance value included in the plurality of second frequency spectrum data groups that are greater than the second variance threshold is less than the number threshold, it is determined that the position of the measured object does not meet the measurement condition.

16. A distance measuring device, It is characterized in that include: A receiving unit, configured to receive a plurality of first echo signals generated within a detection range by a plurality of first radar signals emitted within a first time period; a processing unit, configured to determine a first point cloud data set according to the plurality of first echo signals, wherein the first point cloud data set includes a plurality of first point cloud data, the plurality of first point cloud data are used to represent a plurality of obstacle points on the object under test within the detection range, each of the plurality of first point cloud data includes a distance value, a velocity value and a signal-to-noise ratio value, the distance value in each of the first point cloud data is used to represent a distance between the obstacle point represented by each of the first point cloud data and an emission origin of the plurality of first radar signals, the velocity value in each of the first point cloud data is used to represent a movement velocity of the obstacle point represented by each of the first point cloud data relative to the emission origin, and the signal-to-noise ratio value in each of the first point cloud data is used to represent noise at the obstacle point represented by each of the first point cloud data; Denoising the first point cloud data set according to a signal-to-noise ratio value and a rate value in each first point cloud data set included in the first point cloud data set to obtain a target data set; According to the distance value in each first point cloud data included in the target data set, the first point cloud data included in the target data set are clustered to obtain at least one classification, wherein the at least one classification corresponds to at least one obstacle, and the obstacle points included in each classification in the at least one classification constitute the obstacle corresponding to each classification; according to the distance value in each first point cloud data included in each classification, the distance of the obstacle corresponding to each classification from the emission origin is determined.

17. The device according to claim 16, It is characterized in that The processing unit is specifically used to denoise the first point cloud data set according to the signal-to-noise ratio value and the rate value in each first point cloud data included in the first point cloud data set and the preset signal-to-noise ratio threshold and the rate threshold to obtain the target data set, and the rate threshold is determined according to the rate of the target obstacle among the at least one obstacle.

18. The device according to claim 17, It is characterized in that The speed of the target obstacle is greater than or equal to the speed threshold.

19. The device according to claim 17 or 18, It is characterized in that The target obstacle includes a first obstacle point and a second obstacle point, and a distance between the first obstacle point and the second obstacle point is less than a preset distance threshold.

20. The device according to claim 17 or 18, It is characterized in that The target obstacle corresponds to a target category in the at least one category, and the processing unit is specifically configured to: Determine the category including the largest number of first point cloud data among the at least one category as the target category; The distance between the target obstacle and the emission origin is determined according to the distance value in each first point cloud data included in the target classification.

21. The device according to any one of claims 16 to 18, It is characterized in that The distance value in each first point cloud data includes a distance component value of the obstacle point represented by each first point cloud data in a first direction and a distance component value in a second direction, wherein the first direction is perpendicular to the second direction; or, The distance value in each first point cloud data includes a distance component value in the first direction, a distance component value in the second direction, and a distance component in a third direction of the obstacle point represented by each first point cloud data, and the third direction is perpendicular to the first direction and the second direction respectively.

22. The device according to any one of claims 16 to 18, It is characterized in that The processing unit is also used for: Determine, according to the plurality of first echo signals, a plurality of first spectrum data groups corresponding to the plurality of first echo signals, each of the plurality of first spectrum data groups includes a plurality of first spectrum data, the plurality of first spectrum data represent the plurality of obstacle points within the detection range, each of the plurality of first spectrum data includes a distance value and a signal strength value, the distance value of each first spectrum data is used to represent the distance between the obstacle point represented by each first spectrum data and the emission origin, and the signal strength value of each first spectrum data is used to represent the reflection strength of the obstacle point represented by each first spectrum data to the first radar signal corresponding to each first spectrum data, wherein the plurality of distance values ​​included in each first spectrum data group are the same; The first point cloud data set is determined according to the distance value and the signal strength value in each first frequency spectrum data.

23. The device according to claim 22, It is characterized in that The receiving unit is further configured to receive a plurality of second echo signals generated within the detection range by a plurality of second radar signals emitted within a second time period before determining the first point cloud data set according to the distance value and the signal strength value in each of the first spectrum data, wherein the end time of the second time period is not later than the end time of the first time period; The processing unit is further configured to determine, based on the plurality of second echo signals, a plurality of second spectrum data groups corresponding to the plurality of second echo signals, each of the plurality of second spectrum data groups comprising a plurality of second spectrum data, the plurality of second spectrum data representing the plurality of obstacle points within the detection range, each of the plurality of second spectrum data comprising a distance value and a signal strength value, the distance value of each second spectrum data being used to represent the distance between the obstacle point represented by each second spectrum data and the emission origin, the signal strength value of each second spectrum data being used to represent the reflection strength of the obstacle point represented by each second spectrum data to the second radar signal corresponding to each second spectrum data, wherein the plurality of distance values ​​included in each second spectrum data group are the same; determining, based on the distance value and the signal strength value in each second spectrum data, whether the position of the measured object meets the measurement condition; and determining the first point cloud data set when it is determined that the position of the measured object meets the measurement condition.

24. The device according to claim 23, It is characterized in that The processing unit is also used for: Normalizing the signal strength value corresponding to each of the multiple distance values ​​included in each of the second spectrum data groups to obtain a normalized signal strength value corresponding to each of the multiple distance values ​​included in each of the second spectrum data groups; Determine, according to the normalized signal strength values ​​corresponding to the same distance value in the plurality of second frequency spectrum data groups, a variance value of the signal strength value corresponding to each distance value in the plurality of distance values; Whether the position of the measured object meets the measurement condition is determined according to the variance value of the signal strength value corresponding to each distance value in the multiple distance values.

25. The device according to claim 24, It is characterized in that The processing unit is specifically used for: When the number of variance values ​​of the signal strength values ​​corresponding to each distance value in the multiple distance values ​​that is greater than the variance threshold is greater than or equal to the number threshold, determining that the position of the measured object meets the measurement condition; or, When the number of variance values ​​of the signal strength values ​​corresponding to each distance value in the multiple distance values ​​that are greater than the variance threshold is less than the number threshold, it is determined that the position of the measured object does not meet the measurement condition.

26. A distance measuring device, It is characterized in that include: A receiving unit, configured to receive a plurality of first echo signals generated within a detection range by a plurality of first radar signals emitted within a first time period; a processing unit, configured to determine, based on the plurality of first echo signals, a plurality of first spectrum data groups corresponding to the plurality of first echo signals, wherein each of the plurality of first spectrum data groups includes a plurality of first spectrum data, the plurality of first spectrum data represent a plurality of obstacle points on the object under test within the detection range, and each of the plurality of first spectrum data includes a distance value and a signal strength value, the distance value of each first spectrum data is used to represent the distance between the obstacle point represented by each first spectrum data and the emission origin of the plurality of first radar signals, and the signal strength value of each first spectrum data is used to represent the signal reflection strength at the obstacle point represented by each first spectrum data, wherein the plurality of distance values ​​included in each first spectrum data group are the same; normalizing the signal strength value corresponding to each distance value included in each first spectrum data group to obtain a normalized signal strength value corresponding to each distance value included in each first spectrum data group; and determining, based on the normalized signal strength values ​​corresponding to the same distance value in the plurality of first spectrum data groups, a variance value of the signal strength value corresponding to each distance value included in the plurality of first spectrum data groups; According to the variance value of the signal strength value corresponding to each distance value included in the multiple first spectrum data groups, the distance of the target obstacle on the object under test from the transmission origin is determined, and the target obstacle is composed of at least one obstacle point, and the signal reflection intensities at obstacle points with different motion states are different.

27. The device according to claim 26, It is characterized in that The processing unit is specifically used to determine the distance of the target obstacle from the transmission origin based on the variance value of the signal strength value corresponding to each distance value included in the multiple first spectrum data groups and a first variance threshold, and the first variance threshold is determined based on the signal strength at at least one obstacle point constituting the target obstacle.

28. The device according to claim 26 or 27, It is characterized in that The receiving unit is further configured to receive a plurality of second echo signals generated within the detection range by a plurality of second radar signals emitted within a second time period before normalizing the signal strength value corresponding to each distance value included in each first spectrum data group to obtain the normalized signal strength value corresponding to each distance value included in each first spectrum data group, wherein the end time of the second time period is not later than the end time of the first time period; The processing unit is further used to determine, based on the multiple second echo signals, multiple second spectrum data groups corresponding to the multiple second echo signals, each of the multiple second spectrum data groups includes multiple second spectrum data, the multiple second spectrum data represent multiple obstacle points within the detection range, each of the multiple second spectrum data includes a distance value and a signal strength value, the distance value of each second spectrum data is used to represent the distance between the obstacle point represented by each second spectrum data and the emission origin, and the signal strength value of each second spectrum data is used to represent the signal reflection strength at the obstacle point represented by each second spectrum data, wherein the multiple distance values ​​included in each second spectrum data group are the same; determine whether the position of the measured object meets the measurement conditions based on the distance value and the signal strength value in each second spectrum data; when it is determined that the position of the measured object meets the measurement conditions, normalize the signal strength value corresponding to each distance value included in each first spectrum data group.

29. The device according to claim 28, It is characterized in that The processing unit is also used for: Normalizing the signal strength value corresponding to each distance value included in each second spectrum data group to obtain a normalized signal strength value corresponding to each distance value included in each second spectrum data group; Determine, based on the normalized signal strength values ​​corresponding to the same distance values ​​in the multiple second spectrum data groups, the variance values ​​of the signal strength values ​​corresponding to each distance value included in the multiple second spectrum data groups; determine, based on the variance values ​​of the signal strength values ​​corresponding to each distance value included in the multiple second spectrum data groups, whether the position of the object under measurement meets the measurement conditions.

30. The device according to claim 29, It is characterized in that The processing unit is specifically used for: When the number of variance values ​​of the signal strength values ​​corresponding to each distance value included in the plurality of second frequency spectrum data groups that is greater than a second variance threshold is greater than or equal to a number threshold, determining that the position of the measured object meets the measurement condition; or, When the number of variance values ​​of the signal strength values ​​corresponding to each distance value included in the plurality of second frequency spectrum data groups that are greater than the second variance threshold is less than the number threshold, it is determined that the position of the measured object does not meet the measurement condition.

31. A distance measurement device, comprising a processor and a transceiver, wherein the processor and the transceiver are coupled, It is characterized in that The processor is configured to execute the method according to any one of claims 1 to 15.

32. A chip device, include: A processor and a communication interface, wherein the processor and the communication interface communicate with each other via an internal connection path, and the communication interface is used to communicate with external devices or internal devices, and is characterized in that the processor is used to implement the method described in any one of claims 1 to 15 above.

33. A computer readable storage medium for storing a computer program, It is characterized in that The computer program comprises instructions for implementing the method of any one of claims 1 to 15 above.

Citation Information

Patent Citations

  • Multi-line lidar-based obstacle clustering method

    CN108256577A

  • Obstacle detection and road surface segmentation algorithm based on three-dimensional laser radar

    CN108828621A

Cited By

  • Distance measurement method and distance measurement apparatus

    WO2021121361A1