Vehicle positioning method and device, storage medium and electronic equipment

By acquiring and calculating data at the current moment and the previous moment, combined with vehicle test data, the precise positioning of the vehicle is achieved, the problem of insufficient navigation accuracy of autonomous vehicles is solved, and the accuracy of adjustment of the driving state is improved.

CN118670409AActive Publication Date: 2024-09-20GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310250851.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-15
Publication Date
2024-09-20
Estimated Expiration
2043-03-15

AI Technical Summary

Technical Problem

Existing self-driving vehicle navigation methods have problems such as large errors and slow computing speed when improving navigation accuracy, resulting in vehicle positioning accuracy insufficient to meet actual needs.

Method used

By obtaining the data at the current moment and the previous moment, and combining the vehicle test data for calculation, the motion state estimation data at the current moment is obtained, thereby achieving precise positioning of the current position of the vehicle and providing accurate positioning information to complete the driving state adjustment of automatic driving. .

Benefits of technology

It improves the accuracy of vehicle positioning, provides accurate positioning information, and ensures the safety and efficiency of autonomous driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118670409A
    Figure CN118670409A
Patent Text Reader

Abstract

The invention discloses a vehicle positioning method and device, a storage medium and electronic equipment, and the method comprises the steps: obtaining the displacement speed data and angular speed data of a current moment, the displacement speed data and angular speed data of a previous moment, and vehicle test data; obtaining current vehicle displacement data based on the speed scale factor, the displacement speed data and the displacement speed data at the previous moment, and obtaining current vehicle angle data based on the rotation external parameter, the angular speed data, the angular speed data at the previous moment and the zero offset data; and updating the motion state data based on the current vehicle displacement data, the current vehicle angle data and the zero offset data to obtain motion state estimation data at the current moment, and positioning the vehicle based on the motion state estimation data. By adopting the method and the device, the vehicle is positioned through the motion state estimation data at the current moment, so that the accuracy of vehicle positioning is improved, and accurate positioning information is provided to complete the driving state adjustment of automatic driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a vehicle positioning method, device, storage medium and electronic device. Background Art

[0002] Nowadays, with the continuous development of computer technology and sensor technology, autonomous driving vehicles are gradually becoming a feasible product in reality. During the driving process of autonomous driving vehicles, in order to ensure the safety of vehicle driving, it is necessary to continuously optimize and improve the navigation accuracy of the vehicle. Summary of the invention

[0003] The present application provides a vehicle positioning method, device, storage medium and equipment, which locate the current position of the vehicle based on the motion state estimation data at the current moment, thereby improving the accuracy of vehicle positioning and providing accurate positioning information to complete the driving state adjustment of automatic driving.

[0004] In a first aspect, an embodiment of the present application provides a vehicle positioning method, the method comprising:

[0005] Acquire displacement velocity data and angular velocity data corresponding to the vehicle of the sensor group at the current moment, as well as displacement velocity data and angular velocity data of the last moment at the last moment, and acquire vehicle test data corresponding to the vehicle, wherein the vehicle test data includes a velocity scale factor, a rotational external parameter, vehicle noise data, and zero bias data;

[0006] Based on the speed scale factor, the displacement speed data and the displacement speed data at the previous moment, obtaining current vehicle displacement data;

[0007] Based on the rotation external parameter, the angular velocity data, the angular velocity data at the previous moment, and the zero bias data, current vehicle angle data is obtained;

[0008] Based on the current vehicle displacement data, the current vehicle angle data and the zero bias data, the motion state data is updated to obtain the motion state estimation data at the current moment, and the vehicle is positioned based on the motion state estimation data, wherein the motion state data is the motion state estimation data of the current moment at the previous moment.

[0009] In a second aspect, an embodiment of the present application provides a vehicle positioning device, the device comprising:

[0010] A data acquisition unit, used to acquire displacement velocity data and angular velocity data corresponding to the vehicle of the sensor group at the current moment, as well as the displacement velocity data and angular velocity data of the last moment at the last moment, and acquire vehicle test data corresponding to the vehicle, wherein the vehicle test data includes a velocity scale factor, a rotational external parameter, a vehicle noise data, and a zero bias data;

[0011] A displacement data acquisition unit, used to obtain current vehicle displacement data based on the speed scale factor, the displacement speed data and the displacement speed data at a previous moment;

[0012] An angle data acquisition unit, used for obtaining current vehicle angle data based on the rotation external parameter, the angular velocity data, the angular velocity data at the previous moment and the zero bias data;

[0013] A data updating unit is used to update the motion state data based on the current vehicle displacement data, the current vehicle angle data and the zero bias data to obtain the motion state estimation data at the current moment, and to locate the vehicle based on the motion state estimation data, wherein the motion state data is the motion state estimation data at the previous moment of the current moment.

[0014] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the steps of the above-mentioned method.

[0015] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the method described in the second aspect.

[0016] In an embodiment of the present application, by acquiring data at the current moment and data at the previous moment, and combining the vehicle test data for calculation, the motion state estimation data at the current moment is obtained, thereby realizing positioning of the current position of the vehicle based on the motion state estimation data at the current moment, thereby improving the accuracy of vehicle positioning, and providing accurate positioning information to complete the driving state adjustment of automatic driving. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1A system architecture diagram of vehicle positioning provided in an embodiment of the present application;

[0019] Figure 2 A schematic diagram of a vehicle positioning method provided in an embodiment of the present application;

[0020] Figure 3 An example schematic diagram of various vehicle coordinate systems provided in an embodiment of the present application;

[0021] Figure 4 An example schematic diagram of display positioning provided in an embodiment of the present application;

[0022] Figure 5 A schematic diagram of a vehicle positioning method provided in an embodiment of the present application;

[0023] Figure 6 An example schematic diagram of an angle for updating motion state data provided in an embodiment of the present application;

[0024] Figure 7 A schematic diagram of the structure of a vehicle positioning device provided in an embodiment of the present application;

[0025] Figure 8 A schematic diagram of the structure of a vehicle positioning device provided in an embodiment of the present application;

[0026] Fig. 9 A schematic diagram of the structure of an initialization unit provided in an embodiment of the present application;

[0027] Fig.10 A schematic diagram of the structure of a zero-speed detection unit provided in an embodiment of the present application;

[0028] Fig.11 A schematic diagram of the structure of a zero-speed update unit provided in an embodiment of the present application;

[0029] Fig.12 A schematic diagram of the structure of a positioning update unit provided in an embodiment of the present application;

[0030] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] In order to make the features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0032] In the prior art, when improving the navigation accuracy of autonomous driving vehicles, a navigation method used is combined navigation, which navigates the vehicle through data acquisition and calculation through multiple sensors. However, in the actual operation process, there are large errors and slow calculation speeds, resulting in the positioning accuracy of vehicle navigation being insufficient to meet actual needs.

[0033] Based on this, an embodiment of the present application provides a vehicle positioning method, which obtains data from the current moment and data from the previous moment, combines the vehicle test data for calculation, and obtains the motion state estimation data at the current moment, thereby realizing positioning of the vehicle's current position based on the motion state estimation data at the current moment, thereby improving the accuracy of vehicle positioning, and providing accurate positioning information to complete the driving state adjustment of automatic driving.

[0034] See also Figure 1 , which is a system architecture diagram of a vehicle positioning method provided in an embodiment of the present application. Figure 1 As shown, the vehicle positioning method provided in the embodiment of the present application can be applied to the sensor group 10 and the vehicle terminal 20 to realize the vehicle positioning process. The system structure provided in the embodiment of the present application mainly includes the sensor group 10 and the vehicle terminal 20. Among them, the sensor group 10 can be a combination of various sensors used for positioning in the vehicle; the vehicle terminal 20 can be a terminal device with computing capabilities carried by the vehicle.

[0035] In an embodiment of the present application, the sensor group 10 sends the collected data to the vehicle terminal 20. Based on the collected displacement velocity data and angular velocity data at the current moment, combined with the displacement velocity data and the previous numerical control angular velocity data of the previous moment and the vehicle test data in the vehicle terminal 20, the vehicle terminal 20 updates the motion state data through calculation to obtain the motion state estimation data of the current moment, so as to position the vehicle based on the motion state estimation data.

[0036] In an embodiment of the present application, by acquiring data at the current moment and data at the previous moment, and combining the vehicle test data for calculation, the motion state estimation data at the current moment is obtained, thereby realizing positioning of the current position of the vehicle based on the motion state estimation data at the current moment, thereby improving the accuracy of vehicle positioning, and providing accurate positioning information to complete the driving state adjustment of automatic driving.

[0037] based on Figure 1 The system architecture shown below will be combined with Figure 2-Figure 4 , the vehicle positioning method provided in the embodiment of the present application is introduced in detail.

[0038] See also Figure 2 , which is a flow chart of a vehicle positioning method provided in an embodiment of the present application. Figure 2 As shown, the method may include the following steps S101-S104.

[0039] S101, obtaining displacement velocity data and angular velocity data corresponding to a vehicle of a sensor group at a current moment, as well as displacement velocity data and angular velocity data of a previous moment, and obtaining vehicle test data corresponding to the vehicle;

[0040] In one embodiment, during vehicle driving, the displacement velocity data and angular velocity data corresponding to the vehicle at the current moment and the displacement velocity data and angular velocity data of the previous moment are obtained by the sensor group, and vehicle test data corresponding to the vehicle is obtained.

[0041] Furthermore, the sensor group may be a set of sensors required for assisting autonomous driving in the vehicle, such as an inertial measurement unit (IMU) sensor, a wheel speed sensor, a global positioning system (GPS) sensor, etc. Among them, the inertial sensor may be a sensor for detecting the acceleration and angular velocity of the vehicle, as well as the zero bias data of the vehicle; the wheel speed sensor may be a sensor for detecting the displacement speed of the vehicle; and the positioning sensor may be a sensor for detecting the position of the vehicle.

[0042] Furthermore, the previous moment may be a time corresponding to a time interval determined according to the data acquisition frequency of each sensor compared to the current moment. For example, if the acquisition frequency of the inertial sensor is 100 Hz and the acquisition frequency of the wheel speed sensor is 1 Hz, then the data collected by the inertial sensor is acquired every 0.01 s, and the data collected by the wheel speed sensor is acquired every 1 s, so the time interval between each moment is 0.01 s.

[0043] Furthermore, the vehicle test data may be various data obtained by testing the vehicle before starting the vehicle according to the vehicle's historical driving process. The vehicle test data may include speed scale factors, rotational external parameters, vehicle noise data, and zero bias data;

[0044] Among them, the speed scale factor may be the historical positioning data and historical wheel speed data respectively obtained by the positioning sensor and the wheel speed sensor in the historical data stored in the previous driving process of the vehicle, and the ratio value calculated between the historical positioning data and the historical wheel speed data. The speed scale factor may be used to correct the data obtained by the wheel speed sensor based on the positioning data obtained by the positioning sensor. It can be understood that the positioning displacement data obtained by the positioning sensor is more accurate than the displacement data obtained according to the displacement speed data obtained by the wheel speed sensor. Therefore, in order to ensure the certainty when the sensor group is used for positioning, the positioning displacement data is used to correct the displacement data.

[0045] The rotational external parameter may be used to correct the acceleration data acquired by the inertial sensor, so as to avoid errors caused by wear of the inertial sensor after long-term use, which may affect the accuracy of the acquired data.

[0046] The vehicle noise data may include random walk and noise, the random noise may be the accumulation of white noise of the vehicle over a period of time, and the noise may be caused by external interference. It should be noted that a period of time may be a preset time length, such as three driving times, or ten days.

[0047] The zero bias data may be the zero bias in each direction in a coordinate system formed by a gyroscope and an accelerometer in the inertial sensor, and is used to correct the data detected by the inertial sensor.

[0048] Furthermore, after the vehicle is started, the data acquisition frequency of each sensor in the sensor group is obtained, each sensor in the sensor group is initialized, and when zero-speed determination data that meets the zero-speed trigger condition is detected, zero-speed detection and zero-speed update are performed.

[0049] Further, the initialization of the sensor group may be to initialize the sensor, and a feasible initialization method may be to obtain the default motion state data and the original motion state data of the sensor group, and initialize the default motion state data based on the original motion state data. The default motion state data may be the default data pre-set when each sensor in the sensor group is started, and the original motion state data may be the data obtained by each sensor in the sensor group after the vehicle is started.

[0050] Furthermore, a feasible method for initializing the default motion state may be to determine that the original inertial data corresponding to the inertial sensor is valid data, initialize the default zero bias data in the default inertial data based on the original inertial data, determine that the original positioning data corresponding to the positioning sensor is valid based on the wheel speed sensor, and initialize the default displacement data based on the original positioning data. The default inertial data may be the data corresponding to the inertial sensor in the default motion state data, and the default displacement data may be the data corresponding to the positioning sensor in the default motion state data.

[0051] Furthermore, the zero-speed trigger condition may be that the signal of the positioning sensor is valid and the detected speed is zero, the speed detected by the wheel speed sensor is zero, the accelerometer and gyroscope measurement values ​​of the inertial sensor are less than a threshold, and a zero-speed detection method based on a chi-square test, etc. It should be noted that as long as one of the zero-speed trigger conditions is met, it can be considered that the requirement for performing zero-speed detection is met.

[0052] Furthermore, a feasible zero-speed detection method may be to obtain zero-speed acquisition data acquired by the sensor group, update the zero bias data corresponding to the vehicle based on the zero-speed acquisition data, obtain zero-speed detection data, and obtain a zero-speed detection matrix based on the zero-speed detection data. The zero-speed acquisition data may include zero-speed zero bias data and a zero-speed noise matrix, and the zero-speed detection data may include a zero-speed detection matrix and a zero-speed noise matrix.

[0053] Furthermore, the motion state data and zero-speed covariance data of the vehicle in the zero-speed state are obtained, the zero-speed gain is obtained based on the zero-speed covariance data, the zero-speed detection matrix and the zero-speed noise matrix, the zero-speed positioning data corresponding to the positioning sensor in the sensor group is obtained, the motion state data is updated at zero speed based on the zero-speed gain and the zero-speed positioning data, and the zero-speed covariance data is updated at zero speed based on the zero-speed detection matrix and the zero-speed gain.

[0054] Furthermore, when the vehicle is started, there is a situation where the vehicle is at zero speed and is ready to be turned off after stopping. A feasible way to set the default motion state data is to use the zero speed updated data obtained when the vehicle was ready to be turned off after the last driving as the default motion state data for the next startup.

[0055] S102, obtaining current vehicle displacement data based on the speed scale factor, the displacement speed data, and the displacement speed data at a previous moment;

[0056] In one embodiment, based on the speed scale factor and the displacement speed data and the displacement speed data at the previous moment, a displacement data calculation formula is used to calculate and obtain the current vehicle displacement data at the current moment.

[0057] Furthermore, the displacement data calculation formula may be a formula as shown in formula (1), and the corresponding displacement data is obtained by integrating the velocity.

[0058]

[0059] Among them, δL is the current vehicle displacement data obtained by calculation, S S can be the velocity scaling factor, Can be displacement velocity data, It can be the displacement velocity data of the previous moment, and dt can be the time interval.

[0060] S103, obtaining current vehicle angle data based on the rotation external parameter, the angular velocity data, the angular velocity data at the previous moment, and the zero bias data;

[0061] In one embodiment, based on the acquired rotational external parameters, angular velocity data, angular velocity data at the previous moment, and zero bias data, an angle calculation formula is used to calculate and obtain the current vehicle angle data at the current moment.

[0062] Furthermore, the angle calculation formula may be a formula as shown in formula (2), and the corresponding angle data is obtained by integrating the angular velocity.

[0063]

[0064] Among them, δW is the current vehicle displacement data obtained by calculation, R hb Can be a rotation extrinsic parameter, Can be angular velocity data, can be the angular velocity data of the previous moment, b g·z It can be the zero bias measured by the gyroscope in the inertial sensor in the z-axis direction, and dt can be the time interval.

[0065] It should be noted that the z-axis direction of the gyroscope can be the z-axis in the IMU coordinate system constructed according to the inertial sensor. It can be understood that each sensor in the sensor group has a corresponding coordinate system, such as Figure 3 , Figure 3 The world coordinate system in the middle can be the ENU (Northeast Celestial) world coordinate system, the due north is the y-axis, and the due east is the x-axis. The IMU coordinate system can be the coordinate system corresponding to the inertial sensor, and the GPS coordinate system can be the coordinate system corresponding to the positioning sensor.

[0066] S104, based on the current vehicle displacement data, the current vehicle angle data and the zero bias data, the motion state data is updated to obtain motion state estimation data at the current moment, and the motion state estimation data is used to locate the vehicle;

[0067] In one embodiment, after obtaining the current vehicle displacement data and the current vehicle angle data by calculation, the motion state data of the vehicle is obtained, and based on the current vehicle displacement data, the current vehicle angle data and the zero bias data, the motion state data is updated using a corresponding update formula to obtain the motion state estimation data at the current moment, and then the vehicle is positioned based on the motion state estimation data.

[0068] Furthermore, the motion state data may be motion state estimation data of the current moment before the current moment, including current vehicle displacement data, current vehicle angle data, and zero bias data.

[0069] Furthermore, the update formula may be the formulas shown in the following formula (3), which includes formula (3.1), formula (3.2), formula (3.3), formula (3.4), formula (3.5) and formula (3.6):

[0070]

[0071]

[0072]

[0073] b a·x =b a·x Formula (3.4)

[0074] b a·y =b a·y Formula (3.5)

[0075] b g·z =b g·z Formula (3.6)

[0076] Among them, the x on the left side of the equal sign "=" in formula (3.1) can be the data corresponding to the displacement data of the previous moment in the motion state data on the horizontal axis, and the x on the right side of the equal sign "=" in formula (3.1) can be the displacement data corresponding to the horizontal axis in the motion estimation state data of the updated current moment obtained by calculating according to the motion state data and the current vehicle displacement data; the y on the left side of the equal sign "=" in formula (3.2) can be the data corresponding to the displacement data of the previous moment in the motion state data on the vertical axis, and the y on the right side of the equal sign "=" in formula (3.2) can be the displacement data corresponding to the vertical axis in the motion estimation state data of the updated current moment obtained by calculating according to the motion state data and the current vehicle displacement data; the θ on the left side of the equal sign "=" in formula (3.3) can be the angle data of the previous moment in the motion state data, and the θ on the right side of the equal sign "=" in formula (3.3) can be the angle data of the motion estimation state data of the updated current moment obtained by calculating according to the motion state data and the current vehicle angle data; the b in formulas (3.4), (3.5) and (3.6) a·x 、b a·y and b g·z They are the zero biases corresponding to the x-axis, y-axis and z-axis in the conventional sensor detected by the conventional sensor. In the actual driving process, the changes in the zero biases of the x-axis, y-axis and z-axis are not large and can be ignored.

[0077] It should be noted that the x and y on the right side of the equal sign may be the corresponding displacements between the current moment of the vehicle and the initial position when the vehicle is started. Figure 4 As shown, Figure 4 The origin in is the initial position of the vehicle when it is started, point A is the current vehicle displacement data of the vehicle at the current moment, and "θ" is the angle formed by the current vehicle orientation of the vehicle and the horizontal coordinate direction of the initial state at the time of startup.

[0078] Furthermore, after obtaining the estimated motion state data at the current moment, positioning is performed based on the estimated motion state data at the current moment to determine the position and state of the vehicle at the current moment, so that the vehicle can judge the driving direction and speed required by the vehicle at the next moment and complete the automatic driving state adjustment.

[0079] In an embodiment of the present application, by acquiring data at the current moment and data at the previous moment, and combining the vehicle test data for calculation, the motion state estimation data at the current moment is obtained, thereby realizing positioning of the current position of the vehicle based on the motion state estimation data at the current moment, thereby improving the accuracy of vehicle positioning, and providing accurate positioning information to complete the driving state adjustment of automatic driving.

[0080] See also Figure 5, which is a flow chart of a vehicle positioning method provided in an embodiment of the present application. Figure 5 As shown, the method may include the following steps S201-S209.

[0081] S201, obtaining displacement velocity data and angular velocity data corresponding to the vehicle of the sensor group at the current moment, as well as displacement velocity data and angular velocity data of the last moment at the last moment, and obtaining vehicle test data corresponding to the vehicle;

[0082] In one embodiment, during vehicle driving, the displacement velocity data and angular velocity data corresponding to the vehicle at the current moment and the displacement velocity data and angular velocity data of the previous moment are obtained by the sensor group, and vehicle test data corresponding to the vehicle is obtained.

[0083] Furthermore, the sensor group may be a set of sensors required for assisting autonomous driving in the vehicle, such as an inertial measurement unit (IMU) sensor, a wheel speed sensor, a global positioning system (GPS) sensor, etc. Among them, the inertial sensor may be a sensor for detecting the acceleration and angular velocity of the vehicle, as well as the zero bias data of the vehicle; the wheel speed sensor may be a sensor for detecting the displacement speed of the vehicle; and the positioning sensor may be a sensor for detecting the position of the vehicle.

[0084] Furthermore, the previous moment may be a time corresponding to a time interval determined according to the data acquisition frequency of each sensor compared to the current moment. For example, if the acquisition frequency of the inertial sensor is 100 Hz and the acquisition frequency of the wheel speed sensor is 1 Hz, then the data collected by the inertial sensor is acquired every 0.01 s, and the data collected by the wheel speed sensor is acquired every 1 s, so the time interval between each moment is 0.01 s.

[0085] Furthermore, the vehicle test data may be various data obtained from testing based on the vehicle's historical driving process before the vehicle is started. The vehicle test data may include speed scale factors, rotational external parameters, vehicle noise data, and zero bias data;

[0086] Among them, the speed scale factor may be the historical positioning data and historical wheel speed data respectively obtained by the positioning sensor and the wheel speed sensor in the historical data stored in the previous driving process of the vehicle, and the ratio value calculated between the historical positioning data and the historical wheel speed data. The speed scale factor may be used to correct the data obtained by the wheel speed sensor based on the positioning data obtained by the positioning sensor. It can be understood that the positioning displacement data obtained by the positioning sensor is more accurate than the displacement data obtained according to the displacement speed data obtained by the wheel speed sensor. Therefore, in order to ensure the certainty when the sensor group is used for positioning, the positioning displacement data is used to correct the displacement data.

[0087] The rotational external parameter may be used to correct the acceleration data acquired by the inertial sensor, so as to avoid errors caused by wear of the inertial sensor after long-term use, which may affect the accuracy of the acquired data.

[0088] The vehicle noise data may include random walk and noise, the random noise may be the accumulation of white noise of the vehicle over a period of time, and the noise may be caused by external interference. It should be noted that a period of time may be a preset time length, such as three driving times, or ten days.

[0089] The zero bias data may be the zero bias in each direction in a coordinate system formed by a gyroscope and an accelerometer in the inertial sensor, and is used to correct the data detected by the inertial sensor.

[0090] Furthermore, after the vehicle is started, the data acquisition frequency of each sensor in the sensor group is obtained, each sensor in the sensor group is initialized, and when zero-speed determination data that meets the zero-speed trigger condition is detected, zero-speed detection and zero-speed update are performed.

[0091] Further, the initialization of the sensor group may be to initialize the sensor, and a feasible initialization method may be to obtain the default motion state data and the original motion state data of the sensor group, and initialize the default motion state data based on the original motion state data. The default motion state data may be the default data pre-set when each sensor in the sensor group is started, and the original motion state data may be the data obtained by each sensor in the sensor group after the vehicle is started.

[0092] Furthermore, a feasible method for initializing the default motion state may be to determine that the original inertial data corresponding to the inertial sensor is valid data, initialize the default zero bias data in the default inertial data based on the original inertial data, determine that the original positioning data corresponding to the positioning sensor is valid based on the wheel speed sensor, and initialize the default displacement data based on the original positioning data. The default inertial data may be the data corresponding to the inertial sensor in the default motion state data, and the default displacement data may be the data corresponding to the positioning sensor in the default motion state data.

[0093] Furthermore, the zero-speed trigger condition may be that the signal of the positioning sensor is valid and the detected speed is zero, the speed detected by the wheel speed sensor is zero, the accelerometer and gyroscope measurement values ​​of the inertial sensor are less than a threshold, and a zero-speed detection method based on a chi-square test, etc. It should be noted that as long as one of the zero-speed trigger conditions is met, it can be considered that the requirement for performing zero-speed detection is met.

[0094] Furthermore, a feasible zero-speed detection method may be to obtain zero-speed acquisition data acquired by the sensor group, update the zero bias data corresponding to the vehicle based on the zero-speed acquisition data, obtain zero-speed detection data, and obtain a zero-speed detection matrix based on the zero-speed detection data. The zero-speed acquisition data may include zero-speed zero bias data and a zero-speed noise matrix, and the zero-speed detection data may include a zero-speed detection matrix and a zero-speed noise matrix.

[0095] Furthermore, the motion state data and zero-speed covariance data of the vehicle in the zero-speed state are obtained, the zero-speed gain is obtained based on the zero-speed covariance data, the zero-speed detection matrix and the zero-speed noise matrix, the zero-speed positioning data corresponding to the positioning sensor in the sensor group is obtained, the motion state data is updated at zero speed based on the zero-speed gain and the zero-speed positioning data, and the zero-speed covariance data is updated at zero speed based on the zero-speed detection matrix and the zero-speed gain.

[0096] Furthermore, when the vehicle is started, there is a situation where the vehicle is at zero speed and is ready to be turned off after stopping. A feasible way to set the default motion state data is to use the zero speed updated data obtained when the vehicle was ready to be turned off after the last driving as the default motion state data for the next startup.

[0097] S202, obtaining current vehicle displacement data based on the speed scale factor, the displacement speed data, and the displacement speed data at a previous moment;

[0098] In one embodiment, based on the speed scale factor and the displacement speed data and the displacement speed data at the previous moment, a displacement data calculation formula is used to calculate and obtain the current vehicle displacement data at the current moment.

[0099] Furthermore, the displacement data calculation formula may be a formula as shown in formula (1), and the corresponding displacement data is obtained by integrating the velocity.

[0100]

[0101] Among them, δL is the current vehicle displacement data obtained by calculation, S S can be the velocity scaling factor, Can be displacement velocity data, It can be the displacement velocity data of the previous moment, and dt can be the time interval.

[0102] S203, obtaining current vehicle angle data based on the rotation external parameter, the angular velocity data, the angular velocity data at the previous moment, and the zero bias data;

[0103] In one embodiment, based on the acquired rotational external parameters, angular velocity data, angular velocity data at the previous moment, and zero bias data, an angle calculation formula is used to calculate and obtain the current vehicle angle data at the current moment.

[0104] Furthermore, the angle calculation formula may be a formula as shown in formula (2), and the corresponding angle data is obtained by integrating the angular velocity.

[0105]

[0106] Among them, δW is the current vehicle displacement data obtained by calculation, R hb Can be a rotation extrinsic parameter, Can be angular velocity data, can be the angular velocity data of the previous moment, b g·z It can be the zero bias measured by the gyroscope in the inertial sensor in the z-axis direction, and dt can be the time interval.

[0107] It should be noted that the z-axis direction of the gyroscope can be the z-axis in the IMU coordinate system constructed according to the inertial sensor. It can be understood that each sensor in the sensor group has a corresponding coordinate system, such as Figure 3 , Figure 3 The world coordinate system in the middle can be the ENU (Northeast Celestial) world coordinate system, the due north is the y-axis, and the due east is the x-axis. The IMU coordinate system can be the coordinate system corresponding to the inertial sensor, and the GPS coordinate system can be the coordinate system corresponding to the positioning sensor.

[0108] S204, based on the current vehicle displacement data, the current vehicle angle data and the zero bias data, the motion state data is updated to obtain motion state estimation data at the current moment, and the motion state estimation data is used to locate the vehicle;

[0109] In one embodiment, after obtaining the current vehicle displacement data and the current vehicle angle data by calculation, the motion state data of the vehicle is obtained, and based on the current vehicle displacement data, the current vehicle angle data and the zero bias data, the motion state data is updated using a corresponding update formula to obtain the motion state estimation data at the current moment, and then the vehicle is positioned based on the motion state estimation data.

[0110] Furthermore, the motion state data may be motion state estimation data of the current moment before the current moment, including current vehicle displacement data, current vehicle angle data, and zero bias data.

[0111] Furthermore, the update formula may be the formulas shown in the following formula (3), which includes formula (3.1), formula (3.2), formula (3.3), formula (3.4), formula (3.5) and formula (3.6):

[0112]

[0113]

[0114]

[0115] b a·x =b a·x Formula (3.4)

[0116] b a·y =b a·y Formula (3.5)

[0117] b g·z =b g·z Formula (3.6)

[0118] Among them, the x on the left side of the equal sign "=" in formula (3.1) can be the data corresponding to the displacement data of the previous moment in the motion state data on the horizontal axis, and the x on the right side of the equal sign "=" in formula (3.1) can be the displacement data corresponding to the horizontal axis in the motion estimation state data of the updated current moment obtained by calculating according to the motion state data and the current vehicle displacement data; the y on the left side of the equal sign "=" in formula (3.2) can be the data corresponding to the displacement data of the previous moment in the motion state data on the vertical axis, and the y on the right side of the equal sign "=" in formula (3.2) can be the displacement data corresponding to the vertical axis in the motion estimation state data of the updated current moment obtained by calculating according to the motion state data and the current vehicle displacement data; the θ on the left side of the equal sign "=" in formula (3.3) can be the angle data of the previous moment in the motion state data, and the θ on the right side of the equal sign "=" in formula (3.3) can be the angle data of the motion estimation state data of the updated current moment obtained by calculating according to the motion state data and the current vehicle angle data; the b in formulas (3.4), (3.5) and (3.6) a·x , b a·y and b g·z They are the zero biases corresponding to the x-axis, y-axis and z-axis in the conventional sensor detected by the conventional sensor. In the actual driving process, the changes in the zero biases of the x-axis, y-axis and z-axis are not large and can be ignored.

[0119] It should be noted that the x and y on the right side of the equal sign may be the corresponding displacements between the current moment of the vehicle and the initial position when the vehicle is started. Figure 4 As shown, Figure 4 The origin in is the initial position of the vehicle when it is started, point A is the current vehicle displacement data of the vehicle at the current moment, and "θ" is the angle formed by the current vehicle orientation of the vehicle and the horizontal coordinate direction of the initial state at the time of startup.

[0120] Furthermore, after obtaining the estimated motion state data at the current moment, positioning is performed based on the estimated motion state data at the current moment to determine the position and state of the vehicle at the current moment, so that the vehicle can judge the driving direction and speed required by the vehicle at the next moment and complete the automatic driving state adjustment.

[0121] S205, determining a corresponding vehicle noise matrix based on the vehicle noise data;

[0122] In one embodiment, the vehicle noise matrix may include the speed noise variance of the wheel speed sensor, the gyroscope noise of the inertial sensor, the accelerometer random walk of the inertial sensor, and the gyroscope random walk of the inertial sensor. The expression of the vehicle noise matrix may be as shown in Expression (4):

[0123]

[0124] Among them, S i can be the speed noise variance of the wheel speed sensor, Θ i The gyroscope noise of the inertial sensor, A i can be the random walk of the accelerometer of the inertial sensor, Ω i It can be the random walk of the gyroscope of the inertial sensor.

[0125] S206, acquiring a motion state matrix and a motion state noise matrix corresponding to the vehicle based on the motion state estimation data at the current moment;

[0126] In one embodiment, partial derivatives are taken for the motion state estimation data at the current moment to obtain a corresponding motion state matrix, and partial derivatives are taken for the motion state matrix to obtain a motion state noise matrix.

[0127] Exemplarily, the motion state matrix may be expressed as formula (5), and the motion state noise matrix may be expressed as formula (6):

[0128]

[0129]

[0130] Among them, F x can be the motion state matrix, F i It can be the motion state noise matrix.

[0131] S207, updating vehicle covariance data based on the vehicle noise matrix, the motion state matrix and the motion state noise matrix;

[0132] In one embodiment, after the vehicle noise matrix, the motion state matrix and the motion state noise matrix are acquired, the vehicle covariance data of the vehicle at the last moment is updated using a covariance update formula.

[0133] Furthermore, the covariance update formula may be as shown in formula (7):

[0134]

[0135] Wherein, the P on the left side of the equal sign "=" in formula (7) may be the covariance data of the previous moment, and the P on the right side of the equal sign "=" may be the covariance data obtained after the update; The matrix F x The resulting matrix after transposition is The matrix F i The matrix obtained after transposition, Q i The vehicle noise matrix can be obtained.

[0136] Furthermore, a feasible vehicle positioning method may be, after updating the covariance data, if the sensor group does not obtain the trigger condition satisfying the zero-speed detection, then proceeding to execute the step of obtaining the displacement speed data and angular velocity data corresponding to the vehicle of the sensor group at the current moment.

[0137] S208, when the positioning motion state data collected by the positioning sensor in the sensor group is normal, obtaining positioning error data and motion state error data;

[0138] In one embodiment, the positioning motion state data collected by the positioning sensors in the sensor group are detected, and when there is no abnormality in the positioning motion state data collected by the positioning sensors in the sensor group, the positioning error data and the motion error data are acquired.

[0139] Furthermore, the positioning error data may be an error generated after the positioning sensor has been used for a period of time, and the error may be directly calculated from data acquired by the positioning sensor and recorded in the on-board computer.

[0140] Furthermore, the motion error data may be a variable obtained by calculating the difference between the motion state estimation data at the current moment and the motion state data.

[0141] Furthermore, the positioning motion state data may include positioning displacement data and positioning precision factor.

[0142] Furthermore, a feasible method for detecting the positioning motion state data collected by the positioning sensor in the sensor group may be to detect a trigger condition that satisfies the abnormal positioning motion state data, and use a detection method corresponding to the trigger condition to detect the positioning motion state data to obtain a detection result. When the detection result indicates that the positioned motion state data is valid data, the steps of obtaining positioning error data and motion state error data are executed; when the detection result indicates that the positioning motion state data is invalid data, the positioning data is discarded, and the latest valid data stored is used as the positioning motion state data, and the steps of obtaining positioning error data and motion state error data are executed.

[0143] Among them, the abnormal positioning motion state data may be due to the fact that the vehicle is easily affected by the multipath effect when driving in a high-rise environment, etc., which causes the signal obtained by the positioning sensor to be interfered, and the accuracy of the collected data is greatly affected.

[0144] Further, the method for detecting abnormal positioning motion state data may be a detection method based on a chi-square test, a detection method based on speed information, a detection method based on position information, a detection method based on precision factor, and a detection method based on longitude, latitude and altitude, etc. It is understandable that when a trigger condition for abnormal positioning motion state data is detected, the detection method corresponding to the trigger condition is used for detection. For example, when an abnormality is detected in the current speed information, a detection method based on speed information is used.

[0145] It is understandable that when the detection result obtained after detecting the positioning motion state data indicates that the positioning motion state data is invalid data, in order to avoid affecting the positioning accuracy due to the use of invalid data for positioning, a feasible method is to discard the invalid data and use the latest valid data stored in the database as the positioning motion state data, so as to facilitate the execution of the steps of obtaining positioning error data and motion state error data, and then subsequently update the motion state estimation data and vehicle covariance estimation data. Further, another feasible method can be to directly end the subsequent steps after discarding the invalid data, and after executing step S207, proceed to execute step S201 and subsequent steps until the positioning motion state data that is valid data is obtained, and then execute the subsequent steps. It should be noted that the update frequency of the positioning motion state data can be determined according to the acquisition frequency of the positioning sensor. For example, the acquisition frequency of the positioning sensor is 1Hz, that is, it is acquired once per second. Therefore, the update frequency of the positioning motion state data is 1Hz, that is, it is updated once every second. When the positioning motion state data of the current second is wireless data, until the newly collected positioning motion state data is acquired in the next second, the latest valid data in the database is used to execute the steps of acquiring positioning error data and motion state error data, or the subsequent steps are not executed. The specific setting is based on the actual situation.

[0146] S209, based on the positioning motion state data, the positioning error data, the current vehicle displacement data, the current vehicle angle data and the motion state error data, updating the motion state estimation data and the vehicle covariance estimation data at the current moment.

[0147] In one embodiment, based on the collected positioning motion state data, positioning error data and the calculated current vehicle displacement data, current vehicle angle data and motion state error data, the motion state estimation data and vehicle covariance estimation data at the current moment are updated to correct the data collected and calculated by the wheel speed machine sensor in the sensor group through the data collected by the positioning sensor.

[0148] Furthermore, the method for updating the estimated operation state data at the current moment may be to use an observation calculation formula to calculate based on the positioning displacement data, the current vehicle displacement data and the current vehicle angle data to obtain a positioning observation matrix. The observation calculation formula may be a formula as shown in formula (8):

[0149]

[0150] Among them, P gps (0) can be the displacement information collected by the positioning displacement data in the x-axis direction of the GPS coordinate system, P gps (1) may be the displacement data of the displacement information collected by the positioning displacement data in the y-axis direction of the GPS coordinate system, x may be the displacement data of the current vehicle displacement data in the x-axis direction of the world coordinate system, y may be the displacement data of the current vehicle displacement data in the y-axis direction of the world coordinate system, and θ may be the current vehicle angle data. For example, Figure 6 As shown, Figure 6 After the origin of the world coordinate system and the GPS coordinate system overlap, the angle θ between the two coordinate systems is obtained, which is the current vehicle angle data.

[0151] Furthermore, the positioning observation matrix obtained according to the positioning observation data is a matrix as shown in formula (9):

[0152]

[0153] Among them, H gps It can be used to locate the observation matrix.

[0154] Furthermore, based on the current vehicle displacement data, motion state error data, positioning observation matrix and positioning error data, formula (10) is used to calculate and obtain positioning observation data:

[0155] Z gps =h gps (X,δX,δ gps )~P wb +H gps ·δX+δ gps Formula (10)

[0156] Among them, Z gps The observation data can be located, h gps can be a function expression, δX can be the motion state error data, P wb It can be used to estimate the displacement data in the motion state, H gps can be the positioning observation matrix, δ gps It can be positioning error data.

[0157] Furthermore, based on the positioning precision factor, the noise variance is obtained, and the expression of the noise variance can be as shown in formula (11). Wherein, the positioning precision factor includes the horizontal precision factor and the vertical precision factor:

[0158]

[0159] in, can be the horizontal dilution of precision, can be the vertical precision factor, V gps It can be the noise variance.

[0160] Furthermore, the positioning gain is obtained based on the positioning observation matrix, the vehicle covariance estimation data and the positioning noise variance. The positioning gain can be obtained by calculating using the formula shown in formula (12):

[0161]

[0162] Among them, K gps Can be positioning gain, It can be the transpose of the positioning observation matrix.

[0163] Furthermore, based on the positioning observation data and the positioning gain, the motion state estimation data at the current moment is updated. The updating method may be to use formula (13) for calculation:

[0164] X=X+K gps ·(Z gps -h gps (X)) Formula (13)

[0165] Furthermore, based on the positioning gain and the positioning observation matrix, the vehicle covariance estimation data is updated. The updating method may be calculated using formula (14):

[0166] P=(1-K gps ·H gps )·P Formula (14)

[0167] Further, after the motion state estimation data and vehicle covariance estimation data at the current moment are updated based on the data collected by the positioning sensor, when data satisfying the zero-speed trigger condition is detected, the steps of zero-speed detection and zero-speed update are performed. It can be understood that after the vehicle has traveled for a period of time, if the vehicle is stopped or other conditions satisfying the zero-speed trigger condition, zero-speed detection and zero-speed update are performed; if data that does not satisfy the zero-speed trigger adjustment is detected, positioning is performed based on the updated motion state estimation data. The specific method of positioning can be referred to step S204, which will not be described in detail here, and the execution of step S201 and subsequent steps is transferred to the next moment.

[0168] In an embodiment of the present application, after initializing the sensor group of the vehicle, the data at the current moment and the data at the previous moment are obtained, and the data is calculated in combination with the vehicle test data to obtain the motion state estimation data at the current moment, the vehicle covariance data is updated to obtain the vehicle covariance estimation data, and the positioning sensor is updated to obtain the positioning data to further update the motion state estimation data and the vehicle covariance estimation data at the current moment, thereby locating the current position of the vehicle based on the motion state estimation data at the current moment, and then combining the update of the covariance to complete the update step of the positioning sensor, thereby improving the accuracy of vehicle positioning and providing accurate positioning information to complete the driving state adjustment of automatic driving.

[0169] based on Figure 1 The system architecture shown below will be combined with Figure 7-Figure 12 , the vehicle positioning device provided in the embodiment of the present application is introduced in detail. It should be noted that, Figure 7-Figure 12 The vehicle positioning device is used to implement the present application Figure 2-Figure 6 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 2-Figure 6 The embodiment shown.

[0170] See also Figure 7 , is a schematic diagram of the structure of a vehicle positioning device provided in an embodiment of the present application. Figure 7 As shown, the conference terminal 1 in the embodiment of the present application may include: a data acquisition unit 11 , a displacement data acquisition unit 12 , an angle data acquisition unit 13 and a data update unit 14 .

[0171] A data acquisition unit 11 is used to acquire displacement velocity data and angular velocity data corresponding to the vehicle of the sensor group at the current moment, as well as the displacement velocity data and angular velocity data of the last moment at the last moment, and acquire vehicle test data corresponding to the vehicle, wherein the vehicle test data includes a velocity scale factor, a rotation external parameter, a vehicle noise data and a zero bias data;

[0172] A displacement data acquisition unit 12, configured to obtain current vehicle displacement data based on the velocity scale factor, the displacement velocity data, and the displacement velocity data at a previous moment;

[0173] An angle data acquisition unit 13, used to obtain current vehicle angle data based on the rotation external parameter, the angular velocity data, the angular velocity data at the previous moment and the zero bias data;

[0174] The data updating unit 14 is used to update the motion state data based on the current vehicle displacement data, the current vehicle angle data and the zero bias data to obtain the motion state estimation data at the current moment, and to locate the vehicle based on the motion state estimation data, wherein the motion state data is the motion state estimation data at the previous moment of the current moment.

[0175] Optional, such as Figure 8 As shown, the vehicle positioning device 1 further includes:

[0176] The raw data acquisition unit 15 is used to acquire the default motion state data and the raw motion state data of the sensor group, wherein the default state data includes the default zero bias data and the default displacement data, and the raw motion state data includes the raw inertial data and the raw positioning data;

[0177] The initialization unit 16 is configured to initialize the default motion state data based on the original motion state data.

[0178] Optional, such as Fig. 9 As shown, the initialization unit 16 includes:

[0179] An inertial initialization subunit 161 is used to determine that the original inertial data corresponding to the inertial sensor is valid data, and initialize the default zero bias data in the default inertial data based on the original inertial data;

[0180] The displacement initialization subunit 162 is used to determine whether the original positioning data corresponding to the positioning sensor is valid based on the wheel speed sensor, and initialize the default displacement data based on the original positioning data.

[0181] Optional, such as Figure 8 As shown, the vehicle positioning device 1 further includes:

[0182] A zero-speed detection unit 17 is used to obtain zero-speed acquisition data acquired by the sensor group when zero-speed determination data satisfying a zero-speed trigger condition is detected, and to perform zero-speed detection on the vehicle based on the zero-speed acquisition data to obtain zero-speed detection data, wherein the zero-speed acquisition data includes zero-speed zero bias data and a zero-speed noise matrix, and the zero-speed detection data includes a zero-speed detection matrix and a zero-speed noise matrix;

[0183] The zero-speed updating unit 18 is used to perform zero-speed updating on the motion state data and the vehicle covariance data based on the zero-speed detection data.

[0184] Optional, such as Fig.10 As shown, the zero speed detection unit 17 comprises:

[0185] A zero-speed data acquisition subunit 171 is used to update the zero-bias data corresponding to the vehicle based on the zero-speed zero-bias data to obtain zero-speed detection data;

[0186] The zero-speed matrix acquisition subunit 172 is configured to obtain a zero-speed detection matrix based on the zero-speed detection data.

[0187] Optional, such as Fig.11 As shown, the zero speed update unit 18 comprises:

[0188] A zero-speed gain acquisition subunit 181, configured to obtain a zero-speed gain based on zero-speed covariance data, the zero-speed detection matrix and the zero-speed noise matrix;

[0189] The zero-speed update subunit 182 is used to obtain the zero-speed positioning data corresponding to the positioning sensor in the sensor group, and perform zero-speed update on the motion state estimation data at the current moment based on the zero-speed gain and the zero-speed positioning data;

[0190] The zero-speed update subunit 182 is further configured to perform zero-speed update on the vehicle covariance data based on the zero-speed detection matrix and the zero-speed gain.

[0191] Optional, such as Figure 8 As shown, the vehicle positioning device 1 further includes:

[0192] A matrix acquisition unit 19, configured to determine a corresponding vehicle noise matrix based on the vehicle noise data;

[0193] The matrix acquisition unit 19 is further used to acquire the motion state matrix and motion state noise matrix corresponding to the vehicle based on the motion state estimation data at the current moment;

[0194] The covariance updating unit 110 is used to update the vehicle covariance data based on the vehicle noise matrix, the motion state matrix and the motion state noise matrix, and proceed to execute the step of obtaining the displacement velocity data and angular velocity data corresponding to the vehicle of the sensor group at the current moment.

[0195] Optional, such as Figure 8 As shown, the vehicle positioning device 1 further includes:

[0196] The error data acquisition unit 111 is used to acquire positioning error data and motion state error data when there is no abnormality in the positioning motion state data collected by the positioning sensor in the sensor group, wherein the positioning motion state data includes positioning displacement data and positioning accuracy factor;

[0197] The positioning update unit 112 is used to update the motion state estimation data and the vehicle covariance estimation data at the current moment based on the positioning motion state data, the positioning error data, the current vehicle displacement data, the current vehicle angle data and the motion state error data.

[0198] Optional, such as Fig.12 As shown, the positioning update unit 112 includes:

[0199] A matrix acquisition subunit 1121 is used to obtain a positioning observation matrix based on the positioning displacement data, the current vehicle displacement data and the current vehicle angle data;

[0200] A positioning data acquisition subunit 1122, configured to obtain positioning observation data based on the current vehicle displacement data, the motion state error data, the positioning observation matrix and the positioning error data;

[0201] The positioning data acquisition subunit 1122 is further used to obtain the positioning noise variance based on the positioning precision factor, where the positioning precision factor includes a horizontal precision factor and a vertical precision factor;

[0202] A positioning gain acquisition subunit 1123, configured to obtain a positioning gain based on the positioning observation matrix, the vehicle covariance estimation data and the positioning noise variance;

[0203] A positioning update subunit 1124, configured to update the motion state estimation data at the current moment based on the positioning observation data and the positioning gain;

[0204] The positioning update subunit 1124 is further used to update the vehicle covariance estimation data based on the positioning gain and the positioning observation matrix.

[0205] Optional, such as Figure 8 As shown, the vehicle positioning device 1 further includes:

[0206] An abnormality detection unit 113, used to detect that a trigger condition of abnormal positioning motion state data is satisfied;

[0207] The abnormality detection unit 113 is further used to detect the positioning motion state data using a detection method corresponding to the trigger condition to obtain a detection result;

[0208] The abnormality detection unit 113 is further configured to execute the step of acquiring the positioning error data and the motion state error data when the detection result indicates that the positioned motion state data is valid data;

[0209] The abnormality detection unit 113 is also used to discard the positioning data when the detection result indicates that the positioning motion state data is invalid data, use the latest valid data stored as the positioning motion state data, and execute the steps of obtaining the positioning error data and the motion state error data.

[0210] In an embodiment of the present application, after initializing the sensor group of the vehicle, the data at the current moment and the data at the previous moment are obtained, and the data is calculated in combination with the vehicle test data to obtain the motion state estimation data at the current moment, the vehicle covariance data is updated to obtain the vehicle covariance estimation data, and the positioning sensor is updated to obtain the positioning data to further update the motion state estimation data and the vehicle covariance estimation data at the current moment, thereby locating the current position of the vehicle based on the motion state estimation data at the current moment, and then combining the update of the covariance to complete the update step of the positioning sensor, thereby improving the accuracy of vehicle positioning and providing accurate positioning information to complete the driving state adjustment of automatic driving.

[0211] The present application also provides a computer storage medium, which can store multiple program instructions, and the program instructions are suitable for being loaded and executed by a processor as described above. Figure 2-Figure 6 The method steps of the embodiment shown in the figure can be found in the specific implementation process. Figure 2-Figure 6 The specific description of the illustrated embodiment will not be repeated here.

[0212] See also Fig.13 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.13 As shown, the electronic device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, an input / output interface 1003, a memory 1005, and at least one communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally also be at least one storage device located away from the aforementioned processor 1001. As shown in FIG. Fig.13 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, an input / output interface module, and a vehicle positioning application.

[0213] exist Fig.13In the electronic device 1000 shown, the input-output interface 1003 is mainly used to provide an input interface for the user and obtain data input by the user.

[0214] In one embodiment, the processor 1001 may be used to call a vehicle positioning application stored in the memory 1005, and specifically perform the following operations:

[0215] Acquire displacement velocity data and angular velocity data corresponding to the vehicle of the sensor group at the current moment, as well as displacement velocity data and angular velocity data of the last moment at the last moment, and acquire vehicle test data corresponding to the vehicle, wherein the vehicle test data includes a velocity scale factor, a rotational external parameter, vehicle noise data, and zero bias data;

[0216] Based on the speed scale factor, the displacement speed data and the displacement speed data at the previous moment, obtaining current vehicle displacement data;

[0217] Based on the rotation external parameter, the angular velocity data, the angular velocity data at the previous moment, and the zero bias data, current vehicle angle data is obtained;

[0218] Based on the current vehicle displacement data, the current vehicle angle data and the zero bias data, the motion state data is updated to obtain the motion state estimation data at the current moment, and the vehicle is positioned based on the motion state estimation data, wherein the motion state data is the motion state estimation data of the current moment at the previous moment.

[0219] Optionally, before executing the operation of acquiring the displacement velocity data and angular velocity data corresponding to the vehicle of the sensor group at the current moment, the processor 1001 further performs the following operations:

[0220] Acquire default motion state data and original motion state data of the sensor group, wherein the default state data includes default zero bias data and default displacement data, and the original motion state data includes original inertial data and original positioning data;

[0221] The default motion state data is initialized based on the original motion state data.

[0222] Optionally, the sensor group includes an inertial sensor, the wheel speed sensor and the positioning sensor, and the processor 1001, when executing the initialization of the default motion state data based on the original motion state data, specifically performs the following operations:

[0223] Determining that raw inertial data corresponding to the inertial sensor is valid data, and initializing default zero bias data in default inertial data based on the raw inertial data;

[0224] The original positioning data corresponding to the positioning sensor is determined to be valid based on the wheel speed machine sensor, and the default displacement data is initialized based on the original positioning data.

[0225] Optionally, the processor 1001 further performs the following operations:

[0226] When zero-speed determination data satisfying a zero-speed trigger condition is detected, the zero-speed acquisition data acquired by the sensor group is acquired, and zero-speed detection is performed on the vehicle based on the zero-speed acquisition data to obtain zero-speed detection data, wherein the zero-speed acquisition data includes zero-speed zero bias data and a zero-speed noise matrix, and the zero-speed detection data includes a zero-speed detection matrix and a zero-speed noise matrix;

[0227] The motion state data and the vehicle covariance data are updated at zero speed based on the zero speed detection data.

[0228] Optionally, when the processor 1001 performs zero-speed detection on the vehicle based on the zero-speed collection data to obtain zero-speed detection data, the processor 1001 specifically performs the following operations:

[0229] Based on the zero-speed zero-bias data, the zero-bias data corresponding to the vehicle is updated to obtain zero-speed detection data;

[0230] A zero-speed detection matrix is ​​obtained based on the zero-speed detection data.

[0231] Optionally, when the processor 1001 performs zero-speed updating on the motion state data and the vehicle covariance data based on the zero-speed detection data, the processor 1001 specifically performs the following operations:

[0232] Obtaining a zero-speed gain based on zero-speed covariance data, the zero-speed detection matrix, and the zero-speed noise matrix;

[0233] Acquire zero-speed positioning data corresponding to the positioning sensor in the sensor group, and perform zero-speed update on the motion state estimation data at the current moment based on the zero-speed gain and the zero-speed positioning data;

[0234] The vehicle covariance data is updated at zero speed based on the zero speed detection matrix and the zero speed gain.

[0235] Optionally, after the processor 1001 updates the motion state data based on the current vehicle displacement data, the current vehicle angle data and the zero bias data to obtain the motion state estimation data at the current moment, it further performs the following operations:

[0236] determining a corresponding vehicle noise matrix based on the vehicle noise data;

[0237] Acquire a motion state matrix and a motion state noise matrix corresponding to the vehicle based on the motion state estimation data at the current moment;

[0238] Based on the vehicle noise matrix, the motion state matrix and the motion state noise matrix, the vehicle covariance data is updated, and the step of obtaining the displacement velocity data and angular velocity data corresponding to the vehicle of the sensor group at the current moment is executed.

[0239] Optionally, after obtaining the updated vehicle covariance estimation data, the processor 1001 further performs the following operations:

[0240] When the positioning motion state data collected by the positioning sensor in the sensor group is normal, obtaining positioning error data and motion state error data, wherein the positioning motion state data includes positioning displacement data and positioning accuracy factor;

[0241] Based on the positioning motion state data, the positioning error data, the current vehicle displacement data, the current vehicle angle data and the motion state error data, the motion state estimation data and the vehicle covariance estimation data at the current moment are updated.

[0242] Optionally, before executing the operation of acquiring the displacement velocity data and angular velocity data corresponding to the vehicle of the sensor group at the current moment, the processor 1001 further performs the following operations:

[0243] Acquire default motion state data and original motion state data of the sensor group, wherein the default state data includes default zero bias data and default displacement data, and the original motion state data includes original inertial data and original positioning data;

[0244] The default motion state data is initialized based on the original motion state data.

[0245] Optionally, when the processor 1001 updates the motion state estimation data and the vehicle covariance estimation data at the current moment based on the positioning motion state data, the positioning error data, the current vehicle displacement data, the current vehicle angle data, and the motion state error data, the processor 1001 specifically performs the following operations:

[0246] Based on the positioning displacement data, the current vehicle displacement data and the current vehicle angle data, a positioning observation matrix is ​​obtained;

[0247] Obtaining positioning observation data based on the current vehicle displacement data, the motion state error data, the positioning observation matrix and the positioning error data;

[0248] Based on the positioning precision factor, obtaining positioning noise variance, the positioning precision factor includes horizontal precision factor and vertical precision factor;

[0249] Obtaining a positioning gain based on the position measurement matrix, the vehicle covariance estimation data and the positioning noise variance;

[0250] Based on the positioning observation data and the positioning gain, updating the motion state estimation data at the current moment;

[0251] The vehicle covariance estimation data is updated based on the positioning gain and the positioning observation matrix.

[0252] Optionally, before executing the operation that the positioning motion state data collected by the positioning sensor in the sensor group is normal, the processor 1001 further performs the following operations:

[0253] The trigger condition of abnormal positioning motion state data is detected;

[0254] Using the detection method corresponding to the trigger condition to detect the positioning motion state data to obtain a detection result;

[0255] When the detection result indicates that the located motion state data is valid data, executing the step of acquiring the positioning error data and the motion state error data;

[0256] When the detection result indicates that the positioning motion state data is invalid data, the positioning data is discarded, the latest valid data stored is used as the positioning motion state data, and the steps of acquiring positioning error data and motion state error data are performed.

[0257] In an embodiment of the present application, after initializing the sensor group of the vehicle, the data at the current moment and the data at the previous moment are obtained, and the data is calculated in combination with the vehicle test data to obtain the motion state estimation data at the current moment, the vehicle covariance data is updated to obtain the vehicle covariance estimation data, and the positioning sensor is updated to obtain the positioning data to further update the motion state estimation data and the vehicle covariance estimation data at the current moment, thereby locating the current position of the vehicle based on the motion state estimation data at the current moment, and then combining the update of the covariance to complete the update step of the positioning sensor, thereby improving the accuracy of vehicle positioning and providing accurate positioning information to complete the driving state adjustment of automatic driving.

[0258] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0259] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A vehicle positioning method, characterized in that: The method comprises: Acquire displacement velocity data and angular velocity data corresponding to the vehicle of the sensor group at the current moment, as well as displacement velocity data and angular velocity data of the last moment at the last moment, and acquire vehicle test data corresponding to the vehicle, wherein the vehicle test data includes a velocity scale factor, a rotational external parameter, vehicle noise data, and zero bias data; Based on the speed scale factor, the displacement speed data and the displacement speed data at the previous moment, obtaining current vehicle displacement data; Based on the rotation external parameter, the angular velocity data, the angular velocity data at the previous moment, and the zero bias data, current vehicle angle data is obtained; Based on the current vehicle displacement data, the current vehicle angle data and the zero bias data, the motion state data is updated to obtain the motion state estimation data at the current moment, and the vehicle is positioned based on the motion state estimation data, wherein the motion state data is the motion state estimation data of the current moment at the previous moment.

2. The method according to claim 1, characterized in that Before obtaining the displacement speed data and angular speed data corresponding to the vehicle by the sensor group at the current moment, the method further includes: Acquire default motion state data and original motion state data of the sensor group, wherein the default state data includes default zero bias data and default displacement data, and the original motion state data includes original inertial data and original positioning data; The default motion state data is initialized based on the original motion state data.

3. The method according to claim 2, characterized in that The sensor group includes an inertial sensor, a wheel speed sensor and a positioning sensor; The initializing the default motion state data based on the original motion state data includes: Determining that raw inertial data corresponding to the inertial sensor is valid data, and initializing default zero bias data in default inertial data based on the raw inertial data; The original positioning data corresponding to the positioning sensor is determined to be valid based on the wheel speed machine sensor, and the default displacement data is initialized based on the original positioning data.

4. The method according to claim 1, characterized in that: The method further comprises: When zero-speed determination data satisfying a zero-speed trigger condition is detected, the zero-speed acquisition data acquired by the sensor group is acquired, and zero-speed detection is performed on the vehicle based on the zero-speed acquisition data to obtain zero-speed detection data, wherein the zero-speed acquisition data includes zero-speed zero bias data and a zero-speed noise matrix, and the zero-speed detection data includes a zero-speed detection matrix and a zero-speed noise matrix; The motion state data and the vehicle covariance data are updated at zero speed based on the zero speed detection data.

5. The method according to claim 4, characterized in that The performing zero-speed detection on the vehicle based on the zero-speed collection data to obtain zero-speed detection data includes: Based on the zero-speed zero-bias data, the zero-bias data corresponding to the vehicle is updated to obtain zero-speed detection data; A zero-speed detection matrix is ​​obtained based on the zero-speed detection data.

6. The method according to claim 4, characterized in that The zero-speed updating of the motion state data and the vehicle covariance data based on the zero-speed detection data includes: Obtaining a zero-speed gain based on zero-speed covariance data, the zero-speed detection matrix, and the zero-speed noise matrix; Acquire zero-speed positioning data corresponding to the positioning sensor in the sensor group, and perform zero-speed update on the motion state estimation data at the current moment based on the zero-speed gain and the zero-speed positioning data; The vehicle covariance data is updated at zero speed based on the zero speed detection matrix and the zero speed gain.

7. The method according to claim 1, characterized in that After the motion state data is updated based on the current vehicle displacement data, the current vehicle angle data and the zero bias data to obtain the motion state estimation data at the current moment, the method further includes: determining a corresponding vehicle noise matrix based on the vehicle noise data; Acquire a motion state matrix and a motion state noise matrix corresponding to the vehicle based on the motion state estimation data at the current moment; Based on the vehicle noise matrix, the motion state matrix and the motion state noise matrix, the vehicle covariance data is updated, and the step of obtaining the displacement velocity data and angular velocity data corresponding to the vehicle of the sensor group at the current moment is executed.

8. The method according to claim 7, characterized in that After obtaining the updated vehicle covariance estimation data, the method further includes: When the positioning motion state data collected by the positioning sensor in the sensor group is normal, obtaining positioning error data and motion state error data, wherein the positioning motion state data includes positioning displacement data and positioning accuracy factor; Based on the positioning motion state data, the positioning error data, the current vehicle displacement data, the current vehicle angle data and the motion state error data, the motion state estimation data and the vehicle covariance estimation data at the current moment are updated.

9. The method according to claim 8, characterized in that The updating of the motion state estimation data and the vehicle covariance estimation data at the current moment based on the positioning motion state data, the positioning error data, the current vehicle displacement data, the current vehicle angle data and the motion state error data comprises: Based on the positioning displacement data, the current vehicle displacement data and the current vehicle angle data, a positioning observation matrix is ​​obtained; Obtaining positioning observation data based on the current vehicle displacement data, the motion state error data, the positioning observation matrix and the positioning error data; Based on the positioning precision factor, obtaining positioning noise variance, the positioning precision factor includes horizontal precision factor and vertical precision factor; Obtaining a positioning gain based on the position measurement matrix, the vehicle covariance estimation data and the positioning noise variance; Based on the positioning observation data and the positioning gain, updating the motion state estimation data at the current moment; The vehicle covariance estimation data is updated based on the positioning gain and the positioning observation matrix.

10. The method according to claim 8, characterized in that Before the positioning motion state data collected by the positioning sensor in the sensor group is normal, the method further includes: The trigger condition of abnormal positioning motion state data is detected; Using the detection method corresponding to the trigger condition to detect the positioning motion state data to obtain a detection result; When the detection result indicates that the located motion state data is valid data, executing the step of acquiring the positioning error data and the motion state error data; When the detection result indicates that the positioning motion state data is invalid data, the positioning data is discarded, the latest valid data stored is used as the positioning motion state data, and the steps of acquiring positioning error data and motion state error data are performed.

11. A vehicle positioning device, characterized in that: The device comprises: A data acquisition unit, used to acquire displacement velocity data and angular velocity data corresponding to the vehicle of the sensor group at the current moment, as well as the displacement velocity data and angular velocity data of the last moment at the last moment, and acquire vehicle test data corresponding to the vehicle, wherein the vehicle test data includes a velocity scale factor, a rotational external parameter, a vehicle noise data, and a zero bias data; A displacement data acquisition unit, used to obtain current vehicle displacement data based on the speed scale factor, the displacement speed data and the displacement speed data at a previous moment; An angle data acquisition unit, used for obtaining current vehicle angle data based on the rotation external parameter, the angular velocity data, the angular velocity data at the previous moment and the zero bias data; A data updating unit is used to update the motion state data based on the current vehicle displacement data, the current vehicle angle data and the zero bias data to obtain the motion state estimation data at the current moment, and to locate the vehicle based on the motion state estimation data, wherein the motion state data is the motion state estimation data at the previous moment of the current moment.

12. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the steps of the method according to any one of claims 1 to 10.

13. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Zero velocity update method and system of navigation system

    CN110057381A

  • MEMS device zero offset correction method and device and storage medium

    CN111721288A

  • Vehicle dead reckoning method, device and equipment and storage medium

    CN111780756A

  • Method and device for calibrating installation angle of inertial measurement unit and computer equipment

    CN113566849A

  • High-dynamic vehicle attitude estimation method based on error Kalman filtering

    CN114659488A