Vehicle positioning method and device, vehicle and storage medium
By acquiring and fusing data from inertial navigation and other acquisition devices in vehicles, and using deep networks for feature extraction and fusion, the problem of low vehicle positioning accuracy is solved and higher positioning accuracy and cost-effectiveness are achieved.
Patent Information
- Application Number
- CN202410796353.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the field of vehicle autonomous driving technology, there is a problem of low vehicle positioning accuracy.
By acquiring data from inertial navigation units and other acquisition devices at target time points, deep networks are used for feature extraction and fusion to generate fusion feature vectors, which are used to estimate positioning information and improve positioning accuracy.
It improves the accuracy of vehicle positioning, provides more accurate vehicle position and attitude information, enhances driving safety and comfort, and reduces system costs, making it suitable for the mass vehicle market.
Smart Images

Figure CN118706137A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a vehicle positioning method, device, vehicle and computer-readable storage medium. Background Art
[0002] In the field of vehicle autonomous driving technology, vehicle positioning is crucial, and related technologies have the technical problem of low vehicle positioning accuracy. Summary of the invention
[0003] The present application proposes a vehicle positioning method, device, vehicle and computer-readable storage medium to improve the above-mentioned defects.
[0004] In a first aspect, an embodiment of the present application provides a vehicle positioning method, the method comprising:
[0005] Acquire inertial navigation data collected by the inertial navigation unit of the vehicle at the target time point and related collected data collected by other collection devices in the vehicle at the target time point;
[0006] Extracting features from the inertial navigation data using a first deep network to obtain a first deep feature vector;
[0007] Extracting features from the relevant collected data through a second deep network to obtain a second deep feature vector;
[0008] Fusing the first depth feature vector and the second depth feature vector to obtain a fused feature vector;
[0009] The positioning network estimates the positioning information based on the fused feature vector to obtain the estimated positioning information of the vehicle at the target time point.
[0010] In a second aspect, an embodiment of the present application further provides a vehicle positioning device, the device comprising:
[0011] An acquisition module, used to acquire inertial navigation data collected by the inertial navigation unit of the vehicle at a target time point and related acquisition data collected by other acquisition devices in the vehicle at a target time point;
[0012] A first extraction module, configured to extract features from the inertial navigation data through a first deep network to obtain a first deep feature vector;
[0013] A second extraction module is used to extract features from the relevant collected data through a second deep network to obtain a second deep feature vector;
[0014] A fusion module, used to fuse the first depth feature vector and the second depth feature vector to obtain a fused feature vector;
[0015] The estimation module is used to estimate the positioning information based on the fused feature vector through the positioning network to obtain the estimated positioning information of the vehicle at the target time point.
[0016] In a third aspect, an embodiment of the present application further provides a vehicle, comprising: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above method.
[0017] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the above method.
[0018] The present application provides a vehicle positioning method, device, vehicle and computer-readable storage medium. In the present application, feature extraction is performed on the inertial navigation data of the inertial navigation unit to obtain a first depth feature vector, and feature extraction is performed on the relevant collected data of other collection devices to obtain a second depth feature vector. The first depth feature vector and the second depth feature vector are fused to obtain a fused feature vector. The fused feature vector fuses the inertial navigation data collected by the inertial navigation unit and the relevant collected data collected by the other collection devices, so that the fused feature vector includes features of multiple dimensions, so that when estimating positioning information based on the fused feature vector, the features of multiple dimensions are referred to, and the estimated positioning information obtained is more accurate, thereby improving the accuracy of vehicle positioning.
[0019] Other features and advantages of the embodiments of the present application will be described in the subsequent description, and partly become apparent from the description, or can be understood by practicing the embodiments of the present application. The purposes and other advantages of the embodiments 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
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 A schematic diagram of a vehicle hardware environment suitable for an embodiment of the present application is shown.
[0022] Figure 2 A flow chart of a vehicle positioning method proposed according to an embodiment of the present application is shown.
[0023] Figure 3 A schematic diagram of a vehicle positioning process in an embodiment of the present application is shown.
[0024] Figure 4 Shows Figure 2 The steps before step S102 in the corresponding embodiment are a flowchart in an embodiment.
[0025] Figure 5 A schematic diagram of a parameter adjustment process of a fifth deep network in an embodiment of the present application is shown.
[0026] Figure 6 A schematic diagram of a parameter adjustment process of a sixth deep network in an embodiment of the present application is shown.
[0027] Figure 7 A schematic diagram showing a parameter adjustment process of yet another sixth deep network in an embodiment of the present application is shown.
[0028] Figure 8 A schematic diagram of a parameter adjustment process of a sixth deep network in an embodiment of the present application is shown.
[0029] Fig. 9 A schematic diagram of a training process of a positioning model in an embodiment of the present application is shown.
[0030] Fig.10 A structural block diagram of a vehicle positioning device proposed in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0031] In order to make those skilled in the art better understand the present application scheme, the technical scheme in the present application embodiment will be clearly and completely described below in conjunction with the drawings in the present application embodiment. Obviously, the described embodiment is only a part of the present application embodiment, rather than all the embodiments. The components of the present application embodiment usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application for protection, but merely represents the selected embodiment of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0032] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0033] Reference Figure 1 , Figure 1 A schematic diagram of a vehicle hardware environment suitable for an embodiment of the present application is shown, wherein a vehicle 100 includes an autonomous driving system 110. The autonomous driving system 110 may have multiple built-in autonomous driving functions. The autonomous driving system 110 controls the vehicle's autonomous driving according to the built-in autonomous driving functions. The autonomous driving functions may include, for example, an automatic lane changing function and an automatic parking function.
[0034] The automatic driving system 110 may include a vehicle-mounted acquisition device 111, one or more (only one is shown in the figure) processors 112, and a memory 113. The vehicle-mounted acquisition device 111 may include an inertial navigation unit (IMU) device, and other acquisition devices may include image sensors (such as cameras), radars, global positioning systems (GPS), and real-time kinematic systems (RTK).
[0035] The vehicle-mounted acquisition device 111 is used to collect environmental information during the driving process of the vehicle. For example, a radar is used to collect point cloud data around the vehicle, and another example is an image sensor is used to collect images around the vehicle.
[0036] The processor 112 may be a microcontroller unit (MCU) having a built-in memory 113 . The memory 113 stores a program that can execute the contents of the following embodiments, and the processor 112 may execute the program stored in the memory 113 .
[0037] The processor 112 may include one or more processors. The processor 112 uses various interfaces and lines to connect various parts of the entire vehicle 100, and executes various functions of the vehicle 100 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 113, and calling data stored in the memory 113.
[0038] The memory 113 may include a random access memory (RAM) or a read-only memory (ROM). The memory 15 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 15 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.
[0039] See also Figure 2 , Figure 2 A flow chart of a vehicle positioning method proposed in one embodiment of the present application is shown, which is used for a vehicle, and the method includes:
[0040] S101, acquiring inertial navigation data collected by an inertial navigation unit of a vehicle at a target time point and related collected data collected by other collection devices in the vehicle at the target time point.
[0041] In this application, the vehicle can be an electric vehicle or a fuel vehicle, or it can be a car, SUV, bus, truck, etc.
[0042] The target time point may be any time point during the vehicle's driving process. For example, the target time point may be every time point during the vehicle's driving process. For another example, the target time point may be a specified time point during the vehicle's driving process (for example, 12:14:08 on January 3, 2024).
[0043] Generally speaking, in order to achieve real-time positioning of the vehicle, the target time point can be each time point in a plurality of consecutive time points. For example, the target time point can be each planned time point in the vehicle's driving process, and the planned time points are equally spaced, wherein the intervals between the planned time points can be 0.02s or 0.1s, etc.
[0044] The other acquisition devices of the vehicle may be at least one of an image sensor, a radar, a global positioning system, and a real-time dynamic system; the data collected by the other acquisition devices at the target time point is the relevant acquisition data. For example, if the other acquisition device is an image sensor, the relevant acquisition data may include an image. For another example, if the other acquisition device is an image sensor and a radar, the relevant acquisition data may include an image and point cloud data. For another example, if the other acquisition device includes an image sensor, a radar, a global positioning system, and a real-time dynamic system, the relevant acquisition data may include an image, point cloud data, GPS data, and RTK data.
[0045] The data collected by the vehicle's inertial navigation unit at the target time point is used as inertial navigation data.
[0046] It is understandable that in order to make the data collected by other collection devices of the vehicle more accurate and effective, the data collected by other collection devices should be able to cover a larger range and the positions of other collection devices in the vehicle should be set. For example, image sensors can be set in front, rear and sides of the vehicle.
[0047] It is worth mentioning that, considering the cost of the vehicle and the high cost of RTK, RTK can also be selectively set in the vehicle to reduce the cost of setting RTK in the vehicle when the vehicle cost is high.
[0048] In some implementations, before S101, the method further includes: performing time synchronization processing on the inertial navigation unit of the vehicle and other acquisition devices of the vehicle.
[0049] Through time synchronization processing, the time of the vehicle's inertial navigation unit and other acquisition devices of the vehicle are synchronized, so that the acquisition time of the inertial navigation data collected by the inertial navigation unit (the target time point recognized by the inertial navigation unit) and the acquisition time of the related acquisition data collected by other acquisition devices (the target time point recognized by other acquisition devices) are consistent, and the inertial navigation data and the related acquisition data belong to the data at the same time, making the inertial navigation data and the related acquisition data more accurate and effective. It effectively avoids the inconsistency of the acquisition time of the inertial navigation data and the collection time of the related acquisition data, resulting in inaccurate inertial navigation data and related acquisition data.
[0050] S102: extract features from the inertial navigation data using a first deep network to obtain a first deep feature vector.
[0051] The first deep network may refer to a network capable of performing feature extraction on inertial navigation data. Feature extraction is performed on the inertial navigation data through the first deep network to extract time series features from the inertial navigation data, and a feature-extracted vector is obtained as a first deep feature vector.
[0052] Generally speaking, the first deep network can be, for example, a convolutional neural network (CNN) or a recurrent neural network (RNN), so as to accurately extract the timing features in the inertial navigation data.
[0053] S103: extract features from relevant collected data through a second deep network to obtain a second deep feature vector.
[0054] The second deep network may refer to a network capable of performing feature extraction on relevant collected data. Feature extraction is performed on relevant collected data through the second deep network to extract effective features from the relevant collected data, and a vector after feature extraction is obtained as a second deep feature vector.
[0055] It is worth mentioning that when there are multiple second acquisition devices, each second acquisition device corresponds to its own second deep network. The second deep network can be a convolutional neural network (CNN), a recurrent neural network (RNN), or a long short-term memory network (LSTM).
[0056] S104: Fuse the first depth feature vector and the second depth feature vector to obtain a fused feature vector.
[0057] The first depth feature vector and the second depth feature vector are fused to form a feature vector, and the fused feature vector is used as a fused feature vector.
[0058] In one embodiment, the first deep feature vector and the second deep feature vector may be fused based on the attention mechanism to obtain a fused feature vector; in another embodiment, the first deep feature vector and the second deep feature vector may be weighted averaged to achieve fusion of the first deep feature vector and the second deep feature vector to obtain a fused feature vector. Of course, other neural network models may also be used to fuse the first deep feature vector and the second deep feature vector, which will not be described in detail here.
[0059] It is worth mentioning that when there are multiple other acquisition devices, the second depth feature vector includes the second depth feature vectors corresponding to the multiple other acquisition devices. At this time, when executing S103, it is necessary to fuse the first depth feature vector and the multiple second depth feature vectors corresponding to the multiple other acquisition devices to obtain a fused feature vector.
[0060] S105 . Estimate the positioning information based on the fused feature vector through the positioning network to obtain the estimated positioning information of the vehicle at the target time point.
[0061] After obtaining the fused feature vector, the positioning information can be estimated based on the fused feature vector through the positioning network to obtain the estimated positioning information of the vehicle at the target time point. The estimated positioning information may include the three-dimensional coordinates and posture information of the vehicle at the target time point, and the posture information may include the pitch angle, the roll angle, and the yaw angle. Among them, the positioning network can be a multi-layer perceptron (MLP), a convolutional neural network, a recurrent neural network (RNN), etc.
[0062] The fused feature vector can be directly input into the positioning network, which processes the fused feature vector to estimate the positioning information and obtain the estimated positioning information of the vehicle at the target time point: the three-dimensional coordinates, pitch angle, roll angle and yaw angle of the vehicle at the target time point.
[0063] In the present application, the estimated positioning information includes six elements: three-dimensional coordinates xyz, pitch angle, roll angle and yaw angle, so the estimated positioning information is also called six degrees of freedom (6dof). That is, the present application actually implements the estimation of the six degrees of freedom of the vehicle.
[0064] For example, when other acquisition devices include image sensors, laser radar, RTK and GPS, the vehicle positioning process of the present application is as follows: Figure 3 As shown, the inertial navigation data collected by the inertial navigation unit is feature extracted by the first deep network to obtain a first depth feature vector, the image is feature extracted by the second deep network corresponding to the image sensor to obtain a second depth feature vector corresponding to the image sensor, the point cloud data (obtained based on the data collected by the laser radar) is feature extracted by the second deep network corresponding to the laser radar to obtain a second depth feature vector corresponding to the laser radar, the RTK data is feature extracted by the second deep network corresponding to the RTK to obtain a second depth feature vector corresponding to the RTK, the GPS data is feature extracted by the second deep network corresponding to the GPS to obtain a second depth feature vector corresponding to the GPS, and then the second depth feature vector corresponding to the image sensor, the second depth feature vector corresponding to the laser radar, the second depth feature vector corresponding to the RTK, the second depth feature vector corresponding to the GPS and the first depth feature vector are fused to obtain a fused feature vector, and then the positioning information is estimated based on the fused feature vector by the positioning network to obtain the estimated positioning information of the vehicle: six degrees of freedom.
[0065] In this embodiment, feature extraction is performed on the inertial navigation data of the inertial navigation unit to obtain a first depth feature vector, and feature extraction is performed on relevant collected data from other acquisition devices to obtain a second depth feature vector. The first depth feature vector and the second depth feature vector are fused to obtain a fused feature vector. The fused feature vector fuses the inertial navigation data collected by the inertial navigation unit and the relevant collected data collected by other acquisition devices, so that the fused feature vector includes features of multiple dimensions. Therefore, when estimating positioning information based on the fused feature vector, features of multiple dimensions are referenced, and the obtained estimated positioning information is more accurate, thereby improving the accuracy of vehicle positioning.
[0066] In one embodiment, if Figure 4 As shown, before S102, the method further includes:
[0067] S201, obtaining sample positioning information of a first sample vehicle at a first sample time point, first sample inertial navigation data collected by an inertial navigation unit of the first sample vehicle at the first sample time point, and first sample related collection data collected by other collection devices of the first sample vehicle at the first sample time point.
[0068] The first sample vehicle may be an electric vehicle or a fuel vehicle, or may be a sedan, an SUV, a bus, a truck, etc. The first sample vehicle may be the same as or different from the vehicle in the aforementioned embodiment.
[0069] The first sample time point may be any time point during the driving process of the first sample vehicle. For example, the first sample time point is 12:14:08 on January 3, 2022.
[0070] The data collected by the inertial navigation unit of the first sample vehicle at the first sample time point is used as the first sample inertial navigation data.
[0071] Other acquisition devices of the first sample vehicle may also be at least one of an image sensor, a radar, a global positioning system, and a real-time dynamic system; the data collected by other acquisition devices of the first sample vehicle at the first sample time point is the first sample related acquisition data.
[0072] The sample positioning information may refer to the actual positioning information of the first sample vehicle at the first sample time point, which may be manually measured or determined based on other data of the vehicle, and this application does not limit this. The sample positioning information may include the three-dimensional coordinates and attitude information of the first sample vehicle at the first sample time point (the attitude information may include the pitch angle, the roll angle, and the yaw angle).
[0073] S202: Perform feature extraction on the first sample inertial navigation data through a third deep network to obtain a first sample deep feature vector.
[0074] The third deep network may refer to a network capable of performing feature extraction on the first sample inertial navigation data, and the first sample inertial navigation data is subjected to feature extraction through the third deep network to extract the time series features from the first sample to the inertial navigation data, and obtain the vector after feature extraction as the first sample deep feature vector. The third deep network may be, for example, a convolutional neural network or a recurrent neural network, so as to accurately extract the time series features from the inertial navigation data.
[0075] In one embodiment, before S202, the method also includes: obtaining sample motion state information of the second sample vehicle at the second sample time point and second sample inertial navigation data collected by the inertial navigation unit of the second sample vehicle at the second sample time point; performing feature extraction on the second sample inertial navigation data through a fifth deep network to obtain a third sample deep feature vector; performing motion state estimation based on the third sample deep feature vector through an initial motion state estimation network to obtain estimated sample motion state information of the second sample vehicle at the second sample time point; adjusting parameters of the fifth deep network and the initial motion state estimation network according to the sample motion state information and the estimated sample motion state information; and obtaining the fifth deep network after parameter adjustment as the third deep network.
[0076] The second sample vehicle may be the same as or different from the vehicle in the aforementioned embodiment. The second sample time point may be any time point during the driving process of the second sample vehicle. For example, the second sample time point is 12:14:08 on July 3, 2022.
[0077] The motion state information of the second sample vehicle at the second sample time point is used as the sample motion state information, and the motion state information may be the acceleration, angular velocity, speed, and position of the vehicle. The sample motion state information may be manually measured at the second sample time point, or may be determined by other data of the vehicle, which is not limited in this application.
[0078] The inertial navigation data collected by the inertial navigation unit of the second sample vehicle at the second sample time point is used as the second sample inertial navigation data.
[0079] The fifth deep network may be, for example, a parameter-initialized convolutional neural network or a recurrent neural network, etc. The fifth deep network is used to perform feature extraction on the second sample inertial navigation data to obtain an extracted feature vector as the third sample deep feature vector.
[0080] The initial motion state estimation network can be a parameter-initialized multilayer perceptron, convolutional neural network or recurrent neural network, etc. The initial motion state estimation network estimates the motion state information of the second sample vehicle at the second sample time point based on the third sample deep feature vector as the estimated sample motion state information.
[0081] Afterwards, the first loss value can be determined based on the estimated sample motion state information and the sample motion state information through the error function, with the goal of minimizing the first loss value, and the parameters of the fifth deep network and the initial motion state estimation network are adjusted through the first loss value until the first end condition is met; the fifth deep network after parameter adjustment is obtained as the third deep network. The error function can be a mean square error loss function, a cross entropy loss function, an absolute value error loss function, etc.
[0082] The parameter adjustment process of the fifth deep network and the initial motion state estimation network may include multiple iterative processes, each iterative process corresponds to a first loss value, and when the number of iterations reaches the first number or and / or the first loss value of the iterative process is lower than the first threshold, it is determined that the first termination condition is met. The first number and the first threshold can be set based on demand, and this application does not limit it.
[0083] The parameter adjustment process of the fifth deep network is as follows Figure 5 As shown, the fifth deep network is used to extract features from the second sample inertial navigation data to obtain a third sample deep feature vector, and then the estimated sample motion state information of the second sample vehicle is determined based on the third sample deep feature vector: acceleration, angular velocity, velocity (first-order integral of acceleration) and position (second-order integral of acceleration), and then based on the estimated sample motion state information and the sample motion state information, the parameters of the fifth deep network are adjusted to obtain the third deep network.
[0084] IMU is a sensor with a very complex error model. Its error internal parameters mainly include three aspects: fixed bias, random walk of bias, and random walk error of sensor readings. The accelerometer and gyroscope in IMU each need these three sets of error expressions. The speed and position determined above are the first-order integral and second-order integral of acceleration. However, in the traditional method, other position observations are used to constrain the acceleration integral of IMU. In this process, the error will be exponentially amplified, and eventually the system will crash. In this application, the third deep network of end-to-end deep learning (directly based on the input inertial navigation data, the output speed and position are determined, and the first-order integral and second-order integral are no longer based on the output acceleration) is used to process the IMU integral and obtain the integrated speed and position, thereby effectively avoiding the amplification of the error in the integration process and improving the accuracy of the determined speed and position.
[0085] S203: Perform feature extraction on the first sample related collected data through a fourth deep network to obtain a second sample deep feature vector.
[0086] The fourth deep network may refer to a network capable of performing feature extraction on the first sample related collected data, and the first sample related collected data is subjected to feature extraction by the fourth deep network to extract effective features from the related collected data, and obtain a feature-extracted vector as the second deep feature vector. The fourth deep network may be a convolutional neural network, a recurrent neural network, or a long short-term memory network, etc.
[0087] In one embodiment, before S203, the method also includes: obtaining sample-related information of the third sample vehicle at the third sample time point and second sample-related collected data collected by other collection devices of the third sample vehicle at the third sample time point; performing feature extraction on the second sample-related collected data through a sixth deep network to obtain a fourth sample deep feature vector; performing information estimation based on the fourth sample deep feature vector through an initial related information estimation network to obtain estimated sample-related information of the third sample vehicle at the third sample time point; adjusting parameters of the sixth deep network and the initial information estimation network according to the sample-related information and the estimated sample-related information; and obtaining the sixth deep network after parameter adjustment as the fourth deep network.
[0088] The third sample vehicle may be the same as or different from the vehicle in the aforementioned embodiment. The third sample time point may be any time point during the driving process of the third sample vehicle. For example, the third sample time point is 12:14:08 on September 3, 2022.
[0089] The data collected by other collection devices of the third sample vehicle at the third sample time point is used as the second sample related collection data. The real information represented by the data collected by other collection devices of the third sample vehicle at the third sample time point is used as the sample related information of the third sample vehicle at the third sample time point.
[0090] For example, if the other acquisition device of the third sample vehicle is an image sensor, then the sample-related information of the third sample vehicle at the third sample time point is the environmental information represented by the image acquired by the image sensor; for another example, if the other acquisition device of the third sample vehicle is a lidar, then the sample-related information of the third sample vehicle at the third sample time point is the environmental information represented by the point cloud data acquired by the lidar; for another example, if the other acquisition device of the third sample vehicle is a GPS, then the sample-related information of the third sample vehicle at the third sample time point is the location information represented by the GPS acquired by the GPS.
[0091] The sample-related information of the third sample vehicle at the third sample time point may be manually measured at the third sample time point, or may be determined through other data of the vehicle, which is not limited in this application.
[0092] The sixth deep network may be, for example, a parameter-initialized convolutional neural network or a recurrent neural network, etc. The sixth deep network is used to perform feature extraction on the second sample-related collected data to obtain an extracted feature vector as the fourth sample deep feature vector.
[0093] The initial relevant information estimation network can be a multilayer perceptron, a convolutional neural network or a recurrent neural network with initialized parameters. The initial relevant information estimation network estimates the relevant information of the third sample vehicle at the third sample time point based on the fourth sample deep feature vector as the estimated sample relevant information.
[0094] Afterwards, the second loss value can be determined based on the estimated sample related information and the sample related information through the error function, with the goal of minimizing the second loss value, and the parameters of the sixth deep network and the initial related information estimation network are adjusted through the second loss value until the second end condition is met; the sixth deep network after parameter adjustment is obtained as the fourth deep network. The error function can be a mean square error loss function, a cross entropy loss function, an absolute value error loss function, etc.
[0095] The parameter adjustment process of the sixth deep network and the initial related information estimation network may include multiple iterative processes, each iterative process corresponds to a second loss value, and when the number of iterations reaches the second number or and / or the second loss value of the iterative process is lower than the second threshold, it is determined that the second end condition is met. The second number and the second threshold can be set based on demand, and this application does not limit it.
[0096] When there are multiple other acquisition devices of the third sample vehicle, each other acquisition device corresponds to its own sixth depth network, and the sixth depth network of each other acquisition device is parameter-adjusted in the above manner to obtain the fourth depth network of each other acquisition device. For example, if the other acquisition device includes an image sensor, then there is one sixth depth network, and the corresponding fourth depth network is also one. For another example, if the other acquisition device includes a radar and a GPS, the sixth depth network includes the sixth depth networks of the radar and the GPS, and the corresponding fourth depth network also includes the fourth depth networks of the radar and the GPS.
[0097] It is worth mentioning that the other acquisition devices of the vehicle, the other acquisition devices of the first sample vehicle, and the other acquisition devices of the third sample vehicle may correspond to each other, so that the second depth network, the fourth depth network, and the sixth depth network also correspond to each other. For example, when the other acquisition devices of the vehicle, the other acquisition devices of the first sample vehicle, and the other acquisition devices of the third sample vehicle all include image sensors and radars, the second depth network includes the second depth network of the image sensor and the radar respectively, the fourth depth network also includes the fourth depth network of the image sensor and the radar respectively, and the sixth depth network includes the sixth depth network of the image sensor and the radar respectively. For another example, when the other acquisition devices of the vehicle, the other acquisition devices of the first sample vehicle, and the other acquisition devices of the third sample vehicle all include image sensors, radars, and GPSs, the second depth network includes the second depth network of the image sensor, the radar, and GPS respectively, the fourth depth network also includes the fourth depth network of the image sensor, the radar, and GPS respectively, and the sixth depth network includes the sixth depth network of the image sensor, the radar, and GPS respectively.
[0098] When the other acquisition device is GPS, the parameter adjustment process of the sixth deep network is as follows: Figure 6 As shown, the sixth deep network is used to extract features from the second sample related collected data (that is, the GPS data of the third sample vehicle at the third sample time point) to obtain a fourth sample deep feature vector, and then the estimated sample related information of the second sample vehicle is determined based on the fourth sample deep feature vector (that is, the estimated position, which may also include the estimated deviation of GPS), and then based on the estimated sample related information and the sample related information (that is, the actual position of the third sample vehicle at the third sample time point, which may also include the actual deviation of GPS), the parameters of the sixth deep network are adjusted to obtain the fourth deep network.
[0099] GPS observation also has some problems. The GPS error in the city is not completely Gaussian random distribution, but is affected by the surrounding environment. Traditional state estimation presupposes Gaussian error assumptions, and there are problems with using covariance matrices to characterize GPS errors. In this application, an end-to-end (directly based on GPS data to determine location) sixth deep learning network is used to process GPS data, and the powerful implicit function of deep learning is used to characterize GPS errors.
[0100] When the other acquisition device is an image sensor, the parameter adjustment process of the sixth deep network is as follows: Figure 7As shown, the sixth deep network is used to perform feature extraction on the second sample related collected data (that is, the image of the third sample vehicle at the third sample time point) to obtain a fourth sample deep feature vector, and then the estimated sample related information (that is, estimated environmental information) of the second sample vehicle is determined based on the fourth sample deep feature vector, and then based on the estimated sample related information and the sample related information (that is, the actual environmental information of the third sample vehicle determined at the third sample time point), the parameters of the sixth deep network are adjusted to obtain the fourth deep network.
[0101] When the other acquisition device is a radar, the parameter adjustment process of the sixth deep network is as follows: Figure 8 As shown, the sixth deep network is used to perform feature extraction on the second sample related collected data (that is, the point cloud data of the third sample vehicle at the third sample time point) to obtain a fourth sample deep feature vector, and then the estimated sample related information (that is, the estimated environmental information) of the second sample vehicle is determined based on the fourth sample deep feature vector, and then based on the estimated sample related information and the sample related information (that is, the actual environmental information of the third sample vehicle determined at the third sample time point), the parameters of the sixth deep network are adjusted to obtain the fourth deep network.
[0102] Traditional state estimation based on image sensors and radars processes each sensor separately according to its physical structure, but since the final optimization requires linearization, the expression of linear functions has limitations, and these systems have many simplifications. This application uses end-to-end (directly based on input to determine output, eliminating intermediate calculation steps) image and point cloud data processing to better integrate the data of each sensor.
[0103] S204 , fusing the first sample depth feature vector and the second sample depth feature vector to obtain a sample fusion feature vector.
[0104] The first sample depth feature vector and the second sample depth feature vector are fused to fuse the first sample depth feature vector and the second sample depth feature vector into one feature vector, and the fused feature vector is used as a sample fused feature vector.
[0105] In one embodiment, the first sample depth feature vector and the second sample depth feature vector may be fused based on the attention mechanism to obtain a sample fusion feature vector; in another embodiment, the first sample depth feature vector and the second sample depth feature vector may be weighted averaged to obtain a sample fusion feature vector, thereby achieving fusion of the first sample depth feature vector and the second sample depth feature vector to obtain a sample fusion feature vector. Of course, other neural network models may also be used to fuse the first sample depth feature vector and the second sample depth feature vector, which will not be described in detail here.
[0106] It is worth mentioning that when there are multiple other acquisition devices, the second sample depth feature vector includes the second sample depth feature vectors corresponding to the multiple other acquisition devices. At this time, when executing S204, it is necessary to fuse the first sample depth feature vector and the multiple second sample depth feature vectors corresponding to the multiple other acquisition devices to obtain a sample fusion feature vector.
[0107] S205 . Estimate positioning information based on the sample fusion feature vector through the initial positioning network to obtain estimated sample positioning information of the first sample vehicle at the first sample time point.
[0108] After obtaining the sample fusion feature vector, the initial positioning network can be used to estimate the positioning information based on the sample fusion feature vector to obtain the estimated sample positioning information of the first sample vehicle at the first sample time point. The estimated sample positioning information may include the three-dimensional coordinates and posture information of the first sample vehicle at the first sample time point. The initial positioning network may be a multi-layer perceptron, a convolutional neural network, a recurrent neural network, etc. with parameter initialization.
[0109] The sample fusion feature vector can be directly input into the initial positioning network, and the initial positioning network processes the sample fusion feature vector to estimate the positioning information, thereby obtaining the estimated sample positioning information of the first sample vehicle at the first sample time point: the three-dimensional coordinates, pitch angle, roll angle and yaw angle of the first sample vehicle at the first sample time point.
[0110] S206: Based on the sample positioning information and the estimated sample positioning information, adjust parameters of the third deep network, the fourth deep network, and the initial positioning network.
[0111] After obtaining the estimated sample positioning information, the model loss can be determined based on the sample positioning information and the estimated sample positioning information through the error function, and the third deep network, the fourth deep network and the initial positioning network are adjusted by the model loss with the goal of minimizing the loss value until the third end condition is met, and the adjustment process is terminated. The error function can be a mean square error loss function, a cross entropy loss function, an absolute value error loss function, etc.
[0112] The parameter adjustment process of the third deep network, the fourth deep network and the initial positioning network may include multiple iterative processes, each iterative process corresponds to a model loss, and when the number of iterations reaches the third number or and / or the model loss of the iterative process is lower than the third threshold, it is determined that the third termination condition is met. Among them, the third number and the third threshold can be set based on demand, and this application does not limit it.
[0113] S207, obtaining the third deep network after parameter adjustment as the first deep network, the fourth deep network after parameter adjustment as the second deep network, and the initial positioning network after parameter adjustment as the positioning network.
[0114] After completing the parameter adjustment process of the third deep network, the fourth deep network and the initial positioning network, the third deep network after parameter adjustment can be directly obtained as the first deep network, the fourth deep network after parameter adjustment can be directly obtained as the second deep network, and the initial positioning network after parameter adjustment can be directly obtained as the positioning network.
[0115] It can be understood that in the aforementioned process, after the fifth deep network and the initial motion state estimation network are parameter adjusted, the fifth deep network after parameter adjustment is selected as the third deep network, and the initial motion state estimation network after parameter adjustment is not used in the subsequent use or training process, therefore, the initial motion state estimation network after parameter adjustment can also be discarded. Similarly, after the sixth deep network and the initial information estimation network are parameter adjusted, the sixth deep network after parameter adjustment is selected as the fourth deep network, and the initial information estimation network after parameter adjustment is not used in the subsequent use or training process, therefore, the initial information estimation network after parameter adjustment can also be discarded.
[0116] In this embodiment, when other acquisition devices include image sensors, GPS, and radar, the training process of the positioning model (including the aforementioned first deep network, the second deep network, and the positioning network model) is as follows: Fig. 9As shown, the first sample inertial navigation data is feature extracted by the third deep network to obtain a first sample depth feature vector; the GPS data collected by the first sample vehicle at the first sample time point is feature extracted by the fourth deep network corresponding to the GPS to obtain a second sample depth feature vector corresponding to the GPS; the image collected by the first sample vehicle at the first sample time point is feature extracted by the fourth deep network corresponding to the image sensor to obtain a second sample depth feature vector corresponding to the image sensor; the point cloud data collected by the first sample vehicle at the first sample time point is feature extracted by the fourth deep network corresponding to the radar to obtain a second sample depth feature vector corresponding to the radar; then the first sample depth feature vector, the second sample depth feature vector corresponding to the image sensor, and the second sample depth feature vector corresponding to the radar are extracted. The feature vector and the second sample depth feature vector corresponding to GPS are fused to obtain the sample fusion feature vector, and then the estimated sample positioning information is determined based on the sample fusion feature vector through the initial positioning network (the estimated sample positioning information may include the estimated six degrees of freedom, and may also include other estimated error parameters, and the other error parameters may include the errors of each sensor). After that, the third depth network, the fourth depth network corresponding to the image sensor, the fourth depth network corresponding to the radar, the fourth depth network corresponding to the GPS, and the initial positioning network are adjusted based on the model loss determined by the estimated sample positioning information and the sample positioning information (the sample positioning information may include the actual six degrees of freedom, and may also include other actual error parameters, and the actual other error parameters may include the actual errors of each sensor) to obtain the positioning model.
[0117] It can be understood that in the present application, the parameter adjustment process of each network can be completed in an electronic device or server, and then after obtaining the first depth network, the second depth network and the positioning network, the first depth network, the second depth network and the positioning network are deployed in the vehicle, so that the vehicle can directly perform the steps of the vehicle positioning method of the present application according to the first depth network, the second depth network and the positioning network. Of course, the parameter adjustment process of each network can also be completed in the vehicle, and the obtained first depth network, the second depth network and the positioning network can be directly deployed in the vehicle.
[0118] In this embodiment, the positioning model includes the aforementioned first deep network, the second deep network, and the positioning network model includes the feature extraction networks of different sensors. Therefore, when estimating the positioning information of the vehicle based on the positioning model, feature extraction of data of different dimensions is achieved. At the same time, the positioning model also fuses the feature extraction results of data of different dimensions. The fused feature vector obtained by fusion includes features of multiple dimensions. The fused feature vector is more accurate, so that the estimated positioning information determined by the positioning network of the positioning model based on the fused feature vector is more accurate, thereby achieving the purpose of improving the vehicle positioning accuracy.
[0119] In this application, since the method itself relies on the vehicle's original onboard system, it is very convenient to deploy without large-scale hardware or software modification. It is suitable for aftermarket system applications, and users can choose appropriate hardware and software configurations according to their needs and apply the method to different vehicles.
[0120] The method of this application integrates data from multiple dimensions, making the determined vehicle positioning information more accurate and reaching lane-level accuracy, so that users can accurately understand the position and posture of the vehicle on the road, improving driving safety and comfort. At the same time, it provides six-degree-of-freedom positioning capabilities, including the three-dimensional coordinates and posture information of the vehicle in three-dimensional space, providing more information for the precise positioning of the vehicle.
[0121] The method of the present application is no longer limited to not relying on high-precision RTK to determine the vehicle's positioning information, thereby significantly reducing the cost of the system, making the positioning solution more economical and suitable for the mass vehicle market. Not relying on high-precision sensors also reduces dependence on special hardware equipment, thereby improving the scalability and versatility of the system.
[0122] See attached Fig.10 , Fig.10 The structure block diagram of a vehicle positioning device proposed in one embodiment of the present application is shown. The device 1200 includes:
[0123] An acquisition module 1210 is used to acquire inertial navigation data collected by an inertial navigation unit of the vehicle at a target time point and related acquisition data collected by other acquisition devices in the vehicle at a target time point;
[0124] A first extraction module 1220 is used to extract features from the inertial navigation data through a first deep network to obtain a first deep feature vector;
[0125] A second extraction module 1230 is used to extract features from the relevant collected data through a second deep network to obtain a second deep feature vector;
[0126] A fusion module 1240 is used to fuse the first depth feature vector and the second depth feature vector to obtain a fused feature vector;
[0127] The estimation module 1250 is used to estimate the positioning information based on the fused feature vector through the positioning network to obtain the estimated positioning information of the vehicle at the target time point.
[0128] Optionally, the device also includes a training module, which is used to obtain sample positioning information of the first sample vehicle at the first sample time point, the first sample inertial navigation data collected by the inertial navigation unit of the first sample vehicle at the first sample time point, and the first sample related collection data collected by other collection devices of the first sample vehicle at the first sample time point; perform feature extraction on the first sample inertial navigation data through a third deep network to obtain a first sample depth feature vector; perform feature extraction on the first sample related collection data through a fourth deep network to obtain a second sample depth feature vector; fuse the first sample depth feature vector and the second sample depth feature vector to obtain a sample fusion feature vector; estimate the positioning information based on the sample fusion feature vector through the initial positioning network to obtain the estimated sample positioning information of the first sample vehicle at the first sample time point; adjust the parameters of the third deep network, the fourth deep network and the initial positioning network based on the sample positioning information and the estimated sample positioning information; obtain the parameter-adjusted third deep network as the first deep network, the parameter-adjusted fourth deep network as the second deep network, and the parameter-adjusted initial positioning network as the positioning network.
[0129] Optionally, the training module is also used to obtain sample motion state information of the second sample vehicle at the second sample time point and second sample inertial navigation data collected by the inertial navigation unit of the second sample vehicle at the second sample time point; perform feature extraction on the second sample inertial navigation data through the fifth deep network to obtain a third sample deep feature vector; perform motion state estimation based on the third sample deep feature vector through the initial motion state estimation network to obtain estimated sample motion state information of the second sample vehicle at the second sample time point; adjust parameters of the fifth deep network and the initial motion state estimation network according to the sample motion state information and the estimated sample motion state information; and obtain the fifth deep network after parameter adjustment as the third deep network.
[0130] Optionally, the training module is also used to obtain sample-related information of the third sample vehicle at the third sample time point and second sample-related collected data collected by other collection devices of the third sample vehicle at the third sample time point; perform feature extraction on the second sample-related collected data through the sixth deep network to obtain a fourth sample deep feature vector; perform information estimation based on the fourth sample deep feature vector through the initial related information estimation network to obtain estimated sample-related information of the third sample vehicle at the third sample time point; adjust parameters of the sixth deep network and the initial information estimation network according to the sample-related information and the estimated sample-related information; and obtain the sixth deep network after parameter adjustment as the fourth deep network.
[0131] Optionally, the training module is further used to perform weighted averaging on the first sample depth feature vector and the second sample depth feature vector to obtain a sample fusion feature vector.
[0132] Optionally, the training module is also used to determine the model loss based on the sample positioning information and the estimated sample positioning information through the error function; and adjust the parameters of the third deep network, the fourth deep network and the initial positioning network through the model loss value.
[0133] Optionally, the acquisition module 1210 is also used to perform time synchronization processing on the vehicle's inertial navigation unit and other acquisition devices of the vehicle.
[0134] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0135] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0136] On the other hand, the present application also provides a computer-readable storage medium, in which program code is stored. The program code can be called by a processor to execute the method described in the above method embodiment.
[0137] The computer readable storage medium can be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a cluster of ROMs. Alternatively, the computer readable storage medium includes a non-transitory computer-readable storage medium. The computer readable storage medium has a storage space for the program code of any method step in the above method. These program codes can be read from or written into one or more computer program products. The program code can be compressed, for example, in an appropriate form.
[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A vehicle positioning method, characterized in that: The method comprises: Acquire inertial navigation data collected by an inertial navigation unit of the vehicle at a target time point and related collected data collected by other collection devices in the vehicle at the target time point; Extracting features from the inertial navigation data using a first deep network to obtain a first deep feature vector; Performing feature extraction on the relevant collected data through a second deep network to obtain a second deep feature vector; fusing the first depth feature vector and the second depth feature vector to obtain a fused feature vector; The positioning network estimates the positioning information based on the fused feature vector to obtain the estimated positioning information of the vehicle at the target time point.
2. The method according to claim 1, characterized in that Before extracting features from the inertial navigation data using the first deep network to obtain a first deep feature vector, the method further includes: Acquire sample positioning information of a first sample vehicle at a first sample time point, first sample inertial navigation data collected by an inertial navigation unit of the first sample vehicle at the first sample time point, and first sample related acquisition data collected by other acquisition devices of the first sample vehicle at the first sample time point; Performing feature extraction on the first sample inertial navigation data through a third deep network to obtain a first sample deep feature vector; Performing feature extraction on the first sample related collected data through a fourth deep network to obtain a second sample deep feature vector; Fusing the first sample depth feature vector and the second sample depth feature vector to obtain a sample fusion feature vector; Estimating positioning information based on the sample fusion feature vector through an initial positioning network to obtain estimated sample positioning information of the first sample vehicle at the first sample time point; Based on the sample positioning information and the estimated sample positioning information, adjusting parameters of the third deep network, the fourth deep network and the initial positioning network; The third deep network after parameter adjustment is obtained as the first deep network, the fourth deep network after parameter adjustment is obtained as the second deep network, and the initial positioning network after parameter adjustment is obtained as the positioning network.
3. The method according to claim 2, characterized in that Before extracting features from the first sample inertial navigation data through the third deep network to obtain a first sample deep feature vector, the method further includes: Acquire sample motion state information of a second sample vehicle at a second sample time point and second sample inertial navigation data collected by an inertial navigation unit of the second sample vehicle at the second sample time point; Performing feature extraction on the second sample inertial navigation data through a fifth deep network to obtain a third sample deep feature vector; Performing motion state estimation based on the third sample depth feature vector through an initial motion state estimation network to obtain estimated sample motion state information of the second sample vehicle at the second sample time point; According to the sample motion state information and the estimated sample motion state information, adjusting parameters of the fifth deep network and the initial motion state estimation network; A fifth deep network after parameter adjustment is obtained as the third deep network.
4. The method according to claim 2, characterized in that: Before extracting features from the first sample-related collected data through the fourth deep network to obtain a second sample deep feature vector, the method further includes: Acquire sample-related information of the third sample vehicle at a third sample time point and second sample-related collected data collected by other collection devices of the third sample vehicle at the third sample time point; Performing feature extraction on the second sample related collected data through a sixth deep network to obtain a fourth sample deep feature vector; Performing information estimation based on the fourth sample depth feature vector through an initial relevant information estimation network to obtain estimated sample relevant information of the third sample vehicle at the third sample time point; According to the sample-related information and the estimated sample-related information, parameters of the sixth deep network and the initial information estimation network are adjusted; A sixth deep network after parameter adjustment is obtained as the fourth deep network.
5. The method according to claim 2, characterized in that: The fusing the first sample depth feature vector and the second sample depth feature vector to obtain a sample fusion feature vector includes: A weighted average is performed on the first sample depth feature vector and the second sample depth feature vector to obtain a sample fusion feature vector.
6. The method according to claim 2, characterized in that The adjusting parameters of the third deep network, the fourth deep network, and the initial positioning network based on the sample positioning information and the estimated sample positioning information includes: Determining a model loss based on the sample positioning information and the estimated sample positioning information through an error function; Parameters of the third deep network, the fourth deep network, and the initial positioning network are adjusted according to the model loss value.
7. The method according to any one of claims 1 to 6, characterized in that: Before acquiring the inertial navigation data collected by the inertial navigation unit of the vehicle at the target time point and the related collected data collected by other collection devices in the vehicle at the target time point, the method further includes: The inertial navigation unit of the vehicle and other acquisition devices of the vehicle are time synchronized.
8. A vehicle positioning device, characterized in that: The device comprises: An acquisition module, used to acquire inertial navigation data collected by an inertial navigation unit of the vehicle at a target time point and related acquisition data collected by other acquisition devices in the vehicle at the target time point; A first extraction module, configured to perform feature extraction on the inertial navigation data through a first deep network to obtain a first deep feature vector; A second extraction module, used for performing feature extraction on the relevant collected data through a second deep network to obtain a second deep feature vector; A fusion module, used to fuse the first depth feature vector and the second depth feature vector to obtain a fused feature vector; The estimation module is used to estimate the positioning information based on the fused feature vector through a positioning network to obtain the estimated positioning information of the vehicle at a target time point.
9. A vehicle, characterized in that: include: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Trajectory acquisition method and device, computer device and storage medium
CN110263847A
Multi-target tracking method in unmanned driving scene based on deep learning
CN113468950A
Road surface inspection system and method based on automatic driving vehicle
CN113706737A
Visual inertial odometer method based on unsupervised learning
CN116721165A
Vegetable Mixer
KR102351924B1
