Upper obstacle detection method and device, system, vehicle, and storage medium
By analyzing the relative positional relationship between the vehicle and the target to be detected and the changing trend of radar signal energy, software is used to detect obstacles above, which solves the problem of insufficient accuracy of millimeter wave radar in detecting obstacles above and reduces the probability of false alarms. and hardware costs, improving vehicle driving stability.
Patent Information
- Application Number
- CN201880040372.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-11-30
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2038-11-30
AI Technical Summary
Existing millimeter-wave radars have poor accuracy when detecting obstacles above the vehicle, resulting in poor driving stability of autonomous vehicles, and solutions that add pitch receiving channels and high-processing power chips will increase detection costs.
By analyzing the relative positional relationship between the vehicle and the target to be detected and the energy change trend of the radar signal, it is determined whether the target to be detected is an obstacle above, and detection is implemented using software to avoid an increase in hardware costs.
It reduces the probability of false alarms for obstacles ahead, improves vehicle driving stability, and enables accurate detection of obstacles above without increasing system hardware overhead.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to obstacle detection technology, and more particularly to an upper obstacle detection method and device, system, vehicle, and storage medium, belonging to the field of assisted driving technology. Background Art
[0002] With the continuous development of Advanced Driver Assistant System (ADAS) and Autonomous Driving (AD) technologies, millimeter-wave radar, as an important sensor, has also developed rapidly.
[0003] However, millimeter-wave radar is generally used to check obstacles in front of the vehicle, and has poor detection accuracy for obstacles above the road where the vehicle is located. Specifically, due to the strong scattering of overhead obstacles such as gantries and road signs, millimeter-wave radars can easily identify them as stationary vehicles, which may cause emergency braking of autonomous vehicles and cause poor vehicle driving stability. In order to solve this problem, the prior art generally adopts a radar with an additional pitch receiving channel to detect overhead obstacles; however, this type of radar will lead to an increase in the amount of calculation, and it is also necessary to use chips with stronger processing capabilities for data processing.
[0004] The existing technology of using millimeter wave radar combined with elevation receiving channels and high processing chip will greatly increase the detection cost. Therefore, how to detect obstacles above with traditional low-cost millimeter wave radar without increasing the system hardware cost has become a technical problem to be solved in this field. Summary of the invention
[0005] The present invention provides an upper obstacle detection method and device, a system, a vehicle, and a storage medium, which are used to detect upper obstacles without increasing system hardware overhead, reduce the false alarm probability of front obstacles, and improve vehicle driving stability.
[0006] In a first aspect, the present invention provides a method for detecting an upper obstacle, comprising:
[0007] Acquiring signal parameters of a radar signal reflected by a target to be detected during a target period of time during vehicle travel;
[0008] According to the signal parameters, obtaining a relative position relationship between the target to be detected and the vehicle;
[0009] According to the relative position relationship and the variation trend of the signal energy in the signal parameter within the target time period, it is determined whether the target to be detected is an obstacle above the vehicle.
[0010] In a second aspect, the present invention provides an overhead obstacle detection device, comprising:
[0011] Memory;
[0012] Processor; and
[0013] Computer programs;
[0014] The computer program is stored in the memory and is configured to be executed by the processor to implement the method as described in the first aspect.
[0015] In a third aspect, the present invention provides an overhead obstacle detection system, comprising:
[0016] The upper obstacle detection device as described in the second aspect;
[0017] Radar is used to send out detection radar signals and receive radar signals reflected by the target to be detected.
[0018] In a fourth aspect, the present invention provides a vehicle, comprising: an overhead obstacle detection system as described in the third aspect.
[0019] In a fifth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the method as described in the first aspect.
[0020] The overhead obstacle detection method and device, system, vehicle, and storage medium provided by the present invention take into account that the radar has a fixed elevation antenna pattern. The closer it is to the target to be detected, the greater the elevation angle. Thus, the signal energy of the radar signal reflected by the target to be detected is lower. Therefore, the embodiment of the present invention can achieve accurate identification of the target to be detected through the relative position relationship between the vehicle and the target to be detected and the change trend between the signal energy of the radar signal. This solution does not need to increase the hardware of the existing detection system, avoiding the expenditure of hardware costs, but instead achieves detection of overhead obstacles through software, reducing the false alarm probability of obstacles ahead and improving the driving stability of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0022] Figure 1 An oblique view of a road in a vehicle driving scene provided by an embodiment of the present invention;
[0023] Figure 2 In the embodiment of the present invention Figure 1 A top view of a road in a vehicle driving scene is shown;
[0024] Figure 3 In the embodiment of the present invention Figure 1 A right view of the road in the vehicle driving scene shown;
[0025] Figure 4 A schematic diagram of a flow chart of an overhead obstacle detection method provided by an embodiment of the present invention;
[0026] Figure 5 A schematic diagram of a flow chart of another overhead obstacle detection method provided by an embodiment of the present invention;
[0027] Figure 6 A schematic diagram of a flow chart of another overhead obstacle detection method provided by an embodiment of the present invention;
[0028] Figure 7 A schematic diagram of the physical structure of an overhead obstacle detection device provided by an embodiment of the present invention;
[0029] Figure 8 A schematic diagram of the architecture of an overhead obstacle detection system provided by an embodiment of the present invention;
[0030] Fig. 9 A schematic diagram of the architecture of a vehicle provided by an embodiment of the present invention.
[0031] The above drawings show clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0032] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0033] The specific application scenario of the present invention is: a detection scenario for an upper obstacle in front of a vehicle.
[0034] For more information, see Figure 1 and Figure 2 ,in, Figure 1 shows an oblique view of a road in a vehicle driving scene, Figure 2 Shows Figure 1 The top view of the road in the vehicle driving scene is shown. Figure 1 and Figure 2The coordinate system shown in is the radar coordinate system, in which the X-axis direction points to the edge of the road, the Y-axis direction points to the front of the road, and the Z-axis direction is the vertical upward direction.
[0035] like Figure 1 and Figure 2 As shown, in this vehicle driving scenario, there are obstacles on both sides of the road, among which the position shown by U1 is the scattering center of the upper obstacle on the left side of the road, and the position shown by U2 is the scattering center of the upper obstacle on the right side of the road. Due to the strong scattering, it is easy for the radar to identify it as a stationary vehicle, which may cause the vehicle to brake urgently and affect the stability of the vehicle's driving.
[0036] The method for detecting overhead obstacles provided by the present invention aims to solve the above technical problems of the prior art and proposes the following solution: utilizing the change trend between the relative position relationship between the vehicle and the target to be detected and the signal energy of the radar signal reflected by the target to be detected to determine whether the target to be detected is an overhead obstacle.
[0037] The following specific embodiments are used to describe in detail the technical solutions of the present invention and how the technical solutions of the embodiments of the present invention solve the above technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.
[0038] Embodiment 1
[0039] The embodiment of the present invention provides an overhead obstacle detection method. The inventive concept of the overhead obstacle detection method provided by the embodiment of the present invention is briefly described below.
[0040] Specifically, please refer to Figure 3 , Figure 3 Shows Figure 1 The right view of the road in the vehicle driving scene is shown, and the right view of the road shows the driving schematic diagram between the vehicle and the upper obstacle on the right side of the road.
[0041] like Figure 3 As shown, R represents the straight-line distance between the scattering center U2 of the obstacle above the right side of the road and the vehicle, and the lateral angle between the straight-line distance and the Y-axis direction in the aforementioned radar coordinate system is recorded as a, which can be simply referred to as the elevation angle between the obstacle above the right side of the road and the vehicle.
[0042] Depend on Figure 3As shown in the schematic diagram, as the vehicle moves forward along the Y-axis, the obstacle on the right side of the road gets closer and closer to the vehicle, and the elevation angle a gets larger and larger. In the fixed elevation antenna pattern of the radar, the larger the elevation angle, the weaker the signal energy of the radar signal reflected by the obstacle on the right side of the road. On the contrary, for ground obstacles on the same plane as the vehicle, the closer the vehicle is to the ground obstacle, the stronger the energy of the radar signal reflected by the ground obstacle.
[0043] Therefore, it is possible to determine whether the target to be detected is an upper obstacle based on the change trend between the relative position relationship between the vehicle and the target to be detected and the signal energy of the radar signal reflected by the target to be detected.
[0044] Based on this, please refer to Figure 4 The above obstacle detection method provided by the embodiment of the present invention comprises the following steps:
[0045] S402, obtaining signal parameters of a radar signal reflected by a target to be detected during a target period of time during vehicle travel.
[0046] It can be known that the radar can emit a detection radar signal. When encountering an obstacle, the detection radar signal will be blocked by the obstacle and reflected to the radar. In this way, if the radar receives the reflected radar signal, it can be determined that there is an obstacle ahead. Therefore, the radar signal involved in the embodiment of the present invention refers to: a signal emitted by the radar and received by the radar after being reflected by the target to be detected.
[0047] In the following, for the sake of convenience, the signal emitted by the radar is referred to as a detection radar signal, and the signal reflected by an obstacle (the target to be detected in the embodiment of the present invention) and received by the radar is referred to as a radar signal.
[0048] In the specific implementation process, the starting frame of the target time period may be the sending time of the aforementioned detection radar signal or the receiving time of the aforementioned radar signal, and the ending frame may be the current frame.
[0049] In a possible scenario, the end frame of the target period is the current frame, and the start frame of the target period is a frame in which the radar initially receives the reflected radar signal.
[0050] In another possible scenario, the end frame of the target period is the current frame, and the start frame of the target period is a frame in which the radar starts tracking the reflected radar signal after initially sending out the detection radar signal.
[0051] It should be noted that a frame in which the radar sends out a detection radar signal (referred to as a transmission frame) may be different from a frame in which the radar starts tracking the radar signal (referred to as a tracking frame).
[0052] Specifically, if the radar starts tracking the radar signal in a certain frame after sending out the detection radar signal, then the starting frame is a frame after the detection radar signal is sent and the tracking radar signal starts. At this time, the radar may not record the frame interval between the transmission frame and the tracking frame, and the frame interval is generally fixed and can be pre-set in the execution device of the overhead obstacle detection method (hereinafter referred to as the overhead obstacle detection device) or the radar or other storage locations that can be read. Therefore, in this implementation scenario, after obtaining the transmission frame recorded by the radar, the preset frame interval can be obtained, and the tracking frame can be obtained by adding them.
[0053] Alternatively, if the radar begins tracking the radar signal in the same frame as sending the detection radar signal, the transmission frame is the same as the tracking frame.
[0054] In another possible scenario, the start frame of the target period may also be a frame in which the radar sends a detection radar signal, which will not be described in detail.
[0055] In addition, it should be noted that the aforementioned target period may be a period consisting of one or more radar signals being transmitted, reflected, and received. For example, if the target period includes the transmission of multiple radar signals, the start frame of the target period is the start frame of the first radar signal among the multiple radar signals (the aforementioned at least three methods are not repeated here). In addition, considering that the radar will continue to send out radar signals when working normally, and the embodiment of the present invention is for the detection of the target to be detected, therefore, the multiple radar signals may be radar signals reflected from the target to be detected.
[0056] The signal parameters involved in the embodiments of the present invention may include but are not limited to: the emission time of the detection radar signal (which can be represented by a frame), the reception time of the radar signal (which can also be represented by a frame), and the signal energy of the radar signal. The signal energy can be represented by P i It is expressed in decibels (dB), where i represents the frame number. The starting frame of the frame number is a frame in which the radar transmits a detection radar signal and starts tracking the radar signal, and the ending frame is a frame in which the radar receives the radar signal.
[0057] The signal parameters of the aforementioned radar signal are all recorded during the process of the radar detecting obstacles. Therefore, this step can be achieved by acquiring data from the radar processor.
[0058] At this time, the specific implementation method of obtaining the signal parameters of the radar signal is related to the relationship between the detection device of the upper obstacle and the radar.
[0059] In a possible design, the upper obstacle detection device can be arranged inside the radar, and it can be used as one or more processors (or processing modules) inside the radar independent of the main processor, or it can also be used as one or more processing modules in the main processor. In this implementation scenario, the upper obstacle detection device can exchange information with the main processor of the radar and request the main processor to obtain the aforementioned signal parameters.
[0060] In another possible design, the upper obstacle detection device can be set independently of the radar. In this case, the upper obstacle detection device and the radar processor can realize data interaction through wired or wireless communication. Among them, the wireless communication method may include but is not limited to: Wireless-Fidelity (WiFi), Bluetooth communication, Near Field Communication (NFC). In a specific implementation scenario, the upper obstacle detection device can send a request to the radar processor through a wired or wireless method, and the radar processor feeds back data to the upper obstacle detection device according to the request to obtain signal parameters; or, an automatic sending rule can be set in the radar processor, for example, periodic sending, real-time sending, etc., and as an upper obstacle detection device, it only needs to receive the signal parameters sent by the radar processor through a wired or wireless method.
[0061] S404: Obtain the relative position relationship between the target to be detected and the vehicle according to the signal parameters.
[0062] Based on the aforementioned inventive concept, the relative position relationship is used to characterize the distance relationship between the target to be detected and the vehicle. Specifically, the relative position relationship involved in the embodiment of the present invention may include: a first distance between the vehicle and the target to be detected. That is, Figure 3 The distance R is shown.
[0063] Specifically, this step can be achieved through the emission time of the detection radar signal and the reception time of the radar signal in the signal parameters.
[0064] For example, if the emission time of the detection radar signal is t1, and the reception time of the radar signal is t2, and the signal propagation speed is v, then the transmission time of the radar signal between the radar and the target to be detected is (t2-t1). Therefore, the product of the transmission time and the signal propagation speed is obtained and divided by 2 to obtain the first distance, which can be specifically expressed as: (t2-t1)*v / 2.
[0065] S406: Determine whether the target to be detected is an obstacle above the vehicle based on the relative position relationship and the change trend of the signal energy in the signal parameters within the target time period.
[0066] Based on Figure 3 The invention concept shown in FIG. 1 may be referred to when implementing step S406 in the solution. Figure 5 The method shown is implemented as follows:
[0067] S4062: Acquire a trend parameter between the first distance and the signal energy within a target time period.
[0068] The embodiment of the present invention proposes a trend parameter, and uses the trend parameter to characterize the change trend between the first distance and the signal energy. Specifically, the trend parameter can be determined according to the change amount of the first distance and the change amount of the signal energy.
[0069] Specifically, the embodiment of the present invention provides two available implementation methods for obtaining trend parameters:
[0070] The first method is to obtain the trend parameters in multiple consecutive frames. The specific implementation can be as follows:
[0071] 1.1) Obtaining a distance deviation value corresponding to each frame in the target time period, where the distance deviation value is the difference between the first distance corresponding to the frame and the average value of the first distances in multiple consecutive frames in the target time period;
[0072] 1.2) Obtaining the signal energy deviation value corresponding to each frame in the target time period, where the signal energy deviation value is the difference between the signal energy corresponding to the frame and the average signal energy of multiple consecutive frames in the target time period;
[0073] 1.3) Obtaining a first change parameter and a second change parameter, wherein the first change parameter is the sum of the product of the distance deviation value and the energy deviation value of each frame in the continuous multiple frames within the target time period; the second change parameter is the sum of the squares of the distance deviation values of each frame in the continuous multiple frames within the target time period;
[0074] 1.4) Obtaining a ratio between the first variation parameter and the second variation parameter as a trend parameter corresponding to a plurality of consecutive frames.
[0075] Specifically, it can be achieved by the following formula (recorded as Formula 1):
[0076]
[0077] in,
[0078]
[0079]
[0080] Among them, S represents the trend parameter corresponding to multiple consecutive frames, R i represents the first distance between the target to be detected and the vehicle at the i-th frame, R ·represents the average value of the first distance between the target to be detected and the vehicle in multiple consecutive frames, P i represents the signal energy between the target to be detected and the vehicle at the i-th frame, P * represents the average value of the signal energy between the target to be detected and the vehicle in multiple consecutive frames, i0 represents the starting frame of multiple consecutive frames, i e Indicates the end frame of multiple consecutive frames.
[0081] In a possible design, the continuous multiple frames may be specifically a target period, in which case i0 represents the start frame of the target period, i e Indicates the end frame of the target period.
[0082] In addition, the aforementioned continuous multiple frames within the target time period refers to at least two continuous frames within the target time period.
[0083] The second method is to obtain the trend parameters within a single frame. The specific implementation can be as follows:
[0084] 2.1) Obtaining the distance deviation value corresponding to each frame except the starting frame in the target time period, where the distance deviation value is the difference between the first distance corresponding to the frame and the first distance corresponding to the starting frame;
[0085] 2.2) Obtain the signal energy deviation value corresponding to each frame except the start frame in the target time period, where the signal energy deviation value is the difference between the signal energy corresponding to the frame and the signal energy corresponding to the start frame;
[0086] 2.3) In each frame except the starting frame within the target time period, the ratio between the signal energy deviation value and the distance deviation value is obtained as the trend parameter corresponding to the frame.
[0087] Specifically, it can be achieved by the following formula (recorded as Formula 2):
[0088]
[0089] Among them, S i represents the trend parameter corresponding to the i-th frame, R i represents the first distance between the target to be detected and the vehicle at the i-th frame, R j represents the first distance between the target to be detected and the vehicle corresponding to the starting frame of the target period, P i represents the signal energy between the target to be detected and the vehicle at the i-th frame, P j represents the signal energy between the target to be detected and the vehicle corresponding to the starting frame, and i represents any frame except the starting frame in the target period.
[0090] In addition, the second implementation method described above may also have other forms of variations. For example, in one possible design, for any frame other than the starting frame, when obtaining the signal energy deviation value and distance deviation value corresponding to the frame, the signal energy and distance corresponding to the starting frame may be replaced with: the signal energy and distance corresponding to the previous frame (or a specified number of frames, where the specified number is an integer greater than 1) of the frame, so as to obtain the signal energy deviation value and the distance deviation value, and then obtain the ratio between the signal energy deviation value and the distance deviation value as the trend parameter corresponding to the frame.
[0091] It should be noted that when the trend parameters are acquired by the aforementioned formula 1 or formula 2, the embodiment of the present invention has no special limitation on the order of acquiring the distance deviation value and the energy deviation value, and these two steps can be executed simultaneously or in sequence.
[0092] S4064: Determine whether the target to be detected is an obstacle above the vehicle based on the trend parameter and a preset trend threshold.
[0093] Specifically, in the above steps, different trend parameters can be obtained based on Figure 3 The inventive concept shown can determine whether the target to be detected is an obstacle above the vehicle by comparing the trend parameter with a preset trend threshold.
[0094] Specifically, if the detection is implemented by formula 1 in S4062, the trend parameter corresponding to the continuous multiple frames can be compared with the preset trend threshold. If the trend parameter corresponding to the continuous multiple frames is less than the trend threshold, it is determined that the target to be detected is an obstacle above the vehicle. On the contrary, if the trend parameter corresponding to the continuous multiple frames is greater than or equal to the trend threshold, it is determined that the target to be detected is not an obstacle above the vehicle.
[0095] Since the method shown in Formula 1 is a trend parameter within multiple consecutive frames, detection can be achieved through direct comparison, which has high precision and is conducive to improving detection accuracy.
[0096] If the detection is implemented by Formula 2 in S4062, since Formula 2 is used to obtain trend parameters within a single frame, in order to adapt to different detection requirements, the embodiment of the present invention provides the following three possible implementation methods:
[0097] Method 1: For any frame except the start frame within the target time period, the trend parameter corresponding to the frame is compared with the trend threshold. If the trend parameter corresponding to the frame is less than the trend threshold, the target to be detected is determined to be an obstacle above the vehicle. On the contrary, if the trend parameter corresponding to the frame is greater than or equal to the trend threshold, the target to be detected is determined not to be an obstacle above the vehicle.
[0098] This implementation method requires less data processing and is beneficial to improving detection efficiency.
[0099] Method 2: For any frame except the starting frame within the target time period, if the trend parameter corresponding to the frame is less than the trend threshold, obtain the number of consecutive frames whose trend parameter is less than the trend parameter threshold. Thus, if the number of consecutive frames is greater than or equal to the preset frame threshold, it is determined that the target to be detected is an obstacle above the vehicle, wherein the frame threshold is at least two frames.
[0100] It can be seen that if the number of the aforementioned continuous frames is less than the preset frame threshold, it can be determined that the target to be detected is not an obstacle above the vehicle.
[0101] That is, if the judgment result of a single frame is yes, in order to further ensure that the judgment result is not accidental, the target to be detected will be determined as an obstacle above the vehicle only when at least two frames are judged as yes. Compared with the aforementioned method 1, this implementation method is equivalent to adding a secondary inspection process, thereby further avoiding the occurrence of accidental situations and further improving the detection accuracy.
[0102] Method three, within the target time period, obtain the average value of the trend parameter corresponding to each frame except the start frame, so that if the average value of the trend parameter is less than the trend threshold, it is determined that the target to be detected is an obstacle above the vehicle.
[0103] In this implementation, the average value of the trend parameter of the entire target period can better characterize the changing trend of the relative position relationship and signal energy within the target period, which is more conducive to improving the detection accuracy.
[0104] Through the above scheme, the detection of the target to be detected can be achieved.
[0105] In addition, it should be noted that the trend thresholds in the aforementioned implementations can be set as needed, and the trend thresholds in different implementations can be set to the same value, or can be set to different thresholds in combination with different detection requirements.
[0106] For example, in a possible design, the aforementioned trend thresholds may be set to the same value, such as 0.05.
[0107] In addition, please refer to Figure 1 and Figure 2 It can be seen that the upper obstacles above the road are generally close to the road boundary line, that is, the lateral distance in the X-axis direction is generally within a certain distance threshold range. Therefore, this feature can be used as an auxiliary feature in the aforementioned detection step for judgment.
[0108] At this time, the relative position relationship of the embodiment of the present invention may include a second distance in addition to the first distance, wherein the second distance is the distance between the target to be detected and the radar pointing line. Figure 1 The second distance of the upper left obstacle shown is the distance between the upper left obstacle and the radar pointing line; Figure 1 The second distance of the upper right obstacle shown is the distance between the upper right obstacle and the radar pointing line.
[0109] Specifically, this method can refer to Figure 6 The method shown is implemented. Figure 6 As shown, before executing S406, the method further includes the following steps:
[0110] S4052, acquiring the first distance and the second distance in each frame within the target time period.
[0111] Among them, the first distance is the straight-line distance between the target to be detected and the vehicle, which will not be repeated here.
[0112] S4054: Determine whether the target to be detected is an upper obstacle to be determined based on the first distance and the second distance.
[0113] If so, execute S406, that is, execute the aforementioned step of determining whether the target to be detected is an obstacle above the vehicle based on the relative position relationship and the change trend of the signal energy within the target time period, which will not be repeated.
[0114] If not, execute S408 to determine that the target to be detected is not an obstacle above the vehicle.
[0115] Specifically, the judgment process may be: if the first distance is greater than the first distance threshold and the second distance is less than the preset second distance threshold, the target to be detected is determined to be a pending upper obstacle. On the contrary, if the first distance is less than or equal to the first distance threshold, and / or the second distance is greater than or equal to the preset second distance threshold, the target to be detected is determined not to be a pending upper obstacle.
[0116] In addition, it should be noted that Figure 6 The implementation shown is a possible design, and the embodiment of the present invention has no particular limitation on the execution order of the lateral feature detection by the second distance and the aforementioned trend parameter detection. That is, if the aforementioned lateral feature detection is used as an auxiliary detection step for the trend parameter detection, only if the detection results of both are yes can the target to be detected be finally determined to be a pending upper obstacle; otherwise, if the detection result of at least one detection step is no, it is determined that the target to be detected is not a pending upper obstacle.
[0117] Therefore, in other possible designs, the above trend parameter detection may be performed first, and if the detection result is yes, then the following steps are performed: Figure 6 The lateral feature detection shown in the figure, at this time, if the result of the lateral feature detection is yes, it can be determined that the target to be detected is the pending upper obstacle
[0118] In addition to the above process, Figure 3 As shown, the embodiment of the present invention further provides a possible detection method: using Figure 3 The elevation angle a shown realizes the detection of the target to be detected. At this time, this detection method can be used as an auxiliary scheme for any of the aforementioned feasible schemes. Therefore, under the premise that the inspection results of the aforementioned schemes are all yes, if the elevation angle detection result is also yes, it can be determined that the target to be detected is a pending upper obstacle. On the contrary, if the detection result of any detection step is no, it is determined that the target to be detected is not a pending upper obstacle.
[0119] Specifically, if the elevation angle is used as a basis for detecting the upper obstacle, a method similar to the implementation method of the first distance can be adopted to obtain the change trend between the elevation angle and the signal energy, and the second trend parameter that can be used to characterize the change trend is compared with the second trend threshold to achieve the detection of the target to be detected. The implementation method is the same as above and will not be repeated.
[0120] In addition, considering that traditional radars may not have tools for measuring elevation angles, if elevation angle is used as a basis for detecting overhead obstacles, it is also necessary to set up elevation angle measurement tools, which will increase the cost of hardware equipment to a certain extent.
[0121] In addition to detecting the target to be detected based on the aforementioned scheme to determine whether the target to be detected is an obstacle above the vehicle, it can be known that the radar can also detect obstacles in front of the vehicle. In addition to the existing method, the detection method can also be implemented by means similar to the detection method provided in the embodiment of the present invention.
[0122] Specifically, if Figure 3 As described in the implementation scenario shown, as the vehicle moves forward, the signal energy of the radar signal reflected by the ground obstacle will become higher and higher. Figure 1 In a similar manner, based on the relative position relationship and the changing trend of the signal energy of the radar signal in the target time period, if the signal energy of the radar signal increases as the first distance decreases, it can be determined as a ground obstacle of the vehicle.
[0123] In addition, any radar that can transmit and receive radar signals can implement the present solution. Therefore, the embodiments of the present invention have no special limitation on the type of radar.
[0124] In a possible implementation scenario, such as the autonomous driving or assisted driving scenario of the background technology, the radar involved in the aforementioned implementation steps may be a millimeter wave radar.
[0125] It is to be understood that some or all of the steps or operations in the above embodiments are merely examples, and the embodiments of the present invention may also perform other operations or variations of various operations. In addition, the various steps may be performed in different orders presented in the above embodiments, and it is possible that not all of the operations in the above embodiments are to be performed.
[0126] Based on the upper obstacle detection method provided in the above embodiment 1, the embodiment of the present invention further provides a device embodiment for implementing each step and method in the above method embodiment.
[0127] The embodiment of the present invention provides an upper obstacle detection device, please refer to Figure 7 The upper obstacle detection device 700 comprises:
[0128] Memory 710;
[0129] Processor 720; and
[0130] Computer programs;
[0131] The computer program is stored in the memory 710 and is configured to be executed by the processor 720 to implement the method described in the above embodiment.
[0132] In addition, if Figure 7 As shown, a transceiver 730 is also provided in the upper obstacle detection device 700 for data transmission or communication with other devices, which will not be described in detail here.
[0133] like Figure 7 As shown, the memory 710, the processor 720 and the transceiver 730 are connected and communicate with each other via a bus.
[0134] The number of processors 720 in the upper obstacle detection device 700 may be one or more, and the processor 720 may also be called a processing unit, which can realize certain control functions. The processor 720 may be a general-purpose processor or a dedicated processor.
[0135] In an optional design, the processor 720 may also store instructions, which can be executed by the processor so that the upper obstacle detection device 700 performs the method described in the above method embodiment.
[0136] In yet another possible design, the upper obstacle detection device 700 may include a circuit, which may implement the functions of sending, receiving, or communicating in the aforementioned method embodiments.
[0137] Optionally, the number of the memory 710 in the upper obstacle detection device 700 may be one or more, and the memory 710 stores instructions or intermediate data, and the instructions can be executed on the processor so that the upper obstacle detection device 700 performs the method described in the above method embodiment. Optionally, other relevant data may also be stored in the memory 710. Optionally, instructions and / or data may also be stored in the processor 720. The processor 720 and the memory 710 may be provided separately or integrated together.
[0138] In addition, the processor 720 may be referred to as a processing unit. The transceiver 730 may be referred to as a transceiver unit, a transceiver, a transceiver circuit, or a transceiver, etc., and is used to implement the transceiver function of the upper obstacle detection device 700 .
[0139] Specifically, in a possible implementation scenario, if the upper obstacle detection device 700 is used to implement the corresponding Figure 4 During the operation of the overhead obstacle detection method in the illustrated embodiment, the transceiver 730 is used to obtain signal parameters of the radar signal reflected by the target to be detected.
[0140] In addition, the transceiver 730 can further perform other corresponding communication functions. The processor 720 is used to complete the corresponding determination or control operation, and optionally, the corresponding instructions can be stored in the memory 710. The specific processing method of each component can refer to the relevant description of the above embodiment.
[0141] The processor 720 and the transceiver 730 described in the embodiment of the present invention can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and the transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
[0142] Optionally, the upper obstacle detection device 700 may be an independent device or may be a part of a larger device.
[0143] In addition, an embodiment of the present invention provides a readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the method described in the above embodiment.
[0144] In addition, an embodiment of the present invention further provides a computer program product, which is used to execute the method described in the above embodiment when the computer program is executed by a computer.
[0145] In one possible design, the program in the eighth aspect may be stored in whole or in part on a storage medium packaged together with the processor, or may be stored in whole or in part on a memory not packaged together with the processor.
[0146] Also, the embodiment of the present invention provides an upper obstacle detection system, please refer to Figure 8 , the upper obstacle detection system 800 includes:
[0147] Upper obstacle detection device 700;
[0148] Radar 810 is used to send out a detection radar signal and receive the radar signal reflected by the target to be detected.
[0149] Among them, in one possible design, the radar is a millimeter wave radar.
[0150] In addition, the embodiment of the present invention further provides a vehicle, please refer to Fig. 9 , the vehicle 900 includes: an overhead obstacle detection system 800. The vehicle 900 may be an ordinary vehicle including an overhead obstacle detection system 800, or a vehicle equipped with an ADAS system, or an autonomous driving vehicle. In one possible implementation, the radar 810 in the vehicle 900 may be disposed at the front of the vehicle 900 or at the front portion of the vehicle so as to obtain environmental information in front of the vehicle; and the overhead obstacle detection device 700 may be disposed inside the vehicle, such as at a position close to a vehicle control device, which is not limited here. The communication between the radar 810 in the vehicle 900 and the overhead obstacle detection device 700 may be via a CAN bus, an Ethernet link, wireless communication, near field communication, etc., which is not limited here.
[0151] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.
[0152] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for detecting an upper obstacle, It is characterized in that include: Acquiring signal parameters of a radar signal reflected by a target to be detected during a target period of time during vehicle travel; According to the signal parameters, a relative position relationship between the target to be detected and the vehicle is acquired, wherein the relative position relationship includes: a first distance between the vehicle and the target to be detected; Determine whether the target to be detected is an obstacle above the vehicle according to the relative position relationship and the variation trend of the signal energy in the signal parameter within the target time period, wherein the signal energy is used to characterize the strength of the detection radar signal of any frame between when the radar transmits the detection radar signal and when the radar receives the detection radar signal, and the variation trend is characterized by the trend parameter between the first distance and the signal energy within the target time period; Wherein, obtaining the trend parameter between the first distance and the signal energy within the target time period includes: Obtaining a distance deviation value corresponding to each frame in the target time period, wherein the distance deviation value is a difference between a first distance corresponding to the frame and an average value of first distances in a plurality of consecutive frames in the target time period; Obtaining a signal energy deviation value corresponding to each frame within the target time period, wherein the signal energy deviation value is a difference between the signal energy corresponding to the frame and an average value of the signal energy in the continuous multiple frames; Acquire a first change parameter and a second change parameter, wherein the first change parameter is the sum of the products of the distance deviation value and the energy deviation value of each frame in the continuous multiple frames; and the second change parameter is the sum of the squares of the distance deviation value of each frame in the continuous multiple frames; A ratio between the first change parameter and the second change parameter is obtained as a trend parameter corresponding to the continuous multiple frames.
2. A method for detecting obstacles above the ground, It is characterized in that include: Acquiring signal parameters of a radar signal reflected by a target to be detected during a target period of time during vehicle travel; According to the signal parameters, a relative position relationship between the target to be detected and the vehicle is acquired, wherein the relative position relationship includes: a first distance between the vehicle and the target to be detected; Determine whether the target to be detected is an obstacle above the vehicle according to the relative position relationship and the variation trend of the signal energy in the signal parameter within the target time period, wherein the signal energy is used to characterize the intensity of the detection radar signal of any energy frame between the emission of the detection radar signal by the radar and the reception of the detection radar signal by the radar, and the variation trend is characterized by the trend parameter between the first distance and the signal energy within the target time period; Wherein, obtaining the trend parameter between the first distance and the signal energy within the target time period includes: Obtaining a distance deviation value corresponding to each frame except a start frame within the target time period, wherein the distance deviation value is a difference between a first distance corresponding to the frame and a first distance corresponding to the start frame; Obtaining a signal energy deviation value corresponding to each frame except a start frame within the target time period, wherein the signal energy deviation value is a difference between a signal energy corresponding to the frame and a signal energy corresponding to the start frame; In each frame except the start frame within the target time period, the ratio between the signal energy deviation value and the distance deviation value is obtained as the trend parameter corresponding to the frame.
3. The method according to claim 1 or 2, It is characterized in that The determining whether the target to be detected is an obstacle above the vehicle according to the relative position relationship and the change trend of the signal energy within the target time period includes: Within the target time period, obtaining a trend parameter between the first distance and the signal energy; According to the trend parameter and a preset trend threshold, it is determined whether the target to be detected is an obstacle above the vehicle, wherein the trend parameter is determined according to a change in the first distance and a change in the signal energy.
4. The method according to claim 1, It is characterized in that The determining, based on the trend parameter and a preset trend threshold, whether the target to be detected is an obstacle above the vehicle includes: If the trend parameter corresponding to the continuous multiple frames is less than the trend threshold, it is determined that the target to be detected is an obstacle above the vehicle.
5. The method according to claim 2, It is characterized in that The determining, based on the trend parameter and a preset trend threshold, whether the target to be detected is an obstacle above the vehicle includes: In any frame except the start frame within the target time period, if the trend parameter corresponding to the frame is less than the trend threshold, it is determined that the target to be detected is an obstacle above the vehicle.
6. The method according to claim 2, It is characterized in that The determining, based on the trend parameter and a preset trend threshold, whether the target to be detected is an obstacle above the vehicle includes: For any frame except the start frame within the target time period, if the trend parameter corresponding to the frame is less than the trend threshold, obtain the number of consecutive frames whose trend parameter is less than the trend threshold; If the number of consecutive frames is greater than or equal to a preset frame threshold, it is determined that the target to be detected is an obstacle above the vehicle, wherein the frame threshold is at least two frames.
7. The method according to claim 2, It is characterized in that The determining, based on the trend parameter and a preset trend threshold, whether the target to be detected is an obstacle above the vehicle includes: In the target time period, obtaining an average value of the trend parameter corresponding to each frame except the start frame; If the average value of the trend parameter is less than the trend threshold, it is determined that the target to be detected is an obstacle above the vehicle.
8. The method according to any one of claims 1 to 7, It is characterized in that The relative position relationship also includes a second distance, which is the distance between the target to be detected and the pointing line of the radar.
9. The method according to claim 8, It is characterized in that Before determining whether the target to be detected is an obstacle above the vehicle based on the relative position relationship and the change trend of the signal energy within the target time period, the method further includes: In each frame within the target time period, a first distance and a second distance are respectively acquired, wherein the first distance is a straight-line distance between the target to be detected and the vehicle; Determining whether the target to be detected is an upper obstacle to be determined according to the first distance and the second distance; If so, determine whether the target to be detected is an obstacle above the vehicle based on the relative position relationship and the change trend of the signal energy within the target time period.
10. The method according to claim 9, It is characterized in that The determining, based on the first distance and the second distance, whether the target to be detected is a candidate obstacle includes: If the first distance is greater than a first distance threshold and the second distance is less than a preset second distance threshold, it is determined that the target to be detected is the pending upper obstacle.
11. The method according to any one of claims 1 to 7, It is characterized in that The radar signal is a signal sent by the radar and received by the radar after being reflected by the target to be detected.
12. The method according to claim 11, It is characterized in that The end frame of the target period is the current frame, and the start frame of the target period is a frame in which the radar initially receives the reflected radar signal.
13. The method according to claim 11, It is characterized in that The end frame of the target period is the current frame, and the start frame of the target period is a frame in which the radar starts to track the reflected radar signal after initially sending out the radar signal.
14. The method according to claim 11, It is characterized in that The radar is a millimeter wave radar.
15. An overhead obstacle detection device, It is characterized in that include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 14.
16. The device according to claim 15, It is characterized in that Also includes: A transceiver is used to obtain signal parameters of the radar signal.
17. An overhead obstacle detection system, It is characterized in that include: The overhead obstacle detection device as claimed in claim 15 or 16; Radar is used to send out detection radar signals and receive radar signals reflected by the target to be detected.
18. The system according to claim 17, It is characterized in that The radar is a millimeter wave radar.
19. A car with two It is characterized in that include: An overhead obstacle detection system as claimed in claim 17 or 18.
20. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 14.
21. A computer program product, It is characterized in that The computer program product comprises a computer program, and when the computer program is executed by a computer, it is used to implement the method according to any one of claims 1 to 14.
