Method and device for determining an initial position of a vehicle
Determining the initial position of the autonomous vehicle by generating and matching the relevant values of the grid map solves the problem of inaccurate recognition caused by GPS errors, improves the recognition accuracy and processing speed, and ensures the stability of the autonomous driving service.
Patent Information
- Application Number
- CN202311697924.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2023-12-11
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, GPS errors in autonomous vehicles lead to inaccurate initial position recognition, and when the error range is large, the calculation burden is high, which reduces the processing speed and makes it difficult to provide stable autonomous driving services.
By receiving map information related to the GNSS initial position, the first grid map and the second grid map are generated, and the initial position of the vehicle is determined by matching the correlation values of the grid map, and the processor is used to control the rotation of the grid map to match the correlation peaks. and matching length to ensure the accuracy of the initial position.
It improves the accuracy and processing speed of the initial position recognition of autonomous vehicles, reduces the computational burden, and ensures stability and efficiency in autonomous driving services.
Smart Images

Figure CN118732005A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method and a device for determining an initial position of a vehicle. Background Art
[0002] Autonomous vehicles generally refer to vehicles that drive themselves to their destinations without driver input by recognizing the driving environment. In order to use such autonomous vehicles in urban areas, it is very important to accurately recognize the driving environment. To this end, driving environment recognition technology that integrates the global positioning system (GPS), map information, and various sensors can be considered.
[0003] In order to identify the exact location of a moving vehicle for autonomous driving, information between a precise map and sensors installed on the vehicle may be matched to estimate the location of the moving vehicle, thereby identifying the location of the moving vehicle. Summary of the invention
[0004] The following summary presents a brief summary of certain features. The summary is not an extensive overview and is not intended to identify key or critical elements.
[0005] The present invention relates to a method and device for determining an initial position of a vehicle. According to the present invention, a method may include: receiving map information related to a global navigation satellite system (GNSS) initial position by a processor; generating a first grid map based on the map information related to the GNSS initial position; generating a second grid map based on sensing information from a sensor; determining whether to set the initial position of the vehicle based on matching of the first grid map and the second grid map; and controlling a driving operation of the vehicle based on the initial position of the vehicle.
[0006] Generating a first grid map may include: setting a heading angle search angle range for the vehicle in map information; detecting lanes within the heading angle search angle range; determining heading angle information related to the detected lanes based on the detected lanes; and generating a heading angle candidate group for the vehicle based on the heading angle information of the detected lanes.
[0007] The heading angle candidate group of the vehicle may include at least one heading angle candidate of the vehicle; within the heading angle search angle range, the at least one heading angle candidate of the vehicle is generated in units of a first angle.
[0008] Generating the first grid map may include: setting a heading angle search angle range of the vehicle in map information; and maintaining a previous state of the lane based on not detecting the lane within the heading angle search angle range.
[0009] The vehicle's heading angle candidate group may include at least one heading angle candidate of the vehicle; within a range of a heading angle rotation angle of the vehicle set based on a GNSS initial position, the at least one heading angle candidate of the vehicle is generated in units of a second angle.
[0010] The method may further include: matching the second grid map with the first grid map by rotating the first grid map at a predetermined angle until a preset angle range, determining a correlation value between the second grid map and the first grid map for each rotation, and determining a rotation of the first grid map having a correlation peak.
[0011] Determining whether to set the initial position of the vehicle based on the matching of the first grid map and the second grid map may include: setting the initial position of the vehicle based on the correlation peak being greater than or equal to a threshold correlation peak.
[0012] Determining whether to set the initial position of the vehicle based on the matching of the first grid map and the second grid map may include: setting the initial position of the vehicle when the length of the match between the first grid map and the second grid map calculated based on the set initial position of the vehicle is greater than or equal to a preset reference length.
[0013] Determining whether to set the initial position of the vehicle based on the matching of the first grid map and the second grid map may include: setting the initial position of the vehicle twice, wherein: determining the first position of the vehicle based on the first of the two times of setting the initial position of the vehicle; determining the second position of the vehicle based on the second of the two times of setting the initial position of the vehicle; determining the similarity probability between the first position of the vehicle and the second position of the vehicle; and completing the determination of the initial position of the vehicle based on the determined similarity probability being greater than or equal to a predetermined value.
[0014] Generating the second grid map may include: under the control of the processor, accumulating the sensing information at least once, and generating the second grid map based on the accumulated sensing information.
[0015] According to the present invention, a non-volatile computer-readable recording medium stores instructions which, when executed, can cause the method to be performed.
[0016] According to the present invention, a device may include: a processor; and a memory storing instructions, which, when executed by the processor, cause the device to: receive map information related to an initial position of a global navigation satellite system (GNSS); generate a first grid map based on the map information related to the initial position of the GNSS; generate a second grid map based on sensing information from a sensor; determine whether to set an initial position of a vehicle based on a match between the first grid map and the second grid map; and control the driving operation of the vehicle based on the initial position of the vehicle.
[0017] When executed by a processor, the instructions may further cause the device to: set a heading angle search angle range for the vehicle in map information; detect lanes within the heading angle search angle range; determine heading angle information associated with the detected lanes based on the detected lanes; and generate a heading angle candidate group for the vehicle based on the heading angle information.
[0018] The heading angle candidate group of the vehicle may include at least one heading angle candidate of the vehicle; within the heading angle search angle range, the at least one heading angle candidate of the vehicle is generated in units of a first angle.
[0019] When executed by the processor, the instructions may further cause the device to: set a heading angle search angle range of the vehicle in the map information; and maintain a previous state of the lane based on not detecting a lane within the heading angle search angle range.
[0020] The vehicle's heading angle candidate group may include at least one heading angle candidate of the vehicle; within a range of a heading angle rotation angle of the vehicle set based on a GNSS initial position, the at least one heading angle candidate of the vehicle is generated in units of a second angle.
[0021] When executed by a processor, the instructions may further cause the device to: match the second grid map with the first grid map by rotating the first grid map at a predetermined angle until a preset angle range, determine a correlation value between the second grid map and the first grid map for each rotation, determine a rotation of the first grid map having a correlation peak, and set an initial position of the vehicle based on the correlation peak being greater than or equal to a threshold correlation peak.
[0022] When executed by a processor, the instructions may further cause the device to: set the initial position of the vehicle when a matching length between a first grid map and a second grid map calculated based on the set initial position of the vehicle is equal to or greater than a preset reference length.
[0023] When executed by a processor, the instructions may further cause the device to: set the initial position of the vehicle twice, wherein: based on the first of the two times the initial position of the vehicle is set, determine the first position of the vehicle; based on the second of the two times the initial position of the vehicle is set, determine the second position of the vehicle; determine the similarity probability between the first position of the vehicle and the second position of the vehicle; and complete the determination of the initial position of the vehicle based on the determined similarity probability being greater than or equal to a predetermined value.
[0024] When executed by the processor, the instructions may further cause the apparatus to: accumulate the sensing information at least once, and generate a second grid map based on the accumulated sensing information.
[0025] These and other features and advantages are described in more detail below. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings, which are included to provide a further understanding of the present invention, are incorporated into and constitute a part of this application, and illustrate examples of the present invention and together with the description serve to explain the principle of the present invention. In the drawings:
[0027] Figure 1 An example of a method of determining an initial position according to an example of the present invention is shown;
[0028] Figure 2 An example of an apparatus for determining an initial position of a vehicle according to an example of the present invention is shown;
[0029] Figure 3 An example of a method of determining an initial position of a vehicle according to an example of the present invention is shown;
[0030] Figure 4 An example of a method for extracting a heading search area according to an example of the present invention is shown;
[0031] Figure 5A , Figure 5B , Figure 5C and Figure 5D An example of a method of matching a grid graph according to an example of the present invention is shown;
[0032] Fig. 6A , Figure 6B , Figure 6C and Fig.6D An example of a method of matching a grid graph according to another example of the present invention is shown; and
[0033] Fig. 7A and Figure 7B An example of a matched grid graph according to an example of the present invention is shown. DETAILED DESCRIPTION
[0034] Hereinafter, examples of the present invention will be described in detail with reference to the accompanying drawings, and the same reference numerals will be given to the same or like elements regardless of the reference numerals, and redundant descriptions thereof will be omitted.
[0035] The term "unit" of the element used in the following description is allocated and used interchangeably for convenience of description, so no physical division or separation is introduced. For example, "oo unit" and "xx unit" can be elements that perform different functions. However, in the example, its functions can be performed in parallel or sequentially in time in the same microprocessor without physical separation or division, which is not excluded by the term "unit". In addition, the description is also applicable to the term "module".
[0036] Furthermore, when describing an example disclosed in this specification, when it is determined that a detailed description of a related well-known technology may obscure the gist of the example disclosed in this specification, the detailed description thereof will be omitted.
[0037] In addition, the attached drawings are only used to facilitate the understanding of the examples disclosed in this specification. The technical ideas disclosed in this specification are not limited to the attached drawings. It should be understood that all modifications, equivalent forms and alternative forms included in the spirit and scope of the present invention are covered.
[0038] Although terms including ordinal numbers such as "first", "second", etc. may be used herein to describe various elements, these elements are not limited by these terms. These terms are generally used only to distinguish one element from another. In particular, they should not be interpreted as establishing an order among elements based solely on the element names.
[0039] In addition, unless otherwise specified in the specification, the standard of "upper / upper" or "lower / lower" is naturally determined according to the properties of the individual elements or therebetween, or is in principle for convenience, and is only used to indicate the relative position relationship between elements based on the appearance shown in the figure, and should not be interpreted as limiting the position of the actual elements.
[0040] For example, unless otherwise specified, "B is located on A" only means that B is shown as being located on A in the figure, or that B needs to be located on A due to the nature of A or B. In actual products, B may be located below A, or B and A may be placed side by side.
[0041] The term "and / or" is used to include any combination of multiple items as subject names. For example, "A and / or B" includes all three cases such as "A", "B" and "A and B".
[0042] When an element is referred to as being "engaged" or "connected" to another element, the element may be directly engaged or connected to the other element. However, it should be understood that another element may be present in between. Conversely, when an element is referred to as being "directly engaged" or "directly connected" to another element, it should be understood that there are no other elements in between.
[0043] Unless the context clearly dictates otherwise, a singular expression includes a plural form.
[0044] In this specification, it should be understood that terms such as “including” or “having” are intended to indicate the presence of the features, values, steps, operations, elements, parts, or a combination thereof described in the specification, and do not exclude the possibility of adding or existing one or more other features, values, steps, operations, elements, parts, or a combination thereof.
[0045] Unless otherwise defined, all terms (including technical or scientific terms) used in this document have the same meaning as those commonly understood by ordinary technicians in the field to which the present invention belongs. Terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with the meaning in the context of the relevant technology, and unless clearly defined in this application, these terms should not be interpreted as idealized or overly formal meanings.
[0046] In addition, the term "unit" or "control unit" is only a widely used term for naming a controller that outputs a control value or instruction of a specific function to another element, and does not mean a general functional unit. For example, each unit or control unit may include an input / output device, a memory, and one or more processors, wherein the input / output device is used to exchange signals with another controller or sensor to control the function assigned to it; the memory stores an operating system, logic commands, input / output information, etc.; and the one or more processors perform determinations, calculations, decisions, etc. required to control the function assigned to it.
[0047] Hereinafter, the working principle and examples of the present invention will be described with reference to the accompanying drawings.
[0048] Figure 1 An example of a method of determining an initial position according to an example of the present invention is shown.
[0049] refer to Figure 1 In the method of determining the initial position, object information around the vehicle may be received from a sensor, lane and boundary area information may be received from an accurate map providing device, and latitude and longitude information may be received from a GPS. In this way, the initial position of the vehicle may be selected, and the position of the vehicle may be determined based on the selected initial position. Here, the sensor may be referred to as a LiDAR sensor.
[0050] As described above, the position can be determined by LiDAR-map matching based on GPS, sensors and accurate map providing devices, with the GPS position as the reference. In the process of LiDAR line-map line matching, if the GPS error is relatively large, an incorrect match may occur.
[0051] For example, if the service is started at a location where an initial position is set, there may be significant limitations in providing the autonomous driving service, and if a system error occurs in the middle of the autonomous driving service, it may be difficult to restart the service.
[0052] Furthermore, if the initial position determination range is relatively wide due to GPS errors, the relatively large amount of data and real number calculations may generate a large computational burden (eg, power and time) and may reduce processing speed.
[0053] Figure 2 An example of an apparatus for determining an initial position of a vehicle according to an example of the present invention is shown.
[0054] refer to Figure 2 The apparatus 100 for determining an initial position of a vehicle may include a GNSS 110 , a sensor 130 , a map providing device 150 , and a processor 170 .
[0055] The GNSS 110 includes a GNSS receiver configured to receive navigation information (navigation message) broadcast from a satellite and receive the current position, latitude, longitude, etc. of the vehicle 10 using the navigation information (GNSS information, GNSS signal, and satellite signal).
[0056] The sensor 130 may measure the lane by recognizing the lane from a sensor or a camera provided in the vehicle 10. The sensor or camera provided in the vehicle 10 may be installed in the vehicle 10 to obtain surrounding images (front image, rear image, side image, etc.) of the vehicle 10. For example, the camera may include a single camera, a stereo camera, an omnidirectional camera, a monocular camera, etc.
[0057] The sensor 130 detects information about objects located around the vehicle 10 and may include a radio detection and ranging (RADAR), a light detection and ranging (LiDAR), an ultrasonic sensor, an infrared sensor, and the like.
[0058] According to the detection of the objects existing around the vehicle, the object information may include the speed of the object, the position of the object, the size information of the object, and the distance information between the vehicle and the object.
[0059] The map providing device 150 provides a map stored in the vehicle 10 , and the map may include lane information, position information obtained by measuring surrounding buildings, landmarks, and the like.
[0060] The map providing device 150 may receive a map through an external server, etc. For example, the map may include a precise map, a lattice map, an entire map, a local map, etc.
[0061] The processor 170 may control the GNSS 110, the sensor 130, and the map providing device 150. The present invention is not limited thereto, and the driving of the vehicle 10 or a plurality of components built in the vehicle 10 may be controlled individually or in combination.
[0062] For example, the processor 170 may receive a GNSS initial position from the GNSS 110 to call map information related to the GNSS initial position, generate a first grid map based on the map information, and receive sensing information from the sensor to generate a second grid map based on the sensing information.
[0063] The first grid map may be referred to as a map grid map or a global grid map. The first grid map may be generated based on map information under the control of the processor 170, and may be generated by applying a heading search range (which will be described later).
[0064] The second grid map may be referred to as a sensor grid map or a local grid map. The second grid map may accumulate sensing information at least once under the control of the processor 170, and may be generated based on the accumulated sensing information. For example, the second grid map may be generated after accumulating LiDAR sensor information in the sensor 130 under the control of the processor 170. In this way, the processor 170 generates the second grid map based on the accumulated sensor information, so that the LiDAR sensor information that is temporarily blocked by a nearby vehicle or a nearby obstacle and cannot be obtained can be easily ensured.
[0065] The first grid map or the second grid map can be formed in a predetermined size. At this time, a grid can be formed in a size of approximately 0.5 meters (m) or more and 1.5 meters (m) or less. For example, if the grid size is less than 0.5 meters (m), a large amount of data may be required to form the first grid map or the second grid map, and if the grid size is more than 1.5 meters (m), the map accuracy will be reduced. In view of this, preferably, a grid can be formed in a size of approximately 1 meter (m). The present invention is not limited to this, and the grid size representing a unit can be changed to a slightly different size in consideration of map information, precise map information, regional map information, sensor information, etc.
[0066] The processor 170 may match the first grid map and the second grid map to detect a correlation peak about the initial position of the vehicle. In response to the detected correlation peak, the processor 170 may determine whether to set the initial position of the vehicle. This will be described in detail later.
[0067] Figure 3 An example of a method of determining an initial position of a vehicle according to an example of the present invention is shown. Figure 4 An example of a method of extracting a heading angle search area according to an example of the present invention is shown. FIG. 5A to FIG. 5D as well as FIG. 6A to FIG. 6D2 are schematic diagrams respectively describing methods of matching grid graphs according to examples of the present invention.
[0068] refer to Figure 3 , a method for determining an initial position of a vehicle according to an example of the present invention is as follows.
[0069] The apparatus 100 for determining the initial position of the vehicle may receive the initial position of the GNSS 110 from the GNSS 110 under the control of the processor 170. Here, the error range of the initial position of the GNSS 110 may be set to be greater than negative (-) 15 meters (m) and less than positive (+) 15 meters (m). That is, the error range of the GNSS initial position may be set to be greater than negative (-) 15 meters (m) and less than positive (+) 15 meters (m).
[0070] The processor 170 may call map information related to the initial position of the GNSS 110 from the map providing device 150 (step S11 ).
[0071] The processor 170 may set or calculate a heading search range according to the called map information (step S12). The heading search range may be referred to as a heading search area.
[0072] refer to Figure 4 , the processor 170 may check or detect whether there is a lane (lane link) of the accurate map within the heading angle search range (step S121). That is, the processor 170 may set the error range of the GNSS initial position as the heading angle search range, and check or detect the lane (lane link) of the accurate map within the heading angle search range.
[0073] If a lane (lane link) of the precise map is checked or detected within the heading angle search range, the processor 170 may extract heading angle information of the detected lane (lane link) from the precise map (step S122).
[0074] If the heading angle information of the lane is extracted, the processor 170 may generate a heading angle candidate group of the vehicle based on the extracted heading angle information of the lane (step S123 ).
[0075] The heading angle candidate group of the vehicle may include at least one heading angle candidate of the vehicle. Here, the heading angle candidate of the vehicle may be generated in units of a first angle within a heading angle search range of the lane set based on the heading angle information of the lane under the control of the processor 170. At this time, assuming that the vehicle is parked and stopped almost parallel to the lane, ±20 degrees based on the lane may be set as the heading angle search range.
[0076] That is, the heading angle search range may be set to be greater than negative (-) 20 degrees and less than positive (+) 20 degrees. The unit of the first angle may be set to a unit of approximately 2 degrees.
[0077] For example, the processor 170 may generate a heading angle candidate of the vehicle when rotating in units of 2 degrees within a heading angle search range of a lane set to approximately above negative (-) 20 degrees and below positive (+) 20 degrees based on the lane heading angle information.
[0078] Therefore, when rotating in units of the first angle within the heading angle search range of the lane, the processor 170 may generate heading angle candidates for up to 20 vehicles.
[0079] On the other hand, if no lane is detected within the heading angle search range, the processor 170 may maintain the lane (step S124).
[0080] The vehicle's heading angle candidate group may include at least one heading angle candidate for the vehicle. Figure 5A As shown, under the control of the processor 170, the vehicle's heading angle candidates may be generated in units of a second angle within a range of the vehicle's heading angle rotation angle set based on the GNSS initial position.
[0081] For example, at a road section such as an intersection, the range of the heading rotation angle of the vehicle may be set to be above 0 degrees and below positive (+) 360 degrees. The unit of the second angle may be set to a unit of approximately 2 degrees.
[0082] Therefore, the processor 170 may generate up to 180 heading angle candidates of the vehicle when rotating in units of the second angle within the heading angle rotation angle range of the vehicle.
[0083] Thereafter, the processor 170 may generate a global grid map using the set heading angle search range for the vehicle, the heading angle candidate group of the vehicle generated based on the heading angle search range, etc. (step S13). The global grid map may be referred to as a first grid map.
[0084] In addition, the processor 170 may generate a local grid map based on the sensing information provided by the sensor 130 (step S14). Figure 5B As shown, the LiDAR sensor information may be accumulated at least once under the control of the processor 170, and a local grid map may be generated based on the accumulated LiDAR sensor information. By generating a local grid map based on the accumulated LiDAR sensor information, the processor 170 may easily ensure that even the LiDAR sensor information blocked by a nearby vehicle or a nearby obstacle is obtained.
[0085] According to the global grid map (which is Figure 5AThe first grid map of each heading angle candidate generated in Figure 5B The correlation results of the second grid map generated in Figure 5C The correlation value between the global grid map and the local grid map can be calculated (step S15). For example, as a correlation result between the global grid map and the local grid map, if the correlation value between the global grid map and the local grid map is the maximum value, the processor 170 can determine that the position of the vehicle is accurate.
[0086] That is, the processor 170 may detect a correlation peak according to the correlation result (step S16). The processor 170 may search for a heading angle candidate having a maximum value in the correlation peak detected for each heading angle candidate, and extract a horizontal index (index) and a vertical index of the correlation result, thereby estimating a heading angle error, a lateral error (dX), and a longitudinal error (dY) of the GNSS initial position.
[0087] like Figure 5D As shown, if an accurate GNSS initial position is estimated, the global grid map and the local grid map can be accurately matched.
[0088] like Figure 5C As shown, if the detected correlation peak is greater than or equal to the preset correlation peak, the processor 170 can set the initial position of the vehicle (step S17). For example, if the detected correlation peak is greater than or equal to the preset correlation peak (Max(corrValue)>threshold), the processor 170 can estimate that the correlation peak is a maximum value. In the case where it is determined that the correlation peak value is a maximum value, the processor 170 can determine that the matching of the first grid map and the second grid map is completed, and generate a third grid map on this basis. Here, if the matching of the first grid map and the second grid map is completed, the third grid map can be the generated grid map.
[0089] Thereafter, if the matching of the first grid map and the second grid map is completed and a third grid map is generated, the processor 170 may perform precise positioning based on iterative close point (ICP). The grid size of the third grid map is set to 1 meter (m), so that the accuracy of the third grid map can be less than 1 meter (m).
[0090] The processor 170 may perform precise positioning by detecting the heading angle (θ), lateral direction (dX), and longitudinal direction (dY) of the vehicle that may best match between points of the third grid map using ICP within an error range of 1 meter (m).
[0091] Therefore, the processor 170 can detect the precise vehicle heading angle in real number units.
[0092] In addition, when the matching length of the matching between the first grid map and the second grid map (which is calculated based on the set initial position of the vehicle) is equal to or greater than the preset reference length, the processor 170 can determine the initial position of the vehicle (step S18). For example, if the matching length of the matched third grid map is greater than or equal to the preset reference length, the processor 170 can determine the initial position of the vehicle.
[0093] For example, if the matching length of the third mesh map by applying the ICP matching is equal to or greater than a preset reference length, the processor 170 may determine the initial position (Initial Pose Decision (IPD)).
[0094] As described above, if the initial position is determined, the processor 170 can test the decision on the initial position (step S20) by repeating the determination of whether to set the initial position (step S19) at least twice. That is, the processor 170 can calculate the similarity probability by determining whether to set the initial position of the vehicle at least twice.
[0095] If the calculated similarity probability is greater than or equal to 0.5 (step S21), the processor 170 may check the initial position of the vehicle (step S22), and complete the determination of the initial position of the vehicle (step S23).
[0096] For example, the processor 170 may determine the degree of similarity between the results of determining the heading angle / horizontal / vertical positioning. For example, the degree of similarity may be defined as similarity probability P=(number of similar results / total number of trials).
[0097] If the detected correlation peak is equal to or less than the preset correlation peak, the processor 170 may continue to detect the correlation peak (step S24). The processor continuously detects the correlation peak, and if a predetermined time has passed (step S25), it may be determined that the correlation peak cannot be detected (step S26). Here, the predetermined time may be about 7 seconds (sec).
[0098] Fig. 6A , Figure 6B , Figure 6C and Fig.6D An example of a method of matching grid graphs according to another example of the present invention is shown.
[0099] like Fig. 6AAs shown, if there is information about the heading angle candidate of the vehicle, the processor 170 can create a global grid map based on the information. That is, when using the initial vehicle heading angle information, the processor 170 can use a vehicle heading angle candidate for calculation, thereby resolving the matching ambiguity caused by the vehicle heading angle error.
[0100] Figure 6B , Figure 6C and Fig.6D The description can be obtained by Figure 5B , Figure 5C and Figure 5D is sufficiently inferred and therefore will be omitted here.
[0101] Fig. 7A and Figure 7B An example of a matched grid graph according to an example of the present invention is shown.
[0102] Fig. 7A is a screen before driving the apparatus for determining an initial position of a vehicle according to an example of the present invention, Figure 7B This is a screen after the apparatus for determining an initial position of a vehicle according to an example of the present invention is driven.
[0103] like Figure 7B As shown, the result of accurately determining the initial position of the vehicle can be obtained.
[0104] As described above, the device for determining the initial position of a vehicle according to an example of the present invention can convert LiDAR data (information) into a grid map to reduce the data size in binary, narrow the initial position determination range through LiDAR surface-map surface matching and utilizing overall shape information, and quickly and accurately determine the initial position within the narrowed range through LiDAR line-map line matching.
[0105] Accordingly, the present invention is directed to a method and apparatus for determining an initial position of a vehicle that substantially eliminates one or more problems (eg, inaccuracy, delay, power inefficiency, etc.).
[0106] According to the example, the purpose is to provide a device and method for determining the initial position of a vehicle, which can convert LiDAR data into a grid map to reduce the data size in binary, narrow the initial position determination range through LiDAR surface-map surface matching and utilizing overall shape information, and quickly and accurately determine the initial position within the narrowed range through LiDAR line-map line matching.
[0107] The technical problems solved in the examples are not limited to the above-mentioned technical problems, and those skilled in the art will clearly understand other technical problems not mentioned herein from the following description.
[0108] Additional advantages, purposes and features of the present invention will be described in part in the following description or may be learned from the practice of the present invention, and will become apparent in part to those skilled in the art after examining the following. The purposes and other advantages of the present invention may be realized and obtained by the structures particularly pointed out in the written description and claims and the attached drawings.
[0109] To achieve these objectives and other advantages, according to the purpose of the present invention, as broadly described herein, a method for determining an initial position of a vehicle includes: under the control of a processor, receiving map information related to a global navigation satellite system (GNSS) initial position, and generating a first grid map based on the map information; under the control of the processor, receiving sensing information from a sensor to generate a second grid map based on the sensing information; under the control of the processor, matching the first grid map with the second grid map to determine the initial position of the vehicle; under the control of the processor, determining whether to set the initial position of the vehicle in response to the matching result.
[0110] In at least one example of the present invention, matching the first grid map and the second grid map may include: matching the second grid map and the first grid map by rotating the first grid map at a predetermined angle until a preset angle range, determining the correlation value between the second grid map and the first grid map for each rotation, and determining the rotation of the first grid map having a correlation peak.
[0111] In at least one example of the present invention, generating a first grid map includes: under the control of a processor, setting a heading angle search range for the vehicle in the called map information, and when a lane is detected within the heading angle search range, determining the heading angle information of the lane based on the detected lane; under the control of the processor, generating a heading angle candidate group for the vehicle based on the heading angle information of the lane.
[0112] In at least one example of the present invention, a heading angle candidate group for a vehicle includes at least one heading angle candidate for the vehicle, and under the control of a processor, at least one heading angle candidate for the vehicle is generated as a heading angle candidate with an increment of a first angle within a heading angle search range of a lane set based on heading angle information of the lane.
[0113] In at least one example of the present invention, generating the first grid map includes: under the control of the processor, if no lane is detected within the heading angle search range, maintaining a previous state.
[0114] In at least one example of the present invention, a heading angle candidate group for a vehicle includes at least one heading angle candidate for the vehicle, and under the control of a processor, at least one heading angle candidate for the vehicle is generated to generate a heading angle candidate with an increment of a second angle within a range of a heading angle rotation angle of the vehicle set based on a GNSS initial position.
[0115] In at least one example of the present invention, determining whether to set an initial position of the vehicle includes: under control of the processor, if the detected correlation peak is greater than or equal to a preset correlation peak, setting the initial position of the vehicle.
[0116] In at least one example of the present invention, determining whether to set the initial position of the vehicle includes: under the control of the processor, when the matching length between the first grid map and the second grid map calculated based on the set initial position of the vehicle is greater than or equal to a preset reference length, setting the initial position of the vehicle.
[0117] In at least one example of the present invention, determining whether to set the initial position of the vehicle includes: under the control of the processor, calculating a similarity probability by determining whether the initial position of the vehicle is set at least twice; if the calculated similarity probability is greater than or equal to a predetermined value (for example, 0.5), the determination of the initial position of the vehicle is completed.
[0118] In at least one example of the present invention, generating the second grid map includes: under the control of the processor, accumulating the sensing information at least once, and generating the second grid map based on the accumulated sensing information.
[0119] In another example of the present invention, a computer-readable recording medium records a program for executing one of the above methods.
[0120] In another example of the present invention, a device for determining an initial position of a vehicle includes: a processor; a GNSS configured to receive navigation information under the control of the processor; a sensor configured to sense lanes (lane links) and objects around the vehicle under the control of the processor; and a map providing device including pre-stored map information, wherein the processor is configured to: receive map information related to the GNSS initial position, and generate a first grid map based on the map information, receive sensing information from the sensor to generate a second grid map based on the sensing information, match the first grid map with the second grid map to determine the initial position of the vehicle, and determine whether to set the initial position of the vehicle in response to the matching result.
[0121] In at least one example device of the present invention, the processor is further configured to: set a heading angle search range for the vehicle in the called map information, and if a lane is detected within the heading angle search range, determine the heading angle information of the lane based on the detected lane, and generate a heading angle candidate group for the vehicle based on the heading angle information of the lane.
[0122] In at least one example device of the present invention, a heading angle candidate group for a vehicle includes at least one heading angle candidate for the vehicle, and under the control of a processor, at least one heading angle candidate for the vehicle is generated as a heading angle candidate with an increment of a first angle within a heading angle search range of a lane set based on heading angle information of the lane.
[0123] In at least one example apparatus of the present invention, the processor is further configured to: if no lane is detected within the heading angle search range, maintain a previous state.
[0124] In at least one example device of the present invention, the vehicle's heading angle candidate group includes at least one heading angle candidate of the vehicle, and under the control of a processor, the at least one heading angle candidate of the vehicle is generated to generate a heading angle candidate with an increment of a second angle within a range of a heading angle rotation angle of the vehicle set based on a GNSS initial position.
[0125] In at least one example device of the present invention, the processor is further configured to: match the second grid map and the first grid map by rotating the first grid map at a predetermined angle until a preset angle range, determine the correlation value between the second grid map and the first grid map for each rotation, determine the rotation of the first grid map having a correlation peak, and set the initial position of the vehicle if the correlation peak is greater than or equal to a preset correlation peak.
[0126] In at least one example device of the present invention, the processor is further configured to set the initial position of the vehicle when a matching length between the first grid map and the second grid map calculated based on the set initial position of the vehicle is equal to or greater than a preset reference length.
[0127] In at least one example device of the present invention, the processor is further configured to calculate a similarity probability by determining whether the initial position of the vehicle is set at least twice, and if the calculated similarity probability is greater than or equal to a predetermined value (e.g., 0.5), the determination of the initial position of the vehicle is completed.
[0128] In at least one example apparatus of the present invention, the processor is further configured to: accumulate the sensing information at least once, and generate a second grid map based on the accumulated sensing information.
[0129] It is to be understood that both the foregoing general description and the following detailed description of the present invention are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.
[0130] The above examples may be implemented as a recording medium storing instructions that can be executed by a computer. The instructions may be stored as program code, and a program module may be created to perform the operations of the disclosed examples when executed by a processor. The recording medium may be implemented as a computer-readable recording medium.
[0131] The computer-readable recording medium includes any type of recording medium storing instructions that can be decoded by a computer. Examples of the computer-readable recording medium may include read-only memory (ROM), random access memory (RAM), magnetic tapes, magnetic disks, flash memory, optical data storage devices, and the like.
[0132] The device and method for determining the initial position of a vehicle according to the example have the following effects: it is capable of converting LiDAR data (information) into a grid map to reduce the data size in binary, narrowing the initial position determination range by LiDAR surface-map surface matching and utilizing overall shape information, and quickly and accurately determining the initial position within the narrowed range by LiDAR line-map line matching.
[0133] In addition, the device and method for determining the initial position of a vehicle according to the example have the following effects: it is capable of converting LiDAR data (information) into a grid map to reduce the data size in binary, narrowing the initial position determination range through LiDAR surface-map surface matching and utilizing overall shape information, and quickly and accurately determining the initial position within the narrowed range through LiDAR line-map line matching, thereby stably providing autonomous driving services.
[0134] Effects that can be obtained from the present example are not limited to the above-mentioned effects, and other effects not mentioned here will be clearly understood by those skilled in the art from the following description.
[0135] As described above, the disclosed examples have been described with reference to the accompanying drawings. Those skilled in the art to which the present invention belongs will understand that the present invention may be implemented in a form different from the disclosed examples without changing the technical spirit or basic features of the present invention. The disclosed examples are illustrative and should not be interpreted restrictively.
Claims
1. A method, include: Receiving, by the processor, map information associated with the GNSS initial position; generating a first grid map based on map information associated with the GNSS initial position; generating a second grid map based on the sensed information from the sensor; determining whether to set an initial position of the vehicle based on matching of the first grid map and the second grid map; Driving operation of the vehicle is controlled based on the initial position of the vehicle.
2. The method according to claim 1, in, Generating the first grid map includes: Set the vehicle's heading angle search angle range in the map information; Detect lanes within the heading search angle range; determining heading angle information associated with the detected lane based on the detected lane; A candidate group of heading angles of the vehicle is generated based on the detected heading angle information of the lane.
3. The method according to claim 2, in: The vehicle heading angle candidate set includes at least one heading angle candidate of the vehicle; At least one heading angle candidate of the vehicle is generated in units of a first angle within the heading angle search angle range.
4. The method according to claim 1, in, Generating the first grid map includes: Set the vehicle's heading angle search angle range in the map information; Based on the lane not being detected within the heading angle search angle range, the previous state of the lane is maintained.
5. The method according to claim 2, in: The vehicle heading angle candidate set includes at least one heading angle candidate of the vehicle; At least one heading angle candidate of the vehicle is generated in units of a second angle within a range of a heading angle rotation angle of the vehicle set based on the GNSS initial position.
6. The method according to claim 1, further comprising: include: The second grid image is matched with the first grid image by rotating the first grid image at a predetermined angle to a preset angle range, Determine the correlation value between the second grid map and the first grid map for each rotation, The rotation of the first grid map having a correlation peak is determined.
7. The method according to claim 6, in, Determining whether to set the initial position of the vehicle based on the matching of the first grid map and the second grid map includes: setting the initial position of the vehicle based on the correlation peak being greater than or equal to a threshold correlation peak.
8. The method according to claim 7, in, Determining whether to set the initial position of the vehicle based on the matching of the first grid map and the second grid map includes: setting the initial position of the vehicle when the length of the match between the first grid map and the second grid map calculated based on the set initial position of the vehicle is greater than or equal to a preset reference length.
9. The method according to claim 1, in, Determining whether to set an initial position of the vehicle based on matching of the first grid map and the second grid map includes: Set the initial position of the vehicle twice, where: determining a first position of the vehicle based on a first of two times of setting an initial position of the vehicle; determining a second position of the vehicle based on a second of the two times of setting the initial position of the vehicle; determining a similarity probability between a first position of the vehicle and a second position of the vehicle; Based on the determined similarity probability being greater than or equal to a predetermined value, the determination of the initial position of the vehicle is completed.
10. The method according to claim 1, in, Generating the second grid map includes: Under control of the processor, accumulating the sensing information at least once; A second grid map is generated based on the accumulated sensing information. 11 . A non-transitory computer-readable recording medium storing instructions which, when executed, cause execution of the method according to claim 1 .
12. A device, wherein include: processor; as well as a memory storing instructions which, when executed by the processor, cause the apparatus to: Receiving map information associated with the GNSS initial position; generating a first grid map based on map information associated with the GNSS initial position; generating a second grid map based on the sensed information from the sensor; determining whether to set an initial position of the vehicle based on matching of the first grid map and the second grid map; Driving operation of the vehicle is controlled based on the initial position of the vehicle.
13. The device according to claim 12, in, When executed by a processor, the instructions further cause the apparatus to: Set the vehicle's heading angle search angle range in the map information; Detect lanes within the heading search angle range; determining heading angle information associated with the detected lane based on the detected lane; A heading angle candidate group of the vehicle is generated based on the heading angle information.
14. The device according to claim 13, in: The vehicle heading angle candidate set includes at least one heading angle candidate of the vehicle; At least one heading angle candidate of the vehicle is generated in units of a first angle within the heading angle search angle range.
15. The device according to claim 12, in, When executed by a processor, the instructions further cause the apparatus to: Set the vehicle's heading angle search angle range in the map information; Based on the lane not being detected within the heading angle search angle range, the previous state of the lane is maintained.
16. The device according to claim 13, in: The vehicle heading angle candidate set includes at least one heading angle candidate of the vehicle; At least one heading angle candidate of the vehicle is generated in units of a second angle within a range of a heading angle rotation angle of the vehicle set based on the GNSS initial position.
17. The device according to claim 12, in, When executed by a processor, the instructions further cause the apparatus to: The second grid image is matched with the first grid image by rotating the first grid image at a predetermined angle to a preset angle range, Determine the correlation value between the second grid map and the first grid map for each rotation, Determine the rotation of the first grid map with a correlation peak, Based on the correlation peak being greater than or equal to a threshold correlation peak, an initial position of the vehicle is set.
18. The device according to claim 17, in, When executed by the processor, the instructions further cause the device to: set the initial position of the vehicle when the length of the match between the first grid map and the second grid map calculated based on the set initial position of the vehicle is equal to or greater than a preset reference length.
19. The device according to claim 12, in, When executed by a processor, the instructions further cause the apparatus to: Set the initial position of the vehicle twice, where: determining a first position of the vehicle based on a first of two times of setting an initial position of the vehicle; determining a second position of the vehicle based on a second of the two times of setting the initial position of the vehicle; determining a similarity probability between a first position of the vehicle and a second position of the vehicle; Based on the determined similarity probability being greater than or equal to a predetermined value, the determination of the initial position of the vehicle is completed.
20. The device according to claim 12, in, When executed by a processor, the instructions further cause the apparatus to: Accumulating sensing information at least once; A second grid map is generated based on the accumulated sensing information.
