Vehicle position determination method and device

By using a state machine to process vehicle driving data and timestamp increments in vehicle positioning, and using linear or arc approximation calculation methods, the problem of degradation of vehicle positioning accuracy in complex environments is solved, and a more accurate, stable and economical position preparatory is achieved. estimate.

CN118953375APending Publication Date: 2024-11-15FULSCIENCE AUTOMOTIVE ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411070083.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Existing vehicle positioning and attitude estimation technologies reduce positioning accuracy in complex environments, especially in environments where there are many tunnels, tunnel entrances or blockings. The sensor signal is blocked and the positioning accuracy is reduced. The long-term use of sensors leads to accumulated errors, which is harsh. Weather affects reliability, and the algorithm is complex and costly.

Method used

By obtaining vehicle driving data under the correct operating conditions of the state machine, determining the motion state, yaw rate and driving direction, combining time stamp increment processing, and using straight or arc approximation calculation methods to calculate the position increment to ensure the accuracy of position estimates and stability, adapt to complex driving environments.

Benefits of technology

It improves the accuracy and stability of vehicle position prediction, enhances the robustness and adaptability of the algorithm, reduces system costs, and is suitable for vehicle positioning in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118953375A_ABST
    Figure CN118953375A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle position determination method and device, and the method comprises the steps: obtaining the driving data of a target vehicle within a preset historical time period before a current moment under the correct operation condition of a state machine; determining a motion state, a yaw rate and a driving direction of the target vehicle according to the driving data; determining a position increment at the current moment according to the motion state and the yaw rate in combination with the driving data; and determining a calculation mode according to the driving direction, processing the previous position and the position increment in the driving data according to the calculation mode, and determining the current position of the target vehicle. Therefore, in a complex environment, the data acquired by the vehicle sensor is processed and analyzed, so that the position of the vehicle is accurately estimated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a method and device for determining a vehicle position. Background Art

[0002] In modern automotive technology, vehicle positioning and attitude estimation is one of the key technologies for achieving autonomous driving, enhancing driving safety and improving driving comfort. Currently, the common methods for vehicle positioning and attitude estimation mainly include using on-board sensor data for real-time estimation, and further improving positioning accuracy by combining map information and visual sensor data.

[0003] However, in tunnels, tunnel entrances, or environments with many obstructions, sensor signals may be blocked, resulting in reduced positioning accuracy. And long-term use of sensors will lead to the accumulation of errors, which in turn affects positioning accuracy. In addition, the sensor fusion algorithm is complex and computationally intensive, resulting in high system cost and implementation difficulty. Severe weather conditions (such as rain, snow, fog, etc.) will seriously affect the performance of sensors and reduce the reliability of positioning.

[0004] In general, although current vehicle localization and pose estimation technologies have made significant progress, there is still a need to continue to develop more accurate, robust and cost-effective solutions to meet various challenges in the real world. Summary of the invention

[0005] In view of this, the purpose of the present application is to provide a method and device for determining the position of a vehicle, so as to achieve accurate estimation of the position of the vehicle by processing and analyzing the data obtained by the vehicle sensors in a complex environment.

[0006] The present application provides a method for determining a vehicle position, the method comprising:

[0007] Under the condition that the state machine runs correctly, the driving data of the target vehicle in the predetermined historical time period before the current moment is obtained;

[0008] determining the motion state, yaw rate and driving direction of the target vehicle according to the driving data;

[0009] Determine the position increment at the current moment according to the motion state and the yaw rate and in combination with the driving data;

[0010] A calculation method is determined according to the driving direction, and the previous position and the position increment in the driving data are processed according to the calculation method to determine the current position of the target vehicle.

[0011] Optionally, the following steps are performed to ensure that the state machine runs correctly:

[0012] Get the first timestamp of the current moment and the second timestamp of the last updated moment;

[0013] Determining a timestamp increment based on the first timestamp and the second timestamp;

[0014] Determining the current state of the state machine according to the total order relationship between the timestamp increment and the preset timestamp threshold;

[0015] According to the current state of the state machine, a corresponding processing strategy is adopted to enable the state machine to run correctly.

[0016] Optionally, the motion state of the target vehicle includes: a stationary state, a uniform motion state, an accelerating state, and a decelerating state;

[0017] The driving direction includes: forward and backward.

[0018] Optionally, determining the position increment at the current moment according to the motion state and the yaw rate in combination with the driving data includes:

[0019] Determine a corresponding target position calculation method according to the yaw rate;

[0020] determining a target driving parameter according to the motion state and based on the driving data;

[0021] The target driving parameters are processed according to the target position calculation method to determine the position increment at the current moment.

[0022] Optionally, the method for calculating the corresponding target position according to the yaw rate includes:

[0023] When the yaw rate is not greater than a preset yaw threshold, determining the straight line approximation calculation method as the target position calculation method;

[0024] When the yaw rate is greater than a preset yaw threshold, the arc approximation calculation method is determined as the target position calculation method.

[0025] Optionally, determining a calculation method according to the driving direction, and processing the previous position and the position increment in the driving data according to the calculation method to determine the current position of the target vehicle includes:

[0026] When the driving direction is forward, the sum of the previous position and the position increment is determined as the current position of the target vehicle;

[0027] When the driving direction is backward, the difference between the previous position and the position increment is determined as the current position of the target vehicle.

[0028] Optionally, determining the current state of the state machine according to the total order relationship between the timestamp increment and a preset timestamp threshold includes:

[0029] When the timestamp increment is within a first time range, determining that the current state of the state machine is a normal state;

[0030] When the timestamp increment is within a second time range, determining that the current state of the state machine is a warning state; wherein the time threshold in the second time range is higher than the time threshold in the first time range;

[0031] When the timestamp increment exceeds an overflow threshold, the current state of the state machine is determined to be an overflow state; wherein the overflow threshold is a threshold that is re-determined when the timestamp increment is within a second time range.

[0032] The embodiment of the present application further provides a device for determining a vehicle position, the device comprising:

[0033] An acquisition module, used to acquire the driving data of the target vehicle within a predetermined historical time period before the current moment under the condition that the state machine is running correctly;

[0034] A first determination module, used to determine the motion state, yaw rate and driving direction of the target vehicle according to the driving data;

[0035] A second determination module, configured to determine a position increment at a current moment according to the motion state and the yaw rate in combination with the driving data;

[0036] The processing module is used to determine a calculation method according to the driving direction, and process the previous position and the position increment in the driving data according to the calculation method to determine the current position of the target vehicle.

[0037] Optionally, the determining device further includes a guarantee module, and the guarantee module is used to ensure that the state machine runs correctly through the following steps:

[0038] Get the first timestamp of the current moment and the second timestamp of the last updated moment;

[0039] Determining a timestamp increment based on the first timestamp and the second timestamp;

[0040] Determining the current state of the state machine according to the total order relationship between the timestamp increment and the preset timestamp threshold;

[0041] According to the current state of the state machine, a corresponding processing strategy is adopted to enable the state machine to run correctly.

[0042] Optionally, the motion state of the target vehicle includes: a stationary state, a uniform motion state, an accelerating state, and a decelerating state;

[0043] The driving direction includes: forward and backward.

[0044] Optionally, when the second determination module is used to determine the position increment at the current moment according to the motion state and the yaw rate in combination with the driving data, the second determination module is used to:

[0045] Determine a corresponding target position calculation method according to the yaw rate;

[0046] determining a target driving parameter according to the motion state and based on the driving data;

[0047] The target driving parameters are processed according to the target position calculation method to determine the position increment at the current moment.

[0048] Optionally, when the processing module is used to determine a corresponding target position calculation method according to the yaw rate, the processing module is used to:

[0049] When the yaw rate is not greater than a preset yaw threshold, determining the straight line approximation calculation method as the target position calculation method;

[0050] When the yaw rate is greater than a preset yaw threshold, the arc approximation calculation method is determined as the target position calculation method.

[0051] Optionally, when the processing module is used to determine a calculation method according to the driving direction, and processes the previous position and the position increment in the driving data according to the calculation method to determine the current position of the target vehicle, the processing module is used to:

[0052] When the driving direction is forward, the sum of the previous position and the position increment is determined as the current position of the target vehicle;

[0053] When the driving direction is backward, the difference between the previous position and the position increment is determined as the current position of the target vehicle.

[0054] Optionally, when the guarantee module is used to determine the current state of the state machine according to the total order relationship between the timestamp increment and a preset timestamp threshold, the guarantee module is used to:

[0055] When the timestamp increment is within a first time range, determining that the current state of the state machine is a normal state;

[0056] When the timestamp increment is within a second time range, determining that the current state of the state machine is a warning state; wherein the time threshold in the second time range is higher than the time threshold in the first time range;

[0057] When the timestamp increment exceeds an overflow threshold, the current state of the state machine is determined to be an overflow state; wherein the overflow threshold is a threshold that is re-determined when the timestamp increment is within a second time range.

[0058] An embodiment of the present application also provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the determination method as described above are performed.

[0059] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the determination method described above are executed.

[0060] A method and device for determining a vehicle position are provided in an embodiment of the present application. The method comprises: obtaining driving data of a target vehicle within a predetermined historical time period before a current moment under the condition that a state machine operates correctly; determining a motion state, a yaw rate, and a driving direction of the target vehicle according to the driving data; determining a position increment at a current moment according to the motion state and the yaw rate and in combination with the driving data; determining a calculation method according to the driving direction, and processing a previous position and the position increment in the driving data according to the calculation method to determine the current position of the target vehicle.

[0061] In this way, through the technical solution of this application, the following technical effects can be achieved:

[0062] 1. More accurate position estimation: The accuracy of position estimation is improved through timestamp increment overflow processing and incremental change calculation.

[0063] 2. More stable position prediction: Through state machine design and transitions between states, timestamp increment overflow problems can be effectively detected and handled to ensure the stability of position estimation.

[0064] 3. More accurate position increment calculation: Linear approximation and arc approximation calculations are performed based on the incremental changes of the vehicle in different states, which can more accurately calculate the incremental changes of the vehicle position and improve the accuracy of position estimation.

[0065] 4. More adaptable to complex driving environments: By introducing gain deviation processing to process the yaw angle change, it can better adapt to complex driving environments and improve the robustness and stability of the algorithm. In general, the present invention comprehensively considers factors such as timestamp increment overflow processing, position increment change calculation and gain deviation processing in the vehicle position estimation algorithm, making the position estimation more accurate, stable, precise and adaptable, providing more effective technical support for vehicle positioning.

[0066] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0068] Figure 1 A flow chart of a method for determining a vehicle position provided in an embodiment of the present application;

[0069] Figure 2 One of the structural schematic diagrams of a vehicle position determination device provided in an embodiment of the present application;

[0070] Figure 3 A second structural diagram of a vehicle position determination device provided in an embodiment of the present application;

[0071] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0072] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme 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 a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.

[0073] In modern automotive technology, vehicle positioning and attitude estimation is one of the key technologies for achieving autonomous driving, enhancing driving safety and improving driving comfort. Currently, the common methods for vehicle positioning and attitude estimation mainly include using on-board sensor data for real-time estimation, and further improving positioning accuracy by combining map information and visual sensor data.

[0074] However, in tunnels, tunnel entrances, or environments with many obstructions, sensor signals may be blocked, resulting in reduced positioning accuracy. And long-term use of sensors will lead to the accumulation of errors, which in turn affects positioning accuracy. In addition, the sensor fusion algorithm is complex and computationally intensive, resulting in high system cost and implementation difficulty. Severe weather conditions (such as rain, snow, fog, etc.) will seriously affect the performance of sensors and reduce the reliability of positioning.

[0075] In general, although current vehicle localization and pose estimation technologies have made significant progress, there is still a need to continue to develop more accurate, robust and cost-effective solutions to meet various challenges in the real world.

[0076] Based on this, an embodiment of the present application provides a method and device for determining a vehicle position, which can accurately estimate the vehicle position by processing and analyzing data obtained by vehicle sensors in a complex environment.

[0077] See also Figure 1 , Figure 1 Flow chart of a method for determining a vehicle position provided in an embodiment of the present application. Figure 1 As shown in , the determination method provided in the embodiment of the present application includes:

[0078] S101. Under the condition that the state machine runs correctly, the driving data of the target vehicle in a predetermined historical time period before the current moment is obtained.

[0079] S102: Determine the motion state, yaw rate, and driving direction of the target vehicle according to the driving data.

[0080] S103: Determine the position increment at the current moment according to the motion state and the yaw rate and in combination with the driving data.

[0081] S104, determining a calculation method according to the driving direction, and processing the previous position and the position increment in the driving data according to the calculation method to determine the current position of the target vehicle.

[0082] With respect to step S101, the length of the historical time period may be specified according to actual conditions.

[0083] For example, under the condition that the state machine operates correctly, the driving data of the target vehicle within a predetermined historical time period before the current moment is obtained, including: under the condition that the state machine operates correctly, the driving data of the target vehicle between the current moment and the last position determination moment is obtained.

[0084] Under the condition that the state machine runs correctly, the driving data of the target vehicle in a predetermined historical time period before the current moment is obtained, including: under the condition that the state machine runs correctly, the driving data of the target vehicle in an actual section of 1 minute before the current moment is obtained.

[0085] In one implementation provided in the present application, the following steps are performed to ensure that the state machine runs correctly:

[0086] S201, obtaining a first timestamp of the current time and a second timestamp of the last updated time.

[0087] S202: Determine a timestamp increment according to the first timestamp and the second timestamp.

[0088] S203: Determine the current state of the state machine according to the total order relationship between the timestamp increment and a preset timestamp threshold.

[0089] S204: According to the current state of the state machine, adopt a corresponding processing strategy to enable the state machine to run correctly.

[0090] For step S201, the last update time is the time when the location is last updated.

[0091] With respect to step S202, a difference value obtained by subtracting a previous timestamp from the first timestamp is determined as a timestamp increment.

[0092] For step S203, the total order is a relationship in set theory in mathematics, which is used to describe the order of elements in a set. That is, the total order relationship between the timestamp increment and the preset timestamp threshold can be: the order relationship between the timestamp increment and the preset timestamp threshold.

[0093] Continuing with step S203, in another implementation provided in the present application, the current state of the state machine is determined based on the total order relationship between the timestamp increment and the preset timestamp threshold, including: when the timestamp increment is within a first time range, determining that the current state of the state machine is a normal state; when the timestamp increment is within a second time range, determining that the current state of the state machine is a warning state; when the timestamp increment exceeds an overflow threshold, determining that the current state of the state machine is an overflow state.

[0094] Here, the time threshold in the second time range is higher than the time threshold in the first time range; the overflow threshold is a threshold that is re-determined when the timestamp increment is in the second time range.

[0095] The maximum time threshold of the first time range is recorded as T1, the maximum time threshold of the second time range is recorded as T2, and the overflow threshold is recorded as T3. The relationship between the three time thresholds is T1<T2<T3.

[0096] For example, according to the timestamp increment Δ t To determine the current state of the state machine, specifically: when Δ t ≤T1, the current state of the state machine is determined to be normal; when T1<Δ t ≤T2, the current state of the state machine is determined to be a warning state; when T3<Δ t , it is determined that the current state of the state machine is the overflow state.

[0097] The changing sequence of the state machine is a cyclic process of normal state → warning state → overflow state → normal state.

[0098] Regarding step S204, making the state machine run correctly here is to solve the influence of state machine abnormality caused by timestamp increment overflow.

[0099] It should be noted that in order to accurately calculate the vehicle's stationary time, the overflow of the timestamp increment needs to be considered. Specifically, the overflow of the timestamp increment will affect the following links of the state machine:

[0100] Management of location cache area. The state machine needs to determine whether to update old entries in the cache area based on the change of timestamp. However, if the timestamp overflows, the order of old and new entries cannot be accurately determined, which may cause the cache area to be updated incorrectly.

[0101] Mapping of location data. The state machine needs to map the location data in the cache area to the parking space search module for use. If the timestamp overflows, the time sequence of the data cannot be accurately determined, which may lead to data mapping errors.

[0102] Execution of location update logic. The state machine needs to determine whether the location data needs to be updated based on the change in the timestamp. However, if the timestamp overflows, it is impossible to accurately determine the update timing of the location data, which may result in the location data not being updated in time.

[0103] Continuing with step S204, when the current state of the state machine is a normal state, the adopted processing strategy may be to continue monitoring, and the state machine may operate normally at this time.

[0104] When the current state of the state machine is a warning state, the adopted processing strategy may include limiting the maximum timestamp increment (setting an overflow threshold), reducing the calculation frequency, etc., so as to ensure that the state machine can operate normally.

[0105] When the current state of the state machine is an overflow state, the adopted processing strategy may include reinitializing the timestamp counter and correcting the current position information, so as to ensure that the state machine can operate normally. In addition, relevant information of the overflow event may be recorded for subsequent analysis and improvement.

[0106] In this way, for the timestamp increment overflow problem in vehicle position estimation, the above state machine design solution includes defining the normal state, overflow warning state and overflow processing state, and clearly defining the transition conditions between each state. Through this hierarchical design, the timestamp increment overflow problem can be effectively detected and processed to ensure the accuracy and stability of vehicle position estimation. This can effectively compensate for the time overflow problem.

[0107] For step S102, the motion state of the target vehicle includes: a stationary state, a uniform motion state, an accelerating state, and a decelerating state; and the driving direction includes: forward and backward.

[0108] Here, when the vehicle's stationary time is long enough and less than the maximum time, the target vehicle is determined to be stationary; when the vehicle's driving distance increment is linearly related to the steering wheel angle change, it can be determined that the vehicle is in a uniform motion state; when the vehicle's driving distance increment is not linearly related to the steering wheel angle change, it can be determined that the vehicle is in an accelerating state or a decelerating state.

[0109] When the vehicle speed changes, the state transition is triggered. For example, when the vehicle starts to accelerate from a stationary state, the system will transition from a stationary state to an accelerating state; when the vehicle decelerates to a stop, the system will transition from a decelerating state to a stationary state.

[0110] Secondly, changes in vehicle acceleration will also lead to state transitions. When the vehicle acceleration exceeds a certain threshold, the system will switch from the acceleration state to the constant speed state. When the acceleration drops below a certain threshold, it will switch from the constant speed state to the deceleration state.

[0111] In addition, changes in the steering angle will also affect the state transition. When the steering angle exceeds a certain threshold, the system will switch from the straight-line driving state to the turning state; when the steering angle is less than the threshold, it will switch from the turning state back to the straight-line driving state.

[0112] In summary, in the state machine model of vehicle position increment change, the transition between states mainly depends on the changes in vehicle speed, acceleration and steering angle, so as to reflect the movement state of the vehicle under different driving conditions.

[0113] With respect to step S103, in an implementation manner provided in the present application, determining the position increment at the current moment according to the motion state and the yaw rate in combination with the driving data includes:

[0114] S1031. Determine a corresponding target position calculation method according to the yaw rate.

[0115] S1032, determining a target driving parameter according to the motion state and based on the driving data;

[0116] S1033. Process the target driving parameters according to the target position calculation method to determine the position increment at the current moment.

[0117] Here, for step S1031, in an embodiment provided in the present application, the corresponding target position calculation method is determined according to the yaw rate, including: when the yaw rate is not greater than a preset yaw threshold, a straight line approximation calculation method is determined as the target position calculation method; when the yaw rate is greater than the preset yaw threshold, an arc approximation calculation method is determined as the target position calculation method.

[0118] Here, the preset yaw threshold may be adaptively set according to actual conditions.

[0119] Among them, the straight line approximation calculation method is used to describe the process of a vehicle moving along a straight line, and the arc approximation calculation method is used to describe the process of an object moving along a curve (usually an arc).

[0120] Regarding step S1032, here, different items of driving data are obtained in different motion states, and the determined target driving parameters are the input data required by the target position calculation method.

[0121] With respect to step S1033, in this way, in a stationary state, a new zero point of the yaw rate is calculated based on the accumulated yaw rate value and the yaw rate count value, and the position increment is determined to be 0; in a uniform motion state, the vehicle position increment change is calculated based on the driving distance increment and the steering wheel angle change; in an acceleration / deceleration state, the vehicle position increment change is comprehensively calculated based on parameters such as the driving distance increment, the steering wheel angle change, and the gear position.

[0122] For step S104, in another embodiment provided in the present application, the calculation method is determined according to the driving direction, and the previous position and the position increment in the driving data are processed according to the calculation method to determine the current position of the target vehicle, including: when the driving direction is forward, the sum of the previous position and the position increment is determined as the current position of the target vehicle; when the driving direction is backward, the difference between the previous position and the position increment is determined as the current position of the target vehicle.

[0123] In this way, through the technical solution of this application, the following technical effects can be achieved:

[0124] 1. More accurate position estimation: The accuracy of position estimation is improved through timestamp increment overflow processing and incremental change calculation.

[0125] 2. More stable position prediction: Through state machine design and transitions between states, timestamp increment overflow problems can be effectively detected and handled to ensure the stability of position estimation.

[0126] 3. More accurate position increment calculation: Linear approximation and arc approximation calculations are performed based on the incremental changes of the vehicle in different states, which can more accurately calculate the incremental changes of the vehicle position and improve the accuracy of position estimation.

[0127] 4. More adaptable to complex driving environments: By introducing gain deviation processing to process the yaw angle change, it can better adapt to complex driving environments and improve the robustness and stability of the algorithm. In general, the present invention comprehensively considers factors such as timestamp increment overflow processing, position increment change calculation and gain deviation processing in the vehicle position estimation algorithm, making the position estimation more accurate, stable, precise and adaptable, providing more effective technical support for vehicle positioning.

[0128] See also Figure 2 , Figure 3 , Figure 2 This is one of the structural schematic diagrams of a vehicle position determination device provided in an embodiment of the present application. Figure 3 This is a second structural diagram of a vehicle position determination device provided in an embodiment of the present application. Figure 2 As shown in , the determining device 200 includes:

[0129] The acquisition module 210 is used to acquire the driving data of the target vehicle within a predetermined historical time period before the current moment under the condition that the state machine operates correctly;

[0130] A first determination module 220, configured to determine the motion state, yaw rate, and driving direction of the target vehicle according to the driving data;

[0131] A second determination module 230, configured to determine a position increment at a current moment according to the motion state and the yaw rate and in combination with the driving data;

[0132] The processing module 240 is used to determine a calculation method according to the driving direction, and process the previous position and the position increment in the driving data according to the calculation method to determine the current position of the target vehicle.

[0133] Optional, such as Figure 3 As shown, the determining device 200 further includes a guarantee module 250, and the guarantee module 250 is used to ensure that the state machine runs correctly through the following steps:

[0134] Get the first timestamp of the current moment and the second timestamp of the last updated moment;

[0135] Determining a timestamp increment based on the first timestamp and the second timestamp;

[0136] Determining the current state of the state machine according to the total order relationship between the timestamp increment and the preset timestamp threshold;

[0137] According to the current state of the state machine, a corresponding processing strategy is adopted to enable the state machine to run correctly.

[0138] Optionally, the motion state of the target vehicle includes: a stationary state, a uniform motion state, an accelerating state, and a decelerating state;

[0139] The driving direction includes: forward and backward.

[0140] Optionally, when the second determination module 230 is used to determine the position increment at the current moment according to the motion state and the yaw rate in combination with the driving data, the second determination module 230 is used to:

[0141] Determine a corresponding target position calculation method according to the yaw rate;

[0142] determining a target driving parameter according to the motion state and based on the driving data;

[0143] The target driving parameters are processed according to the target position calculation method to determine the position increment at the current moment.

[0144] Optionally, when the processing module 240 is used to determine a corresponding target position calculation method according to the yaw rate, the processing module 240 is used to:

[0145] When the yaw rate is not greater than a preset yaw threshold, determining the straight line approximation calculation method as the target position calculation method;

[0146] When the yaw rate is greater than a preset yaw threshold, the arc approximation calculation method is determined as the target position calculation method.

[0147] Optionally, when the processing module 240 is used to determine a calculation method according to the driving direction, and to process the previous position and the position increment in the driving data according to the calculation method to determine the current position of the target vehicle, the processing module 240 is used to:

[0148] When the driving direction is forward, the sum of the previous position and the position increment is determined as the current position of the target vehicle;

[0149] When the driving direction is backward, the difference between the previous position and the position increment is determined as the current position of the target vehicle.

[0150] Optionally, when the guarantee module 250 is used to determine the current state of the state machine according to the total order relationship between the timestamp increment and a preset timestamp threshold, the guarantee module 250 is used to:

[0151] When the timestamp increment is within a first time range, determining that the current state of the state machine is a normal state;

[0152] When the timestamp increment is within a second time range, determining that the current state of the state machine is a warning state; wherein the time threshold in the second time range is higher than the time threshold in the first time range;

[0153] When the timestamp increment exceeds an overflow threshold, the current state of the state machine is determined to be an overflow state; wherein the overflow threshold is a threshold that is re-determined when the timestamp increment is within a second time range.

[0154] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 4 As shown in , the electronic device 400 includes a processor 410 , a memory 420 and a bus 430 .

[0155] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 is running, the processor 410 communicates with the memory 420 via the bus 430. When the machine-readable instructions are executed by the processor 410, the above-mentioned Figure 1 The specific implementation of the steps in the method embodiment shown can be found in the method embodiment, and will not be repeated here.

[0156] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 The specific implementation of the steps in the method embodiment shown can be found in the method embodiment, and will not be repeated here.

[0157] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0158] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0159] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0160] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0161] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0162] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for determining a vehicle position, characterized in that: The determination method comprises: Under the condition that the state machine runs correctly, the driving data of the target vehicle in the predetermined historical time period before the current moment is obtained; determining the motion state, yaw rate and driving direction of the target vehicle according to the driving data; Determine the position increment at the current moment according to the motion state and the yaw rate and in combination with the driving data; A calculation method is determined according to the driving direction, and the previous position and the position increment in the driving data are processed according to the calculation method to determine the current position of the target vehicle.

2. The determination method according to claim 1, characterized in that: The following steps are performed to ensure that the state machine runs correctly: Get the first timestamp of the current moment and the second timestamp of the last updated moment; Determining a timestamp increment based on the first timestamp and the second timestamp; Determining the current state of the state machine according to the total order relationship between the timestamp increment and the preset timestamp threshold; According to the current state of the state machine, a corresponding processing strategy is adopted to enable the state machine to run correctly.

3. The determination method according to claim 1, characterized in that: The motion state of the target vehicle includes: a stationary state, a uniform motion state, an accelerating state, and a decelerating state; The driving direction includes: forward and backward.

4. The determination method according to claim 1, characterized in that: Determining the position increment at the current moment according to the motion state and the yaw rate in combination with the driving data includes: Determine a corresponding target position calculation method according to the yaw rate; determining a target driving parameter according to the motion state and based on the driving data; The target driving parameters are processed according to the target position calculation method to determine the position increment at the current moment.

5. The determination method according to claim 4, characterized in that: The method of calculating the corresponding target position according to the yaw rate includes: When the yaw rate is not greater than a preset yaw threshold, determining the straight line approximation calculation method as the target position calculation method; When the yaw rate is greater than a preset yaw threshold, the arc approximation calculation method is determined as the target position calculation method.

6. The determination method according to claim 3, characterized in that: The step of determining a calculation method according to the driving direction, and processing the previous position and the position increment in the driving data according to the calculation method to determine the current position of the target vehicle includes: When the driving direction is forward, the sum of the previous position and the position increment is determined as the current position of the target vehicle; When the driving direction is backward, the difference between the previous position and the position increment is determined as the current position of the target vehicle.

7. The determination method according to claim 2, characterized in that: Determining the current state of the state machine according to the total order relationship between the timestamp increment and the preset timestamp threshold includes: When the timestamp increment is within a first time range, determining that the current state of the state machine is a normal state; When the timestamp increment is within a second time range, determining that the current state of the state machine is a warning state; wherein the time threshold in the second time range is higher than the time threshold in the first time range; When the timestamp increment exceeds an overflow threshold, the current state of the state machine is determined to be an overflow state; wherein the overflow threshold is a threshold that is re-determined when the timestamp increment is within a second time range.

8. A device for determining a vehicle position, characterized in that: The determining device comprises: An acquisition module, used to acquire the driving data of the target vehicle within a predetermined historical time period before the current moment under the condition that the state machine is running correctly; A first determination module, used to determine the motion state, yaw rate and driving direction of the target vehicle according to the driving data; A second determination module, configured to determine a position increment at a current moment according to the motion state and the yaw rate in combination with the driving data; The processing module is used to determine a calculation method according to the driving direction, and process the previous position and the position increment in the driving data according to the calculation method to determine the current position of the target vehicle.

9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to perform the steps of the determination method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the determination method according to any one of claims 1 to 7 are executed.