Terrain detection method, system, terminal and storage medium based on ultrasonic radar
By adjusting the height and angle of the ultrasonic radar, object and ground detection modes are realized, which solves the problem of poor detection effect of existing technology in complex environments, reduces costs and adds terrain detection functions, improving detection efficiency and robustness. .
Patent Information
- Application Number
- CN201811431591.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-11-27
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2038-11-27
AI Technical Summary
Existing environmental sensing technology has poor detection results under complex shadows or severe weather conditions. Laser ultrasonic radar has large data volume, high complexity and high cost.
By adjusting the height and angle of the ultrasonic radar, two detection modes are realized: object detection mode and ground detection mode. Ultrasonic short-range and long-range radars are used to detect obstacles and road smoothness in front, rear and both sides respectively, and determine the terrain conditions. and call the police.
It is possible to retain the existing system functions and add cliff or pit detection capabilities under the premise of low cost, thereby improving the robustness and efficiency of detection.
Smart Images

Figure CN109581390B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automotive electronic technology, and in particular to a terrain detection method, system, terminal and storage medium based on ultrasonic radar. Background Art
[0002] Environmental perception, especially the detection of road surfaces and obstacles, is one of the key technologies for realizing service robots, self-driving cars, and safe navigation. At present, environmental detection sensors mainly use cameras, RGB-D depth cameras, and laser ultrasonic radars.
[0003] Although camera-based road and obstacle detection methods have the advantages of low operating power consumption, low cost, and high information content, the detection effect will be greatly reduced and the robustness is poor when encountering complex shadows or severe weather conditions.
[0004] Laser ultrasonic radar sensors are widely used in smart car environment and obstacle detection due to their good distance resolution, high accuracy, large range and good azimuth estimation capabilities. However, laser ultrasonic radar has large data volume, high complexity, long processing time and is expensive. Summary of the invention
[0005] In order to solve the above-mentioned and other potential technical problems, the present invention provides a terrain detection method, system, terminal and storage medium based on ultrasonic radar. The present invention adjusts the height and angle of the ultrasonic radar so that the waves emitted by the ultrasonic radar can detect the surrounding terrain at a specific distance. By adjusting the parameters, the ultrasonic radar can be operated to divide the detection time into two detection modes, which can detect obstacles as well as terrain within the detection range of the ultrasonic radar.
[0006] A terrain detection method based on ultrasonic radar comprises the following steps:
[0007] S01: System initialization, setting ultrasonic radar detection mode;
[0008] S02: Acquire the receiving data of the ultrasonic radar in the ground detection mode;
[0009] S03: Determine the terrain conditions within the data receiving range of the ultrasonic radar.
[0010] Furthermore, the method further comprises step S04: when it is determined that the terrain is extremely bad, the system issues an alarm.
[0011] Furthermore, in step S01, the system initialization also includes detecting the ambient temperature with a temperature sensor, and correcting the acoustic wave distance parameter with the temperature change.
[0012] Furthermore, the ultrasonic radar detection mode includes an object detection mode and a ground detection mode.
[0013] Furthermore, in the object detection mode, the number and position of obstacles are detected based on the ultrasonic short-range ultrasonic radars in the front and rear, and whether there are obstacles is detected based on the ultrasonic long-range ultrasonic radars on the left and right.
[0014] Furthermore, in the ground detection mode, the information received by the ultrasonic short-range ultrasonic radar and the ultrasonic long-range ultrasonic radar are not fused. The ultrasonic short-range ultrasonic radar receives the distance signals from the ground within the detection range in front of the vehicle and behind the vehicle respectively, and the ultrasonic long-range ultrasonic radar receives the distance signals from the ground within the detection range on both sides of the vehicle respectively. The front and rear detection range signals of the ultrasonic short-range ultrasonic radar are used to characterize the smoothness of the road surface in front and behind the vehicle, and the detection range signals of the ultrasonic long-range ultrasonic radar are used to characterize the smoothness of the road surface on both sides of the vehicle.
[0015] Furthermore, when the ultrasonic short-range ultrasonic radar shows that the difference in distance information received by the ultrasonic short-range ultrasonic radar is large in the data stored in the memory buffer, it means that the road surface is uneven; when the ultrasonic short-range ultrasonic radar shows that the difference in distance information received by the ultrasonic short-range ultrasonic radar is small in the data stored in the memory buffer, it means that the road surface is flat.
[0016] Furthermore, when the system determines that the distance information difference received by the ultrasonic short-range ultrasonic radar is higher than the rated distance difference of the current road condition, it reminds the vehicle to lower the speed; when the system determines that the distance information difference received by the ultrasonic short-range ultrasonic radar resists the fixed distance difference of the current road condition, no processing is performed.
[0017] Furthermore, in the ground detection mode, when the signal within the detection range of the ultrasonic long-range ultrasonic radar shows that the distance information value received by the ultrasonic long-range ultrasonic radar is 0, it means that the ultrasonic long-range ultrasonic radar is unobstructed in that direction; when the distance information value received by the ultrasonic long-range ultrasonic radar is 0 for at least two consecutive times, the system determines that the vehicle is not on the ground within the detection range of that side, and the system issues a first-level alarm for the terrain on that side.
[0018] Furthermore, in the ground detection mode, when the signal within the detection range of the ultrasonic long-range ultrasonic radar shows that the distance information value received by the ultrasonic long-range ultrasonic radar is not zero, it means that the ultrasonic long-range ultrasonic radar is blocked within the detection range of this direction; when the distance signal received by the ultrasonic long-range ultrasonic radar at least twice in a row is greater than or less than the vehicle body and ground distance signal, it means that the detection limit range of the ultrasonic long-range ultrasonic radar is different from the current terrain of the vehicle, and the system will give a secondary alarm to this side.
[0019] Furthermore, in the step S03, to determine whether the terrain condition within the receiving data range of the ultrasonic radar is a pit, it is necessary to receive the ultrasonic radar signal at least twice in a row to determine the distance. If there is no corresponding echo reception for more than two consecutive transmitted signals within the at least two ultrasonic radar receiving signal determination distances, then it is determined that the receiving range of the ultrasonic radar is a pit.
[0020] Furthermore, in the step S03, to determine whether the terrain condition within the ultrasonic radar's receiving data range is high ground, the ultrasonic radar needs to receive the signal to determine the distance at least twice in a row. If the distance of receiving the echo of the transmitted signal for more than two consecutive times in at least two ultrasonic radar receiving signal determination distances is less than the current ground distance, then it is determined that the ultrasonic radar's receiving range is high ground.
[0021] Furthermore, when determining the terrain conditions within the ultrasonic radar receiving data range in step S03, the determination is based on at least three consecutive ultrasonic radar receiving signals.
[0022] Furthermore, in step S01, when the ultrasonic radar detection mode is set, the object detection mode and the ground detection mode have different ways of processing echoes. When the object detection mode is started, the received ultrasonic radar echo will filter out the echo reflected from the ground range during the preprocessing stage; when the ground detection mode is started, the received ultrasonic radar echo will not filter out the echo covering the object reflection range.
[0023] Furthermore, in the step S01, when the ultrasonic radar detection mode is set, the object detection mode and the ground detection mode are performed in a time-sharing manner. When the system determines that the terrain in the front and rear detection ranges is dangerous in the last ground detection mode, the system directly controls the vehicle to brake; when the system determines that the terrain in the left and right detection ranges is dangerous in the last ground detection mode, the system adjusts the time-sharing ratio of the object detection mode and the ground detection mode.
[0024] Furthermore, the specific manner in which the system adjusts the time-sharing ratio of the object detection mode and the ground detection mode is as follows:
[0025] AWhen the vehicle is traveling at a middle gear speed, the time-sharing ratio of the object detection mode and the ground detection mode is 1:1, that is, within 1 second, the time in the object detection mode is basically the same as the time in the ground detection mode;
[0026] When the vehicle detects obstacles in the object detection mode for several consecutive times, and does not detect terrain hazards in the ground detection mode for several consecutive times, the system switches the object detection mode and the ground detection mode in an equal time-sharing ratio so that under equal time conditions, the detection time of the object detection mode is greater than the detection time of the ground detection mode;
[0027] When the vehicle has not detected any obstacle in the object detection mode for several consecutive times, and has detected terrain hazards in the ground detection mode for several consecutive times, the system switches the object detection mode and the ground detection mode in an equal time ratio so that under equal time conditions, the detection time of the ground detection mode is greater than the detection time of the object detection mode.
[0028] Furthermore, the specific manner in which the system adjusts the time-sharing ratio of the object detection mode and the ground detection mode is as follows:
[0029] B When the vehicle is running at a low gear speed, the time-sharing ratio of the object detection mode and the ground detection mode is 2:1, that is, within 1 second, the object detection mode time is twice the ground detection mode time;
[0030] When the vehicle does not detect an obstacle in several consecutive object detection modes, and detects terrain hazards in several consecutive ground detection modes, the system adjusts the ratio to the same.
[0031] Furthermore, the specific manner in which the system adjusts the time-sharing ratio of the object detection mode and the ground detection mode is as follows:
[0032] C When the vehicle is running at a high speed, the time-sharing ratio of the object detection mode and the ground detection mode is 1:2, that is, within 1 second, the object detection mode time is twice the ground detection mode time;
[0033] When the vehicle does not detect an obstacle in the ground detection mode for several consecutive times, and detects an object in the object detection mode for several consecutive times, the system adjusts the ratio to be the same.
[0034] A terrain detection system based on ultrasonic radar, comprising ultrasonic radar equipment, an ultrasonic radar mode setting module, a detection mode time-sharing module, a terrain judgment module, and an object detection module;
[0035] The ultrasonic radar equipment includes at least two ultrasonic short-range ultrasonic radars installed at the front of the vehicle, used to detect the coverage range in front of the vehicle; at least two ultrasonic short-range ultrasonic radars installed at the rear end of the vehicle, used to detect the coverage range behind the vehicle; the ultrasonic radar equipment includes ultrasonic long-range ultrasonic radars installed on the left and right sides of the vehicle, used to detect the coverage range on the left and right sides of the vehicle;
[0036] The ultrasonic radar mode setting module is used in the setting and initialization module to set the ultrasonic radar mode, that is, to set the object detection module and the ground detection module;
[0037] The detection mode time-sharing module is used to allocate hardware usage time to the functional modules set by the ultrasonic radar mode setting module;
[0038] The terrain determination module is used to determine the terrain around the vehicle based on the signal received by the ultrasonic radar device;
[0039] The object detection module is used to determine objects around the vehicle based on the signals received by the ultrasonic radar device.
[0040] Furthermore, it also includes an alarm module, which is used to give a voice prompt to the driver when the system determines that the terrain is dangerous or there are obstacles around the vehicle.
[0041] A terrain detection terminal based on ultrasonic radar, characterized in that it includes a processor and a memory, the memory stores program instructions, and the processor executes the program instructions to implement the steps in the above method.
[0042] A computer-readable storage medium stores a computer program, wherein the program implements the steps in the above method when executed by a processor.
[0043] As described above, the present invention has the following beneficial effects:
[0044] The present invention adjusts the height and angle of the ultrasonic radar so that the waves emitted by the ultrasonic radar can detect the surrounding terrain at a specific distance. By adjusting the parameters, the ultrasonic radar can work to divide the detection time into two detection modes, which can detect obstacles and terrain within the detection range of the ultrasonic radar. The present invention has low cost and does not change the existing system. It simply changes the installation position and parameters. The present invention has good performance, that is, it retains the function of object detection of the existing system and adds a new function of cliff or pit detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0046] Figure 1 Shown is a flow chart of the present invention.
[0047] Figure 2 Shown is a flow chart of another embodiment of the present invention.
[0048] Figure 3 Shown is a schematic diagram of the installation of the ultrasonic radar device of the present invention.
[0049] Figure 4 Shown is a schematic diagram of the coverage range of the ultrasonic long-range ultrasonic radar of the present invention.
[0050] Figure 5 Shown is a schematic diagram of the coverage range of the front ultrasonic short-range ultrasonic radar of the present invention.
[0051] Figure 6 Shown is a schematic diagram of the coverage range of the rear ultrasonic short-range ultrasonic radar of the present invention.
[0052] Figure 7 It shows a schematic diagram of the tilted echo of an ultrasonic short-range ultrasonic radar placed vertically.
[0053] Figure 7a It shows a schematic diagram of ultrasonic radar parameter settings for vertical placement and tilt angle of ultrasonic short-range ultrasonic radar.
[0054] Figure 8 The diagram shows the horizontal echo of an ultrasonic short-range ultrasonic radar at a vertical placement angle.
[0055] Figure 8a The display shows a schematic diagram of the horizontal parameter settings for the vertical placement angle of an ultrasonic short-range ultrasonic radar.
[0056] Fig. 9 Shown is a schematic diagram of the echo of an ultrasonic long-range ultrasonic radar at a horizontal height of 50 cm.
[0057] Figure 9a The display shows a schematic diagram of parameter settings for an ultrasonic long-range ultrasonic radar with a horizontal height of 50 cm.
[0058] Fig.10 It shows a schematic diagram of the echo of an ultrasonic long-range ultrasonic radar tilted at an angle of 50 cm in the horizontal direction.
[0059] Fig.10a The figure shows the schematic diagram of the parameter setting of the ultrasonic long-range ultrasonic radar with a horizontal height of 50 cm. DETAILED DESCRIPTION
[0060] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0061] It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no substantial technical significance. Any modification of the structure, change of the proportion relationship or adjustment of the size should still fall within the scope of the technical content disclosed by the present invention without affecting the effects and purposes that can be achieved by the present invention. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" quoted in this specification are only for the convenience of description, and are not used to limit the scope of the implementation of the present invention. The change or adjustment of their relative relationship should also be regarded as the scope of the implementation of the present invention without substantially changing the technical content.
[0062] See also Figures 1 to 10 ,
[0063] A terrain detection method based on ultrasonic radar comprises the following steps:
[0064] S01: System initialization, setting ultrasonic radar detection mode;
[0065] S02: Acquire the receiving data of the ultrasonic radar in the ground detection mode;
[0066] S03: Determine the terrain conditions within the data receiving range of the ultrasonic radar.
[0067] As a preferred embodiment, the step S04 is also included: when the terrain is judged to be extremely bad, the system alarms.
[0068] As a preferred embodiment, in step S01, the system initialization further includes detecting the ambient temperature with a temperature sensor, and correcting the acoustic wave distance parameter with the temperature change.
[0069] As a preferred embodiment, the ultrasonic radar detection mode includes an object detection mode and a ground detection mode.
[0070] As a preferred embodiment, in the object detection mode, the number and position of obstacles are detected based on the ultrasonic short-range ultrasonic radars in the front and rear, and whether there are obstacles is detected based on the ultrasonic long-range ultrasonic radars on the left and right.
[0071] As a preferred embodiment, in the ground detection mode, the ultrasonic short-range ultrasonic radar and the ultrasonic long-range ultrasonic radar each receive information that is not fused. The ultrasonic short-range ultrasonic radar receives distance signals from the ground within the detection range in front of the vehicle and behind the vehicle respectively, and the ultrasonic long-range ultrasonic radar receives distance signals from the ground within the detection range on both sides of the vehicle respectively. The front and rear detection range signals of the ultrasonic short-range ultrasonic radar are used to characterize the smoothness of the road surface in front and behind the vehicle, and the detection range signals of the ultrasonic long-range ultrasonic radar are used to characterize the smoothness of the road surface on both sides of the vehicle.
[0072] As a preferred embodiment, when the ultrasonic short-range ultrasonic radar shows that the difference in distance information received by the ultrasonic short-range ultrasonic radar is large in the data stored in the memory buffer, it means that the road surface is uneven; when the ultrasonic short-range ultrasonic radar shows that the difference in distance information received by the ultrasonic short-range ultrasonic radar is small in the data stored in the memory buffer, it means that the road surface is flat.
[0073] As a preferred embodiment, when the system determines that the distance information difference received by the ultrasonic short-range ultrasonic radar is higher than the rated distance difference of the current road condition, it reminds the vehicle to lower the speed; when the system determines that the distance information difference received by the ultrasonic short-range ultrasonic radar resists the fixed distance difference of the current road condition, no processing is performed.
[0074] As a preferred embodiment, in the ground detection mode, when the signal within the detection range of the ultrasonic long-range ultrasonic radar shows that the distance information value received by the ultrasonic long-range ultrasonic radar is 0, it means that the ultrasonic long-range ultrasonic radar is unobstructed in that direction; when the distance information value received by the ultrasonic long-range ultrasonic radar is 0 at least twice in a row, the system determines that the side detection range of the vehicle is not the ground, and the system issues a first-level alarm for the side terrain.
[0075] As a preferred embodiment, in the ground detection mode, when the signal within the detection range of the ultrasonic long-range ultrasonic radar shows that the distance information value received by the ultrasonic long-range ultrasonic radar is not zero, it means that the ultrasonic long-range ultrasonic radar is blocked within the detection range of this direction; when the distance signal received by the ultrasonic long-range ultrasonic radar at least twice in a row is greater than or less than the vehicle body and ground distance signal, it means that the detection limit range of the ultrasonic long-range ultrasonic radar is different from the current terrain of the vehicle, and the system will give a secondary alarm to this side.
[0076] As a preferred embodiment, in the step S03, to determine whether the terrain condition within the receiving data range of the ultrasonic radar is a pit, it is necessary to receive the ultrasonic radar signal at least twice in a row to determine the distance. If there is no corresponding echo reception for more than two consecutive transmitted signals in at least two ultrasonic radar receiving signal determination distances, then it is determined that the receiving range of the ultrasonic radar is a pit.
[0077] As a preferred embodiment, in the step S03, it is determined whether the terrain condition within the receiving data range of the ultrasonic radar is high ground, and it is necessary to receive the ultrasonic radar signal for at least two consecutive times to determine the distance. If the distance of receiving the echo of the transmitted signal for more than two consecutive times in at least two ultrasonic radar receiving signal determination distances is less than the current ground distance, then it is determined that the receiving range of the ultrasonic radar is high ground.
[0078] As a preferred embodiment, when judging the terrain conditions within the ultrasonic radar receiving data range in step S03, the judgment is made based on at least three consecutive ultrasonic radar receiving signals.
[0079] As a preferred embodiment, in step S01, when the ultrasonic radar detection mode is set, the object detection mode and the ground detection mode have different ways of processing echoes. When the object detection mode is started, the received ultrasonic radar echo will filter out the echo reflected from the ground range during the preprocessing stage; when the ground detection mode is started, the received ultrasonic radar echo will not filter out the echo covering the object reflection range.
[0080] As a preferred embodiment, in the step S01, when the ultrasonic radar detection mode is set, the object detection mode and the ground detection mode are performed in a time-sharing manner. When the system determines that the terrain is dangerous within the front and rear detection ranges in the last ground detection mode, the system directly controls the vehicle to brake; when the system determines that the terrain is dangerous within the left and right detection ranges in the last ground detection mode, the system adjusts the time-sharing ratio of the object detection mode and the ground detection mode.
[0081] As a preferred embodiment, the specific manner in which the system adjusts the time-sharing ratio of the object detection mode and the ground detection mode is as follows:
[0082] AWhen the vehicle is traveling at a middle gear speed, the time-sharing ratio of the object detection mode and the ground detection mode is 1:1, that is, within 1 second, the time in the object detection mode is basically the same as the time in the ground detection mode;
[0083] When the vehicle detects obstacles in the object detection mode for several consecutive times, and does not detect terrain hazards in the ground detection mode for several consecutive times, the system switches the object detection mode and the ground detection mode in an equal time-sharing ratio so that under equal time conditions, the detection time of the object detection mode is greater than the detection time of the ground detection mode;
[0084] When the vehicle has not detected any obstacle in the object detection mode for several consecutive times, and has detected terrain hazards in the ground detection mode for several consecutive times, the system switches the object detection mode and the ground detection mode in an equal time ratio so that under equal time conditions, the detection time of the ground detection mode is greater than the detection time of the object detection mode.
[0085] As a preferred embodiment, the specific manner in which the system adjusts the time-sharing ratio of the object detection mode and the ground detection mode is as follows:
[0086] B When the vehicle is running at a low gear speed, the time-sharing ratio of the object detection mode and the ground detection mode is 2:1, that is, within 1 second, the object detection mode time is twice the ground detection mode time;
[0087] When the vehicle does not detect an obstacle in several consecutive object detection modes, and detects terrain hazards in several consecutive ground detection modes, the system adjusts the ratio to the same.
[0088] As a preferred embodiment, the specific manner in which the system adjusts the time-sharing ratio of the object detection mode and the ground detection mode is as follows:
[0089] C When the vehicle is running at a high speed, the time-sharing ratio of the object detection mode and the ground detection mode is 1:2, that is, within 1 second, the object detection mode time is twice the ground detection mode time;
[0090] When the vehicle does not detect an obstacle in the ground detection mode for several consecutive times, and detects an object in the object detection mode for several consecutive times, the system adjusts the ratio to be the same.
[0091] A terrain detection system based on ultrasonic radar, comprising ultrasonic radar equipment, an ultrasonic radar mode setting module, a detection mode time-sharing module, a terrain judgment module, and an object detection module;
[0092] The ultrasonic radar equipment includes at least two ultrasonic short-range ultrasonic radars installed at the front of the vehicle, used to detect the coverage range in front of the vehicle; at least two ultrasonic short-range ultrasonic radars installed at the rear end of the vehicle, used to detect the coverage range behind the vehicle; the ultrasonic radar equipment includes ultrasonic long-range ultrasonic radars installed on the left and right sides of the vehicle, used to detect the coverage range on the left and right sides of the vehicle;
[0093] The ultrasonic radar mode setting module is used in the setting and initialization module to set the ultrasonic radar mode, that is, to set the object detection module and the ground detection module;
[0094] The detection mode time-sharing module is used to allocate hardware usage time to the functional modules set by the ultrasonic radar mode setting module;
[0095] The terrain determination module is used to determine the terrain around the vehicle based on the signal received by the ultrasonic radar device;
[0096] The object detection module is used to determine objects around the vehicle based on the signals received by the ultrasonic radar device.
[0097] Furthermore, it also includes an alarm module, which is used to give a voice prompt to the driver when the system determines that the terrain is dangerous or there are obstacles around the vehicle.
[0098] Furthermore, the ultrasonic radar equipment mainly uses ultrasonic ultrasonic radar. The threshold can be adjusted dynamically through the Elmos chip. We can adjust the height of the ultrasonic ultrasonic radar probe so that the ultrasonic envelope emitted by the ultrasonic ultrasonic radar probe can detect the ground at a certain distance. By adjusting the parameters, the ultrasonic ultrasonic radar can work in two modes. One is ordinary object detection, which filters out the echo of the ground and only detects objects. The other is ground detection, which receives the echo of the ground and detects the ground. In this mode, if the ground is not detected, it can be judged as a pit or a cliff based on the echo information. The parameters of the front and rear ultrasonic ultrasonic radar probes are set to object detection and ground detection in turn, such as Figure 3 As shown, for example, the front: ultrasonic short-range ultrasonic radar is labeled as ultrasonic short-range ultrasonic radar 1, ultrasonic short-range ultrasonic radar 2, ultrasonic short-range ultrasonic radar 3, ultrasonic short-range ultrasonic radar 4 is set to object detection, the rear: ultrasonic short-range ultrasonic radar is labeled as 5, ultrasonic short-range ultrasonic radar 6, ultrasonic short-range ultrasonic radar 7, ultrasonic short-range ultrasonic radar 8 is set to ground detection, on the left: ultrasonic long-range ultrasonic radar is labeled as ultrasonic long-range ultrasonic radar 10, ultrasonic long-range ultrasonic radar 12; on the right: ultrasonic long-range ultrasonic radar is labeled as ultrasonic long-range ultrasonic radar 9, ultrasonic long-range ultrasonic radar 11; after 100ms, the front parameter is set to object detection and the rear parameter is ground detection.
[0099] A terrain detection terminal based on ultrasonic radar, characterized in that it includes a processor and a memory, the memory stores program instructions, and the processor executes the program instructions to implement the steps in the above method.
[0100] As a preferred embodiment, this embodiment also provides a terminal device, such as a smart phone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server or cabinet server (including an independent server, or a server cluster composed of multiple servers) that can execute programs. The terminal device of this embodiment includes at least but is not limited to: a memory and a processor that can be interconnected through a system bus. It should be pointed out that the terminal device has a component memory and a processor, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead.
[0101] As a preferred embodiment, the memory (i.e., readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory can be an internal storage unit of a computer device, such as a hard disk or memory of the computer device 20. In other embodiments, the memory can also be an external storage device of a computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory can also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory is generally used to store the operating system and various application software installed on the computer device, such as the terrain detection program code based on ultrasonic radar in the embodiment. In addition, the memory can also be used to temporarily store various types of data that have been output or are to be output.
[0102] The processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor is generally used to control the overall operation of a computer device. In this embodiment, the processor is used to run program codes stored in the memory or process data, such as running a terrain detection program based on ultrasonic radar to implement the function of the terrain detection system based on ultrasonic radar in the embodiment.
[0103] A computer-readable storage medium stores a computer program, wherein the program implements the steps in the above method when executed by a processor.
[0104] This embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, and when the program is executed by a processor, a corresponding function is realized. The computer-readable storage medium of this embodiment is used to store a terrain detection program based on ultrasonic radar, and when executed by a processor, a terrain detection method based on ultrasonic radar in the embodiment is realized.
[0105] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A terrain detection method based on ultrasonic radar, characterized in that: The following steps are involved: S01: Initializing the system, setting the ultrasonic radar detection mode, wherein the ultrasonic radar detection mode includes an object detection mode and a ground detection mode, and adjusting parameters so that the ultrasonic radar is divided into two detection modes according to the detection time, wherein the object detection mode includes detecting obstacles, and the ground detection mode includes detecting terrain within the detection range of the ultrasonic radar, wherein the terrain includes at least pits and high ground; S02: Acquire the receiving data of the ultrasonic radar in the ground detection mode; S03: Determine the terrain conditions within the ultrasonic radar receiving data range based on the received data.
2. The terrain detection method based on ultrasonic radar according to claim 1, characterized in that: In the step S01, the system initialization also includes detecting the ambient temperature with a temperature sensor and correcting the sound wave distance parameter according to the temperature change.
3. The terrain detection method based on ultrasonic radar according to claim 2 is characterized in that: The ultrasonic long-range ultrasonic radar is set on the side. In the step S02, in the ground detection mode, when the signal within the detection range of the ultrasonic long-range ultrasonic radar shows that the distance information value received by the ultrasonic long-range ultrasonic radar is 0, it means that the ultrasonic long-range ultrasonic radar is unobstructed in this direction; when the distance information value received by the ultrasonic long-range ultrasonic radar is 0 at least twice in a row, the system determines that the vehicle is not on the ground within the detection range of the side, and the system issues a first-level alarm for the terrain on the side.
4. The terrain detection method based on ultrasonic radar according to claim 3 is characterized in that: In the step S02, in the ground detection mode, when the signal within the detection range of the ultrasonic long-range ultrasonic radar shows that the distance information value received by the ultrasonic long-range ultrasonic radar is not zero, it means that the ultrasonic long-range ultrasonic radar is blocked within the detection range of this direction; when the distance signal received by the ultrasonic long-range ultrasonic radar at least twice in a row is greater than or less than the vehicle body and ground distance signal, it means that the detection limit range of the ultrasonic long-range ultrasonic radar is different from the current terrain of the vehicle, and the system will give a secondary alarm to this side.
5. The terrain detection method based on ultrasonic radar according to claim 4 is characterized in that: In the step S03, to determine whether the terrain condition of the ultrasonic radar's receiving data range is a pit, it is necessary to receive the ultrasonic radar signal at least twice in a row to determine the distance. If there is no corresponding echo reception of the transmitted signal for more than two consecutive times in the at least two ultrasonic radar received signal determination distances, then it is determined that the ultrasonic radar's receiving range is a pit. In the step S03, to determine whether the terrain condition of the ultrasonic radar's receiving data range is a highland, it is necessary to receive the ultrasonic radar signal at least twice in a row to determine the distance. If the transmitted signal received echo distance for more than two consecutive times in the at least two ultrasonic radar received signal determination distances is less than the current ground distance, then it is determined that the ultrasonic radar's receiving range is a highland.
6. The terrain detection method based on ultrasonic radar according to claim 3, characterized in that: The specific method of adjusting the time-sharing ratio of the object detection mode and the ground detection mode by the system is as follows: AWhen the vehicle is traveling at a middle gear speed, the time-sharing ratio of the object detection mode and the ground detection mode is 1:1, that is, within 1 second, the object detection mode time is the same as the ground detection mode time; When the vehicle detects obstacles in the object detection mode for several consecutive times, and does not detect terrain hazards in the ground detection mode for several consecutive times, the system switches the object detection mode and the ground detection mode in an equal time-sharing ratio so that under equal time conditions, the detection time of the object detection mode is greater than the detection time of the ground detection mode; When the vehicle has not detected any obstacle in the object detection mode for several consecutive times, and has detected terrain hazards in the ground detection mode for several consecutive times, the system switches the object detection mode and the ground detection mode in an equal time ratio so that under equal time conditions, the detection time of the ground detection mode is greater than the detection time of the object detection mode.
7. The terrain detection method based on ultrasonic radar according to claim 6, characterized in that: The specific method of adjusting the time-sharing ratio of the object detection mode and the ground detection mode by the system is as follows: B When the vehicle is running at a low gear speed, the time-sharing ratio of the object detection mode and the ground detection mode is 2:1, that is, within 1 second, the object detection mode time is twice the ground detection mode time; When the vehicle does not detect an obstacle in several consecutive object detection modes, and detects terrain hazards in several consecutive ground detection modes, the system adjusts the ratio to the same.
8. The terrain detection method based on ultrasonic radar according to claim 7, characterized in that: The specific method of adjusting the time-sharing ratio of the object detection mode and the ground detection mode by the system is as follows: C When the vehicle is running at a high speed, the time-sharing ratio of the object detection mode and the ground detection mode is 1:2, that is, within 1 second, the object detection mode time is half of the ground detection mode time; When the vehicle does not detect terrain hazards in the ground detection mode for several consecutive times, and detects objects in the object detection mode for several consecutive times, the system adjusts the ratio to be the same.
9. A terrain detection system based on ultrasonic radar, characterized in that: Including ultrasonic radar equipment, ultrasonic radar mode setting module, detection mode time-sharing module, ground detection module, object detection module; The ultrasonic radar equipment includes at least two ultrasonic short-range ultrasonic radars installed at the front of the vehicle, used to detect the coverage range in front of the vehicle; at least two ultrasonic short-range ultrasonic radars installed at the rear end of the vehicle, used to detect the coverage range behind the vehicle; the ultrasonic radar equipment includes ultrasonic long-range ultrasonic radars installed on the left and right sides of the vehicle, used to detect the coverage range on the left and right sides of the vehicle; The ultrasonic radar mode setting module is arranged in the initialization module for setting the ultrasonic radar mode, that is, setting the object detection module and the ground detection module; The detection mode time-sharing module is used to allocate hardware usage time to the object detection module and the ground detection module set by the ultrasonic radar mode setting module; The ground detection module is used to determine the terrain around the vehicle based on the signal received by the ultrasonic radar device; The object detection module is used to determine objects around the vehicle based on the signals received by the ultrasonic radar device.
10. A terrain detection terminal based on ultrasonic radar, characterized in that: The method comprises a processor and a memory, wherein the memory stores program instructions, and the processor executes the program instructions to implement the steps in the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the method according to any one of claims 1 to 8 are implemented.
