Vehicle positioning method, device, electronic equipment and storage medium
By calculating the deviation between the map matching module and the integrated navigation module for calibration, the accuracy problem of vehicle positioning under advanced assisted driving functions is solved, and the safety and reliability of the system are improved.
Patent Information
- Application Number
- CN202410600972.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-05-14
AI Technical Summary
In the advanced assisted driving function on the highway, the accuracy of vehicle positioning is affected by the inaccuracy of sensor data and the inconsistency between high-precision maps and on-site conditions, resulting in a decrease in positioning accuracy and affecting the safety and reliability of the intelligent driving system.
By obtaining the positioning information of the map matching module and the integrated navigation module, calculating the deviation between the two, and performing calibration to improve the positioning accuracy of the integrated navigation module, ensuring that accurate vehicle position information can be output even when the map matching module fails.
It improves the robustness and accuracy of vehicle positioning, ensures safe and stable driving of vehicles under advanced assisted driving functions, and reduces potential accident risks of intelligent driving systems.
Smart Images

Figure CN118168566B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent driving technology, and in particular to a vehicle positioning method, device, electronic device and storage medium. Background Art
[0002] Intelligent driving of vehicles is a current research hotspot. Intelligent driving mainly includes three parts: perception, positioning and control. The perception part is mainly responsible for collecting and processing information about the vehicle's surrounding environment. The positioning part mainly uses high-precision maps and vehicle sensor data to locate the vehicle. The control part mainly plans the vehicle's driving path based on the results of perception and positioning, and performs real-time control and decision-making. In the advanced assisted driving functions on highways, vehicle positioning mostly relies on high-precision maps. High-precision maps contain detailed traffic information, such as road layout, traffic signs, signal light status and lane lines. The positioning algorithm based on multi-sensor data fusion such as map matching (MM), integrated navigation (Integrated Navigation) and wheel odometer can more accurately determine the vehicle's position. Then, the control algorithm plans the vehicle's driving trajectory based on high-precision positioning information and map data to ensure that the vehicle drives safely and stably according to the plan.
[0003] However, in some special scenarios, sensor data may be inaccurate, thus affecting the accuracy of vehicle positioning. For example, when the actual road is under construction or maintenance, the high-precision map does not match the road site conditions, and the map matching module may fail, resulting in the inability to output accurate vehicle location information. In addition, when the vehicle enters an obstructed area, the global positioning system signal may be lost, resulting in a decrease in the accuracy of the navigation combination module. When any module fails or the accuracy decreases, the accuracy of the position information output by the fusion positioning may not meet the requirements of the control algorithm, resulting in the exit of the intelligent driving function or potential accident risks. Therefore, improving the accuracy of the vehicle positioning algorithm is crucial to ensuring the safety and reliability of the assisted driving system.
[0004] At present, the vehicle positioning algorithm that relies on high-precision maps needs to add coordinates to the vehicle positioning results to convert the coordinate system, and the corresponding measurement data of the integrated navigation module also needs to be deflected through the deflection plug-in. However, uncertain random deviation errors and noise will be introduced in the deviation process, resulting in deviations in the output of the measurement data of the integrated navigation module after deflection, resulting in poor output accuracy. The positioning fusion center of high-precision positioning locates the vehicle by integrating multi-sensor data such as map matching module, integrated navigation module, and wheel odometer. When the output accuracy of the measurement data of the integrated navigation module is poor after deflection, the accuracy of the output result of the positioning fusion center will still be good when the map matching module is effective. However, when the map matching module fails, the positioning fusion center will rely on the output result of the integrated navigation module, resulting in poor accuracy of the output result of the positioning fusion center, which cannot meet the needs of normal vehicle control.
[0005] Therefore, how to improve the accuracy of vehicle positioning is one of the technical problems that technical personnel in this field need to solve urgently. Summary of the invention
[0006] In order to solve the problem of low accuracy in vehicle positioning, embodiments of the present application provide a vehicle positioning method, device, electronic device and storage medium.
[0007] In a first aspect, an embodiment of the present application provides a vehicle positioning method, comprising:
[0008] responding to a vehicle location request;
[0009] Acquire the first positioning information and data status flag information of the vehicle measured by the current map matching module, wherein the data status flag information is used to identify whether the map matching module is valid; and acquire the second positioning information of the vehicle measured by the current integrated navigation module;
[0010] If it is determined based on the data status flag information that the map matching module fails, obtaining at least one first positioning information of the vehicle measured by the map matching module and at least one second positioning information of the vehicle measured by the integrated navigation module within a specified time window before the current moment;
[0011] Determining a first positioning deviation between the map matching module and the integrated navigation module within the specified time window according to the acquired first positioning information and the second positioning information;
[0012] Calibrate the second positioning information of the vehicle measured by the current integrated navigation module based on the first positioning deviation to obtain a calibration result of the second positioning information of the vehicle measured by the current integrated navigation module;
[0013] The target positioning information of the vehicle is determined according to the calibration result of the second positioning information.
[0014] In one embodiment, the method further comprises:
[0015] If the map matching module is determined to be valid based on the data status flag information, the target positioning information of the vehicle is determined based on the first positioning information of the vehicle measured by the current map matching module and the second positioning information of the vehicle measured by the current combined navigation module.
[0016] In one implementation, determining a first positioning deviation between the map matching module and the integrated navigation module within the specified time window according to the acquired first positioning information and the acquired second positioning information specifically includes:
[0017] Calculating a first deviation value between each first positioning information and the second positioning information at a corresponding moment within the specified time window;
[0018] An average value of each first deviation value is calculated to obtain a first positioning deviation between the map matching module and the integrated navigation module within the specified time window.
[0019] In one embodiment, the method further comprises:
[0020] Calculating the standard deviation of each of the first deviation values; and
[0021] Before calibrating the second positioning information of the vehicle measured by the current integrated navigation module based on the first positioning deviation, the method further includes:
[0022] It is determined that the standard deviation is less than or equal to a preset standard deviation threshold.
[0023] In one embodiment, the method further comprises:
[0024] If it is determined that the standard deviation is greater than the preset standard deviation threshold, obtaining at least one historical target positioning information of the vehicle determined within a specified time window before the current moment;
[0025] Calculating a second deviation value between each historical target positioning information within the specified time window and the second positioning information at a corresponding moment;
[0026] Calculating an average value of each second deviation value to obtain a second positioning deviation between a historical positioning result of the vehicle within the specified time window and the combined navigation module;
[0027] The second positioning information of the vehicle measured by the current combined navigation module is calibrated based on the second positioning deviation to obtain a calibration result of the second positioning information of the vehicle measured by the current combined navigation module.
[0028] In one embodiment, the method further comprises:
[0029] Determine a time window value interval based on the specified time window;
[0030] Determine at least one candidate time window in the time window value interval according to a preset step size;
[0031] Determine a third positioning deviation between the map matching module and the integrated navigation module within at least one candidate time window based on the first positioning information of the vehicle measured by the map matching module within at least one candidate time window and the second positioning information of the vehicle measured by the integrated navigation module;
[0032] The next time window is updated based on the third positioning deviation between the map matching module and the integrated navigation module in the at least one candidate time window.
[0033] In one implementation, determining a third positioning deviation between the map matching module and the integrated navigation module within at least one candidate time window based on the first positioning information of the vehicle measured by the map matching module within at least one candidate time window and the second positioning information of the vehicle measured by the integrated navigation module specifically includes:
[0034] For each candidate time window, obtaining at least one first positioning information of the vehicle measured by the map matching module and at least one second positioning information of the vehicle measured by the integrated navigation module in the candidate time window before the current moment;
[0035] Calculating a third deviation value between each first positioning information and the second positioning information at a corresponding moment in the candidate time window;
[0036] A corresponding root mean square error is calculated according to each third deviation value, and the root mean square error is determined as a third positioning deviation between the map matching module and the integrated navigation module within the candidate time window.
[0037] In one implementation, updating the next time window based on the third positioning deviation between the map matching module and the integrated navigation module in the at least one candidate time window specifically includes:
[0038] The candidate time window corresponding to the smallest third positioning deviation is used as the next time window.
[0039] In a second aspect, an embodiment of the present application provides a vehicle positioning device, including:
[0040] A response unit, configured to respond to a vehicle location request;
[0041] A first acquisition unit is used to acquire first positioning information and data status flag information of the vehicle measured by the current map matching module, wherein the data status flag information is used to identify whether the map matching module is valid; and to acquire second positioning information of the vehicle measured by the current integrated navigation module;
[0042] a second acquisition unit, configured to acquire at least one first positioning information of the vehicle measured by the map matching module and at least one second positioning information of the vehicle measured by the integrated navigation module within a specified time window before a current moment if it is determined based on the data status flag information that the map matching module fails;
[0043] A first determining unit, configured to determine a first positioning deviation between the map matching module and the integrated navigation module within the specified time window according to the acquired first positioning information and the acquired second positioning information;
[0044] A first calibration unit is used to calibrate the second positioning information of the vehicle measured by the current integrated navigation module based on the first positioning deviation, so as to obtain a calibration result of the second positioning information of the vehicle measured by the current integrated navigation module;
[0045] A positioning unit is used to determine the target positioning information of the vehicle according to the calibration result of the second positioning information.
[0046] In one embodiment, the positioning unit is also used to determine the target positioning information of the vehicle based on the first positioning information of the vehicle measured by the current map matching module and the second positioning information of the vehicle measured by the current combined navigation module if it is determined that the map matching module is valid based on the data status flag information.
[0047] In one embodiment, the first determination unit is specifically used to calculate the first deviation value between each first positioning information within the specified time window and the second positioning information at the corresponding moment; calculate the average value of each first deviation value to obtain the first positioning deviation between the map matching module and the combined navigation module within the specified time window.
[0048] In one embodiment, the device further comprises:
[0049] A calculation unit, used for calculating the standard deviation of each first deviation value;
[0050] The second determining unit is configured to determine that the standard deviation is less than or equal to a preset standard deviation threshold before calibrating the second positioning information of the vehicle measured by the current integrated navigation module based on the first positioning deviation.
[0051] In one embodiment, the device further comprises:
[0052] A third acquisition unit is used to acquire at least one historical target positioning information of the vehicle determined within a specified time window before a current moment if it is determined that the standard deviation is greater than the preset standard deviation threshold;
[0053] A second calculation unit, used to calculate a second deviation value between each historical target positioning information within the specified time window and the second positioning information at a corresponding moment;
[0054] A third calculation unit is used to calculate the average value of each second deviation value to obtain a second positioning deviation between the historical positioning result of the vehicle within the specified time window and the combined navigation module;
[0055] The second calibration unit is used to calibrate the second positioning information of the vehicle measured by the current combined navigation module based on the second positioning deviation to obtain a calibration result of the second positioning information of the vehicle measured by the current combined navigation module.
[0056] In one embodiment, the device further comprises:
[0057] A third determining unit, configured to determine a time window value interval based on the specified time window;
[0058] A fourth determining unit, configured to determine at least one candidate time window in the time window value interval according to a preset step size;
[0059] a fifth determining unit, configured to determine a third positioning deviation between the map matching module and the integrated navigation module within at least one candidate time window based on the first positioning information of the vehicle measured by the map matching module within at least one candidate time window and the second positioning information of the vehicle measured by the integrated navigation module;
[0060] An updating unit is used to update the next time window based on a third positioning deviation between the map matching module and the integrated navigation module in the at least one candidate time window.
[0061] In one embodiment, the fifth determination unit is specifically used to obtain, for each candidate time window, at least one first positioning information of the vehicle measured by the map matching module in the candidate time window before the current moment and at least one second positioning information of the vehicle measured by the combined navigation module; calculate the third deviation value between each first positioning information in the candidate time window and the second positioning information at the corresponding moment; calculate the corresponding root mean square error according to each third deviation value, and determine the root mean square error as the third positioning deviation between the map matching module and the combined navigation module in the candidate time window.
[0062] In one implementation, the updating unit is specifically configured to use the candidate time window corresponding to the minimum third positioning deviation as the next time window.
[0063] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the vehicle positioning method described in the present application when executing the program.
[0064] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the vehicle positioning method described in the present application.
[0065] The beneficial effects of this application are as follows:
[0066] The vehicle positioning method, device, electronic device and storage medium provided in the embodiments of the present application, in response to a vehicle positioning request, obtains first positioning information and data status flag information of the vehicle measured by the current map matching module, the data status flag information is used to identify whether the map matching module is valid, and obtains second positioning information of the vehicle measured by the current combined navigation module, determines whether the measurement data of the map matching module is invalid based on the data status flag information, and if the map matching module is invalid, obtains at least one first positioning information of the vehicle measured by the map matching module and at least one second positioning information of the vehicle measured by the combined navigation module within a specified time window before the current moment, and determines the relationship between the map matching module and the combined navigation module within the specified time window based on the obtained first positioning information and second positioning information. The first positioning deviation is used to calibrate the second positioning information of the vehicle measured by the current combined navigation module based on the first positioning deviation to obtain the calibration result of the second positioning information of the vehicle measured by the current combined navigation module, and determine the target positioning information of the vehicle according to the calibration result of the second positioning information. In an embodiment of the present application, when the vehicle is fused and positioned, when the map matching module fails, the second positioning information of the vehicle measured by the current combined navigation module is calibrated according to the positioning deviation between the map matching module and the combined navigation module in a specified time window before the current moment, and the vehicle is positioned according to the calibration result of the second positioning information. Thus, when the map matching module fails, the accuracy of the measurement result of the vehicle position by the combined navigation module is improved, thereby improving the robustness and accuracy of the vehicle positioning.
[0067] 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
[0068] 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:
[0069] Figure 1 A schematic diagram of an application scenario of the vehicle positioning method provided in an embodiment of the present application;
[0070] Figure 2 A schematic diagram of the implementation process of the vehicle positioning method provided in the embodiment of the present application;
[0071] Figure 3 A schematic diagram of an implementation flow of determining a first positioning deviation between a current map matching module and an integrated navigation module within a specified time window provided in an embodiment of the present application;
[0072] Figure 4 A schematic diagram of an implementation flow of calibrating the second positioning information measured by the combined navigation module provided in an embodiment of the present application;
[0073] Figure 5 A schematic diagram of an implementation process for updating a time window provided in an embodiment of the present application;
[0074] Figure 6 A schematic diagram of an implementation flow of determining a third positioning deviation between a map matching module and an integrated navigation module within a candidate time window provided in an embodiment of the present application;
[0075] Figure 7 A schematic diagram of the structure of a vehicle positioning device provided in an embodiment of the present application;
[0076] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0077] In order to solve the problem of low accuracy in vehicle positioning, embodiments of the present application provide a vehicle positioning method, device, electronic device and storage medium.
[0078] 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.
[0079] First reference Figure 1, which is a schematic diagram of an application scenario of the vehicle positioning method provided in an embodiment of the present application, which is a vehicle fusion positioning system architecture diagram, which may include: a combined navigation module 101, a map matching module 102 and a positioning fusion center module 103, the positioning fusion center module 103 may include: an adaptive combined navigation deviation estimation module 103-1, a time synchronization module 103-2 and a filtering fusion module 103-3, wherein the combined navigation module 101 is also an integrated navigation system (Integrated Navigation System, INS), which uses the positioning data of the Global Navigation Satellite System (GNSS) and the Inertial Measurement Unit (Inertial Measurement Unit) to obtain the positioning data of the vehicle fusion positioning system. The map matching module 102 can compare the perceived lane lines and traffic light pole features with the elements on the high-precision map to find the best matching point to improve the precision and accuracy of vehicle positioning. After the map matching module 102 obtains the preliminary positioning result (i.e., the vehicle's location information), the positioning result is sent to the positioning fusion center module 103. If the positioning data of the map matching module 102 is valid, the positioning fusion center module 103 will filter and fuse the positioning data of the map matching module 102 and the combined navigation module 101, comprehensively consider the input information of each sensor, and output the final vehicle positioning result to the downstream control module. The accuracy of the high-precision vehicle positioning algorithm can reach the centimeter level. During the fusion process of the positioning data of the combined navigation module 101, the accuracy of its positioning data has a significant impact on the performance of the vehicle fusion positioning system. In such as Figure 1In the vehicle fusion positioning system, the map matching module 102 is the module with the highest fusion weight of the positioning fusion center module 103. When the measurement data of the map matching module 102 takes effect, about 90% of the weight comes from the map matching module 102, and the combined navigation module 101 accounts for a relatively small proportion. In an embodiment of the present application, the positioning fusion center module 103 responds to the vehicle positioning request, and the vehicle positioning request can be automatically triggered when the vehicle turns on the advanced driver assistance function. The positioning fusion center module 103 obtains the first positioning information and data status flag information of the vehicle measured by the current map matching module 102, and the data status flag information is used to identify whether the map matching module 102 is valid, and obtains the second positioning information of the vehicle measured by the current combined navigation module 101. Whether the map matching module 102 is valid refers to whether the measurement data of the map matching module 102 is valid. The positioning fusion center module 103 determines whether the map matching module 102 is invalid based on the data status flag information. The failure of the map matching module 102 includes: the output quality of the upstream perception lane line is poor, including poor perception model effect, camera, lidar sensor is blocked and missed detection; or the map lane line quality is poor, including map diversion, poor accuracy during mapping, etc.; or the map matching algorithm is poor, and the algorithm effect in the map matching is not good enough, resulting in poor output posture accuracy, etc.If the map matching module 102 fails, the measurement data of the map matching module 102 will not be subsequently positioned and fused. The positioning fusion center module 103 obtains at least one first positioning information of the vehicle measured by the map matching module 102 and at least one second positioning information of the vehicle measured by the integrated navigation module 101 within a specified time window before the current moment. The adaptive integrated navigation deviation estimation module 103-1 determines the positioning deviation between the map matching module 102 and the integrated navigation module 101 within the specified time window according to the obtained first positioning information and second positioning information, which can be recorded as the first positioning deviation. Based on the first positioning deviation between the current map matching module 102 and the integrated navigation module 101 within the specified time window, the second positioning information of the vehicle measured by the current integrated navigation module 101 is calibrated to obtain the current integrated navigation module 101 measured The deviation is measured. The calibration result of the second positioning information of the vehicle is used to determine the target positioning information of the vehicle according to the calibration result of the second positioning information of the vehicle measured by the current combined navigation module 101, and then the final vehicle positioning result is output after filtering through the fusion filter module. Thus, when the map matching module 102 fails, the accuracy of the positioning result of the combined navigation module 101 for the vehicle position is improved. If the map matching module 102 is valid, the target positioning information of the vehicle is determined based on the first positioning information measured by the map matching module 102 and the second positioning information measured by the combined navigation module 101. The time synchronization module 103-2 first synchronizes the first positioning information measured by the map matching module 102 and the second positioning information measured by the combined navigation module 101, and then outputs the final vehicle positioning result after filtering through the filter fusion module 103-3. In the embodiment of the present application, an adaptive combined navigation deviation estimation is performed when the map matching module 102 fails, and the estimated combined navigation deviation can be superimposed on the output of the combined navigation module 101 to calibrate the vehicle positioning information measured by the combined navigation module 101, so that the combined navigation module 101 can maintain high-precision measurement data for a period of time when the map matching module 102 fails, so that the final positioning fusion center module 103 can output vehicle positioning information that meets the accuracy requirements of the downstream control module, thereby improving the robustness and accuracy of vehicle positioning.
[0080] Based on the above application scenarios, the following will refer to the attached Figures 2 to 6 The exemplary embodiments of the present application are described in more detail. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principle of the present application, and the implementation of the present application is not limited in any way. On the contrary, the implementation of the present application can be applied to any applicable scenario.
[0081] like Figure 2As shown, it is a schematic diagram of the implementation process of the vehicle positioning method provided in the embodiment of the present application. The vehicle positioning method can be applied to the above-mentioned positioning fusion center module 103, and specifically may include the following steps:
[0082] S21. Respond to a vehicle positioning request.
[0083] In a specific implementation, the positioning fusion center module responds to the vehicle positioning request, and the vehicle positioning request can be automatically triggered when the vehicle turns on the advanced driver assistance function.
[0084] S22: obtaining first positioning information and data status flag information of the vehicle measured by the current map matching module, and obtaining second positioning information of the vehicle measured by the current integrated navigation module.
[0085] The data status flag information is used to identify whether the map matching module is valid, that is, to identify whether the measurement data of the map matching module is valid.
[0086] During specific implementation, the map matching module and the combined navigation module will output their respective measurement data at a preset frequency, and send their respective measurement data to the positioning fusion center module. For example, if the frequency of the map matching module output is preset to 10Hz, the map matching module will output measurement data once every 0.1 second (1 / 10Hz). If the frequency of the combined navigation module output is preset to 100Hz, the combined navigation module will output measurement data once every 0.01 second (1 / 100Hz). The frequency of the fusion positioning output can also be set to 100Hz, that is, the positioning fusion center module will output the vehicle positioning result once every 0.01 second. The positioning fusion center module stores the measurement data output by the map matching module and the combined navigation module each time locally or in a database for record. The above setting of the output frequency of each module is only an example, and can be set according to needs during implementation. The embodiments of the present application are not limited to this.
[0087] The positioning fusion center module obtains the vehicle positioning information and data status flag information measured by the current map matching module and sent by it. The vehicle positioning information measured by the map matching module can be recorded as the first positioning information, and obtains the vehicle positioning information measured by the current combined navigation module and sent by it, which can be recorded as the second positioning information.
[0088] S23. If it is determined based on the data status flag information that the map matching module fails, obtaining at least one first positioning information of the vehicle measured by the map matching module within a specified time window before the current moment and at least one second positioning information of the vehicle measured by the integrated navigation module.
[0089] In specific implementation, the data status flag may include "0" and "1". When the data status flag is "1", it may indicate that the map matching module is invalid. When the data status flag is "0", it may indicate that the map matching module is valid. The data status flag may also be set according to the needs, and the embodiment of the present application does not limit this. When the map matching module fails, at least one first positioning information of the vehicle measured by the map matching module and at least one second positioning information of the vehicle measured by the combined navigation module in a specified time window before the current moment are obtained. Based on the first positioning information measured by the map matching module and the second positioning information measured by the combined navigation module, the deviation of the second positioning information measured by the current combined navigation module is estimated.
[0090] Specifically, at the beginning, the time window can be initialized and an initial value can be set, such as 5 seconds. It can be set according to the needs during implementation. The embodiment of the present application is not limited to this. When the map matching module fails next time, the time window is adaptively adjusted. The positioning information of the vehicle measured by the map matching module and the combined navigation module may include x-axis coordinate information, y-axis coordinate information and yaw angle (yaw) information in the ENU coordinate system (East-North-Up coordinate system). The ENU coordinate system is the station center coordinate system, also known as the northeast sky coordinate system, with its x-axis facing east, y-axis facing north, and z-axis facing the sky. The yaw angle is the angle between the current direction of the vehicle body and the due east direction (i.e., the x-axis). The first positioning information of the vehicle measured by the map matching module can be recorded as: including the first x-axis coordinate information, the first y-axis coordinate information and the first yaw angle information. The second positioning information of the vehicle measured by the combined navigation module can be recorded as: including the second x-axis coordinate information, the second y-axis coordinate information and the second yaw angle information. In the embodiment of the present application, the map matching module and the combined navigation module are not limited to using the ENU coordinate system when measuring the vehicle position, and other coordinate systems such as the geodetic coordinate system and the WGS-84 coordinate system (World Geodetic System- 1984 Coordinate System) may also be used. The embodiment of the present application is not limited to this. The embodiment of the present application only takes the ENU coordinate system as an example for illustration.
[0091] When the positioning fusion center module determines that the map matching module has failed based on the data status flag information sent by the current map matching module, each frame of the first positioning information of the vehicle measured by the map matching module within the specified time window before the current moment can be obtained, that is, the first x-axis coordinate information, the first y-axis coordinate information and the first yaw angle information, wherein the first positioning information sent by the current map matching module may be included in the specified time window, that is, it may be the last frame of first positioning information sent by the map matching module within the specified time window. Assuming that the specified time window is 5 seconds and the output frequency of the map matching module is 10 Hz, for the map matching module, within the specified time window of 5 seconds, each interval of 0.1 seconds is a frame, including a total of 50 frames of first positioning information. In one embodiment, the first positioning information of the vehicle measured by the current map matching module may not be included in the specified time window, and it may be the first frame of first positioning information after the specified time window. This embodiment of the present application is not limited to this. At the same time, the positioning fusion center module obtains each frame of second positioning information of the vehicle measured by the combined navigation module within the specified time window before the current moment, that is, the second x-axis coordinate information, the second y-axis coordinate information and the second yaw angle information, wherein the second positioning information sent by the current combined navigation module may be included in the specified time window, that is, it may be the last frame of second positioning information sent by the combined navigation module within the specified time window. Assuming that the output frequency of the combined navigation module is 100 Hz, for the combined navigation module, within the specified time window of 5 seconds, each interval of 0.01 seconds is a frame, including 500 frames in total. In one implementation, the second positioning information of the vehicle measured by the current combined navigation module may not be included in the specified time window, and it may be the first frame of second positioning information after the specified time window, which is not limited in this embodiment of the present application.
[0092] In a preferred embodiment, for the integrated navigation module, the second positioning information of the vehicle measured by the integrated navigation module at the time corresponding to each frame of the map matching module within the specified time window can also be obtained. In this way, when the number of measurement data frames of the integrated navigation module is greater than the number of measurement data frames of the map matching module within the specified time window, it is not necessary to obtain all the data of the integrated navigation module within the specified time window, and only the second positioning information of the vehicle at the time corresponding to each frame of the map matching module can be obtained, thereby improving the efficiency of the integrated navigation deviation estimation. In the above example, the integrated navigation module includes 500 frames of vehicle second positioning information within the historical specified time window before the current moment, and only 50 frames of vehicle second positioning information need to be obtained.
[0093] S24. Determine a first positioning deviation between the map matching module and the integrated navigation module within a specified time window according to the acquired first positioning information and the second positioning information.
[0094] Specifically, you can follow the following Figure 3 The process shown determines the first positioning deviation between the map matching module and the integrated navigation module within a specified time window, including the following steps:
[0095] S31. Calculate a first deviation value between each first positioning information within a specified time window and the second positioning information at a corresponding moment.
[0096] In a specific implementation, calculating the first deviation value between each first positioning information and the second positioning information at the corresponding moment within the specified time window specifically includes:
[0097] Calculate the first x-axis coordinate deviation value between each first x-axis coordinate information in the specified time window and the second x-axis coordinate information at the corresponding moment, calculate the first y-axis coordinate deviation value between each first y-axis coordinate information in the specified time window and the second y-axis coordinate information at the corresponding moment, and calculate the first yaw angle deviation value between each first yaw angle information in the specified time window and the second yaw angle information at the corresponding moment.
[0098] Specifically, the difference between each first x-axis coordinate information in the specified time window and the second x-axis coordinate information at the corresponding moment can be used as the corresponding first x-axis coordinate deviation value, the difference between each first y-axis coordinate information in the specified time window and the second y-axis coordinate information at the corresponding moment can be used as the corresponding first y-axis coordinate deviation value, and the difference between each first yaw angle information in the specified time window and the second yaw angle information at the corresponding moment can be used as the corresponding first yaw angle deviation value, thereby obtaining the difference array of the x-axis position, y-axis coordinate position and yaw angle position of the vehicle measured by the map matching module and the integrated navigation module in the ENU coordinate system: , , , where M represents the number of frames of the first positioning information of the vehicle measured by the map matching module within the specified time window, as in the above example, , It represents the difference between the first x-axis coordinate information of the first frame measured by the map matching module in the specified time window and the second x-axis coordinate information measured by the integrated navigation module at the corresponding time, that is, the first x-axis coordinate deviation value between the first x-axis coordinate information of the first frame measured by the map matching module in the specified time window and the second x-axis coordinate information measured by the integrated navigation module at the corresponding time. It represents the difference between the first x-axis coordinate information of the second frame measured by the map matching module in the specified time window and the second x-axis coordinate information measured by the integrated navigation module at the corresponding time, that is, the first x-axis coordinate deviation value between the first x-axis coordinate information of the second frame measured by the map matching module in the specified time window and the second x-axis coordinate information measured by the integrated navigation module at the corresponding time, and so on. It represents the difference between the first x-axis coordinate information of the Mth frame measured by the map matching module within the specified time window and the second x-axis coordinate information measured by the combined navigation module at the corresponding moment, that is, the first x-axis coordinate deviation value between the first x-axis coordinate information of the Mth frame measured by the map matching module within the specified time window and the second x-axis coordinate information measured by the combined navigation module at the corresponding moment. It represents the difference between the first y-axis coordinate information of the first frame measured by the map matching module within the specified time window and the second y-axis coordinate information measured by the integrated navigation module at the corresponding moment, that is, the first y-axis coordinate deviation value between the first y-axis coordinate information of the first frame measured by the map matching module within the specified time window and the second y-axis coordinate information measured by the integrated navigation module at the corresponding moment. It represents the difference between the first y-axis coordinate information of the second frame measured by the map matching module within the specified time window and the second y-axis coordinate information measured by the integrated navigation module at the corresponding time, that is, the first y-axis coordinate deviation value between the first y-axis coordinate information of the second frame measured by the map matching module within the specified time window and the second y-axis coordinate information measured by the integrated navigation module at the corresponding time, and so on. It represents the difference between the first y-axis coordinate information of the Mth frame measured by the map matching module within the specified time window and the second y-axis coordinate information measured by the combined navigation module at the corresponding moment, that is, the first y-axis coordinate deviation value between the first y-axis coordinate information of the Mth frame measured by the map matching module within the specified time window and the second y-axis coordinate information measured by the combined navigation module at the corresponding moment. It represents the difference between the first yaw angle information of the first frame measured by the map matching module within the specified time window and the second yaw angle information measured by the integrated navigation module at the corresponding moment, that is, the first yaw angle deviation value between the first yaw angle information of the first frame measured by the map matching module within the specified time window and the second yaw angle information measured by the integrated navigation module at the corresponding moment, It represents the difference between the first yaw angle information of the second frame measured by the map matching module in the specified time window and the second yaw angle information measured by the integrated navigation module at the corresponding moment, that is, the first yaw angle deviation value between the first yaw angle information of the second frame measured by the map matching module in the specified time window and the second yaw angle information measured by the integrated navigation module at the corresponding moment, and so on. It represents the difference between the first yaw angle information of the Mth frame measured by the map matching module within the specified time window and the second yaw angle information measured by the integrated navigation module at the corresponding moment, that is, the first yaw angle deviation value between the first yaw angle information of the Mth frame measured by the map matching module within the specified time window and the second yaw angle information measured by the integrated navigation module at the corresponding moment.
[0099] S32: Calculate the average value of each first deviation value to obtain a first positioning deviation between the map matching module and the integrated navigation module within a specified time window.
[0100] In a specific implementation, the average value of each first deviation value is calculated to obtain the first positioning deviation between the map matching module and the integrated navigation module within the specified time window, specifically including:
[0101] Calculate the average value of the first x-axis coordinate deviation ( ), obtain the deviation between the first x-axis coordinate information and the second x-axis coordinate information in the first time window; calculate the average value of each first y-axis coordinate deviation value ( ), obtain the deviation between the first y-axis coordinate information and the second y-axis coordinate information within the specified time window; calculate the average value of each first yaw angle deviation value ( ), obtain the deviation between the first yaw angle information and the second yaw angle information within the specified time window; the deviation between the first x-axis coordinate information and the second x-axis coordinate information, the deviation between the first y-axis coordinate information and the second y-axis coordinate information within the specified time window, and the deviation between the first yaw angle information and the second yaw angle information are the first positioning deviation between the map matching module and the combined navigation module within the specified time window.
[0102] During implementation, in order to improve the accuracy of the combined navigation deviation estimation, the standard deviation of each first deviation value may be further calculated.
[0103] In specific implementation, the standard deviation of each first x-axis coordinate deviation value is calculated ( ), calculate the standard deviation of each first y-axis coordinate deviation value ( ), and calculate the standard deviation of each first yaw angle deviation value ( ).
[0104] In one implementation, the variance of each first deviation value may also be calculated, that is, the variance of each first x-axis coordinate deviation value, the variance of each first y-axis coordinate deviation value, and the variance of each first yaw angle deviation value are calculated, which is not limited in this embodiment of the present application.
[0105] S25. Calibrate the second positioning information of the vehicle measured by the current combined navigation module based on the first positioning deviation to obtain a calibration result of the second positioning information of the vehicle measured by the current combined navigation module.
[0106] In a specific implementation, if it is determined that the standard deviation of each first deviation value is less than or equal to a preset standard deviation threshold, the second positioning information of the vehicle measured by the current integrated navigation module is calibrated based on the first positioning deviation between the map matching module and the integrated navigation module within the specified time window to obtain a calibration result of the second positioning information. The preset standard deviation threshold can be set according to demand, for example, it can be set to 0.1 but is not limited to it, and the embodiment of the present application does not limit this.
[0107] Specifically, if it is determined that among the standard deviation of each first x-axis coordinate deviation value, the standard deviation of each first y-axis coordinate deviation value, and the standard deviation of each first yaw angle deviation value, at least one standard deviation is less than or equal to a preset standard deviation threshold, then the second x-axis coordinate information, the second y-axis coordinate information and the second yaw angle information measured by the current combined navigation module can be calibrated based on the deviation between the first x-axis coordinate information and the second x-axis coordinate information within a specified time window, the deviation between the first y-axis coordinate information and the second yaw angle information within the specified time window, and the deviation between the first yaw angle information and the second yaw angle information within the specified time window to obtain the calibrated value of the second x-axis coordinate information, the calibrated value of the second yaw angle information and the calibrated value of the second yaw angle information measured by the current combined navigation module.
[0108] In one implementation, when the variance of each first deviation value is calculated, if it is determined that the variance of each first deviation value is less than or equal to a preset variance threshold, the second positioning information is calibrated based on the deviation between the first positioning information and the second positioning information to obtain a calibration result of the second positioning information. The preset variance threshold can be, but is not limited to, set to 0.01, and this embodiment of the present application does not limit this.
[0109] Specifically, if it is determined that among the variances of the first x-axis coordinate deviation values, the variances of the first y-axis coordinate deviation values, and the variances of the first yaw angle deviation values, at least one variance is less than or equal to a preset variance threshold, the second x-axis coordinate information, the second y-axis coordinate information, and the second yaw angle information measured by the current combined navigation module can be calibrated based on the deviation between the first x-axis coordinate information and the second x-axis coordinate information within a specified time window, the deviation between the first y-axis coordinate information and the second yaw angle information within the specified time window, and the deviation between the first yaw angle information and the second yaw angle information within the specified time window to obtain the calibrated value of the second x-axis coordinate information, the calibrated value of the second yaw angle information, and the calibrated value of the second yaw angle information measured by the current combined navigation module.
[0110] During implementation, the deviation between the first x-axis coordinate information and the second x-axis coordinate information in a specified time window can be subtracted from the second x-axis coordinate information measured by the current combined navigation module to obtain a calibration value of the second x-axis coordinate information measured by the current combined navigation module; the deviation between the first y-axis coordinate information and the second y-axis coordinate information in a specified time window can be subtracted from the second y-axis coordinate information measured by the current combined navigation module to obtain a calibration value of the second y-axis coordinate information measured by the current combined navigation module; the deviation between the first yaw angle information and the second yaw angle information in a specified time window can be subtracted from the second yaw angle information measured by the current combined navigation module to obtain a calibration value of the second yaw angle information measured by the current combined navigation module; the calibration value of the second x-axis coordinate information, the calibration value of the second y-axis coordinate information and the calibration value of the second yaw angle information are the calibration result of the second positioning information measured by the current combined navigation module.
[0111] In one embodiment, when determining the first positioning deviation between the map matching module and the integrated navigation module within the specified time window, the deviation value between the second positioning information within the specified time window and the first positioning information at the corresponding time can also be calculated, and then the average value of each deviation value can be calculated to obtain the first positioning deviation between the map matching module and the integrated navigation module within the specified time window, and the embodiment of the present application does not limit this. At this time, when calibrating the second positioning information measured by the current integrated navigation module, the second x-axis coordinate information measured by the current integrated navigation module can be added to the deviation between the second x-axis coordinate information and the first x-axis coordinate information within the specified time window to obtain the calibration value of the second x-axis coordinate information, the second y-axis coordinate information measured by the current integrated navigation module can be added to the deviation between the second y-axis coordinate information and the first y-axis coordinate information within the specified time window to obtain the calibration value of the second y-axis coordinate information, the second yaw angle information measured by the current integrated navigation module can be added to the deviation between the second yaw angle information and the first yaw angle information within the specified time window to obtain the calibration value of the second yaw angle information, and the calibration value of the second x-axis coordinate information, the calibration value of the second yaw angle information and the calibration value of the second yaw angle information are the calibration results of the second positioning information measured by the current integrated navigation module.
[0112] S26. Determine the target positioning information of the vehicle according to the calibration result of the second positioning information.
[0113] In a specific implementation, the calibration result of the second positioning information is filtered to obtain the target positioning information of the vehicle, including: target x-axis position information, target y-axis position information and target yaw angle information, that is, the final vehicle positioning result. Among them, the filtering algorithm can be but is not limited to the Kalman filtering algorithm, the extended Kalman filtering algorithm, etc., and the embodiment of the present application does not limit this.
[0114] When the standard deviation of each first deviation value is greater than the preset standard deviation threshold, the following Figure 4 The process shown calibrates the second positioning information measured by the current integrated navigation module, and includes the following steps:
[0115] S41. If it is determined that the standard deviation of each first deviation value is greater than a preset standard deviation threshold, obtaining at least one historical target positioning information of the vehicle determined within a specified time window before the current moment.
[0116] In specific implementation, if it is determined that the standard deviation of each first x-axis coordinate deviation value, the standard deviation of each first y-axis coordinate deviation value, and the standard deviation of each first yaw angle deviation value are all greater than a preset standard deviation threshold, then at least one historical target positioning information of the vehicle determined by the positioning fusion center module within a specified time window before the current moment is obtained.
[0117] S42: Calculate a second deviation value between each historical target positioning information within a specified time window and the second positioning information at a corresponding moment.
[0118] In a specific implementation, calculating the second deviation value between each historical target positioning information within a specified time window and the second positioning information at a corresponding moment specifically includes:
[0119] Calculate the second x-axis coordinate deviation value between the x-axis coordinate information of each historical target in the specified time window and the second x-axis coordinate information at the corresponding moment, calculate the second y-axis coordinate deviation value between the y-axis coordinate information of each historical target in the specified time window and the second y-axis coordinate information at the corresponding moment, and calculate the first yaw angle deviation value between the yaw angle information of each historical target in the specified time window and the second yaw angle information at the corresponding moment.
[0120] Specifically, the difference between the x-axis coordinate information of each historical target in the specified time window and the second x-axis coordinate information at the corresponding moment can be used as the corresponding second x-axis coordinate deviation value, the difference between the y-axis coordinate information of each historical target in the specified time window and the second y-axis coordinate information at the corresponding moment can be used as the corresponding second y-axis coordinate deviation value, and the difference between the yaw angle information of each historical target in the specified time window and the second yaw angle information at the corresponding moment can be used as the corresponding second yaw angle deviation value. Thus, the difference array between the vehicle's historical target x-axis position, historical target y-axis position, historical target yaw angle position and the vehicle's x-axis position, y-axis coordinate position and yaw angle position measured by the integrated navigation module in the ENU coordinate system can be obtained: , , .
[0121] S43, calculating an average value of each second deviation value to obtain a second positioning deviation between the historical positioning result of the vehicle within a specified time window and the integrated navigation module.
[0122] In the specific implementation, the average value of each second deviation value is calculated to obtain the second positioning deviation between the historical positioning result of the vehicle in the specified time window and the integrated navigation module, which specifically includes:
[0123] Calculate the average value of the x-axis coordinate deviation of each historical target ( ), get the deviation between the historical target x-axis coordinate information and the second x-axis coordinate information within the specified time window; calculate the average value of the y-axis coordinate deviation value of each historical target ( ), get the deviation between the historical target y-axis coordinate information and the second y-axis coordinate information within the specified time window; calculate the average value of the yaw angle deviation value of each historical target ( ), obtain the deviation between the historical target yaw angle information and the second yaw angle information within the specified time window; the deviation between the historical target x-axis coordinate information and the second x-axis coordinate information, the deviation between the historical target y-axis coordinate information and the second y-axis coordinate information within the specified time window, and the deviation between the historical target yaw angle information and the second yaw angle information are the second positioning deviation between the historical positioning result of the vehicle within the specified time window and the combined navigation module, that is: the second positioning deviation between the positioning fusion center module and the combined navigation module within the specified time window.
[0124] S44: Calibrate the second positioning information of the vehicle measured by the current combined navigation module based on the second positioning deviation to obtain a calibration result of the second positioning information of the vehicle measured by the current combined navigation module.
[0125] In a specific implementation, the second x-axis coordinate information, the second y-axis coordinate information and the second yaw angle information measured by the current combined navigation module are calibrated based on the deviation between the x-axis coordinate information of the historical target and the second x-axis coordinate information within a specified time window, the deviation between the y-axis coordinate information of the historical target and the second y-axis coordinate information within the specified time window, and the deviation between the yaw angle information of the historical target and the second yaw angle information within the specified time window to obtain the calibration value of the second x-axis coordinate information, the calibration value of the second y-axis coordinate information and the calibration value of the second yaw angle information measured by the current combined navigation module.
[0126] Specifically, the deviation between the historical target x-axis coordinate information and the second x-axis coordinate information in the specified time window can be subtracted from the second x-axis coordinate information measured by the current combined navigation module to obtain the calibration value of the second x-axis coordinate information, the deviation between the historical target y-axis coordinate information and the second y-axis coordinate information in the specified time window can be subtracted from the second y-axis coordinate information measured by the current combined navigation module to obtain the calibration value of the second y-axis coordinate information, the deviation between the historical target yaw angle information and the second yaw angle information in the specified time window can be subtracted from the second yaw angle information measured by the current combined navigation module to obtain the calibration value of the second yaw angle information, and the calibration value of the second x-axis coordinate information, the calibration value of the second y-axis coordinate information and the calibration value of the second yaw angle information are the calibration results of the second positioning information measured by the current combined navigation module. Further, the target positioning information of the vehicle is determined according to the calibration result of the second positioning information.
[0127] In one implementation, if the map matching module is determined to be valid based on the data status flag information, the target positioning information of the vehicle is determined based on the first positioning information of the vehicle measured by the current map matching module and the second positioning information of the vehicle measured by the current integrated navigation module.
[0128] In specific implementation, if the measurement data of the current map matching module is valid, the first x-axis coordinate information, the first y-axis coordinate information, and the first yaw angle information of the vehicle measured by the current map matching module are filtered and fused with the second axis coordinate information, the second y-axis coordinate information, and the second yaw angle information of the vehicle measured by the current combined navigation module to obtain the target positioning information of the vehicle.
[0129] In order to further improve the efficiency and accuracy of vehicle positioning, the time window can also be updated adaptively.
[0130] Specifically, you can follow the following Figure 5 The process shown updates the next time window, including the following steps:
[0131] S51. Determine a time window value interval based on a specified time window.
[0132] In specific implementation, the time window value interval can be determined based on the current time window (that is, the specified time window), and the time window can be set The value range of is: , T is the current time window size, which can be set The minimum value of is 1, that is The minimum value range of can be set to: .
[0133] S52: Determine at least one candidate time window in the time window value interval according to a preset step size.
[0134] During specific implementation, the preset step size can be set according to needs. For example, it can be set to be the same as the output frequency of the map matching module. This embodiment of the present application does not limit this.
[0135] For example, initially, the time window T is set to 5s, and the measurement output of the modified integrated navigation module calculated using the time window T for the first time starts the adaptive window in the next calculation. To perform the calculation, first set The value interval of is set to 5s, for example, so The value range of is: , From this value range, the candidate time windows in this range can be determined with a step size of 0.1s: , where the difference between every two adjacent candidate time windows is 0.1s, and N is the number of candidate time windows.
[0136] S53: Determine a third positioning deviation between the map matching module and the integrated navigation module within at least one candidate time window based on the first positioning information of the vehicle measured by the map matching module and the second positioning information of the vehicle measured by the integrated navigation module within at least one candidate time window.
[0137] In specific implementation, for each candidate time window, the following Figure 6 The process shown determines the third positioning deviation between the map matching module and the integrated navigation module within the candidate time window, including the following steps:
[0138] S61. For each candidate time window, obtain at least one first positioning information of the vehicle measured by the map matching module and at least one second positioning information of the vehicle measured by the integrated navigation module in the candidate time window before the current moment.
[0139] During specific implementation, the positioning fusion center module obtains, for each candidate time window, the first x-axis coordinate information and the first y-axis coordinate information of each frame of the vehicle measured by the map matching module in the candidate time window before the current moment (the first yaw angle information may not be obtained), and obtains the second x-axis coordinate information and the second y-axis coordinate information of the vehicle measured by the combined navigation module in the candidate time window (the second yaw angle information may not be obtained).
[0140] In a preferred implementation, for the combined navigation module, the second positioning information of the vehicle measured by the combined navigation module at the moment corresponding to each frame of the map matching module within the candidate time window can also be obtained: the second x-axis coordinate information and the second y-axis coordinate information (the second yaw angle information may not be obtained), which is not limited to the embodiment of the present application.
[0141] S62: Calculate a third deviation value between each first positioning information in the candidate time window and the second positioning information at the corresponding moment.
[0142] In specific implementation, the third x-axis coordinate deviation value between each first x-axis coordinate information in the candidate time window and the second x-axis coordinate information at the corresponding moment is calculated, and the third y-axis coordinate deviation value between each first y-axis coordinate information in the specified time window and the second y-axis coordinate information at the corresponding moment is calculated.
[0143] Specifically, the difference between each first x-axis coordinate information in the candidate time window and the second x-axis coordinate information at the corresponding moment is used as the corresponding third x-axis coordinate deviation value, and the difference between each first y-axis coordinate information in the candidate time window and the second y-axis coordinate information at the corresponding moment is used as the corresponding third y-axis coordinate deviation value, thereby obtaining the difference array of the x-axis position and y-axis coordinate position of the vehicle measured by the map matching module and the integrated navigation module in the ENU coordinate system: , ,in, Indicates the frame number of the first positioning information in the candidate time window, represents the difference between the first x-axis coordinate information of the first frame measured by the map matching module in the candidate time window and the second x-axis coordinate information measured by the integrated navigation module at the corresponding time, that is, the third x-axis coordinate deviation value between the first x-axis coordinate information of the first frame measured by the map matching module in the candidate time window and the second x-axis coordinate information measured by the integrated navigation module at the corresponding time, represents the difference between the first x-axis coordinate information of the second frame measured by the map matching module in the candidate time window and the second x-axis coordinate information measured by the integrated navigation module at the corresponding time, that is, the third x-axis coordinate deviation value between the first x-axis coordinate information of the second frame measured by the map matching module in the candidate time window and the second x-axis coordinate information measured by the integrated navigation module at the corresponding time, and so on. represents the first time measured by the map matching module within the candidate time window The difference between the first x-axis coordinate information of the frame and the second x-axis coordinate information measured by the combined navigation module at the corresponding moment, that is, the first x-axis coordinate information measured by the map matching module within the candidate time window A third x-axis coordinate deviation value between the first x-axis coordinate information of the frame and the second x-axis coordinate information measured by the combined navigation module at the corresponding moment. represents the difference between the first y-axis coordinate information of the first frame measured by the map matching module in the candidate time window and the second y-axis coordinate information measured by the integrated navigation module at the corresponding moment, that is, the third y-axis coordinate deviation value between the first y-axis coordinate information of the first frame measured by the map matching module in the candidate time window and the second y-axis coordinate information measured by the integrated navigation module at the corresponding moment, It represents the difference between the first y-axis coordinate information of the second frame measured by the map matching module in the candidate time window and the second y-axis coordinate information measured by the integrated navigation module at the corresponding time, that is, the third y-axis coordinate deviation value between the first y-axis coordinate information of the second frame measured by the map matching module in the candidate time window and the second y-axis coordinate information measured by the integrated navigation module at the corresponding time, and so on. represents the first time measured by the map matching module within the candidate time window The difference between the first y-axis coordinate information of the frame and the second y-axis coordinate information measured by the combined navigation module at the corresponding moment, that is, the first y-axis coordinate information measured by the map matching module within the candidate time window A third y-axis coordinate deviation value between the first y-axis coordinate information of the frame and the second y-axis coordinate information measured by the combined navigation module at the corresponding moment.
[0144] S63: Calculate a corresponding root mean square error according to each third deviation value, and determine the root mean square error as a third positioning deviation between the map matching module and the integrated navigation module in the candidate time window.
[0145] In a specific implementation, the root mean square error (RMSE) corresponding to each third x-axis coordinate deviation value and each third y-axis coordinate deviation value is calculated to obtain the third positioning deviation between the map matching module and the integrated navigation module within the candidate time window.
[0146] Specifically, the root mean square error corresponding to each third x-axis coordinate deviation value and each third y-axis coordinate deviation value can be calculated by the following formula:
[0147]
[0148] The root mean square error is determined as a third positioning deviation between the map matching module and the integrated navigation module within the candidate time window.
[0149] S54: Update the next time window based on the third positioning deviation between the map matching module and the integrated navigation module in at least one candidate time window.
[0150] In specific implementation, the candidate time window corresponding to the minimum third positioning deviation is used as the next time window, that is, the candidate time window corresponding to the minimum root mean square error is used as the next time window.
[0151] In the above example, the time window The value range of is: , From this value range, the candidate time windows in the range are determined according to a step size of 0.1s: , we can start the calculation from 1s, 1.1s, 1.2s, ..., 10s, a total of 90 candidate time windows (N=90), each with 90 corresponding root mean square errors RMSE, and select the candidate time window with the smallest RMSE from the 90 RMSEs , assuming that the RMSE corresponding to 4.5s is the minimum value among the 90, then 4.5s is used as the optimal time window for the next round of calculation.
[0152] The vehicle positioning method, device, electronic device and storage medium provided in the embodiments of the present application, in response to a vehicle positioning request, obtains first positioning information and data status flag information of the vehicle measured by the current map matching module, the data status flag information is used to identify whether the map matching module is valid, and obtains second positioning information of the vehicle measured by the current combined navigation module, determines whether the measurement data of the map matching module is invalid based on the data status flag information, and if the map matching module is invalid, obtains at least one first positioning information of the vehicle measured by the map matching module and at least one second positioning information of the vehicle measured by the combined navigation module within a specified time window before the current moment, and determines the relationship between the map matching module and the combined navigation module within the specified time window based on the obtained first positioning information and second positioning information. The first positioning deviation is used to calibrate the second positioning information of the vehicle measured by the current combined navigation module based on the first positioning deviation to obtain the calibration result of the second positioning information of the vehicle measured by the current combined navigation module, and determine the target positioning information of the vehicle according to the calibration result of the second positioning information. In an embodiment of the present application, when the vehicle is fused and positioned, when the map matching module fails, the second positioning information of the vehicle measured by the current combined navigation module is calibrated according to the positioning deviation between the map matching module and the combined navigation module in a specified time window before the current moment, and the vehicle is positioned according to the calibration result of the second positioning information. Thus, when the map matching module fails, the accuracy of the measurement result of the vehicle position by the combined navigation module is improved, thereby improving the robustness and accuracy of the vehicle positioning.
[0153] Based on the same inventive concept, an embodiment of the present application also provides a vehicle positioning device. Since the principle of solving the problem by the above-mentioned vehicle positioning device is similar to that of the above-mentioned vehicle positioning method, the implementation of the above-mentioned device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0154] like Figure 7 As shown, it is a schematic diagram of the structure of the vehicle positioning device provided in an embodiment of the present application, which may include:
[0155] A response unit 71, configured to respond to a vehicle positioning request;
[0156] A first acquisition unit 72 is used to acquire first positioning information and data status flag information of the vehicle measured by the current map matching module, wherein the data status flag information is used to identify whether the map matching module is valid; and to acquire second positioning information of the vehicle measured by the current integrated navigation module;
[0157] A second acquisition unit 73 is configured to acquire at least one first positioning information of the vehicle measured by the map matching module and at least one second positioning information of the vehicle measured by the integrated navigation module within a specified time window before a current moment if it is determined based on the data status flag information that the map matching module fails;
[0158] A first determining unit 74 is configured to determine a first positioning deviation between the map matching module and the integrated navigation module within the specified time window according to the acquired first positioning information and the acquired second positioning information;
[0159] A first calibration unit 75 is configured to calibrate the second positioning information of the vehicle measured by the current integrated navigation module based on the first positioning deviation, so as to obtain a calibration result of the second positioning information of the vehicle measured by the current integrated navigation module;
[0160] The positioning unit 76 is used to determine the target positioning information of the vehicle according to the calibration result of the second positioning information.
[0161] In one embodiment, the positioning unit 76 is also used to determine the target positioning information of the vehicle based on the first positioning information of the vehicle measured by the current map matching module and the second positioning information of the vehicle measured by the current combined navigation module if it is determined that the map matching module is valid based on the data status flag information.
[0162] In one embodiment, the first determination unit is specifically used to calculate the first deviation value between each first positioning information within the specified time window and the second positioning information at the corresponding moment; calculate the average value of each first deviation value to obtain the first positioning deviation between the map matching module and the combined navigation module within the specified time window.
[0163] In one embodiment, the device further comprises:
[0164] A calculation unit, used for calculating the standard deviation of each first deviation value;
[0165] The second determining unit is configured to determine that the standard deviation is less than or equal to a preset standard deviation threshold before calibrating the second positioning information of the vehicle measured by the current integrated navigation module based on the first positioning deviation.
[0166] In one embodiment, the device further comprises:
[0167] A third acquisition unit is used to acquire at least one historical target positioning information of the vehicle determined within a specified time window before a current moment if it is determined that the standard deviation is greater than the preset standard deviation threshold;
[0168] A second calculation unit, used to calculate a second deviation value between each historical target positioning information within the specified time window and the second positioning information at a corresponding moment;
[0169] A third calculation unit is used to calculate the average value of each second deviation value to obtain a second positioning deviation between the historical positioning result of the vehicle within the specified time window and the combined navigation module;
[0170] The second calibration unit is used to calibrate the second positioning information of the vehicle measured by the current combined navigation module based on the second positioning deviation to obtain a calibration result of the second positioning information of the vehicle measured by the current combined navigation module.
[0171] In one embodiment, the device further comprises:
[0172] A third determining unit, configured to determine a time window value interval based on the specified time window;
[0173] A fourth determining unit, configured to determine at least one candidate time window in the time window value interval according to a preset step size;
[0174] a fifth determining unit, configured to determine a third positioning deviation between the map matching module and the integrated navigation module within at least one candidate time window based on the first positioning information of the vehicle measured by the map matching module within at least one candidate time window and the second positioning information of the vehicle measured by the integrated navigation module;
[0175] An updating unit is used to update the next time window based on a third positioning deviation between the map matching module and the integrated navigation module in the at least one candidate time window.
[0176] In one embodiment, the fifth determination unit is specifically used to obtain, for each candidate time window, at least one first positioning information of the vehicle measured by the map matching module in the candidate time window before the current moment and at least one second positioning information of the vehicle measured by the combined navigation module; calculate the third deviation value between each first positioning information in the candidate time window and the second positioning information at the corresponding moment; calculate the corresponding root mean square error according to each third deviation value, and determine the root mean square error as the third positioning deviation between the map matching module and the combined navigation module in the candidate time window.
[0177] In one implementation, the updating unit is specifically configured to use the candidate time window corresponding to the minimum third positioning deviation as the next time window.
[0178] Based on the same technical concept, the embodiment of the present application also provides an electronic device 800, referring to Figure 8 As shown, the electronic device 800 is used to implement the vehicle positioning method described in the above method embodiment. The electronic device 800 of this embodiment may include: a memory 801, a processor 802, and a computer program stored in the memory and executable on the processor, such as a vehicle positioning program. When the processor executes the computer program, the steps in the above vehicle positioning method embodiments are implemented.
[0179] The specific connection medium between the memory 801 and the processor 802 is not limited in the embodiment of the present application. Figure 8 In the embodiment, the memory 801 and the processor 802 are connected via a bus 803. The bus 803 is Figure 8 The connection between other components is shown by bold lines, and is not intended to be limiting. The bus 803 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0180] The memory 801 may be a volatile memory, such as a random-access memory (RAM); the memory 801 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 801 may be any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 801 may be a combination of the above memories.
[0181] The processor 802 is used to implement the vehicle positioning method provided in the embodiment of the present application.
[0182] An embodiment of the present application also provides a computer-readable storage medium that stores computer-executable instructions required to execute the above-mentioned processor, which includes a program required to execute the above-mentioned processor.
[0183] 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 program code. When the program product is run on an electronic device, the program code 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.
[0184] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take 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.) containing computer-usable program codes.
[0185] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions 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 instructions executed by the processor of the computer or other programmable data processing device generate instructions 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.
[0186] These computer program instructions 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 instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0187] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0188] 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.
[0189] 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: include: responding to a vehicle location request; Acquire the first positioning information and data status flag information of the vehicle measured by the current map matching module, wherein the data status flag information is used to identify whether the map matching module is valid; and acquire the second positioning information of the vehicle measured by the current integrated navigation module; If it is determined based on the data status flag information that the map matching module fails, obtaining at least one first positioning information of the vehicle measured by the map matching module and at least one second positioning information of the vehicle measured by the integrated navigation module within a specified time window before the current moment; Determining a first positioning deviation between the map matching module and the integrated navigation module within the specified time window according to the acquired first positioning information and the acquired second positioning information, specifically comprising: calculating a first deviation value between each first positioning information and the second positioning information at a corresponding moment within the specified time window; calculating an average value of each first deviation value to obtain the first positioning deviation between the map matching module and the integrated navigation module within the specified time window; Calibrate the second positioning information of the vehicle measured by the current integrated navigation module based on the first positioning deviation to obtain a calibration result of the second positioning information of the vehicle measured by the current integrated navigation module; The target positioning information of the vehicle is determined according to the calibration result of the second positioning information.
2. The method according to claim 1, characterized in that Also includes: If the map matching module is determined to be valid based on the data status flag information, the target positioning information of the vehicle is determined based on the first positioning information of the vehicle measured by the current map matching module and the second positioning information of the vehicle measured by the current combined navigation module.
3. The method according to claim 1, characterized in that Also includes: Calculating the standard deviation of each first deviation value; as well as Before calibrating the second positioning information of the vehicle measured by the current integrated navigation module based on the first positioning deviation, the method further includes: It is determined that the standard deviation is less than or equal to a preset standard deviation threshold.
4. The method according to claim 3, characterized in that Also includes: If it is determined that the standard deviation is greater than the preset standard deviation threshold, obtaining at least one historical target positioning information of the vehicle determined within a specified time window before the current moment; Calculating a second deviation value between each historical target positioning information within the specified time window and the second positioning information at a corresponding moment; Calculating an average value of each second deviation value to obtain a second positioning deviation between a historical positioning result of the vehicle within the specified time window and the combined navigation module; The second positioning information of the vehicle measured by the current combined navigation module is calibrated based on the second positioning deviation to obtain a calibration result of the second positioning information of the vehicle measured by the current combined navigation module.
5. The method according to any one of claims 1 to 4, characterized in that Also includes: Determine a time window value interval based on the specified time window; Determine at least one candidate time window in the time window value interval according to a preset step size; Determine a third positioning deviation between the map matching module and the integrated navigation module within at least one candidate time window based on the first positioning information of the vehicle measured by the map matching module within at least one candidate time window and the second positioning information of the vehicle measured by the integrated navigation module; The next time window is updated based on the third positioning deviation between the map matching module and the integrated navigation module in the at least one candidate time window.
6. The method according to claim 5, characterized in that Determining a third positioning deviation between the map matching module and the integrated navigation module within at least one candidate time window based on the first positioning information of the vehicle measured by the map matching module within at least one candidate time window and the second positioning information of the vehicle measured by the integrated navigation module specifically includes: For each candidate time window, obtaining at least one first positioning information of the vehicle measured by the map matching module and at least one second positioning information of the vehicle measured by the integrated navigation module in the candidate time window before the current moment; Calculate a third deviation value between each first positioning information and the second positioning information at a corresponding moment in the candidate time window; A corresponding root mean square error is calculated according to each third deviation value, and the root mean square error is determined as a third positioning deviation between the map matching module and the integrated navigation module within the candidate time window.
7. The method according to claim 6, characterized in that Updating the next time window based on the third positioning deviation between the map matching module and the integrated navigation module in the at least one candidate time window specifically includes: The candidate time window corresponding to the smallest third positioning deviation is used as the next time window.
8. A vehicle positioning device, characterized in that: include: A response unit, configured to respond to a vehicle location request; A first acquisition unit is used to acquire first positioning information and data status flag information of the vehicle measured by the current map matching module, wherein the data status flag information is used to identify whether the map matching module is valid; and to acquire second positioning information of the vehicle measured by the current integrated navigation module; a second acquisition unit, configured to acquire at least one first positioning information of the vehicle measured by the map matching module and at least one second positioning information of the vehicle measured by the integrated navigation module within a specified time window before a current moment if it is determined based on the data status flag information that the map matching module fails; A first determining unit, configured to determine a first positioning deviation between the map matching module and the integrated navigation module within the specified time window according to the acquired first positioning information and the acquired second positioning information; The first determination unit is specifically used to calculate the first deviation value between each first positioning information and the second positioning information at the corresponding moment in the specified time window; calculate the average value of each first deviation value to obtain the first positioning deviation between the map matching module and the integrated navigation module in the specified time window; A first calibration unit is used to calibrate the second positioning information of the vehicle measured by the current integrated navigation module based on the first positioning deviation, so as to obtain a calibration result of the second positioning information of the vehicle measured by the current integrated navigation module; A positioning unit is used to determine the target positioning information of the vehicle according to the calibration result of the second positioning information.
9. The device according to claim 8, characterized in that The positioning unit is also used to determine the target positioning information of the vehicle based on the first positioning information of the vehicle measured by the current map matching module and the second positioning information of the vehicle measured by the current combined navigation module if it is determined that the map matching module is valid based on the data status flag information.
10. The device according to claim 8, characterized in that Also includes: A calculation unit, used for calculating the standard deviation of each first deviation value; The second determining unit is configured to determine that the standard deviation is less than or equal to a preset standard deviation threshold before calibrating the second positioning information of the vehicle measured by the current integrated navigation module based on the first positioning deviation.
11. The device according to claim 10, characterized in that Also includes: A third acquisition unit is used to acquire at least one historical target positioning information of the vehicle determined within a specified time window before a current moment if it is determined that the standard deviation is greater than the preset standard deviation threshold; A second calculation unit, used to calculate a second deviation value between each historical target positioning information within the specified time window and the second positioning information at a corresponding moment; A third calculation unit is used to calculate the average value of each second deviation value to obtain a second positioning deviation between the historical positioning result of the vehicle within the specified time window and the combined navigation module; The second calibration unit is used to calibrate the second positioning information of the vehicle measured by the current combined navigation module based on the second positioning deviation to obtain a calibration result of the second positioning information of the vehicle measured by the current combined navigation module.
12. The device according to any one of claims 8 to 11, characterized in that: Also includes: A third determining unit, configured to determine a time window value interval based on the specified time window; A fourth determining unit, configured to determine at least one candidate time window in the time window value interval according to a preset step size; a fifth determining unit, configured to determine a third positioning deviation between the map matching module and the integrated navigation module within at least one candidate time window based on the first positioning information of the vehicle measured by the map matching module within at least one candidate time window and the second positioning information of the vehicle measured by the integrated navigation module; An updating unit is used to update the next time window based on a third positioning deviation between the map matching module and the integrated navigation module in the at least one candidate time window.
13. The device according to claim 12, characterized in that The fifth determination unit is specifically used to obtain, for each candidate time window, at least one first positioning information of the vehicle measured by the map matching module in the candidate time window before the current moment and at least one second positioning information of the vehicle measured by the combined navigation module; calculate a third deviation value between each first positioning information in the candidate time window and the second positioning information at the corresponding moment; calculate a corresponding root mean square error according to each third deviation value, and determine the root mean square error as the third positioning deviation between the map matching module and the combined navigation module in the candidate time window.
14. The device according to claim 13, characterized in that The updating unit is specifically configured to use the candidate time window corresponding to the minimum third positioning deviation as the next time window.
15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the vehicle positioning method as described in any one of claims 1 to 7 is implemented.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the vehicle positioning method as described in any one of claims 1 to 7 are implemented.
