Road edge acquisition method, device and terminal equipment
By detecting the multipath reflection relationship between the multipath radar target and the real radar target, determining the multipath reflection point and obtaining the road edge, it solves the problem that the existing technology cannot obtain the road edge in rain, fog, dim and other scenarios, and realizes the The edge of the road is obtained.
Patent Information
- Application Number
- CN202110441514.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-23
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-04-23
AI Technical Summary
Existing road edge acquisition methods have limited application in weather scenes such as rain, fog, dimness, or open scenes, and cannot effectively acquire road edges.
By detecting the multipath reflection relationship between the multipath radar target and the real radar target, the multipath reflection points between the multipath radar target and the real radar target are determined, and these reflection points are used to obtain the road edge, including obtaining the multipath reflection in the radar frame. Points, fitted road edges, filtering and threshold judgment.
It can still effectively obtain road edges in weather scenes such as rain, fog, dimness, or open scenes, which broadens the application scenarios of road edge acquisition methods.
Smart Images

Figure CN113514825B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of radar measurement and control, and in particular relates to a method, device and terminal equipment for acquiring a road edge. Background Art
[0002] The road edge refers to the boundary position on both sides of the road, such as the walls on both sides of the tunnel, the guardrails on both sides of the urban road, etc. The road edge can be used to plan the vehicle's driving area and identify the vehicle's dangerous driving area.
[0003] However, the existing method of obtaining road edges has the problem of limited application scenarios. Summary of the invention
[0004] In view of this, the embodiments of the present invention provide a method, an apparatus and a terminal device for acquiring a road edge, which can broaden the application scenarios of the road edge acquisition method.
[0005] A first aspect of an embodiment of the present invention provides a method for obtaining a road edge, comprising:
[0006] When it is detected that a multipath radar target exists in the first radar frame corresponding to the target road, determining a real radar target corresponding to the multipath radar target in the first radar frame;
[0007] Determining a multipath reflection point between the multipath radar target and the real radar target in a first radar frame according to a multipath reflection relationship between the multipath radar target and the real radar target;
[0008] The road edge of the target road is acquired according to the multipath reflection points of the first radar frame.
[0009] In a possible implementation, determining a multipath reflection point between the multipath radar target and the real radar target in a first radar frame according to a multipath reflection relationship between the multipath radar target and the real radar target includes:
[0010] Acquire a first connection line between the radar corresponding to the first radar frame and the multipath radar target;
[0011] A multipath reflection point between the multipath radar target and the real radar target is determined in the first connection line; wherein a second connection line between the real radar target and the multipath reflection point is a multipath incident path of the multipath radar target.
[0012] In a possible implementation, the first connecting line is a connecting line between a position center of the radar and a cluster center of the multipath radar target;
[0013] The second connecting line is the connecting line between the cluster center of the real radar target and the multipath reflection point.
[0014] In a possible implementation, obtaining a road edge of a target road according to a multipath reflection point of a first radar frame includes:
[0015] Performing road edge fitting on the multipath reflection point of the first radar frame to obtain a first lateral distance value corresponding to the multipath reflection point of the first radar frame;
[0016] When the current lateral distance value of the road edge is a null value, determining the first lateral distance value as the lateral distance value of the road edge of the target road;
[0017] When the lateral distance value of the current road edge is a non-null value, when the difference between the first lateral distance value and the lateral distance value of the current road edge is less than a first preset threshold, the first lateral distance value and the lateral distance value of the current road edge are filtered, and the lateral distance value obtained by filtering is determined as the lateral distance value of the road edge of the target road.
[0018] In a possible implementation manner, after obtaining the road edge of the target road according to the multipath reflection point of the first radar frame, the method for obtaining the road edge further includes:
[0019] Obtaining the total number of all multipath reflection points in a first radar frame and a preset number of second radar frames; the second radar frame is a radar frame located before the first radar frame;
[0020] When the total number of multipath reflection points is greater than or equal to a second preset threshold, a lateral distance value of a road edge of the target road is output.
[0021] In a possible implementation, the method for obtaining the road edge further includes:
[0022] When the difference between the first lateral distance value and the current lateral distance value of the road edge is greater than or equal to a first preset threshold, the first lateral distance value is marked as an outlier.
[0023] In a possible implementation manner, after obtaining the road edge of the target road according to the multipath reflection point of the first radar frame, the method for obtaining the road edge further includes:
[0024] Obtaining the total number of all outliers in the first radar frame and a preset number of second radar frames;
[0025] When the total number of outliers is less than a third preset threshold, the lateral distance value of the road edge of the target road is output.
[0026] In a possible implementation manner, after obtaining the road edge of the target road according to the multipath reflection point of the first radar frame, the method for obtaining the road edge further includes:
[0027] Obtaining the variance of all lateral distance values of the first radar frame and a preset number of second radar frames;
[0028] When the variance is less than a fourth preset threshold, the lateral distance value of the road edge of the target road is output.
[0029] A second aspect of an embodiment of the present invention provides a device for obtaining a road edge, including:
[0030] a target determination module, configured to determine a real radar target corresponding to the multipath radar target in the first radar frame when a multipath radar target is detected in the first radar frame corresponding to the target road;
[0031] A reflection point determination module, used to determine a multipath reflection point between the multipath radar target and the real radar target in the first radar frame according to the multipath reflection relationship between the multipath radar target and the real radar target;
[0032] The acquisition module is used to acquire the road edge of the target road according to the multipath reflection points of the first radar frame.
[0033] In a possible implementation manner, the reflection point determination module is further used to:
[0034] Acquire a first connection line between the radar corresponding to the first radar frame and the multipath radar target;
[0035] A multipath reflection point between the multipath radar target and the real radar target is determined in the first connection line; wherein a second connection line between the real radar target and the multipath reflection point is a multipath incident path of the multipath radar target.
[0036] In a possible implementation, the first connecting line is a connecting line between a position center of the radar and a cluster center of a multipath radar target; and the second connecting line is a connecting line between a cluster center of a real radar target and a multipath reflection point.
[0037] In a possible implementation, the acquisition module is further used to:
[0038] Performing road edge fitting on the multipath reflection point of the first radar frame to obtain a first lateral distance value corresponding to the multipath reflection point of the first radar frame;
[0039] When the current lateral distance value of the road edge is a null value, determining the first lateral distance value as the lateral distance value of the road edge of the target road;
[0040] When the lateral distance value of the current road edge is a non-null value, when the difference between the first lateral distance value and the lateral distance value of the current road edge is less than a first preset threshold, the first lateral distance value and the lateral distance value of the current road edge are filtered, and the lateral distance value obtained by filtering is determined as the lateral distance value of the road edge of the target road.
[0041] In a possible implementation, the road edge acquisition device further includes an output module, which is used to:
[0042] Obtaining the total number of all multipath reflection points in a first radar frame and a preset number of second radar frames; the second radar frame is a radar frame located before the first radar frame;
[0043] When the total number of multipath reflection points is greater than or equal to a second preset threshold, a lateral distance value of a road edge of the target road is output.
[0044] In a possible implementation, the road edge acquisition device further includes a marking module, which is used to:
[0045] When the difference between the first lateral distance value and the current lateral distance value of the road edge is greater than or equal to a first preset threshold, the first lateral distance value is marked as an outlier.
[0046] In a possible implementation, the output module is further used to:
[0047] Obtaining the total number of all outliers in the first radar frame and a preset number of second radar frames;
[0048] When the total number of outliers is less than a third preset threshold, the lateral distance value of the road edge of the target road is output.
[0049] In a possible implementation, the output module is further used to:
[0050] Obtaining the variance of all lateral distance values of the first radar frame and a preset number of second radar frames;
[0051] When the variance is less than a fourth preset threshold, the lateral distance value of the road edge of the target road is output.
[0052] A third aspect of an embodiment of the present invention provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect when executing the computer program.
[0053] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0054] When a multipath radar target is detected in the first radar frame corresponding to the target road, the real radar target corresponding to the multipath radar target can be determined in the first radar frame. After that, the multipath reflection point between the multipath radar target and the real radar target can be determined in the first radar frame according to the multipath reflection relationship between the multipath radar target and the real radar target. Finally, the road edge of the target road can be obtained according to the multipath reflection point of the first radar frame. In this way, a method for obtaining the road edge using multipath is provided. The road edge can still be obtained in rainy, foggy and dark weather scenes or in open scenes, thereby greatly broadening the application scenarios of the road edge acquisition method. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative labor.
[0056] Figure 1 A flowchart of a method for obtaining a road edge provided by an embodiment of the present invention;
[0057] Figure 2 A schematic diagram of a line search provided by an embodiment of the present invention;
[0058] Figure 3 A schematic diagram of a road edge acquisition device provided by an embodiment of the present invention;
[0059] Figure 4 A schematic diagram of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0060] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0061] In order to illustrate the technical solution of the present invention, a specific embodiment is provided below for illustration.
[0062] In the related art, there are some methods for obtaining road edges, but these methods for obtaining road edges have the problem of limited application scenarios.
[0063] For example, visual sensors are used to detect lane lines and edge color changes in the road to obtain the edge of the road. However, in weather scenes that are not suitable for visual sensors, such as rain, fog, and darkness, visual sensors cannot perform edge detection.
[0064] For another example, the point cloud position distribution of targets on the road is detected by a radar sensor, and then the road edge is fitted to obtain the road edge. However, in open scenes, due to the small number of valid road targets, the existing road fitting method is unable to fit the road edge.
[0065] In order to solve the problems in the prior art, an embodiment of the present invention provides a method, an apparatus and a terminal device for obtaining a road edge. The following first introduces the method for obtaining a road edge provided by an embodiment of the present invention.
[0066] In order to facilitate understanding of the road edge acquisition method provided in the embodiment of the present invention, the technical terms involved are explained.
[0067] 1. Real radar target.
[0068] Electromagnetic waves are refracted and reflected many times in the natural environment and then received by terminal devices such as receivers. Through various signal processing and data processing methods, the information carried by the electromagnetic waves can be extracted and analyzed. From this information, the information sent by the transmitter or the distance, angle and other information of the environmental target can be obtained. In a relatively open environment, electromagnetic waves can be received by the radar receiver after being reflected by the space target. At this time, the receiving system can demodulate and calculate the target information normally. This target can be called a real radar target.
[0069] 2. Multipath radar target.
[0070] When the target is located in a complex space, such as indoors, in urban areas, or in tunnels, the receiving device will not only receive electromagnetic waves directly reflected by the target, but also receive echoes generated by multiple combined reflections from the target and surrounding complex reflecting surfaces, i.e., multipath waves. Due to multiple reflections of multipath signals, the radar will detect a false target at a location in space where no target exists. This false target can be called a multipath radar target corresponding to the real target.
[0071] Since multipath is usually used as a kind of negative impact information, after discovering the multipath radar target, it is usually suppressed or eliminated. However, after further research on multipath, the inventor proposed a method for obtaining the road edge using multipath.
[0072] Next, the execution subject of the road edge acquisition method provided by the embodiment of the present invention is introduced.
[0073] The executor of the road edge acquisition method may be a road edge acquisition device, which may be a terminal device having a processor and a memory, such as a microwave radar, a vehicle-mounted radar, a traffic radar, a security radar, etc., which is not specifically limited in the embodiment of the present invention.
[0074] like Figure 1 As shown, the method for obtaining the road edge provided by the embodiment of the present invention may include the following steps:
[0075] Step S110: When it is detected that a multipath radar target exists in the first radar frame corresponding to the target road, a real radar target corresponding to the multipath radar target is determined in the first radar frame.
[0076] In some embodiments, the radar frame corresponding to the target road may include a large number of points reflecting the distance, speed and other information of various targets on the target road, and the sum of these points may be called a point cloud. By clustering the points in the point cloud, the radar targets present in the radar frame may be obtained, including real radar targets and multipath radar targets. Afterwards, the real radar targets corresponding to the multipath radar targets in the radar frame may be identified by means of track analysis or the like.
[0077] In this way, when it is detected that a multipath radar target exists in the first radar frame corresponding to the target road, the real radar target corresponding to the multipath radar target can be determined.
[0078] Step S120: determining a multipath reflection point between the multipath radar target and the real radar target in the first radar frame according to the multipath reflection relationship between the multipath radar target and the real radar target.
[0079] Since the multipath radar target is formed by the electromagnetic waves reflected by the real radar target being reflected by other reflectors, such as walls, guardrails, vehicles, billboards, etc. on both sides of the road, the multipath reflection relationship between the multipath radar target and the real radar target can be determined by using the reflection law that the incident angle is equal to the exit angle. Then, according to the multipath reflection relationship between the multipath radar target and the real radar target, the multipath reflection point between the multipath radar target and the real radar target, i.e., the above-mentioned reflector, is determined in the first radar frame.
[0080] It should be noted that the above-mentioned reflectors can be considered as road edges, that is, areas where vehicles cannot currently travel. In addition, when there are many reflectors, that is, when more multipath reflection points can be obtained, the distances of these multipath reflection points from the radar can be used to obtain road edges that are closer to reality. For example, the distances of these multipath reflection points from the radar can be processed by filtering to obtain smooth road edge tracks.
[0081] In some embodiments, the connection line between the radar and the multipath radar target corresponding to the first radar frame, i.e., the first connection line, may be obtained first. Then, the multipath reflection point between the multipath radar target and the true radar target may be determined in the first connection line. The connection line between the multipath reflection point and the true radar target, i.e., the second connection line, is the multipath incident path of the multipath radar target.
[0082] Specifically, the above-mentioned first connection line may be the connection line between the position center of the radar and the clustering center of the multipath radar target. The above-mentioned second connection line may be the connection line between the clustering center of the true radar target and the multipath reflection point. An X-Y-O plane coordinate system with the position center of the radar as the origin may be constructed. Then, using the above-mentioned multipath reflection relationship, the first connection line and the second connection line may be searched in this plane coordinate system. Correspondingly, the intersection point of the first connection line and the second connection line is the multipath reflection point.
[0083] See Figure 2 , Figure 2 shows a schematic diagram of using a straight-line equation to search for the first connection line and the second connection line. In Figure 2 , the horizontal distance search range may be set according to the positions of the true radar target A and the multipath radar target B. If the horizontal distance of A is Rx1 and the horizontal distance of B is Rx2, the search range is (Rx1, Rx2). The search process is as follows:
[0084] In the i-th search, the set horizontal distance for search is Rxi, (Rx1 < Rxi < Rx2). At this time, a corresponding straight-line equation is y = Rxi; the intersection point of the first connection line OB and the straight-line equation is found as C, and points A and C are connected. It is determined whether AC and OC satisfy the condition of "the incident angle is equal to the reflection angle" with respect to this straight line, i.e., ∠1 = ∠2. If it is satisfied, then AC is considered the second connection line, i.e., the multipath incident path of the multipath radar target, and point C is the multipath reflection point. In this way, it is considered that the search result of the i-th search is valid.
[0085] In this way, the first connection line and the second connection line can be searched through the above method.
[0086] Step S130: Obtain the road edge of the target road according to the multipath reflection point of the first radar frame.
[0087] In some embodiments, when the multipath reflection point between the multipath radar target and the true radar target in the first radar frame is determined, the multipath reflection point may be used for road edge fitting to obtain the horizontal distance value of the road edge of the target road corresponding to the multipath reflection point, i.e., the first horizontal distance value. The first horizontal distance value may be the distance between the multipath reflection point and the radar.
[0088] Afterwards, when the current lateral distance value of the road edge is a null value, the first lateral distance value can be determined as the lateral distance value of the road edge of the target road. Correspondingly, when the current lateral distance value of the road edge is a non-null value, and when the difference between the first lateral distance value and the current lateral distance value of the road edge is less than a first preset threshold value, such as a commonly used empirical threshold value, the first lateral distance value and the current lateral distance value of the road edge can be filtered, and then the lateral distance value obtained by filtering can be determined as the lateral distance value of the road edge of the target road. In this way, the road edge corresponding to the first radar frame can be obtained.
[0089] Again Figure 2 As shown, in a plane coordinate system with the position center of the radar as the origin, the first lateral distance value may be the lateral coordinate of the multipath reflection point. In addition, the left road edge and the right road edge may be acquired at the same time. Specifically, when the coordinate of the first lateral distance value is positive, that is, the multipath reflection point is located on the right side of the radar, then the first lateral distance value is the lateral distance value of the right road edge of the target road. Correspondingly, when the coordinate of the first lateral distance value is negative, that is, the multipath reflection point is located on the left side of the radar, then the first lateral distance value is the lateral distance value of the left road edge of the target road.
[0090] It is easy to understand that, since the radar is usually installed in a vehicle, the lateral distance value can be considered as the distance between the multipath reflection point and the vehicle.
[0091] In some embodiments, the first lateral distance value and the lateral distance value of the current road edge may be filtered by using a mean filter. Specifically, filtering may be performed using RxEdge'=(RxEdge+Rx2) / 2, where RxEdge' is the lateral distance value obtained by filtering, RxEdge is the lateral distance value of the current road edge, and Rx2 is the first lateral distance value.
[0092] It is worth mentioning that since the radar can continuously generate radar frames, multipath reflection points can be continuously obtained. In this way, the information of the continuously obtained multipath reflection points can be used to draw road edges of larger lengths and longer times.
[0093] Through the processing of the above embodiments, a method for obtaining road edges using multipath is provided. The road edges can still be obtained in rainy, foggy, dark weather scenes or open scenes, thereby greatly broadening the application scenarios of the road edge acquisition method.
[0094] It should be noted that the application scenarios of the road edge acquisition method provided by the embodiment of the present invention are not limited to weather scenes such as rainy, foggy and dark or open scenes, but are also applicable to other scenes, which are not specifically limited here.
[0095] Optionally, when the road edge acquisition method provided by the embodiment of the present invention is applied simultaneously with other types of road edge acquisition methods, when the following conditions are met, the road edge acquisition method provided by the embodiment of the present invention can be adopted, and the corresponding processing can be as follows: the total number of multipath reflection points of the first radar frame and a preset number of second radar frames is obtained; wherein the second radar frame is a radar frame located before the first radar frame. Afterwards, when the total number of multipath reflection points is greater than or equal to the second preset threshold, the lateral distance value of the road edge of the target road can be output.
[0096] In some embodiments, the second preset threshold can be set as the lower limit of the number of points MinEdgeNum. When the total number of multipath reflection points exceeds MinEdgeNum, the confidence level can be considered high. At this time, the lateral distance value of the road edge of the target road can be output, that is, the road edge acquisition method provided by the embodiment of the present invention is adopted to effectively improve the accuracy of the acquired road edge.
[0097] Optionally, when the following conditions are met, the road edge acquisition method provided by the embodiment of the present invention may also be used, and the corresponding processing may be as follows: the total number of all wild values of the first radar frame and the preset number of second radar frames is obtained. When the total number of wild values is less than the third preset threshold, it can be considered that the confidence is high. At this time, the lateral distance value of the road edge of the target road can be output, that is, the road edge acquisition method provided by the embodiment of the present invention is used to effectively improve the accuracy of the acquired road edge.
[0098] In some embodiments, when the difference between the first lateral distance value and the current lateral distance value of the road edge is greater than or equal to a first preset threshold, the first lateral distance value may be marked as an outlier. In this way, the total number of all outliers in the first radar frame and a preset number of second radar frames may be quickly obtained based on the pre-marked outliers.
[0099] Optionally, when the following conditions are met, the road edge acquisition method provided by the embodiment of the present invention may also be used, and the corresponding processing may be as follows: obtain the variance of all lateral distance values of the first radar frame and a preset number of second radar frames. When the variance is less than a fourth preset threshold, it can be considered that the confidence is high. At this time, the lateral distance value of the road edge of the target road can be output, that is, the road edge acquisition method provided by the embodiment of the present invention is used to effectively improve the accuracy of the acquired road edge.
[0100] In an embodiment of the present invention, when a multipath radar target is detected in the first radar frame corresponding to the target road, the real radar target corresponding to the multipath radar target can be determined in the first radar frame. Afterwards, the multipath reflection point between the multipath radar target and the real radar target can be determined in the first radar frame according to the multipath reflection relationship between the multipath radar target and the real radar target. Finally, the road edge of the target road can be obtained according to the multipath reflection point of the first radar frame. In this way, a method for obtaining the road edge using multipath is provided, and the road edge can still be obtained in rainy, foggy and dark weather scenes or in open scenes, thereby greatly broadening the application scenarios of the road edge acquisition method.
[0101] Based on the road edge acquisition method provided in the above embodiment, the present invention also provides a specific implementation of a road edge acquisition device applied to the road edge acquisition method. Please refer to the following embodiment.
[0102] like Figure 3 As shown, a road edge acquisition device 300 is provided, the device comprising:
[0103] A target determination module 310 is used to determine a real radar target corresponding to the multipath radar target in the first radar frame when a multipath radar target is detected in the first radar frame corresponding to the target road;
[0104] A reflection point determination module 320, configured to determine a multipath reflection point between the multipath radar target and the real radar target in the first radar frame according to a multipath reflection relationship between the multipath radar target and the real radar target;
[0105] The acquisition module 330 is used to acquire the road edge of the target road according to the multipath reflection points of the first radar frame.
[0106] In a possible implementation manner, the reflection point determination module is further used to:
[0107] Acquire a first connection line between the radar corresponding to the first radar frame and the multipath radar target;
[0108] A multipath reflection point between the multipath radar target and the real radar target is determined in the first connection line; wherein a second connection line between the real radar target and the multipath reflection point is a multipath incident path of the multipath radar target.
[0109] In a possible implementation, the first connecting line is a connecting line between a position center of the radar and a cluster center of a multipath radar target; and the second connecting line is a connecting line between a cluster center of a real radar target and a multipath reflection point.
[0110] In a possible implementation, the acquisition module is further used to:
[0111] Performing road edge fitting on the multipath reflection point of the first radar frame to obtain a first lateral distance value corresponding to the multipath reflection point of the first radar frame;
[0112] When the current lateral distance value of the road edge is a null value, determining the first lateral distance value as the lateral distance value of the road edge of the target road;
[0113] When the lateral distance value of the current road edge is a non-null value, when the difference between the first lateral distance value and the lateral distance value of the current road edge is less than a first preset threshold, the first lateral distance value and the lateral distance value of the current road edge are filtered, and the lateral distance value obtained by filtering is determined as the lateral distance value of the road edge of the target road.
[0114] In a possible implementation, the road edge acquisition device further includes an output module, which is used to:
[0115] Obtaining the total number of all multipath reflection points in a first radar frame and a preset number of second radar frames; the second radar frame is a radar frame located before the first radar frame;
[0116] When the total number of multipath reflection points is greater than or equal to a second preset threshold, a lateral distance value of a road edge of the target road is output.
[0117] In a possible implementation, the road edge acquisition device further includes a marking module, which is used to:
[0118] When the difference between the first lateral distance value and the current lateral distance value of the road edge is greater than or equal to a first preset threshold, the first lateral distance value is marked as an outlier.
[0119] In a possible implementation, the output module is further used to:
[0120] Obtaining the total number of all outliers in the first radar frame and a preset number of second radar frames;
[0121] When the total number of outliers is less than a third preset threshold, the lateral distance value of the road edge of the target road is output.
[0122] In a possible implementation, the output module is further used to:
[0123] Obtaining the variance of all lateral distance values of the first radar frame and a preset number of second radar frames;
[0124] When the variance is less than a fourth preset threshold, the lateral distance value of the road edge of the target road is output.
[0125] In an embodiment of the present invention, when a multipath radar target is detected in the first radar frame corresponding to the target road, the real radar target corresponding to the multipath radar target can be determined in the first radar frame. Afterwards, the multipath reflection point between the multipath radar target and the real radar target can be determined in the first radar frame according to the multipath reflection relationship between the multipath radar target and the real radar target. Finally, the road edge of the target road can be obtained according to the multipath reflection point of the first radar frame. In this way, a method for obtaining the road edge using multipath is provided, and the road edge can still be obtained in rainy, foggy and dark weather scenes or in open scenes, thereby greatly broadening the application scenarios of the road edge acquisition method.
[0126] Figure 4 Schematic diagram of a terminal device provided by an embodiment of the present invention. Figure 4 As shown, the terminal device 4 of this embodiment includes: a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer program 42, the steps in the above-mentioned road edge acquisition method embodiments are implemented. Alternatively, when the processor 40 executes the computer program 42, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0127] Exemplarily, the computer program 42 may be divided into one or more modules / units, which are stored in the memory 41 and executed by the processor 40 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 42 in the terminal device 4. For example, the computer program 42 may be divided into a target cutoff module, a reflection point determination module, and an acquisition module, and the specific functions of each module are as follows:
[0128] a target determination module, configured to, when detecting that a multipath radar target exists in a first radar frame corresponding to a target road, determine a real radar target corresponding to the multipath radar target in the first radar frame;
[0129] a reflection point determination module, configured to determine, in the first radar frame, a multipath reflection point between the multipath radar target and the real radar target according to a multipath reflection relationship between the multipath radar target and the real radar target;
[0130] An acquisition module is used to acquire a road edge of the target road according to the multipath reflection points of the first radar frame.
[0131] The terminal device 4 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will appreciate that Figure 4 It is only an example of the terminal device 4 and does not constitute a limitation on the terminal device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.
[0132] The processor 40 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0133] The memory 41 may be an internal storage unit of the terminal device 4, such as a hard disk or memory of the terminal device 4. The memory 41 may also be an external storage device of the terminal device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal device 4. The memory 41 is used to store the computer program and other programs and data required by the terminal device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
[0134] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0135] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0136] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0137] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0138] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0139] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0140] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0141] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for obtaining a road edge, characterized in that: include: When a multipath radar target is detected in a first radar frame corresponding to the target road, determining a real radar target corresponding to the multipath radar target in the first radar frame; Determining a multipath reflection point between the multipath radar target and the real radar target in the first radar frame according to a multipath reflection relationship between the multipath radar target and the real radar target; Acquire a road edge of the target road according to the multipath reflection points of the first radar frame; Wherein, determining the multipath reflection point between the multipath radar target and the real radar target in the first radar frame according to the multipath reflection relationship between the multipath radar target and the real radar target includes: Acquire a first connection line between the radar corresponding to the first radar frame and the multipath radar target; Determining a multipath reflection point between the multipath radar target and the real radar target in the first connecting line; wherein a second connecting line between the real radar target and the multipath reflection point is a multipath incident path of the multipath radar target; Determining a multipath reflection point between the multipath radar target and the real radar target in the first link includes: Determine the lateral distance search range according to the positions of the real radar target and the multipath radar target; Determining straight line equations corresponding to different lateral search distances within the lateral distance search range; For each straight line equation, determine the intersection point and the angle between the straight line equation and the first line, determine the line between the intersection point and the real radar target, and when the angle between the line and the straight line equation is equal to the angle between the straight line equation and the first line, determine the line as the second line; the intersection point between the first line and the second line is the multipath reflection point.
2. The method for obtaining the road edge according to claim 1, characterized in that: The first connecting line is a connecting line between the position center of the radar and the cluster center of the multipath radar target; The second connecting line is a connecting line between the cluster center of the real radar target and the multipath reflection point.
3. The method for obtaining the road edge according to claim 1, characterized in that: The acquiring the road edge of the target road according to the multipath reflection points of the first radar frame includes: Performing road edge fitting on the multipath reflection points of the first radar frame to obtain a first lateral distance value corresponding to the multipath reflection points of the first radar frame; When the current lateral distance value of the road edge is a null value, determining the first lateral distance value as the lateral distance value of the road edge of the target road; When the lateral distance value of the current road edge is a non-null value, when the difference between the first lateral distance value and the lateral distance value of the current road edge is less than a first preset threshold, the first lateral distance value and the lateral distance value of the current road edge are filtered, and the lateral distance value obtained by filtering is determined as the lateral distance value of the road edge of the target road.
4. The method for obtaining the road edge according to claim 3, characterized in that: After acquiring the road edge of the target road according to the multipath reflection points of the first radar frame, the method further includes: Acquire the total number of all multipath reflection points of the first radar frame and the preset number of second radar frames; the second radar frame is a radar frame located before the first radar frame; When the total number of the multipath reflection points is greater than or equal to a second preset threshold, a lateral distance value of the road edge of the target road is output.
5. The method for obtaining the road edge according to claim 3, characterized in that: The method further comprises: When the difference between the first lateral distance value and the current lateral distance value of the road edge is greater than or equal to the first preset threshold, the first lateral distance value is marked as an outlier.
6. The method for obtaining the road edge according to claim 5, characterized in that: After acquiring the road edge of the target road according to the multipath reflection points of the first radar frame, the method further includes: Obtaining a total number of all outliers in the first radar frame and the preset number of second radar frames; When the total number of the outliers is less than a third preset threshold, the lateral distance value of the road edge of the target road is output.
7. The method for obtaining the road edge according to claim 3, characterized in that: After acquiring the road edge of the target road according to the multipath reflection points of the first radar frame, the method further includes: Obtaining a variance of all lateral distance values of the first radar frame and the preset number of second radar frames; When the variance is less than a fourth preset threshold, a lateral distance value of the road edge of the target road is output.
8. A device for obtaining a road edge, characterized in that: include: a target determination module, configured to, when detecting that a multipath radar target exists in a first radar frame corresponding to a target road, determine a real radar target corresponding to the multipath radar target in the first radar frame; a reflection point determination module, configured to determine, in the first radar frame, a multipath reflection point between the multipath radar target and the real radar target according to a multipath reflection relationship between the multipath radar target and the real radar target; An acquisition module, configured to acquire a road edge of the target road according to the multipath reflection points of the first radar frame; The reflection point determination module is specifically used for: Acquire a first connection line between the radar corresponding to the first radar frame and the multipath radar target; Determining a multipath reflection point between the multipath radar target and the real radar target in the first connecting line; wherein a second connecting line between the real radar target and the multipath reflection point is a multipath incident path of the multipath radar target; Determining a multipath reflection point between the multipath radar target and the real radar target in the first link includes: Determine the lateral search range based on the positions of real radar targets and multipath radar targets; Determining straight line equations corresponding to different lateral search distances within the lateral search range; For each straight line equation, determine the intersection point and the angle between the straight line equation and the first line, determine the line between the intersection point and the real radar target, and when the angle between the line and the straight line equation is equal to the angle between the straight line equation and the first line, determine the line as the second line; the intersection point between the first line and the second line is the multipath reflection point.
9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
