Vehicle positioning method and device, electronic equipment and storage medium
By combining the position information of inertial navigation and satellite positioning systems, and using monocular cameras and high-precision maps to correct visual information, lane-level positioning is achieved, solving the existing navigation system's insufficient positioning accuracy and high equipment load in complex urban road conditions. issues, improving safety and cost-effectiveness.
Patent Information
- Application Number
- CN202310456033.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-10-18
AI Technical Summary
Existing navigation systems are difficult to achieve lane-level positioning in complex urban road conditions, causing vehicles to miss intersections or fail to change lanes in time. High-precision equipment such as RTK or lidar often needs to be installed, which increases equipment load and cost.
By obtaining the position information of the inertial navigation system and satellite positioning system in real time, and combining the environmental information and high-precision map data collected by the monocular camera, the visual information is corrected to achieve lane-level positioning and reduce the equipment load.
It improves vehicle positioning accuracy, reduces yaw and temporary lane changes, improves driving safety, reduces traffic accident rates, and reduces equipment costs.
Smart Images

Figure CN118795518A_ABST
Abstract
Description
Background Art
[0002] With the development of modern cities, the complexity of traffic networks is constantly increasing. The use of navigation systems has become a common choice during vehicle driving. At present, navigation systems can generally achieve road-level navigation, which can determine whether the overall route of the vehicle is offset. This accuracy is undoubtedly sufficient on wide roads or outside cities. However, in the face of increasingly complex urban road conditions, it is difficult for road-level navigation to determine whether the vehicle is driving in the correct lane, which can easily lead to missed intersections or untimely lane changes.
[0003] In contrast, lane-level navigation can clearly inform the vehicle of lane selection and lane change during driving. The prerequisite for lane-level navigation is lane-level positioning. The positioning accuracy must reach the lane where the vehicle is on the road in order to provide effective reminders or make the next driving plan.
[0004] In the related technology, lane-level positioning is mainly achieved based on high-precision equipment such as real-time differential positioning (RTK) or laser radar. However, the above methods require the installation of RTK or laser radar equipment on the vehicle, which increases the equipment load of the vehicle.
[0005] Therefore, how to reduce the equipment load while ensuring the positioning accuracy of the vehicle has become a problem that needs to be solved urgently. Summary of the invention
[0006] The embodiments of the present application provide a vehicle positioning method, device, electronic device and storage medium to ensure the positioning accuracy of the vehicle and reduce the equipment load.
[0007] A vehicle positioning method provided in an embodiment of the present application includes:
[0008] Acquire the first position information, the second position information and the environmental information of the target vehicle in real time, wherein the first position information is output by an inertial navigation system, the second position information is output by a satellite positioning system, and the environmental information is obtained by collecting environmental data within the field of view of the target vehicle;
[0009] Based on the second position information and a pre-stored map, obtaining target road data of a target road where the target vehicle is located, wherein the first position information and the second position information are represented based on the same reference coordinate system as the road data in the map;
[0010] Based on the environmental information and the target road data, obtaining visual information of the target vehicle on the target road;
[0011] Based on the visual information and the second position information, the first position information is corrected to obtain target position information.
[0012] A vehicle positioning device provided in an embodiment of the present application includes:
[0013] An acquisition unit, used for acquiring first position information, second position information and environmental information of a target vehicle in real time, wherein the first position information is output by an inertial navigation system, the second position information is output by a satellite positioning system, and the environmental information is obtained by collecting environmental data within a field of view of the target vehicle;
[0014] a first processing unit, configured to obtain target road data of a target road where the target vehicle is located based on the second position information and a pre-stored map, wherein the first position information and the second position information are represented based on the same reference coordinate system as the road data in the map;
[0015] A second processing unit, configured to obtain visual information of the target vehicle on the target road based on the environmental information and the target road data;
[0016] A correction unit is used to correct the first position information based on the visual information and the second position information to obtain target position information.
[0017] In an optional implementation manner, the correction unit is specifically configured to:
[0018] Based on the visual information, the first position information is corrected in a first direction of the target road, and based on the second position information, the first position information is corrected in a second direction of the target road to obtain the target position information.
[0019] In an optional implementation, the first direction is a road direction perpendicular to the target road, the visual information includes: lane number information; and the correction unit is specifically configured to:
[0020] Based on the lane number information, searching for lane position information of the target lane from the target road data;
[0021] Based on the lane position information, the first position information is corrected in a direction perpendicular to the road.
[0022] In an optional implementation, the first direction is a road direction perpendicular to the target road, the visual information includes: lane intercept information, the lane intercept information includes: a target distance between each of two lane lines of the target lane and the target vehicle; the correction unit is specifically configured to:
[0023] Based on each target distance and the first position information, a lateral position error is obtained, wherein the lateral position error is used to characterize: a position error between a first position point determined by the first position information and a target position point where the target vehicle is actually located in a direction perpendicular to the road;
[0024] Based on the lateral position error, the first position information is corrected in a direction perpendicular to the road.
[0025] In an optional implementation manner, the correction unit is specifically configured to:
[0026] Based on the first position information, obtaining predicted intercept information, the predicted intercept information comprising: predicted distances between the first position point and each of two lane lines of the lane where the first position point is located;
[0027] The lateral position error is obtained based on the difference between each target distance and the corresponding predicted distance.
[0028] In an optional implementation, the visual information further includes: lane number information; and the correction unit is specifically configured to:
[0029] Based on the lane number information, searching for lane position information of the target lane from the target road data;
[0030] Based on the lane position information and the respective target distances, obtaining third position information of the target vehicle;
[0031] The lateral position error is obtained based on the difference between the third position information and the first position information in a direction perpendicular to the road.
[0032] In an optional embodiment, the device further includes an adjustment unit, configured to:
[0033] Based on the difference between the target position information and the first position information, error correction is performed on the inertial navigation system.
[0034] In an optional implementation, the visual information includes lane intercept information, and the lane intercept information includes: a target distance between each of two lane lines of the target lane and the target vehicle; the device further includes a determination unit for:
[0035] When it is determined based on the lane intercept information that the target vehicle is in a lane change state, a preset weight coefficient is obtained;
[0036] The correction unit is specifically used for:
[0037] The visual information is weighted based on the weight coefficient, and the first position information is corrected based on the weighted visual information and the second position information to obtain the target position information.
[0038] An electronic device provided in an embodiment of the present application includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of any one of the above-mentioned vehicle positioning methods.
[0039] An embodiment of the present application provides a computer-readable storage medium, which includes a computer program. When the computer program is run on an electronic device, the computer program is used to enable the electronic device to execute the steps of any one of the above-mentioned vehicle positioning methods.
[0040] An embodiment of the present application provides a computer program product, which includes a computer program, and the computer program is stored in a computer-readable storage medium; when a processor of an electronic device reads the computer program from the computer-readable storage medium, the processor executes the computer program, so that the electronic device performs the steps of any one of the above-mentioned vehicle positioning methods.
[0041] The beneficial effects of this application are as follows:
[0042] The embodiments of the present application provide a vehicle positioning method, device, electronic device and storage medium. First, the first position information, second position information and environmental information of the target vehicle are acquired in real time. Since the first position information and the second position information are acquired through conventional vehicle-mounted equipment, an inertial navigation system and a satellite positioning system respectively, only a monocular camera needs to be added to acquire environmental information, which can effectively reduce the equipment load of the target vehicle and effectively reduce the cost compared with installing a lidar device and an RTK device. Furthermore, based on the acquired environmental information and the target road data in a pre-stored map, the visual information of the target lane where the target vehicle is located is acquired. On the basis of the acquired visual information, the first position information is corrected based on the visual information and the second position information, so that the acquired target position information can be constrained within the target lane, thereby improving the positioning accuracy of the target vehicle and realizing lane-level positioning. Path planning and navigation are performed based on the target position information, which can reduce deviation and temporary lane changes, improve vehicle driving safety, and reduce traffic accident rates.
[0043] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0045] Figure 1 is a schematic diagram of a lateral position error in an embodiment of the present application;
[0046] Figure 2 An optional schematic diagram of an application scenario in an embodiment of the present application;
[0047] Figure 3 This is a flow chart of an implementation of a vehicle positioning method in an embodiment of the present application;
[0048] Figure 4 A schematic diagram of environmental information in an embodiment of the present application;
[0049] Figure 5A is a schematic diagram of a first position correction method in an embodiment of the present application;
[0050] Figure 5B is a schematic diagram of a second position correction method in an embodiment of the present application;
[0051] Fig. 6A A schematic diagram of a first area correction method in an embodiment of the present application;
[0052] Figure 6B is a schematic diagram of a second area correction method in an embodiment of the present application;
[0053] Figure 7 A schematic diagram of a target distance in an embodiment of the present application;
[0054] Figure 8 A schematic diagram of a position of a lane change state in an embodiment of the present application;
[0055] Fig. 9A A schematic diagram of a predicted distance in an embodiment of the present application;
[0056] Fig. 9B is a schematic diagram of another lateral position error in an embodiment of the present application;
[0057] Fig.10 is a schematic diagram of another lateral position error in an embodiment of the present application;
[0058] Fig.11 A schematic diagram of vehicle body motion constraints in an embodiment of the present application;
[0059] Fig. 12AA schematic diagram of positioning a traffic jam scene in an embodiment of the present application;
[0060] Fig. 12B This is a schematic diagram of positioning a large curvature scene in an embodiment of the present application;
[0061] Fig. 12C A schematic diagram of positioning of a tunnel scene in an embodiment of the present application;
[0062] Fig.13A This is a schematic diagram of the overall process of a lane positioning method in an embodiment of the present application;
[0063] Fig. 13B A logical schematic diagram of a lane positioning method in an embodiment of the present application;
[0064] Fig.14 is a schematic structural diagram of a vehicle positioning device in an embodiment of the present application;
[0065] Fig.15 A schematic diagram of a hardware structure of an electronic device to which an embodiment of the present application is applied;
[0066] Fig.16 The present invention is a schematic diagram of the hardware structure of another electronic device to which the embodiments of the present application are applied. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the technical solution of the present application, rather than all of the embodiments. Based on the embodiments recorded in the application documents, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the technical solution of the present application.
[0068] The following is an introduction to some concepts involved in the embodiments of the present application.
[0069] Environmental information: refers to the information obtained by collecting environmental data within the field of view of the target vehicle. Specifically, it can be obtained by collecting environmental images within the field of view through a monocular camera. The monocular camera can be installed on the target vehicle, such as on the windshield or roof. Figure 4 As shown, it is a schematic diagram of environmental information in an embodiment of the present application. The environmental information can reflect the number of lanes and lane lines contained in the target road, as well as the lane of the target road where the target vehicle is located. By combining the environmental information, it can assist in achieving lane-level positioning of the target vehicle.
[0070] High Definition (HD) map: referred to as HD map, the main body of storage is lanes, and the data accuracy is usually at the decimeter level. HD maps store a large amount of driving assistance information as structured data, which can be divided into two categories. The first category is road data, such as lane information such as the location, type, width, slope and curvature of lane lines; the second category is fixed object information around the lane, such as traffic signs, traffic lights and other information, lane height limits, sewer openings, obstacles and other road details, as well as infrastructure information such as elevated objects, guardrails, number, road edge type, and roadside landmarks. In an embodiment of the present application, the pre-stored map may be a HD map. Combined with the environmental information and the target road data provided by the HD map, the visual information of the target vehicle on the target road can be obtained, and then the first position information can be corrected to improve the positioning accuracy.
[0071] Visual information: It is obtained by combining environmental information and target road data. Specifically, environmental information can reflect the lane number of a road in which the target vehicle is currently located, as well as information such as the distance from the lane line, while the target road data records the number of lanes on the road, the position of each lane and other information. Therefore, the visual information obtained by combining environmental information and target road data can provide information such as the lane number in which the target vehicle is currently located, the distance from the lane line, the road curvature, and the distance from the road bifurcation point. By correcting the first position information through visual information, the positioning of the vehicle can be constrained within the target lane where the target vehicle is located, thereby achieving lane-level positioning.
[0072] Inertial navigation system: a technology that uses inertial elements to measure the acceleration of the vehicle itself, and obtains the speed and position through integration and calculation, which can achieve the purpose of navigation and positioning of the vehicle. The equipment that makes up the inertial navigation system is installed inside the vehicle. It does not rely on external information when working, nor does it radiate energy to the outside world. It is not easily interfered with and is an autonomous navigation system. The inertial navigation system is usually composed of an inertial measurement device, a computer, a control display, etc. The inertial measurement device includes an accelerometer and a gyroscope, also known as an inertial measurement unit. According to the way the inertial navigation system is installed on the vehicle, the inertial navigation system can be divided into a platform-type inertial navigation system and a strapdown inertial navigation system. In the implementation of this application, the strapdown inertial navigation system is mainly used to obtain the first position information of the target vehicle.
[0073] Satellite Navigation System (SNS): refers to the technology of using navigation satellites to provide navigation and positioning for users on the ground, sea, air and space. Since the position of the satellite is precisely known, in satellite navigation observation, the distance from the satellite to the receiver can be calculated by using the distance formula in three-dimensional coordinates and three satellites to form three equations to solve the position of the observation point (X, Y, Z). Considering the error between the satellite clock and the receiver clock, there are actually four unknowns, X, Y, Z and clock error, so it is necessary to introduce the fourth satellite to form four equations for solution, so as to obtain the latitude, longitude and elevation of the observation point. The satellite navigation system in the embodiments of the present application may refer to a global satellite navigation system (GNSS), or may refer to an independent satellite navigation system such as the Beidou Navigation Satellite System (BDS), a global positioning system (GPS), a GLONASS satellite navigation system, and a Galileo Satellite Navigation System (GALILEO).
[0074] Lateral position error: used to indicate the position error between the first position point determined by the first position information and the target position point where the target vehicle is actually located, in the road direction perpendicular to the target road, such as Figure 1 As shown, it is a schematic diagram of a lateral position error in an embodiment of the present application. There are 4 lanes on the road 1, the first position point S1 is located in lane 1, the target position point S2 is located in lane 3, a straight line L1 is drawn through S1 along the road direction of the target road, and a straight line L2 is drawn through S2 along the direction perpendicular to the road. L1 and L2 intersect at point O, then OS2 is the lateral position error.
[0075] Intelligent Traffic System (ITS), also known as Intelligent Transportation System, is an effective and comprehensive application of advanced science and technology (information technology, computer technology, data communication technology, sensor technology, electronic control technology, automatic control theory, operations research, artificial intelligence, etc.) to transportation, service control and vehicle manufacturing, strengthening the connection between vehicles, roads and users, thereby forming a comprehensive transportation system that ensures safety, improves efficiency, improves the environment and saves energy. The vehicle positioning method in the embodiment of the present application can be applied to the intelligent transportation system, and vehicle scheduling and traffic command can be performed based on the obtained target location information, thereby improving the vehicle traffic rate of the road network and alleviating traffic congestion.
[0076] Intelligent Vehicle Infrastructure Cooperative Systems (IVICS), referred to as IVICS, is a development direction of Intelligent Transportation Systems (ITS). IVICS uses advanced wireless communications and new generation Internet technologies to implement all-round dynamic real-time information interaction between vehicles and roads, and conducts active vehicle safety control and road cooperative management based on the collection and integration of dynamic traffic information in all time and space, fully realizing the effective coordination of people, vehicles and roads, ensuring traffic safety, and improving traffic efficiency, thus forming a safe, efficient and environmentally friendly road traffic system.
[0077] The following is a brief introduction to the design concept of the embodiments of the present application.
[0078] With the development of modern cities, the complexity of traffic networks is constantly increasing. The use of navigation systems has become a common choice during vehicle driving. At present, navigation systems can generally achieve road-level navigation, which can determine whether the overall route of the vehicle is offset. This accuracy is undoubtedly sufficient on wide roads or outside cities. However, in the face of increasingly complex urban road conditions, it is difficult for road-level navigation to determine whether the vehicle is driving in the correct lane, which can easily lead to missed intersections or untimely lane changes. Road-level navigation is far from meeting consumer needs.
[0079] In contrast, lane-level navigation: First, it can achieve more accurate positioning by integrating positioning algorithm technology based on inertial navigation, automotive environmental perception sensors, high-precision maps, etc.; second, it can refine the concept of "deviation" from the road level to the lane level, thereby providing more sensitive route reorganization planning capabilities; third, it can provide users with more appropriate and accurate lane guidance. For example, during driving, it can clearly inform the lane selection and lane change in advance to avoid troubles such as temporary lane changes. The premise for lane-level navigation is lane-level positioning. Only when the positioning accuracy reaches the lane where the vehicle is on the road can effective reminders or the next step of driving planning be carried out.
[0080] In the related technology, lane-level positioning is mainly achieved based on high-precision equipment such as real-time differential positioning or laser radar. However, the above methods require the installation of RTK or laser radar equipment on the vehicle, which increases the equipment load of the vehicle.
[0081] Therefore, how to reduce the equipment load while ensuring the positioning accuracy of the vehicle has become a problem that needs to be solved urgently.
[0082] In view of this, the embodiments of the present application provide a vehicle positioning method, device, electronic device and storage medium. First, the first position information, second position information and environmental information of the target vehicle are acquired in real time. Since the first position information and the second position information are acquired through conventional vehicle-mounted equipment, an inertial navigation system and a satellite positioning system respectively, only a monocular camera needs to be added to collect environmental information, which can effectively reduce the equipment load of the target vehicle. Compared with installing a lidar device and an RTK device, the cost is effectively reduced. Furthermore, based on the acquired environmental information and the target road data in the pre-stored map, the visual information of the target lane where the target vehicle is located is acquired. On the basis of the acquired visual information, the first position information is corrected based on the visual information and the second position information, so that the acquired target position information can be constrained within the target lane, thereby improving the positioning accuracy of the target vehicle and realizing lane-level positioning. Path planning and navigation are performed based on the target position information, which can reduce deviation and temporary lane changes, improve vehicle driving safety, and reduce traffic accident rates.
[0083] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.
[0084] like Figure 2 As shown, it is a schematic diagram of an application scenario of an embodiment of the present application. The application scenario diagram includes two terminal devices 210 and a server 220.
[0085] In the embodiments of the present application, the terminal device includes but is not limited to mobile phones, tablet computers, laptop computers, desktop computers, e-book readers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals and other devices; the terminal device may be installed with a client related to vehicle positioning, which may be software (such as a browser, map software, etc.), or a web page, a small program, etc. The server is a background server corresponding to the software or web page, small program, etc., or a server specifically used for vehicle positioning, which is not specifically limited in the present application. The server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
[0086] It should be noted that the vehicle positioning method in the embodiment of the present application can be executed by an electronic device, and the electronic device can be a server or a terminal device, that is, the method can be executed by a server or a terminal device alone, or by a server and a terminal device together. For example, when executed by a server and a terminal device together, the terminal device obtains the first position information, the second position information and the environmental information of the target vehicle in real time during the driving process of the target vehicle, and sends the first position information, the second position information and the environmental information to the server. The server obtains the target road data of the target road based on the second position information and the pre-stored map, obtains the visual information of the target vehicle on the target road based on the environmental information and the target road data, corrects the first position information based on the visual information and the second position information, obtains the target position information of the target vehicle, and then sends the target position information to the terminal device so that the terminal device navigates according to the target position information.
[0087] In an optional implementation, the terminal device and the server may communicate via a communication network.
[0088] In an optional implementation, the communication network is a wired network or a wireless network.
[0089] It should be noted that Figure 2 The figure is only an example. In fact, the number of terminal devices and servers is not limited and is not specifically limited in the embodiments of the present application.
[0090] In an embodiment of the present application, when there are multiple servers, the multiple servers can form a blockchain, and the servers are nodes on the blockchain; such as the vehicle positioning method disclosed in the embodiment of the present application, the location data and road data involved can be stored on the blockchain, etc.
[0091] In addition, the embodiments of the present application can be applied to various scenarios, including not only vehicle positioning scenarios, but also scenarios including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc. For example, when the embodiments of the present application are applied to smart transportation scenarios, the vehicle positioning method in the embodiments of the present application is used to obtain target position information with a positioning accuracy at the lane level, and then route planning and navigation are performed based on the target position information of each vehicle, thereby alleviating traffic congestion and improving the traffic rate of the road network.
[0092] It is understandable that in the specific implementation of this application, related data such as user location information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0093] The following describes the vehicle positioning method provided by the exemplary embodiment of the present application in combination with the application scenarios described above and with reference to the accompanying drawings. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the implementation of the present application is not limited in this respect.
[0094] See also Figure 3 As shown, it is an implementation flow chart of a vehicle positioning method provided in an embodiment of the present application. Taking the execution subject as a server as an example, the specific implementation process of the method includes the following steps S31-S32:
[0095] S31: The server obtains the first position information, the second position information and the environment information of the target vehicle in real time;
[0096] Among them, the first position information is output by an inertial navigation system, which can be a platform inertial navigation system or a strapdown inertial navigation system. In the embodiment of the present application, a strapdown inertial navigation system is mainly used. The second position information is output by a satellite positioning system, which can be a collection of multiple positioning systems, such as GNSS, or a separate satellite positioning system, such as BDS, GPS, GLONASS, and GALILEO, which is not specifically limited in the present application.
[0097] Environmental information is obtained by collecting environmental data within the field of view of the target vehicle. Environmental information can be obtained by collecting road images in front of the target vehicle through a monocular camera. The monocular camera can be installed on the target vehicle, such as on the windshield or roof. Figure 4As shown, it is a schematic diagram of environmental information in an embodiment of the present application. The environmental information can reflect information such as the lanes and lane lines contained on the target road, and in which lane the target vehicle is located on the target road. By combining the information provided by the environmental information, it can assist in achieving lane-level positioning of the target vehicle.
[0098] It should be noted that in order to minimize the equipment load and reduce costs, the above text uses the use of a monocular camera to collect environmental information as an example. In fact, any device with a camera function can be used to collect environmental information, and this application does not make any specific limitations here.
[0099] S32: The server obtains target road data of the target road where the target vehicle is located based on the second location information and a pre-stored map;
[0100] Among them, the pre-stored map can be any map that can provide road data, such as a point cloud map, a satellite map, a navigation map, a high-precision map, etc., which is not specifically limited here. In the embodiment of the present application, in order to ensure the positioning accuracy, the map is mainly used as an example of a high-precision map. Since different reference coordinate systems are used to describe the position of the target vehicle, the position information obtained is also different, and in the embodiment of the present application, it is necessary to fully combine the first position information, the second position information, and the road data in the map to obtain more accurate target vehicle position information. Therefore, the first position information and the second position information are expressed based on the same reference coordinate system as the road data in the map. The reference coordinate system can be the earth coordinate system (e system), the geographic coordinate system (g system), the WGS-84 coordinate system, etc., which is not specifically limited in the present application.
[0101] Specifically, based on the second position information, the target road data of the target road is searched in the map, and the target road data may include the position information of the target road, the number of lanes included in the target road, the position information of each lane, the width of the lane and other information.
[0102] For example, the second location information is represented by longitude and latitude (113.67, 37.53), and the location information of different roads is stored in the high-precision map. The longitude of the area where Road A is located is 90.21-100.34, and the latitude is 35.36-38.43. The longitude of the area where Road B is located is 101.21-110.34, and the latitude is 39.36-40.43. The longitude of the area where Road C is located is 111.21-112.34, and the latitude is 41.36-42.43. By comparing the second location information with the stored road location information, it is determined that the second location information is located in the area where Road A is located, then the target road is Road A, and the road data of Road A stored in the high-precision map is obtained as the target road data.
[0103] S33: The server obtains visual information of the target vehicle on the target road based on the environmental information and the target road data;
[0104] Specifically, Figure 4 As shown, the environmental information can reflect the lane where the target vehicle is currently located and the position of the target vehicle in the lane, while the target road data can reflect the number of lanes on the target road and the position of each lane. Therefore, by combining the environmental information and the target road data, the visual information of the target vehicle can be obtained. The visual information can also be called visual information. The visual information can include lane number information, lane intercept information, curvature, and distance from the road bifurcation point. The lane number information can indicate the lane where the target vehicle is currently located, the lane intercept information includes the distance between the target vehicle and the two lane lines of the target lane, and the curvature can indicate the curvature of the target lane.
[0105] For example, the environmental information shows that the target vehicle is currently on a road that contains three lanes, the target vehicle is located in the second lane from left to right, there is a warning sign near the leftmost lane, and the target road data stores that the target road contains lane 1, lane 2, and lane 3, and there is a warning sign on lane 1, then it can be determined that the target vehicle is currently located in lane 2.
[0106] S34: The server corrects the first position information based on the visual information and the second position information to obtain the target position information.
[0107] The inertial navigation system has autonomous navigation capability and can independently provide the attitude, speed and position information of the target vehicle without any external electromagnetic signals. It has strong anti-interference ability, but there are position integral errors and sensor errors that cannot be eliminated, and during the navigation process, the errors will accumulate over time, so they need to be constantly corrected. In the embodiment of the present application, the first position information is corrected by visual information and the second position information, so that stable and accurate target position information can be obtained, and the positioning accuracy can be improved.
[0108] Specifically, when the first position information is corrected based on the visual information and the second position information, the following method may be used:
[0109] Method 1: Based on the visual information, the first position information is corrected in the first direction of the target road, and based on the second position information, the first position information is corrected in the second direction of the target road;
[0110] Among them, since the visual information can only reflect the lateral position of the target vehicle in the target lane, the visual information can only correct the first position information near the road direction perpendicular to the target road. The second position information output by the satellite navigation system can reflect the longitudinal position of the target vehicle in the target lane. Therefore, the first position information is corrected near the road direction based on the second position information. Therefore, the first direction can be the road direction perpendicular to the target road, and the second direction can be the road direction of the target road.
[0111] In the embodiment of the present application, the first direction is mainly used as the road direction perpendicular to the target road, and the second direction is used as the road direction for illustration. In fact, the first direction is not limited to being perpendicular to the road direction, as long as the positional relationship with the road direction of the target road meets the first preset positional relationship, for example, the first preset positional relationship is that the angle between the road direction of the target road and the road direction is between 70°-90°. The corresponding second direction is also not limited to the road direction of the target road, as long as the positional relationship with the road direction of the target road meets the second preset positional relationship, for example, the second preset positional relationship is that the angle between the road direction of the target road and the road direction is between 0°-20°.
[0112] See also Figure 5A , which is a schematic diagram of the first position correction method in an embodiment of the present application, the first position point determined by the first position information is point E, the second position point determined by the second position information is point F, and the third position point determined by the visual information is point G. Based on point G, point E is corrected in the direction perpendicular to the road, and based on point F, point E is corrected in the road direction to obtain point I, that is, the position information of point I is the target position information.
[0113] It should be noted that since the visual information can only reflect the lateral position of the target vehicle relative to the lane, but cannot reflect the longitudinal position of the target vehicle relative to the lane, the third position point G is only for illustration and can actually be any point on the straight line passing through point G and parallel to the road direction.
[0114] Method 2: First, the first position information is corrected based on the second position information, and then the corrected first position information is corrected again based on the visual information.
[0115] Specifically, the first position information and the second position information may be fused through a Kalman filter to obtain the corrected first position information, and then the corrected first position information may be corrected laterally through visual information.
[0116] See also Figure 5B, which is a schematic diagram of the second position correction method in an embodiment of the present application, the first position point determined by the first position information is point E, the second position point determined by the second position information is point F, and the third position point determined by the visual information is point G. Point E and point F are fused through the Kalman filter to obtain point H, and the lateral position component of point H is corrected based on point G to obtain point I, that is, the position information of point I is the target position information.
[0117] In an embodiment of the present application, first, the first position information, the second position information and the environmental information of the target vehicle are acquired in real time. Since the first position information and the second position information are acquired through conventional vehicle-mounted equipment, an inertial navigation system and a satellite positioning system, respectively, only a monocular camera needs to be added to acquire the environmental information, which can effectively reduce the equipment load of the target vehicle and effectively reduce the cost compared with installing a lidar device and an RTK device. Furthermore, based on the acquired environmental information and the target road data in the pre-stored map, the visual information of the target lane where the target vehicle is located is acquired. On the basis of the acquired visual information, the first position information is corrected based on the visual information and the second position information, so that the acquired target position information can be constrained within the target lane, thereby improving the positioning accuracy of the target vehicle and realizing lane-level positioning. Path planning and navigation are performed based on the target position information, which can reduce deviation and temporary lane changes, improve vehicle driving safety, and reduce traffic accident rates.
[0118] In different scenarios, the visual information obtained is quite different. According to the different visual information, the first position information can be corrected based on the following two methods:
[0119] Method 1: If the visual information includes lane number information, then based on the lane number information, the lane position information of the target lane is searched from the target road data; based on the lane position information, the first position information is corrected in a direction perpendicular to the road.
[0120] Specifically, the lane number information indicates that the target vehicle is currently in the corresponding lane, and the lane position information of the target lane can be searched in the target road data according to the lane number information, and then based on the lane position information, the first position information is corrected to obtain the target position information.
[0121] The situation where the visual information only includes lane number information is very likely to occur in traffic jams, which will trigger the lane keeping module and lane change detection module. The lane keeping module constrains the target position information to be in the lane corresponding to the lane number information. If no lane change is detected, the target position information will continue to be constrained to be in the lane corresponding to the lane number information. If a lane change is detected, no lane constraint will be performed.
[0122] When correcting the first position information, the lane position information, the second position information and the first position information may be weightedly fused, or the first position information may be corrected based on the lane position information and the second position information, respectively. When correcting based on the lane position information, since the lane position information actually determines the entire target lane area rather than an accurate position point, during correction, the first position point determined by the first position information may be translated along the road direction perpendicular to the target road to any position of the lane determined by the lane position information, or may be specified to be translated to the center of the two lane lines of the lane.
[0123] See also Fig. 6A , which is a schematic diagram of the first area correction method in an embodiment of the present application, the first position point determined by the first position information is point 1, the second position point determined by the second position information is point 2, the area determined by the lane position information is lane 2, point 1 is translated along the road direction perpendicular to the target road to obtain point 3 in lane 2, point 3 is translated along the road direction perpendicular to the target road to point 4, the line between point 4 and point 2 is perpendicular to the road direction of the target road, and the position information of point 4 is used as the target position information.
[0124] Based on the above method, when only lane number information can be obtained, it can still be ensured that the obtained target position information belongs to the range where the target lane is located, thereby achieving lane-level positioning of the target vehicle and improving positioning accuracy.
[0125] In the embodiment of the present application, the position information is divided into horizontal and vertical information along the road direction. In the high-precision map area: GPS is only used to correct the vertical position information (in the road direction), and the visual information is only used to correct the horizontal position information (perpendicular to the road direction).
[0126] In an optional implementation, the first position information is corrected based on the lane position information and the second position information respectively in the following manner to obtain the target position information:
[0127] Based on the lane position information, the lateral position component is corrected, and based on the second position information, the longitudinal position component is corrected to obtain a corrected lateral position component and a corrected longitudinal position component; based on the corrected lateral position component and the corrected longitudinal position component, the target position information is obtained.
[0128] The lateral position component is the position component of the first position information along the road direction of the target road, and the longitudinal position component is the position component of the first position information along the direction perpendicular to the road.
[0129] See also Figure 6B, which is a schematic diagram of the second area correction method in an embodiment of the present application, the first position point determined by the first position information is point 1, the second position point determined by the second position information is point 2, the area determined by the lane position information is lane 2, the lateral position component is corrected, point 1 is translated along the road direction perpendicular to the target road to the center line of lane 2, and point 3 is obtained. The longitudinal position component of point 3 is the same as that of point 1, and point 3 is translated along the road direction of the target road to point 4. The line between point 4 and point 2 is perpendicular to the road direction of the target road, and the position information of point 4 is used as the target position information.
[0130] Based on the above method, the lateral position component and the longitudinal position component of the first position information are corrected by the lane position information and the second position information respectively, which fully utilizes the advantages of the lane position information and the second position information, constrains the positioning of the target vehicle within the target lane, and ensures the longitudinal position accuracy within the target lane, thereby improving the positioning accuracy of the target vehicle.
[0131] Method 2: The visual information includes: lane intercept information, step S323 can be implemented as the following steps S41-S42:
[0132] S41: Obtaining a lateral position error based on each target distance and the first position information;
[0133] S42: Based on the lateral position error, correct the first position information in a direction perpendicular to the road.
[0134] The lane intercept information includes the target distance between the two lane lines of the target lane and the target vehicle, see Figure 7 , is a schematic diagram of a target distance in an embodiment of the present application, where a target vehicle is represented by rectangle 1, the distance between rectangle 1 and the left lane line is target distance 1, and the distance between rectangle 1 and the right lane line is target distance 2. The target distance can be the shortest distance between the target vehicle and the lane line (i.e., a vertical line), or the distance between the target vehicle and other connecting lines between the lane line, for example, Figure 7 The distance 3 in the figure is not specifically limited here.
[0135] The lateral position error is used to characterize the position error between the first position point determined by the first position information and the target position point where the target vehicle is actually located in the road direction perpendicular to the target road. Figure 1 , which will not be elaborated here.
[0136] In an optional embodiment, based on the lane intercept information, when it is determined that the target vehicle is in a lane change state, a preset weight coefficient is obtained; the visual information is weighted based on the weight coefficient, and based on the weighted visual information and the second position information, the first position information is corrected to obtain the target position information.
[0137] Specifically, the lane intercept information can be used to determine whether the target vehicle is in a lane change state. For example, when the target distance 1 between the target vehicle and the left lane line is n times the target distance 2 between the target vehicle and the right lane line, it is determined that the target vehicle is in a lane change state and is changing lanes to the right, where n is greater than 1. When the target distance 2 is n times the target distance 1, it can also be determined that the target vehicle is in a lane change state and is changing lanes to the left, where n is greater than 1.
[0138] For another example, compare the lane intercept information three times. The first time, the target distance 1 between the target vehicle and the left lane line is 1 meter, and the target distance 2 between the target vehicle and the right lane line is 1 meter. The second time, the target distance 1 between the target vehicle and the left lane line is 1.5 meters, and the target distance 2 between the target vehicle and the right lane line is 0.5 meters. The third time, the target distance 1 between the target vehicle and the left lane line is 1.8 meters, and the target distance 2 between the target vehicle and the right lane line is 0.2 meters. The left target distance gradually increases, and the right target distance gradually decreases. It is determined that the target vehicle is in a lane change state and is changing lanes to the right. When the left target distance gradually decreases and the right target distance gradually increases, it is determined that the target vehicle is in a lane change state and is changing lanes to the left.
[0139] See also Figure 8 , is a position diagram of a lane change state in an embodiment of the present application. The target position point determined by the target position information is represented by a circle. It can be observed that in the process of the target position point moving, the left intercept (target distance) gradually becomes smaller until the left lane line is pressed, and the nearest left lane line is observed to change, resulting in a jump in the left intercept information; the right intercept gradually becomes larger until the left lane line is pressed, and the nearest right lane line is observed to change, resulting in a jump in the right intercept information; since the lane number information has a short delay at the moment of lane change, the visual positioning point (square) will have a short jump; the three visual points that jump to the right in the figure are due to this reason. When the intercept undergoes the above-mentioned change process, it is considered that the vehicle changes lanes to the left; the method for detecting lane changes to the right is similar. Based on the above method, we can accurately identify the vehicle's lane change results. In the actual navigation working state, vehicle lane change detection is also performed based on lateral acceleration information and equivalent celestial angular velocity information.
[0140] When it is detected that the target vehicle is in a lane change state, it is considered that the accuracy of the currently obtained visual information may be reduced. The correction effect of the visual information on the first position information can be reduced through a preset weight coefficient, so that the target position information can be maintained at a higher calculation accuracy.
[0141] Correspondingly, when the visual information also includes the curvature of the road and the current distance from the road bifurcation point, if the curvature is greater than a preset curvature threshold, or the distance from the road bifurcation point is less than a preset distance threshold, it is also considered that the accuracy of the currently obtained visual information may be reduced, and the preset weight coefficient can be used to reduce the correction effect of the visual information on the first position information.
[0142] Based on the above method, by judging whether the target vehicle is in a lane change state, the correction effect of the visual information on the first position information is determined to avoid inaccurate visual information reducing the accuracy of the target position information, thereby ensuring the accuracy and stability of the target position information.
[0143] When the visual information includes lane intercept information, it can also be divided into two cases: including lane intercept information but not lane number information, and including lane intercept information and lane number information:
[0144] Case 1: The visual information includes lane intercept information but does not include lane number information. Step S41 may be implemented as follows:
[0145] Based on the first position information, the predicted intercept information is obtained; based on the difference between each target distance and the corresponding predicted distance, the lateral position error is obtained.
[0146] The predicted intercept information includes the predicted distances between the first position point and the two lane lines of the lane where the first position point is located. Fig. 9A , is a schematic diagram of a predicted distance in an embodiment of the present application, the distance between the first position point 1 and the left lane line is predicted distance 1, and the distance between the first position point 1 and the right lane line is predicted distance 2. The predicted distance can be the shortest distance between the first position point and the lane line (i.e., a vertical line), or the distance between the first position point and other connecting lines between the lane line, for example, Fig. 9A The distance 3 in the figure is not specifically limited here. Since the lane number information is not currently obtained, it is unclear in which lane the first position point is located. Fig. 9A Only lane 2 is used as an example for explanation.
[0147] The corresponding relationship between the target distance and the predicted distance is that if the target distance is the distance between the target vehicle and the left lane line, the corresponding predicted distance is also the distance between the first position point and the left lane line. If the target distance is the distance between the target vehicle and the right lane line, the corresponding predicted distance is also the distance between the first position point and the right lane line.
[0148] See also Fig. 9B, is a schematic diagram of another lateral position error in an embodiment of the present application. The target distance 1 is 1 meter, the predicted distance 1 is 0.8 meter, and the lateral position error between the target distance 1 and the predicted distance 1 is 0.2 meter. The target distance 2 is 1.1 meters, and the predicted distance 2 is 1.3 meters. The lateral position error between the target distance 2 and the predicted distance 2 is 0.2 meter.
[0149] Case 2: The visual information includes lane intercept information and lane number information, and step S41 can be implemented as follows:
[0150] Based on the lane number information, the lane position information of the target lane is found from the target road data; based on the lane position information and each target distance, the third position information of the target vehicle is obtained; based on the difference between the third position information and the first position information in the direction perpendicular to the road, the lateral position error is obtained.
[0151] When the lane intercept information and lane number information are obtained at the same time, the specific position of the target vehicle in the target lane, that is, the third position information, can be determined. The lateral position error can be obtained based on the difference between the third position point determined by the third position information and the first position point determined by the first position information in the direction perpendicular to the road.
[0152] For example, see Fig.10 , is a schematic diagram of another lateral position error in an embodiment of the present application. Based on the lane number information, it is determined that the target vehicle is located in lane 2. Based on the target distance, it is determined that the target vehicle is located on the straight line L where point 3 in lane 2 is located. A perpendicular line to L is drawn through the first position point 4, which intersects L at point 5. The distance between point 4 and point 5 is the lateral position error.
[0153] In an optional implementation, the first position information is corrected based on the lateral position error and the second position information respectively in the following manner to obtain the target position information:
[0154] Based on the lateral position error, the lateral position component is corrected, and based on the second position information, the longitudinal position component is corrected to obtain a corrected lateral position component and a corrected longitudinal position component; based on the corrected lateral position component and the corrected longitudinal position component, the target position information is obtained.
[0155] The transverse position component is the position component of the first position information along the road direction, and the longitudinal position component is the position component of the first position information along the direction perpendicular to the road.
[0156] Based on the above method, the lateral position component and the longitudinal position component of the first position information are corrected by the lateral position error and the second position information respectively, and the advantages of the lane position information and the second position information are fully utilized to constrain the positioning of the target vehicle within the target lane, and the longitudinal position accuracy within the target lane is guaranteed, thereby improving the positioning accuracy of the target vehicle.
[0157] In an optional implementation, after the target position information is obtained, error correction is performed on the inertial navigation system based on the difference between the target position information and the first position information.
[0158] In order to illustrate the necessity of error correction for the inertial navigation system, the working principle of the strapdown inertial navigation system in the embodiment of the present application is first introduced:
[0159] The attitude, velocity and position differential equations of the strapdown inertial navigation system are expressed as:
[0160]
[0161]
[0162]
[0163] in, is the direction cosine matrix from the body coordinate system b to the navigation coordinate system n, They are the angular velocity information measured by the gyroscope and the specific acceleration information measured by the accelerometer; is the velocity information of east, north and sky; p = [L λ h] T , L, λ, and h represent latitude, longitude, and altitude, respectively.
[0164] Under the condition of small misalignment angle, the error propagation of strapdown inertial navigation system satisfies the following equation:
[0165]
[0166]
[0167]
[0168]
[0169]
[0170] In summary, the error propagation model of the strapdown inertial navigation system can be described as the following state equation:
[0171]
[0172]
[0173] in, Indicates the platform misalignment angle, Represents the speed error, δp=[δL δλ δh] T represents the position error, δL, δλ, and δh represent the latitude error, longitude error, and elevation error, respectively. Indicates the gyro zero bias in frame b, It represents the accelerometer zero bias in frame b.
[0174] From the error propagation model of the strapdown inertial navigation system, it can be seen that there are position integral errors and sensor errors that cannot be eliminated, and error correction needs to be performed through information provided by the outside world. GNSS can provide absolute position information for the strapdown inertial navigation system and estimate the sensor error at the same time. For smart car terminals, the distance between the GNSS antenna and the measurement center of the inertial measurement unit (IMU) is relatively close (usually around a few centimeters), and the GNSS position accuracy is relatively low in single-point positioning mode (usually meter-level positioning level), so it can be approximately considered that the GNSS antenna and the IMU measurement center coincide. Therefore, the GNSS position observation equation can ignore the arm information and be simplified to:
[0175]
[0176] The east-to-north velocity measurement equation based on GPS velocity information can be expressed as:
[0177]
[0178] GPS heading information can also be obtained by installing the error matrix Make heading corrections after conversion.
[0179] In complex urban environments, it is very common for GNSS signals to be blocked for seconds or even minutes. At this time, fully mining the vehicle's motion information and constructing corresponding constraint observations is a typical approach that can effectively improve the system's positioning performance. Therefore, the following wheel speed meter and vehicle motion constraint measurement model is established.
[0180] For ordinary users, when the vehicle is detected to be moving, it will only move forward or backward, and in rare cases, it will jump or drift sideways. Fig.11 , which is a schematic diagram of the vehicle motion constraint in the embodiment of the present application, and it can be assumed that the lateral speed in the vehicle coordinate system (i.e., the v system) and vertical speed If it is always zero, the speed measurement information in the vehicle coordinate system can be expressed as:
[0181]
[0182] Among them, v odo It indicates the speed information measured by the wheel speed sensor.
[0183] The velocity in the V system calculated by the strapdown inertial navigation system can be expressed as:
[0184]
[0185] The velocity information after considering the error and ignoring the second-order small quantity can be expressed as:
[0186]
[0187] Then the speed measurement information under the v system It can be expressed as:
[0188]
[0189] The corresponding measurement matrix H can be expressed as:
[0190]
[0191] When the user performs lane-level navigation, it is inevitable to encounter scenes such as traffic jams and rain, which results in incomplete visual information (ie, the obtained visual information). In the embodiment of the present application, the visual information is divided into the following three situations for fusion positioning.
[0192] When both lane intercept information and lane number information are available, the absolute position provided by vision (combined with high-precision map) is used for fusion. The measurement equation is expressed as follows:
[0193]
[0194] in, Represents the lateral position error of the vehicle. Since the visual sensor can only obtain horizontal position information (lateral position component), its vertical information (longitudinal position component) comes from the fusion result of the position information output by the strapdown inertial sensor and GNSS.
[0195] When lane number information is not available but lane intercept information is available, the measurement equation is expressed as follows:
[0196]
[0197] in, is the intercept of the lane line obtained by the visual sensor, is the distance from the fused position point output by the strapdown inertial sensor and GNSS to the lane line. The difference between these two relative information is used to obtain the absolute lateral position error.
[0198] When lane number information is available but lane line intercept information is not available, lane keeping and lane change detection is triggered.
[0199] The output of the strapdown inertial system, the output of the GNSS, the output of the wheel speed meter and the vehicle motion constraint measurement model mentioned above, and the overall fusion algorithm of the visual information are implemented based on the extended Kalman filter of the error model. The state variables of the system are: position error (longitude, latitude, elevation), speed error (east, north, celestial), 3D platform misalignment angle, 3D gyro bias, 3D accelerometer bias, odometer scale factor error, 2D odometer installation error angle, a total of 18 dimensions; the measurement information of the system is: speed information provided by the wheel speed meter; position information, speed information and heading information provided by GPS; position information provided by visual information; speed information provided by non-integrity constraints.
[0200] The lane-level navigation algorithm based on visual information assistance in the embodiment of the present application introduces visual information to correct the lateral accuracy based on IMU / wheel speed meter / GPS, thereby realizing lane-level navigation.
[0201] In order to verify the effectiveness of the vehicle positioning method in the embodiment of the present application, tests were conducted on highways in more than 70 cities, with a total test mileage of more than 50,000 kilometers. The test scenarios included: rainy days, traffic jams, large curvature turns and other harsh environments.
[0202] The experimental plan is as follows:
[0203] NovAtel's 100C device works in RTK combined mode as a position reference. The IMU uses a low-precision micro-electro-mechanical system (MEMS) worth tens of yuan used in ordinary car computers, and the camera uses an ordinary monocular camera.
[0204] Different vehicles and drivers with different driving habits were used to collect data in different cities, different weather conditions, and different scenarios to fully ensure the reliability of the experimental results; the 10Hz positioning results output by the combined navigation algorithm in the reference device and the embodiment of the present application were collected and stored for indicator statistics. The accuracy and recall rate of the lane intercept information and lane number information contained in the visual information are shown in Table 1, and the frequency of the visual signal is 10Hz.
[0205] Table 1. Lane matching results of raw visual information
[0206] Accuracy Recall Lane number information 93.2% 94.4% Lane information 88.2% 80.1%
[0207] Experimental results and analysis:
[0208] The actual vehicle test results in traffic jams, large curvatures and tunnels are as follows: Fig. 12A , Fig. 12B as well as Fig. 12C As shown in FIG. 1 , the positioning result output in real time by the vehicle positioning method in the present application is shown. Fig. 12A , Fig. 12C It can be seen from the figure that the correct lane can still be located in traffic jams and tunnels. Fig. 12B It can be seen that the lane changing effect can still be sensitive in large curvature scenarios.
[0209] The statistical results of lane matching accuracy and lateral position error (positioning accuracy) in all scenarios (urban expressways and highways) are shown in Table 2:
[0210] Table 2. Lane matching accuracy and lateral position error
[0211] Lane matching accuracy Lateral position error (m) City A 99.31% 0.56 City B 96.65% 0.88 All cities 98.57% 0.64
[0212] It can be clearly seen from Table 2 that the overall lateral positioning accuracy is better than 1 meter, and the lane matching accuracy rate reaches 98.57%. The lane matching accuracy rate of City B is lower than that of other cities because there are more rainy days and traffic jams during the test, and the road conditions in City B are more complicated. The experimental results fully demonstrate the feasibility and effectiveness of the vehicle positioning method in the embodiment of the present application.
[0213] The vehicle positioning method in the embodiment of the present application is generally introduced as follows. Fig.13A FIG. 1 is a schematic diagram of the overall process of a lane positioning method in an embodiment of the present application, comprising the following steps:
[0214] S1301: Acquire first position information, second position information and environmental information of the target vehicle in real time;
[0215] S1302: Obtaining target road data of a target road where the target vehicle is located based on the second position information and a pre-stored map;
[0216] S1303: Obtaining visual information of the target vehicle on the target road based on the environmental information and the target road data;
[0217] S1304: Determine whether the visual information contains both lane number information and lane intercept information. If yes, execute step S1305; if no, execute step S1307;
[0218] S1305: Obtaining third position information of the target vehicle based on the lane number information and the lane intercept information;
[0219] S1306: Based on the third position information, correct the first position information in the first direction of the target road, and based on the second position information, correct the first position information in the second direction of the target road to obtain target position information;
[0220] S1307: Determine whether the visual information contains lane number information but does not contain lane intercept information. If so, execute step S1308. If not, execute step S1310.
[0221] S1308: searching for lane position information of the target lane from the target road data based on the lane number information;
[0222] S1309: Based on the lane position information, correct the first position information in the first direction, and based on the second position information, correct the first position information in the second direction to obtain target position information;
[0223] S1310: Obtaining a lateral position error based on the lane intercept information and the first position information;
[0224] S1311: Based on the lateral position error, correct the first position information in the first direction, and based on the second position information, correct the first position information in the second direction to obtain the target position information.
[0225] like Fig. 13B As shown, it is a logical schematic diagram of a lane positioning method in an embodiment of the present application, the target road includes lane 1, lane 2 and lane 3, the first position point determined by the first position information is point 1, the second position point determined by the second position information is point 2, the visual information includes lane number information and lane intercept information, the lane number information indicates that the target vehicle is currently in the second lane, the lane intercept information indicates that the target vehicle is 1 meter away from the left lane line and 1 meter away from the right lane line, the third position point determined according to the visual information is point 3, point 1 is corrected through point 2, point 1 is translated along the road direction to point 4, point 4 is corrected through point 3, point 4 is translated perpendicular to the road direction to point 5, and the position of point 5 is used as the target position information of the target vehicle.
[0226] It should be noted that Fig. 13B In the example, the line between point 4 and point 2 is perpendicular to the road direction. The position of point 4 in the road direction can also be obtained by integrating the position of point 2 in the road direction and the position of point 1 in the road direction, which is not specifically limited here. Fig. 13BIn the figure, the line between point 5 and point 3 is parallel to the road direction. The position of point 5 perpendicular to the road direction can also be the position of point 3 perpendicular to the road direction and the position of point 4 perpendicular to the road direction. No specific limitation is made here.
[0227] In the embodiment of this application, a low-cost lane-level navigation algorithm is proposed, which improves the lateral accuracy of fusion positioning to sub-meter level by fusing visual information. The visual information is divided into three situations for fusion, which ensures the lane-level navigation effect in adverse scenes such as traffic jams and rain, and sufficient road tests are carried out in more than 70 cities with different test vehicles, different weather, different scenes, etc. The experimental results show that the lane matching accuracy rate is 98.57%.
[0228] Based on the same inventive concept, the embodiment of the present application also provides a vehicle positioning device. Fig.14 As shown, it is a schematic diagram of the structure of the vehicle positioning device 1400, which may include:
[0229] The acquisition unit 1401 is used to acquire the first position information, the second position information and the environmental information of the target vehicle in real time, wherein the first position information is output by the inertial navigation system, the second position information is output by the satellite positioning system, and the environmental information is obtained by collecting environmental data within the field of view of the target vehicle;
[0230] The first processing unit 1402 is used to obtain target road data of the target road where the target vehicle is located based on the second position information and a pre-stored map, wherein the first position information and the second position information are represented based on the same reference coordinate system as the road data in the map;
[0231] The second processing unit 1403 is used to obtain visual information of the target vehicle on the target road based on the environmental information and the target road data;
[0232] The correction unit 1404 is used to correct the first position information based on the visual information and the second position information to obtain the target position information.
[0233] In an optional implementation manner, the correction unit 1404 is specifically configured to:
[0234] Based on the visual information, the first position information is corrected in a first direction of the target road, and based on the second position information, the first position information is corrected in a second direction of the target road to obtain the target position information.
[0235] In an optional implementation, the first direction is a road direction perpendicular to the target road, and the visual information includes: lane number information; the correction unit 1404 is specifically used for:
[0236] Based on the lane number information, searching for lane position information of the target lane from the target road data;
[0237] Based on the lane position information, the first position information is corrected in a direction perpendicular to the road.
[0238] In an optional implementation, the first direction is a road direction perpendicular to the target road, the visual information includes: lane intercept information, the lane intercept information includes: a target distance between each of two lane lines of the target lane and the target vehicle; the correction unit 1404 is specifically used for:
[0239] Based on the target distances and the first position information, a lateral position error is obtained, where the lateral position error is used to characterize: a position error between a first position point determined by the first position information and a target position point where the target vehicle is actually located in a direction perpendicular to the road;
[0240] Based on the lateral position error, the first position information is corrected in a direction perpendicular to the road.
[0241] In an optional implementation manner, the correction unit 1404 is specifically configured to:
[0242] Based on the first position information, obtaining predicted intercept information, the predicted intercept information including: predicted distances between the first position point and each of two lane lines of the lane where the first position point is located;
[0243] Based on the difference between each target distance and the corresponding predicted distance, the lateral position error is obtained.
[0244] In an optional implementation, the visual information further includes: lane number information; the correction unit 1404 is specifically used to:
[0245] Based on the lane number information, searching for lane position information of the target lane from the target road data;
[0246] Based on the lane position information and the distances of each target, obtaining third position information of the target vehicle;
[0247] Based on the difference between the third position information and the first position information in a direction perpendicular to the road, a lateral position error is obtained.
[0248] In an optional implementation, the device further includes an adjustment unit 1405, configured to:
[0249] Based on the difference between the target position information and the first position information, error correction is performed on the inertial navigation system.
[0250] In an optional implementation, the visual information includes lane intercept information, and the lane intercept information includes: a target distance between each of two lane lines of the target lane and the target vehicle; the device further includes a determination unit 1406, which is used to:
[0251] When it is determined that the target vehicle is in a lane change state based on the lane intercept information, a preset weight coefficient is obtained;
[0252] The correction unit 1404 is specifically used for:
[0253] The visual information is weighted based on the weight coefficient, and the first position information is corrected based on the weighted visual information and the second position information to obtain the target position information.
[0254] For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Of course, when implementing this application, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.
[0255] Those skilled in the art will appreciate that various aspects of the present application may be implemented as a system, method or program product. Therefore, various aspects of the present application may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to as "circuit", "module" or "system" herein.
[0256] Based on the same inventive concept as the above method embodiment, an electronic device is also provided in the embodiment of the present application. In one embodiment, the electronic device may be a server, such as Figure 2 In this embodiment, the structure of the electronic device can be as follows: Fig.15 As shown, it includes a memory 1501 , a communication module 1503 and one or more processors 1502 .
[0257] The memory 1501 is used to store computer programs executed by the processor 1502. The memory 1501 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and programs required for running the instant messaging function, etc.; the data storage area may store various instant messaging information and operation instruction sets, etc.
[0258] The memory 1501 may be a volatile memory, such as a random-access memory (RAM); the memory 1501 may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); or the memory 1501 may be any other medium that can be used to carry or store a desired computer program in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1501 may be a combination of the above memories.
[0259] The processor 1502 may include one or more central processing units (CPU) or a digital processing unit, etc. The processor 1502 is used to implement the above vehicle positioning method when calling the computer program stored in the memory 1501 .
[0260] The communication module 1503 is used to communicate with terminal devices and other servers.
[0261] The specific connection medium between the memory 1501, the communication module 1503 and the processor 1502 is not limited in the embodiment of the present application. Fig.15 In the embodiment, the memory 1501 and the processor 1502 are connected via a bus 1504. The bus 1504 is connected to the processor 1502 via a bus 1504. Fig.15 The connections between the other components are described with bold lines, which are only for illustration and are not intended to be limiting. The bus 1504 can be divided into an address bus, a data bus, a control bus, etc. For ease of description, Fig.15 The diagram shows that only one thick line is used, but this does not mean that there is only one bus or only one type of bus.
[0262] The memory 1501 stores a computer storage medium, and the computer storage medium stores computer executable instructions, and the computer executable instructions are used to implement the vehicle positioning method of the embodiment of the present application. The processor 1502 is used to execute the above-mentioned vehicle positioning method, such as Figure 3 shown.
[0263] In another embodiment, the electronic device may also be other electronic devices, such as Figure 2 In this embodiment, the structure of the electronic device can be as follows: Fig.16As shown, it includes: a communication component 1610, a memory 1620, a display unit 1630, a camera 1640, a sensor 1650, an audio circuit 1660, a Bluetooth module 1670, a processor 1680 and other components.
[0264] The communication component 1610 is used to communicate with the server. In some embodiments, a circuit wireless fidelity (Wireless Fidelity, WiFi) module may be included. The WiFi module belongs to a short-range wireless transmission technology. The electronic device can help the user to send and receive information through the WiFi module.
[0265] The memory 1620 can be used to store software programs and data. The processor 1680 executes various functions and data processing of the terminal device by running the software programs or data stored in the memory 1620. The memory 1620 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The memory 1620 stores an operating system that enables the terminal device to run. In the present application, the memory 1620 can store an operating system and various application programs, and can also store a computer program for executing the vehicle positioning method of the embodiment of the present application.
[0266] The display unit 1630 can also be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the terminal device. Specifically, the display unit 1630 may include a display screen 1632 disposed on the front of the terminal device. The display screen 1632 may be configured in the form of a liquid crystal display, a light emitting diode, etc. The display unit 1630 may be used to display the vehicle positioning user interface in the embodiment of the present application, etc.
[0267] The display unit 1630 can also be used to receive input digital or character information and generate signal input related to user settings and function control of the terminal device. Specifically, the display unit 1630 may include a touch screen 1631 arranged on the front of the terminal device, which can collect user touch operations on or near it, such as clicking a button, dragging a scroll box, etc.
[0268] The touch screen 1631 can be covered on the display screen 1632, or the touch screen 1631 and the display screen 1632 can be integrated to realize the input and output functions of the terminal device, and the integration can be referred to as a touch display screen. In this application, the display unit 1630 can display the application and the corresponding operation steps.
[0269] The camera 1640 can be used to capture still images, and users can post comments on the images taken by the camera 1640 through the application. The camera 1640 can be one or more. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the processor 1680 to convert it into a digital image signal.
[0270] The terminal device may further include at least one sensor 1650, such as an acceleration sensor 1651, a distance sensor 1652, a fingerprint sensor 1653, and a temperature sensor 1654. The terminal device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, and a motion sensor.
[0271] The audio circuit 1660, the speaker 1661, and the microphone 1662 can provide an audio interface between the user and the terminal device. The audio circuit 1660 can transmit the electrical signal converted from the received audio data to the speaker 1661, which is converted into a sound signal for output. The terminal device can also be equipped with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 1662 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1660 and converted into audio data, and then the audio data is output to the communication component 1610 to be sent to, for example, another terminal device, or the audio data is output to the memory 1620 for further processing.
[0272] The Bluetooth module 1670 is used to exchange information with other Bluetooth devices having Bluetooth modules through the Bluetooth protocol. For example, the terminal device can establish a Bluetooth connection with a wearable electronic device (such as a smart watch) that also has a Bluetooth module through the Bluetooth module 1670 to exchange data.
[0273] The processor 1680 is the control center of the terminal device. It uses various interfaces and lines to connect various parts of the entire terminal. It executes various functions of the terminal device and processes data by running or executing software programs stored in the memory 1620 and calling data stored in the memory 1620. In some embodiments, the processor 1680 may include one or more processing units; the processor 1680 may also integrate an application processor and a baseband processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the baseband processor mainly processes wireless communications. It is understandable that the above-mentioned baseband processor may not be integrated into the processor 1680. In the present application, the processor 1680 can run the operating system, application programs, user interface display and touch response, as well as the vehicle positioning method of the embodiment of the present application. In addition, the processor 1680 is coupled to the display unit 1630.
[0274] In some possible implementations, various aspects of the vehicle positioning method provided by the present application may also be implemented in the form of a program product, which includes a computer program. When the program product is run on an electronic device, the computer program is used to enable the electronic device to execute the steps of the vehicle positioning method according to various exemplary embodiments of the present application described above in this specification. For example, the electronic device may execute the following steps: Figure 3 Follow the steps shown in .
[0275] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0276] The program product of the embodiment of the present application may adopt a portable compact disk read-only memory (CD-ROM) and include a computer program, and can be run on an electronic device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which can be used by or in combination with a command execution system, apparatus, or device.
[0277] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with a command execution system, apparatus, or device.
[0278] The computer program embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0279] Computer programs for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The computer program may be executed entirely on the user electronic device, partially on the user device, as a separate software package, partially on the user electronic device and partially on a remote electronic device, or entirely on a remote electronic device or server. In the case of a remote electronic device, the remote electronic device may be connected to the user electronic device via any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external electronic device (e.g., via the Internet using an Internet service provider).
[0280] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.
[0281] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0282] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain a computer-usable computer program.
[0283] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program commands. These computer program commands can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the commands executed by the processor of the computer or other programmable data processing device generate commands for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0284] These computer program commands may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the commands stored in the computer readable memory produce an article of manufacture comprising a command device, the command device implementing the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0285] These computer program commands can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the commands executed on the computer or other programmable device provide the instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0286] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0287] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A vehicle positioning method, characterized in that: The method comprises: Acquire the first position information, the second position information and the environmental information of the target vehicle in real time, wherein the first position information is output by an inertial navigation system, the second position information is output by a satellite positioning system, and the environmental information is obtained by collecting environmental data within the field of view of the target vehicle; Based on the second position information and a pre-stored map, obtaining target road data of a target road where the target vehicle is located, wherein the first position information and the second position information are represented based on the same reference coordinate system as the road data in the map; Based on the environmental information and the target road data, obtaining visual information of the target vehicle on the target road; Based on the visual information and the second position information, the first position information is corrected to obtain target position information.
2. The method according to claim 1, characterized in that The step of correcting the first position information based on the visual information and the second position information to obtain the target position information includes: Based on the visual information, the first position information is corrected in a first direction of the target road, and based on the second position information, the first position information is corrected in a second direction of the target road to obtain the target position information.
3. The method according to claim 2, characterized in that The first direction is a road direction perpendicular to the target road, and the visual information includes: lane number information; Then, based on the visual information, correcting the first position information in a road direction perpendicular to the target road includes: Based on the lane number information, searching for lane position information of the target lane from the target road data; Based on the lane position information, the first position information is corrected in a direction perpendicular to the road.
4. The method according to claim 2, characterized in that The first direction is a road direction perpendicular to the target road, and the visual information includes: lane intercept information, and the lane intercept information includes: a target distance between each of two lane lines of the target lane and the target vehicle; Then, based on the visual information, correcting the first position information in a road direction perpendicular to the target road includes: Based on each target distance and the first position information, a lateral position error is obtained, wherein the lateral position error is used to characterize: a position error between a first position point determined by the first position information and a target position point where the target vehicle is actually located in a direction perpendicular to the road; Based on the lateral position error, the first position information is corrected in a direction perpendicular to the road.
5. The method according to claim 4, characterized in that The obtaining of the lateral position error based on the target distances and the first position information includes: Based on the first position information, obtaining predicted intercept information, the predicted intercept information comprising: predicted distances between the first position point and each of two lane lines of the lane where the first position point is located; The lateral position error is obtained based on the difference between each target distance and the corresponding predicted distance.
6. The method according to claim 4, characterized in that The visual information also includes: lane number information; Then, obtaining the lateral position error based on the target distances and the first position information includes: Based on the lane number information, searching for lane position information of the target lane from the target road data; Based on the lane position information and the respective target distances, obtaining third position information of the target vehicle; The lateral position error is obtained based on the difference between the third position information and the first position information in a direction perpendicular to the road.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Based on the difference between the target position information and the first position information, error correction is performed on the inertial navigation system.
8. The method according to any one of claims 1 to 6, characterized in that: The visual information includes lane intercept information, and the lane intercept information includes: a target distance between each of two lane lines of the target lane and the target vehicle; The method further comprises: When it is determined based on the lane intercept information that the target vehicle is in a lane change state, a preset weight coefficient is obtained; The step of correcting the first position information based on the visual information and the second position information to obtain the target position information includes: The visual information is weighted based on the weight coefficient, and the first position information is corrected based on the weighted visual information and the second position information to obtain the target position information.
9. A vehicle positioning device, characterized in that: include: An acquisition unit, used for acquiring first position information, second position information and environmental information of a target vehicle in real time, wherein the first position information is output by an inertial navigation system, the second position information is output by a satellite positioning system, and the environmental information is obtained by collecting environmental data within a field of view of the target vehicle; a first processing unit, configured to obtain target road data of a target road where the target vehicle is located based on the second position information and a pre-stored map, wherein the first position information and the second position information are represented based on the same reference coordinate system as the road data in the map; A second processing unit, configured to obtain visual information of the target vehicle on the target road based on the environmental information and the target road data; A correction unit is used to correct the first position information based on the visual information and the second position information to obtain target position information.
10. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of any one of the methods of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: It includes a computer program. When the computer program is run on an electronic device, the computer program is used to enable the electronic device to execute the steps of any method described in claims 1 to 8.
12. A computer program product, characterized in that The method comprises a computer program stored in a computer-readable storage medium; when a processor of an electronic device reads the computer program from the computer-readable storage medium, the processor executes the computer program, so that the electronic device executes the steps of any one of the methods described in claims 1 to 8.
Citation Information
Cited By
Fusion positioning method, vehicle, storage medium and program product
CN119354211A
A fusion positioning method, vehicle, storage medium and program product
CN119354211B
Vehicle integrated navigation method and system
CN122062710A
A vehicle integrated navigation method and system
CN122062710B
