A system and method for distinguishing ground and obstacles based on ultrasonic radar
By using data reception, waveform processing, verification and curve deviation matching modules in the ultrasonic radar system, the problem of difficulty in distinguishing echoes from the ground and obstacles is solved, achieving higher detection accuracy and installation flexibility.
Patent Information
- Application Number
- CN202111282813.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-01
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-11-01
AI Technical Summary
When existing ultrasonic radar systems are installed at improper heights or angles, it is difficult to distinguish between ground echoes and obstacle echoes, resulting in false alarms and reduced detection performance, and there are limitations in the installation layout.
Using systems and methods based on ultrasonic radar, including data receiving module, waveform processing module, waveform verification module and curve deviation matching module, through preprocessing of measurement echo, attribute collection calculation, curve fitting and verification, the system can achieve Distinguishing between ground and obstacle echoes.
It effectively reduces false alarms when there are no obstacles, improves the detection performance of low obstacles, and reduces the restrictions on sensor installation height and angle.
Smart Images

Figure CN113960575B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of radar data processing, and in particular to a system and method for distinguishing between ground and obstacles based on ultrasonic radar. Background Art
[0002] The existing ultrasonic system determines whether there is an obstacle by checking whether the echo meets the conditions. When the ultrasonic radar sensor is installed too low or tilted too far downward, it is easy to receive the reflected wave from the ground. Because there is no effective way to distinguish the ground echo from the obstacle echo, false alarms often occur when there are no obstacles. Often, only a relatively high installation height and a relatively large upward angle can be selected in the installation layout of the sensor to avoid reflection from the ground as much as possible. This has many limitations during the installation layout, such as limited shape (for example, the bumper surface cannot be designed to be flat), and the detection performance of low obstacles will also be reduced. Summary of the invention
[0003] The object of the present invention is to provide a system and method for distinguishing between the ground and obstacles based on ultrasonic radar, so as to solve the problems raised in the above-mentioned background technology.
[0004] In order to solve the above technical problems, the present invention provides the following technical solutions: a system for distinguishing between ground and obstacles based on ultrasonic radar, the system comprising: a data receiving module, a waveform processing module, a waveform checking module, a curve deviation matching module, and a data updating module;
[0005] A data receiving module, used for receiving the measurement echo information sent by the radar sensor receiving device;
[0006] A waveform processing module, used for processing the waveform of the measurement echo received in the data receiving module;
[0007] A waveform verification module, used for performing waveform verification on the echo waveform information after passing through the waveform processing module based on the sample echo waveform information pre-stored in the system, the waveform verification including the first echo verification and the second echo verification;
[0008] The curve deviation matching module performs obstacle elimination on the detection echo again based on the result of the suspected obstacle echo obtained in the first echo verification to obtain a second feedback result, and the second feedback result includes no obstacle echo and obstacle echo that needs to be eliminated; the curve deviation matching module sends the received detection echo that needs to be eliminated to the waveform verification module for a second echo verification;
[0009] Data updating module; used for receiving the supplementary collection obtained in the second echo verification, and using the supplementary collection to update the echo information obtained in the waveform processing module.
[0010] Further, the waveform processing module includes a preprocessing unit, an attribute collection calculation unit, and an attribute curve calculation unit;
[0011] The preprocessing unit is used to perform waveform preprocessing on the measurement echo received from the data receiving module, and the preprocessing includes smoothing, noise reduction, and discretization processing; the attribute collection calculation unit is used to receive the preprocessed echo information, and obtain the echo attribute collection composed of the echo time difference △T collection and the echo peak difference △P collection based on the echo information; the attribute curve calculation unit is used to perform curve fitting calculation on the data in the echo attribute collection to obtain the attribute curve.
[0012] Further, the waveform verification module includes a first echo verification unit and a second echo verification unit;
[0013] The first echo verification unit is used to perform a first echo verification on the waveform information received from the waveform processing module, and the first echo verification result includes an obstacle echo, a suspected obstacle echo, and an obstacle-free echo; the second echo verification unit is used to perform a second echo verification on the waveform information received in the curve deviation matching module; the second echo verification result includes a confirmed obstacle echo and an obstacle-free echo.
[0014] Further, the curve deviation matching module includes a graphics processing unit and a curve deviation rate calculation unit;
[0015] The graphics processing unit is used to draw an overlapping image of the attribute curve in the detection mode and the sample echo attribute curve; the curve deviation rate calculation unit is used to receive the longest vertical distance data of the overlapping image obtained from the graphics processing unit to calculate the curve deviation rate between the attribute curve in the detection mode and the sample echo attribute curve.
[0016] In order to better realize the functions of the above system, a method for distinguishing the ground and obstacles based on ultrasonic radar is also proposed, and the method includes:
[0017] Step S100: The device on which the ultrasonic radar sensor is installed is preliminarily measured on a road surface where the device usually works without obstacles based on the current installation height and installation angle of the sensor to obtain a measurement echo; the road surface includes but is not limited to a cement road surface, an asphalt road surface, and a gravel road surface;
[0018] Step S200: the system receives the measurement echoes, and performs waveform processing on the measurement echoes to obtain a collection of attributes of sample echo images;
[0019] Step S300: from the beginning of the formal use of the device for obstacle detection, the system collects echoes in the same period according to the detection cycle of the device; performs a first echo check on the collected detection echo information based on the attribute collection information of the sample echo image to obtain the first feedback result of the obstacle detection; the first feedback result includes obstacle echo, suspected obstacle echo, and no obstacle echo;
[0020] Step S400: When the preliminary feedback result shows that there is no obstacle, the echo information collected in step S300 is filtered out; when the preliminary feedback result shows that there is an obstacle, a warning signal is issued; when the preliminary feedback result shows that there is a suspected obstacle, the echo information of the suspected obstacle is matched with a curve deviation based on the attribute collection information of the sample echo image to eliminate the obstacle again to obtain a second feedback result, and the second feedback result includes no obstacle echo and the need to eliminate the obstacle echo;
[0021] Step S500: performing a second echo check on the feedback result of obstacle echo elimination to obtain a third feedback result of obstacle detection; the third feedback result includes no obstacle echo and confirmed obstacle echo;
[0022] Step S600: supplementing and updating the attribute collection of the sample echo image based on the third feedback result.
[0023] Furthermore, in step S200, waveform processing of the measured echoes includes:
[0024] Step S202: Calculate the interval difference between each echo time T and echo peak value P in each detection cycle and the previous echo time T and echo peak value P to obtain the corresponding △T collection and △P collection;
[0025] Step S203: establishing a corresponding mapping relationship between each △T and each △P between the △T collection and the △P collection to obtain a collection consisting of (△T, △P) and use it as the attribute collection of the sample echo in the detection period;
[0026] Step S204: Record each attribute information in the attribute set of the sample echo in the form of △T as the independent variable and △P as the dependent variable, in the form of (x i ,y i ), i represents the number of detections, x represents the number of detections, i represents the △T obtained by the i-th detection within the detection cycle; y i represents the △P obtained by the i-th detection within the detection cycle; the recorded data (x i ,y i ) performs curve fitting calculation to obtain a property curve;
[0027] The purpose of preprocessing the waveform rows for smoothing and denoising is to filter out the noise interference received by the receiving device when receiving the echo image as accurately as possible; the purpose of contour extraction and discretization of the graphics is to make the echo time T and echo peak P of the extracted measurement echo accurate and to better calculate the data in the △T collection and △P collection; since the ground echo is irregular and the obstacle echo is regular, the (△T, △P) collection is used as the attribute collection of the echo, and the attribute curve obtained based on the attribute collection can well reflect the regularity of the echo.
[0028] Further, performing the first echo verification based on the collected detection echo information in step S300 includes:
[0029] Step S301: performing waveform processing on the collected echo information based on the waveform processing step in step S200 to obtain a detection echo attribute collection and a detection echo attribute curve;
[0030] Step S302: Calculate the deviation between △T and △P in the detection echo attribute collection and △T and △P in the sample echo image attribute collection to obtain a △T difference collection △T' and a △P difference collection △P';
[0031] Step S303: when the probability value of the echo time difference interval less than the preset echo time difference interval in △T' is less than a certain value x%, and the probability value of the echo peak difference interval less than the preset echo time difference interval in △P' is less than a certain value y%, feedback is given as an obstacle-free echo; when the probability value of the echo time difference interval less than the preset echo time difference interval in △T' is greater than a certain value x%, and the probability value of the echo peak difference interval less than the preset echo time difference interval in △P' is greater than a certain value y%, feedback is given as an obstacle echo; when the probability value of the echo time difference interval less than the preset echo time difference interval in one of the difference sets of △T' or △P' is greater than the probability value, feedback is given as a suspected obstacle echo; match the attribute curve in the detection mode with the attribute curve of the sample echo for curve deviation; wherein, x∈(0,100), y∈(0,100);
[0032] The first echo verification is to complete the initial echo verification of the detection echo by pairing according to the data distribution law between the echo attribute sets.
[0033] Furthermore, the curve deviation matching step in step S400 includes:
[0034] Step S401: plotting the attribute curve in the detection mode and the attribute curve of the sample echo into a coincident image, and capturing the intersection point on the coincident image;
[0035] Step S402: connect each two most adjacent intersection points with line segments in sequence to form a total connecting line segment a; capture the longest vertical distance of the closed figure formed between each two most adjacent intersection points;
[0036] Step S403: when the longest vertical distance is greater than the preset vertical distance, mark the line segment between the two most adjacent intersection points; the total length of the marked line segments is b, and the proportion P of the marked line segments is used as the curve deviation rate P=b / a;
[0037] Step S404: when the curve deviation rate P is greater than the preset deviation threshold, feedback is given that obstacle echo needs to be eliminated; when the curve deviation rate P is less than the preset deviation, feedback is given that there is no obstacle echo;
[0038] The above process is to eliminate and confirm the echo information of the suspected obstacle obtained in the first echo verification based on the attribute curve, which can effectively reduce the false alarm of no obstacle or the missed alarm of obstacle, and improve the detection accuracy of obstacles.
[0039] Furthermore, the second echo verification in step S500 includes:
[0040] Step S501: extracting the echo time from the echo information fed back as the obstacle echo to be eliminated, and simulating the obstacle distance S=(T×c) / 2 according to the formula, where c represents the propagation speed of ultrasound in the air, and T represents the echo time corresponding to the minimum difference △T';
[0041] Step S502: Calculate the interval difference between the obstacle distance S simulated at each echo time T and echo peak value P in each detection cycle and the obstacle distance S simulated at the previous echo time T and echo peak value P to obtain the corresponding △S collection; use the △S obtained by the initial obstacle echo elimination calculation as the initial supplementary collection of the attribute collection of the sample echo image;
[0042] Step S503: performing deviation calculation on the data in the △S collection of the echo detected this time and the data in the initial supplement collection in the echo image attribute collection to obtain a △S difference collection △S';
[0043] Step S504: when the probability value of the echo time difference interval less than the preset echo time difference interval in △S' is greater than a certain value x%, feedback is given as the obstacle echo is determined; when the probability value of the echo time difference interval less than the preset echo time difference interval in △S' is less than a certain value x%, feedback is given as the obstacle-free echo; wherein x∈(0,100);
[0044] The second echo check calculates and processes the echo information to obtain a new distance attribute set to check whether the echo information belongs to the echo of the obstacle, thereby effectively distinguishing the ground echo from the echo of the obstacle.
[0045] Furthermore, in step S600, supplementing the sample echo image collection means storing the ΔS data obtained in the second echo verification, adding the ΔS to the initial supplement collection, and supplementing and updating the data of the initial supplement collection;
[0046] Since the ultrasonic radar detects obstacles differently due to the height or other characteristics of the obstacles, the phenomenon of confused echoes between the obstacles and the ground echoes is also different. Therefore, adding an attribute collection of distance to the attribute collection for echo matching improves the accuracy of echo verification, and by continuously adding △S to the initial supplement collection, real-time data supplement and data update of the measurement echo information collected in step S100 are achieved.
[0047] Compared with the prior art, the beneficial effects achieved by the present invention are: the present invention can effectively distinguish between ground echoes and obstacle echoes, reducing false alarms when there are no obstacles; by performing graphic processing and analysis on the received echo graphics themselves, it is possible to reduce the restrictions on the installation height and installation angle of the sensor; and thus the detection performance of low obstacles can be improved through a lower installation position. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0049] Figure 1 It is a structural schematic diagram of a system for distinguishing between ground and obstacles based on ultrasonic radar according to the present invention;
[0050] Figure 2 It is a flow chart of a method for distinguishing the ground and obstacles based on ultrasonic radar in the present invention. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] See also Figure 1-2,The present invention provides a technical solution: a system for distinguishing ground and obstacles based on ultrasonic radar, characterized in that the system includes: a data receiving module, a waveform processing module, a waveform checking module, a curve deviation matching module, and a data updating module;
[0053] A data receiving module, used for receiving the measurement echo information sent by the radar sensor receiving device;
[0054] A waveform processing module, used for processing the waveform of the measurement echo received in the data receiving module;
[0055] Among them, the waveform processing module includes a preprocessing unit, an attribute collection calculation unit, and an attribute curve calculation unit;
[0056] A preprocessing unit is used to perform waveform preprocessing on the measurement echo received from the data receiving module, and the preprocessing includes smoothing, noise reduction, and discretization processing; an attribute collection calculation unit is used to receive the preprocessed echo information, and obtain an echo attribute collection consisting of an echo time difference △T collection and an echo peak difference △P collection based on the echo information; an attribute curve calculation unit is used to perform curve fitting calculation on the data in the echo attribute collection to obtain an attribute curve;
[0057] A waveform verification module, used for performing waveform verification on the echo waveform information after passing through the waveform processing module based on the sample echo waveform information pre-stored in the system, the waveform verification including the first echo verification and the second echo verification;
[0058] Wherein, the waveform verification module includes a first echo verification unit and a second echo verification unit;
[0059] The first echo verification unit is used to perform a first echo verification on the waveform information received from the waveform processing module, and the first echo verification result includes obstacle echo, suspected obstacle echo, and no obstacle echo; the second echo verification unit is used to perform a second echo verification on the waveform information received in the curve deviation matching module; the second echo verification result includes the need to eliminate the obstacle echo and the no obstacle echo;
[0060] The curve deviation matching module performs obstacle elimination on the detection echo again based on the result of the suspected obstacle echo obtained in the first echo verification to obtain a second feedback result, and the second feedback result includes no obstacle echo and obstacle echo that needs to be eliminated; the curve deviation matching module sends the received detection echo that needs to be eliminated to the waveform verification module for a second echo verification;
[0061] Wherein, the curve deviation matching module includes a graphics processing unit and a curve deviation rate calculation unit;
[0062] A graphics processing unit is used to draw an image of the overlap between the attribute curve in the detection mode and the attribute curve of the sample echo; a curve deviation rate calculation unit is used to receive the longest vertical distance data of the overlap image obtained from the graphics processing unit to calculate the curve deviation rate between the attribute curve in the detection mode and the attribute curve of the sample echo;
[0063] A data updating module; used for receiving the supplementary collection obtained in the second echo verification, and updating the echo information obtained in the waveform processing module with the supplementary collection;
[0064] In order to better realize the functions of the above system, a method for distinguishing the ground and obstacles based on ultrasonic radar is also proposed, and the method includes:
[0065] Step S100: The device on which the ultrasonic radar sensor is installed is preliminarily measured on a road surface where the device usually works without obstacles based on the current installation height and installation angle of the sensor to obtain a measurement echo; the road surface includes but is not limited to a cement road surface, an asphalt road surface, and a gravel road surface;
[0066] Step S200: the system receives the measurement echoes, and performs waveform processing on the measurement echoes to obtain a collection of attributes of sample echo images;
[0067] The waveform processing of the measured echoes in step S200 includes:
[0068] Step S201: smoothing and denoising each measurement echo within the detection cycle to obtain an echo waveform image profile, and discretizing the extracted echo waveform image profile; extracting the echo time T and echo peak value P of the measurement echo from the waveform information after the discretization process;
[0069] Step S202: Calculate the interval difference between each echo time T and echo peak value P in each detection cycle and the previous echo time T and echo peak value P to obtain the corresponding △T collection and △P collection;
[0070] Step S203: establishing a corresponding mapping relationship between each △T and each △P between the △T collection and the △P collection to obtain a collection consisting of (△T, △P) and use it as the attribute collection of the sample echo in the detection period;
[0071] Step S204: Record each attribute information in the attribute set of the sample echo in the form of △T as the independent variable and △P as the dependent variable, in the form of (x i ,y i ), i represents the number of detections, x represents the number of detections, i represents the △T obtained by the i-th detection within the detection cycle; y irepresents the △P obtained by the i-th detection within the detection cycle; the recorded data (x i ,y i ) performs curve fitting calculation to obtain a property curve;
[0072] Step S300: from the beginning of the formal use of the device for obstacle detection, the system collects echoes in the same period according to the detection cycle of the device; performs a first echo check on the collected detection echo information based on the attribute collection information of the sample echo image to obtain the first feedback result of the obstacle detection; the first feedback result includes obstacle echo, suspected obstacle echo, and no obstacle echo;
[0073] The first echo calibration includes:
[0074] Step S301: performing waveform processing on the collected echo information based on the waveform processing step in step S200 to obtain a detection echo attribute collection and a detection echo attribute curve;
[0075] Step S302: Calculate the deviation between △T and △P in the detection echo attribute collection and △T and △P in the sample echo image attribute collection to obtain a △T difference collection △T' and a △P difference collection △P';
[0076] Step S303: when the probability value of the echo time difference interval less than the preset echo time difference interval in △T' is less than a certain value x%, and the probability value of the echo peak difference interval less than the preset echo time difference interval in △P' is less than a certain value y%, feedback is given as an obstacle-free echo; when the probability value of the echo time difference interval less than the preset echo time difference interval in △T' is greater than a certain value x%, and the probability value of the echo peak difference interval less than the preset echo time difference interval in △P' is greater than a certain value y%, feedback is given as an obstacle echo; when the probability value of the echo time difference interval less than the preset echo time difference interval in one of the difference sets of △T' or △P' is greater than the probability value, feedback is given as a suspected obstacle echo; match the attribute curve in the detection mode with the attribute curve of the sample echo for curve deviation; wherein, x∈(0,100), y∈(0,100);
[0077] Step S400: When the preliminary feedback result shows that there is no obstacle, the echo information collected in step S300 is filtered out; when the preliminary feedback result shows that there is an obstacle, a warning signal is issued; when the preliminary feedback result shows that there is a suspected obstacle, the echo information of the suspected obstacle is matched with a curve deviation based on the attribute collection information of the sample echo image to eliminate the obstacle echo and obtain a second feedback result, which includes no obstacle echo and the need to eliminate the obstacle echo;
[0078] The curve deviation matching step includes:
[0079] Step S401: plotting the attribute curve in the detection mode and the attribute curve of the sample echo into a coincident image, and capturing the intersection point on the coincident image;
[0080] Step S402: connect each two most adjacent intersection points with line segments in sequence to form a total connecting line segment a; capture the longest vertical distance of the closed figure formed between each two most adjacent intersection points;
[0081] Step S403: when the longest vertical distance is greater than the preset vertical distance, mark the line segment between the two most adjacent intersection points; the total length of the marked line segments is b, and the proportion P of the marked line segments is used as the curve deviation rate P=b / a;
[0082] Step S404: when the curve deviation rate P is greater than the preset deviation threshold, feedback is given that obstacle echo needs to be eliminated; when the curve deviation rate P is less than the preset deviation, feedback is given that there is no obstacle echo;
[0083] Step S500: performing a second echo check on the feedback result of obstacle echo elimination to obtain a third feedback result of obstacle detection; the third feedback result includes no obstacle echo and confirmed obstacle echo;
[0084] The second echo calibration includes:
[0085] Step S501: extracting the echo time from the echo information fed back as the obstacle echo to be eliminated, and simulating the obstacle distance S=(T×c) / 2 according to the formula, where c represents the propagation speed of ultrasound in the air, and T represents the echo time corresponding to the minimum difference △T';
[0086] Step S502: Calculate the interval difference between the obstacle distance S simulated at each echo time T and echo peak value P in each detection cycle and the obstacle distance S simulated at the previous echo time T and echo peak value P to obtain the corresponding △S collection; use the △S obtained by the initial obstacle echo elimination calculation as the initial supplementary collection of the attribute collection of the sample echo image;
[0087] Step S503: performing deviation calculation on the data in the △S collection of the echo detected this time and the data in the initial supplement collection in the echo image attribute collection to obtain a △S difference collection △S';
[0088] Step S504: when the probability value of the echo time difference interval less than the preset echo time difference interval in △S' is greater than a certain value x%, feedback is given as the obstacle echo is determined; when the probability value of the echo time difference interval less than the preset echo time difference interval in △S' is less than a certain value x%, feedback is given as the obstacle-free echo; wherein x∈(0,100);
[0089] Step S600: supplementing and updating the attribute collection of the sample echo image based on the third feedback result means: storing the ΔS data obtained in the second echo verification, adding ΔS to the initial supplement collection, and supplementing and updating the data of the initial supplement collection.
[0090] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0091] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A system for distinguishing between ground and obstacles based on ultrasonic radar, characterized in that: The system comprises: a data receiving module, a waveform processing module, a waveform checking module, a curve deviation matching module, and a data updating module; The data receiving module is used to receive the measurement echo information sent by the radar sensor receiving device; The waveform processing module is used to process the waveform of the measurement echo received by the data receiving module; The waveform verification module is used to perform waveform verification on the echo waveform information after passing through the waveform processing module based on the sample echo waveform information pre-stored in the system, and the waveform verification includes a first echo verification and a second echo verification; The curve deviation matching module performs obstacle elimination on the detection echo again based on the result of the suspected obstacle echo obtained in the first echo verification to obtain a second feedback result, wherein the second feedback result includes no obstacle echo and obstacle echo that needs to be eliminated; the curve deviation matching module sends the received detection echo that needs to be eliminated to the waveform verification module for a second echo verification; The data updating module is used to receive the supplementary collection obtained in the second echo verification, and use the supplementary collection to update the echo information obtained in the waveform processing module; The waveform processing module includes a preprocessing unit, an attribute collection calculation unit, and an attribute curve calculation unit; The preprocessing unit is used to perform waveform preprocessing on the measurement echo received from the data receiving module, and the preprocessing includes smoothing, noise reduction, and discretization processing; the attribute collection calculation unit is used to receive the preprocessed echo information, and obtain an echo attribute collection consisting of an echo time difference △T collection and an echo peak difference △P collection based on the echo information; the attribute curve calculation unit is used to perform curve fitting calculation on the data in the echo attribute collection to obtain an attribute curve; The waveform verification module includes a first echo verification unit and a second echo verification unit; The first echo verification unit is used to perform a first echo verification on the waveform information received from the waveform processing module, and the first echo verification result includes an obstacle echo, a suspected obstacle echo, and a no-obstacle echo; the second echo verification unit is used to perform a second echo verification on the waveform information received in the curve deviation matching module; the second echo verification result includes a confirmed obstacle echo and a no-obstacle echo.
2. The system for distinguishing ground and obstacles based on ultrasonic radar according to claim 1, characterized in that: The curve deviation matching module includes a graphics processing unit and a curve deviation rate calculation unit; The graphics processing unit is used to draw an overlapping image of the attribute curve in the detection mode and the sample echo attribute curve; the curve deviation rate calculation unit is used to receive the longest vertical distance data of the overlapping image obtained from the graphics processing unit to calculate the curve deviation rate between the attribute curve in the detection mode and the sample echo attribute curve.
3. A method for distinguishing ground and obstacles based on ultrasonic radar, characterized in that: The method comprises: Step S100: The device on which the ultrasonic radar sensor is installed is preliminarily measured on a road surface where the device usually works without obstacles based on the current installation height and installation angle of the sensor to obtain a measurement echo; the road surface includes but is not limited to a cement road surface, an asphalt road surface, and a gravel road surface; Step S200: the system receives the measurement echoes, and performs waveform processing on the measurement echoes to obtain a collection of attributes of sample echo images; Step S300: from the beginning of the formal use of the device for obstacle detection, the system collects echoes in the same period according to the detection period of the device; performs a first echo check on the collected detection echo information based on the attribute collection information of the sample echo image to obtain the first feedback result of the obstacle detection; the first feedback result includes obstacle echo, suspected obstacle echo, and no obstacle echo; Step S400: When the first feedback result shows that there is no obstacle, the echo information collected in the step S300 is filtered out; when the preliminary feedback result shows that there is an obstacle, a warning signal is issued; when the preliminary feedback result shows that there is a suspected obstacle, the echo information of the suspected obstacle is matched with a curve deviation based on the attribute collection information of the sample echo image to eliminate the obstacle echo and obtain a second feedback result, wherein the second feedback result includes no obstacle echo and the need to eliminate the obstacle echo; Step S500: performing a second echo check on the feedback result of obstacle echo elimination to obtain a third feedback result of obstacle detection; the third feedback result includes no obstacle echo and confirmed obstacle echo; Step S600: supplementing and updating the attribute collection of the sample echo image based on the third feedback result; The step S200 of performing waveform processing on the measured echoes includes: Step S201: smoothing and denoising each measurement echo within the detection cycle to obtain an echo waveform image profile, and discretizing the extracted echo waveform image profile; extracting the echo time T and echo peak value P of the measurement echo from the waveform information after the discretization process; Step S202: Calculate the interval difference between each echo time T and echo peak value P in each detection cycle and the previous echo time T and echo peak value P to obtain the corresponding △T collection and △P collection; Step S203: establishing a corresponding mapping relationship between each △T and each △P between the △T collection and the △P collection to obtain a collection consisting of (△T, △P) and use it as the attribute collection of the sample echo in the detection period; Step S204: Record each attribute information in the attribute set of the sample echo in the form of △T as an independent variable and △P as a dependent variable, in the form of (x i ,y i ); i represents the number of detections, x i represents the △T obtained by the i-th detection within the detection cycle; y i represents the △P obtained by the i-th detection within the detection cycle; the recorded data (x i ,y i ) is used to perform curve fitting calculation to obtain the property curve.
4. The method for distinguishing the ground and obstacles based on ultrasonic radar according to claim 3, characterized in that: The first echo verification based on the collected detection echo information in step S300 includes: Step S301: performing waveform processing on the collected echo information based on the waveform processing step in step S200 to obtain a detection echo attribute collection and a detection echo attribute curve; Step S302: Calculate the deviation between △T and △P in the detection echo attribute collection and △T and △P in the sample echo image attribute collection to obtain a △T difference collection △T' and a △P difference collection △P'; Step S303: When the probability value of a time difference interval less than the preset echo time in △T' is less than a certain value x%, and the probability value of a time difference interval less than the preset echo peak value in △P' is less than a certain value y%, feedback is given as an obstacle-free echo; when the probability value of a time difference interval less than the preset echo time in △T' is greater than a certain value x%, and the probability value of a time difference interval less than the preset echo peak value in △P' is greater than a certain value y%, feedback is given as an obstacle echo; when the probability value of a time difference interval less than the preset echo time in one of the difference sets of △T' or △P' is greater than the probability value, feedback is given as a suspected obstacle echo; match the attribute curve in the detection mode with the attribute curve of the sample echo for curve deviation; wherein, x∈(0,100), y∈(0,100).
5. The method for distinguishing the ground and obstacles based on ultrasonic radar according to claim 4, characterized in that: The curve deviation matching step in step S400 includes: Step S401: drawing the attribute curve in the detection mode and the attribute curve of the sample echo into a coincident image, and capturing the intersection point on the coincident image; Step S402: connect each two most adjacent intersection points with line segments in sequence to form a total connecting line segment a; capture the longest vertical distance of the closed figure formed between each two most adjacent intersection points; Step S403: when the longest vertical distance is greater than the preset vertical distance, mark the line segment between the two most adjacent intersection points; the total length of the marked line segments is b, and the proportion P of the marked line segments is used as the curve deviation rate P=b / a; Step S404: When the curve deviation rate P is greater than a preset deviation threshold, feedback is given that obstacle echo needs to be eliminated; when the curve deviation rate P is less than the preset deviation, feedback is given that there is no obstacle echo.
6. The method for distinguishing the ground and obstacles based on ultrasonic radar according to claim 5, characterized in that: The second echo verification in step S500 includes: Step S501: extracting the echo time from the echo information fed back as the obstacle echo to be eliminated, and simulating the obstacle distance S=(T×c) / 2 according to the formula, where c represents the propagation speed of ultrasound in the air, and T represents the echo time corresponding to the minimum difference △T'; Step S502: Calculate the interval difference between the obstacle distance S simulated at each echo time T and echo peak value P in each detection cycle and the obstacle distance S simulated at the previous echo time T and echo peak value P to obtain the corresponding △S collection; use the △S obtained by the initial obstacle echo elimination calculation as the initial supplementary collection of the attribute collection of the sample echo image; Step S503: performing deviation calculation on the data in the △S collection of the echo detected this time and the data in the initial supplement collection in the echo image attribute collection to obtain a △S difference collection △S'; Step S504: when the probability value of the echo time difference interval less than the preset interval is greater than a certain value x%, feedback is given as an obstacle echo; when the probability value of the echo time difference interval less than the preset interval is less than a certain value x%, feedback is given as an obstacle-free echo; wherein x∈(0,100).
7. The method for distinguishing the ground and obstacles based on ultrasonic radar according to claim 6, characterized in that: In step S600, supplementing the sample echo image collection means storing the ΔS data obtained in the second echo verification, adding the ΔS to the initial supplement collection, and supplementing and updating the data of the initial supplement collection.
